Elamur Research⌕
☰
home / papers / 2024 / ISHFMG_TUN at StanceEval: Ensemble Method for Arabic Stance Evaluation System

ISHFMG_TUN at StanceEval: Ensemble Method for Arabic Stance Evaluation System

Paper · 2024 · Ammar Mars, Mustapha Jaballah and Dhaou Ghoul

Summary

The paper presents a system for the StanceEval shared task, which asks whether an Arabic tweet is in favor of, against, or neutral toward a given target. The authors use the MAWQIF corpus, which has 4,121 tweets on three targets. Arabic is hard to process here because of its rich morphology, dialect variation and inconsistent orthography. Instead of a neural model, they use a classical pipeline. Tweets are cleaned and normalized, and SMOTE is applied to counter class imbalance. Each tweet is represented by several TF-IDF n-gram views at the word and character levels, and five scikit-learn classifiers vote on the label by hard majority. Trained on train+dev, the ensemble reaches an overall test F1 of 0.7027. Scores vary by topic: women empowerment is easiest and digital transformation hardest. The neutral "None" class is mostly missed. The work shows that a cheap, transparent ensemble gives a reasonable baseline for Arabic stance detection. The authors suggest transformer models such as MARBERT as a next step.

Key points

  • Data: MAWQIF tweets are labeled for stance, sentiment and sarcasm. The three targets are COVID-19 vaccine (1,373 tweets), digital transformation (1,348) and women empowerment (1,400).

  • Preprocessing: The authors strip punctuation, digits, non-Arabic tokens, repeated letters, emoticons, stop words and diacritics, then normalize the text. SMOTE then oversamples the minority classes.

  • Features: Scikit-learn FeatureUnion combines three TF-IDF views:

    • word 1–5-grams;
    • character 1–4-grams;
    • character 1–5-grams that respect word boundaries.
  • Classifiers: Five models vote by hard majority:

    • SGD (alpha 1e-5, l2);
    • LinearSVC (l2, tol 0.001);
    • Multinomial NB (alpha 0.01);
    • Ridge (alpha 1);
    • Random Forest (default settings).

    The design follows earlier work on Arabic dialect identification (Ghoul and Lejeune, 2020).

  • Results: Overall F1 is 0.7485 on dev and 0.7027 on test.

    TargetDev F1Test F1
    Women empowerment0.79270.7393
    COVID vaccine0.75480.7019
    Digital transformation0.69810.6670

    On test, "None" gets only 10 true positives against 50 false negatives. "Against" gets 118 TP, 66 FP and 62 FN.

Interesting ideas

  • I1. A few diverse, cheap models (linear, probabilistic, tree-based) that settle a label by majority can be more robust than any one of them, with no tuning of the combination needed.
  • I2. Character n-grams that stop at word boundaries capture affixes and stems without a morphological analyzer, and sit alongside word n-grams as a separate view.
  • I3. The headline F1 hid an almost unrecognized neutral class; only per-label TP/FP/FN exposed it.
  • I4. Splitting scores by target topic showed accuracy depends on the subject, which points to where more work is needed.
  • I5. Synthetic oversampling of minority classes in feature space is a simple fix for skewed label distributions.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (learn): Treat each witness parser like an ensemble member and accept a silver arc or label only on majority agreement, recording which witnesses dissented as an explanation.
  • I2 (tokens): Boundary-aware character n-gram features could back off the tagger and lemmatizer for unknown or misspelled English words, guessing suffix-driven tags such as -ness or -ized.
  • I3 (learn): Evaluation reports should list per-class confusion counts alongside negative controls, so a collapsing rare label cannot hide inside a good average.
  • I4 (answer): Break reader accuracy down by test type (school course, word problem, fable QA) to find which genres the world-of-text pipeline handles poorly.
  • I5 (learn): For rare frame or semantic-role labels in training data, targeted augmentation could balance the classes, but synthetic items should be kept out of evaluation sets.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

📚 Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 works

🧭 Topics 1Research subjects and languages the work is about.Semitic languages · 2,908 works

Cite

Cite as Ammar Mars, Mustapha Jaballah and Dhaou Ghoul. 2024. ISHFMG_TUN at StanceEval: Ensemble Method for Arabic Stance Evaluation System. Proceedings of the Second Arabic Natural Language Processing Conference.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.arabicnlp-1.98

@inproceedings{mars2024ishfmg,
  title = {{ISHFMG\_TUN at StanceEval: Ensemble Method for Arabic Stance Evaluation System}},
  author = {Ammar Mars, Mustapha Jaballah and Dhaou Ghoul},
  booktitle = {Proceedings of the Second Arabic Natural Language Processing Conference},
  year = {2024},
  doi = {10.18653/v1/2024.arabicnlp-1.98},
  url = {https://doi.org/10.18653/v1/2024.arabicnlp-1.98}
}

References

4 references, 2 of them with a card of ours. ↗ leads to the work.

  1. Nora Alturayeif, Hamzah Luqman, Zaid Alyafeai, and Asma Yamani. 2024. Stanceeval 2024: The first arabic stance detection shared task. In Proceedings of The Second Arabic Natural Language Processing Conference (ArabicNLP 2024).
  2. Nora Saleh Alturayeif, Hamzah Abdullah Luqman, and Moataz Aly Kamaleldin Ahmed. 2022. Mawqif: A multi-label arabic dataset for target-specific stance detection. In Proceedings of the The Seventh Arabic Natural Language Processing Workshop (WANLP), pages 174–184.
  3. Abdullah Ayedh, Guanzheng TAN, Khaled Alwesabi, and Hamdi Rajeh. 2016. The effect of preprocessing on arabic document categorization. Algorithms, 9(2). ↗
  4. Kevin W. Bowyer, Nitesh V. Chawla, Lawrence O. Hall, and W. Philip Kegelmeyer. 2011. SMOTE: synthetic minority over-sampling technique. CoRR, abs/1106.1813. ↗

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/mars-2024-ishfmg-tun-stanceeval-ensemble-method/