betaFeedback

WorksComputer Science

Thakaa at StanceEval-2026: Inference-Time Target Grounding for Arabic Stance Detection

Abstract

StanceEval-2026 tests Arabic stance classification under target shift, with evaluation targets absent from the labelled task data. We test two ways to supply target information at inference time. For Track 1, we retrieve eight labelled Women Driving demonstrations from the external ArabicStanceX corpus and score the three label tokens with Gemma-4-31B-IT. For the unseen-target track, we prepend cached target context prompted to be factual and non-evaluative, then fuse label predictions and label-token scores from multiple LLMs, with final assignments constrained by published class totals. The systems obtain 85.22 and 91.78 Favg2 on Tracks 1 and 2, ranking sixth and fourth in the final standings. On held-out ArabicStanceX tweets, direct prompting scores 79.45 Favg2; eight random Women Driving demonstrations raise it to 84.78, and similarity retrieval reaches 89.04. Across three target-held-out Mawqif evaluations, a fixed target card raises Gemma-4-31B-IT from 86.54 to 86.93, whereas QLoRA lowers Gemma-4-12B-IT from 84.43 to 83.77. In these separate public evaluations, same-target demonstrations and retrieval improve performance, factual target context provides small, target-dependent gains, and the tested source-only adapter does not improve.

Introduction

Stance detection relates a text to a specified target. Sentiment alone is insufficient when a tweet criticises an implementation but supports its goal, or praises an actor without endorsing the target. Arabic social media adds dialectal variation, sarcasm, and implicit reference [3] (Alturayeif et al. 2022).

StanceEval-2026 [2] evaluates this relation under a target shift. Track 1 is nominally the seen-target setting, yet it tests Women Driving after training on Women Empowerment and two other topics. Its unseen-target

track tests Electric Cars, a transport-technology and industrial-policy topic, and the Trimester System, a debate about Saudi school-calendar reform. The Mawqif-XT dataset was designed around these two transfer settings [3].

Cross-target stance systems have represented targets explicitly [6], used contrastive objectives [14], and injected retrieved or generated knowledge [11, 8, 18]. Stance Reasoner generates explicit chain-of-thought rationales and aggregates self-consistent samples [17]. We instead separate a reusable target description from constrained label prediction. Arabic shared-task systems have used prompt engineering or LLM fine-tuning [1, 4]. Unlike methods that retrieve Wikipedia passages or generate tweet-specific knowledge, our target card is a single neutral, target-only description reused for every tweet. We test this alongside retrieved same-target examples as two lightweight forms of inference-time target evidence.

Our public comparisons separately test exact-target labels, demonstration selection, factual context, and source-target adaptation. A committee analysis examines whether disagreement identifies

TrackSystemFavg2F_{\mathrm{avg2}}
1Qwen 2.5 72B baseline73.66
1Retrieved demos, Gemma-4-31B-IT85.22
2Qwen 2.5 72B baseline74.75
2Local Gemma-4-31B-IT stack86.58
2GPT-5.5 target-grounded classifier91.48
2Full target-grounded pipeline91.78

Table 1. Official test results on a 0 to 100 scale. Track 1 contains 352 Women Driving tweets; Track 2 contains 644 tweets across two unseen targets. Baseline values are reported by Albalawi et al. [3].

errors, while a cross-corpus rubric study tests the transfer of annotation cues.

Task and data

The original Mawqif splits contain 3,502 training and 619 development tweets about COVID-19 Vaccine, Digital Transformation, and Women Empowerment. Each tweet has stance, sentiment, and sarcasm labels. Track 1 evaluates 352 Women Driving tweets. Track 2 evaluates 332 Electric Cars and 312 Trimester System tweets. The primary metric is Favg2=(FFAVOR+FAGAINST)/2F_{\mathrm{avg2}} = (F_{\mathrm{FAVOR}} + F_{\mathrm{AGAINST}})/2; NONE is not averaged in its numerator [16]. We also report Favg3F_{\mathrm{avg3}}, the macro-F1 over all three stance labels, and overall accuracy for the final systems. Each instance pairs an Arabic tweet with a named target, and the system returns exactly one of FAVOR, AGAINST, or NONE. For example, a tweet celebrating women receiving driving licences should be classified as FAVOR when paired with the Women Driving target.

For Track 1, we use ArabicStanceX (Alkhathlan et al., 2025) as an external demonstration corpus; it is not part of the shared-task data. The corpus is publicly released under CC BY 4.0. Its 947 Women Driving tweets have no exact or Arabic-normalised text overlap with the 352 task tweets. The main public ablation uses a fixed 497-row retrieval pool and a disjoint 450-row evaluation set. A separate target-control study uses the official 756/191 train/test split. Official StanceEval inference retrieves from all 947 labelled tweets. Separate public experiments evaluate target-held-out prompting and source-only adaptation on Mawqif.

System overview

Track 1: retrieved in-target demonstrations

For each task tweet, we retrieve the eight nearest Women Driving examples from the full ArabicStanceX pool, following similarity-based demonstration selection [15]. Similarity is cosine similarity over character-boundary TF-IDF features. We use character features to reduce sensitivity to dialectal spelling variation and short social-media text. The prompt contains the target, a factual background, the tweet, the retrieved labelled examples, and a one-sentence instruction restricting the answer to the three stance labels.

We run Gemma-4-31B-IT locally with vLLM [13, 10]. Instead of generating an explanation, the model scores the continuations FAVOR, AGAINST, and NONE, and we select the largest log-probability. The Track 1 system in Table 1 performs no parameter update and uses no class quota.

Track 2: prompted factual target context

Target descriptions. The pipeline caches two English descriptions for each unseen target. Gemini 3.6 Flash generates the card used by the GPT and Gemini classifiers, while Gemma-4-31B-IT generates the card used by its own scorer. Both prompts request two or three factual sentences about the topic in Saudi Arabia and the Arab world, explicitly forbidding opinions. Each card is generated at temperature zero and reused unchanged for every tweet about its target. The stance prompt contains the Arabic and English target names, the card, and the tweet, and requests one stance label.

Classification and arbitration. GPT-5.5 supplies the initial target-grounded label, and Gemini 3.6 Flash labels each row independently. GPT-5.5 Pro arbitrates their 44 disagreements, changing 13 initial labels. Gemma-4-31B-IT and a second GPT-5.5 pass independently score the three label tokens.

Score fusion and assignment. For row ii and class cc, we combine these signals with the fixed log-linear rule

si,c=2log⁡pi,canchor+log⁡pi,cGemma+log⁡pi,cGPT.(1)s_{i,c} = 2\log p_{i,c}^{\mathrm{anchor}} + \log p_{i,c}^{\mathrm{Gemma}} + \log p_{i,c}^{\mathrm{GPT}}. \tag*{(1)}

where the anchor assigns 0.85 to its selected class and 0.075 to each alternative. For each scorer, we softmax the three label log scores and floor probabilities at 10−1210^{-12} before taking logs. A Hungarian assignment [12] maximises the total score subject to class totals derived from the official website.1 Its anonymous test rows give sizes and FAVOR/AGAINST/NONE percentages. Matching sizes to the released data identifies 332 tweets (43.67/35.24/21.08%) as Electric Cars and 312 (22.12/72.44/5.45%) as Trimester System. Multiplying by the respective sizes and rounding gives 145/117/70 and 69/226/17.

The Gemma scorer alone receives normalised Arabic text (NFKC, diacritic and tatweel removal, letter normalisation, and URL and mention placeholders); API classifiers receive the raw tweet. The anchor uses medium reasoning, arbitration uses high reasoning, and the score-only GPT pass disables reasoning. Fusion and count assignment complete the official pipeline; the controlled comparisons in § 5 use public held-out labels.

Experimental setup

All controlled comparisons use public labels and keep evaluation rows separate from retrieval, training, and checkpoint selection. Track 1 uses the two ArabicStanceX splits described in § 2. Track 2 compares no-card, fixed-card, and gated-card prompting under target-held-out Mawqif evaluation.

For each held-out target, the no-card condition supplies only the target and tweet. The fixed-card condition prepends the same cached factual description to every tweet about that target. The gated-card condition uses an independent Arabic yes/no prompt to decide whether to prepend that description for each tweet. The Gemma-4-12B-IT comparison instead contrasts the unchanged base checkpoint with a source-trained QLoRA adapter. The public card study uses Arabic Gemma-generated descriptions and one-word generation at temperature zero, not the official English-card scoring protocol.

Parameter adaptation. For parameter adaptation, we fine-tune Gemma-4-12B-IT with QLoRA [9]. Each fold trains on two Mawqif targets and evaluates on the third. The rank-16 adapter uses scaling 32, dropout 0.05, maximum length 256, effective batch size 16, and seed 42. A 15% source-only validation slice jointly selects the learning rate and checkpoint. The grid contains 5×10−55 \times10^{-5} and 10−410^{-4}, with 2×10−42 \times10^{-4} also tested for the COVID-19 Vaccine fold. The selected learning rates are 10−410^{-4} for Women Empowerment and Digital Transformation and 5×10−55 \times10^{-5} for COVID-19 Vaccine; all selected checkpoints occur near two-thirds of an epoch.

Results

Table 1 reports the official results. The final systems also score 67.92 Favg3F_{\mathrm{avg3}} and 81.25 accuracy on Track 1, and 83.53 and 88.82 on Track 2, pooled over both targets. The Track 1 retrieval system scores 85.22 Favg2F_{\mathrm{avg2}}, ranking sixth among 21 teams; the complete Track 2 pipeline scores 91.78, ranking fourth among 13 teams in the final standings. Its target scores are 88.75 on Electric Cars and

Track 1, held-out ArabicStanceX
VariantPublicOfficial test
direct, no demonstrations79.4579.51
8 random target demos84.7883.85
8 retrieved target demos89.0485.22

Table 1 (PDF p. 3).

95.23 on Trimester System. A local-only Track 2 comparison combines eight Gemma-4-31B-IT prompt views with a categorical stacker fitted on public Women Empowerment labels and scores 86.58. The direct GPT-5.5 classifier scores 91.48. This final-test comparison is descriptive; the 0.30-point difference is not a component ablation.

Target demonstrations and their selection both help. On the 450 public rows, random demonstrations improve on direct prompting, and retrieval improves further (Table 2). Exact McNemar tests on paired correctness reject equal error rates for both transitions (p=1.4×10−5p = 1.4 \times10^{-5} and p=1.6×10−3p = 1.6 \times10^{-3}). The NONE F1 rises from 25.29 to 52.00. The official-test arms preserve the ordering but are descriptive, not an ablation. A separate 191-row public control uses fixed nine-example sets with three examples per stance, holding the corpus and annotation convention fixed: direct prompting scores 71.57; nine Women Driving examples score 81.84, compared with 73.10 for nine other-target Arabic-StanceX examples (difference 8.74; 95% paired-bootstrap CI [4.40, 13.38]). Together, the comparisons distinguish access to target labels from selecting locally relevant examples.

Track 2, target-held-out Mawqif
ModelVariantWECVDTMean
Gemma-4-31B-ITno card87.9592.3179.3786.54
Gemma-4-31B-ITfixed card89.5292.3479.2086.93
Gemma-4-31B-ITgated card88.5192.2579.2086.65
Gemma-4-12B-ITbase86.1888.5178.6084.43
Gemma-4-12B-ITQLoRA86.1087.5077.7083.77

Table 2. Favg2F_{\mathrm{avg2}} on a 0 to 100 scale. The Track 1 public column evaluates 450 ArabicStanceX tweets with a disjoint 497-row demonstration pool; the official-test column reports the same three submitted arms descriptively and is not used for component selection. WE, CV, and DT denote Women Empowerment, COVID-19 Vaccine, and Digital Transformation. Track 2 columns are separate public held-out targets. Bold marks the best result within each model block.

Target cards and source-only adaptation. The fixed card’s change is target-dependent: +1.30 on Women Empowerment, +0.03 on COVID-19 Vaccine, and −0.17 on Digital Transformation. The gated-card condition selects the card for 327 of 4,121 rows (7.9%) and reaches 86.65, below the fixed-card condition. Neither is a matched ablation of the submitted GPT-5.5 anchor. QLoRA loses on every 12B fold. This finding is specific to the tested recipe, and the 31B and 12B blocks are within-model comparisons rather than a shared-backbone comparison.

Error analysis

On public Women Empowerment data, a committee of GPT-5.6 Luna, GPT-5.6 Terra, and Gemma-4-31B-IT is wrong on 54 of 136 split votes (39.7%), but only 99 of 1,264 unanimous votes (7.8%). A five-fold logistic stack reaches 90.08 Favg2F_{\mathrm{avg2}}, below the 90.38 of plain majority. Disagreement is therefore a risk marker, not a correction rule.

Qualitative inspection points to stance attachment. One tweet jokes that, “in the era of women’s empowerment, they will not do anything to you”; the three models produce all three labels, while the annotation is NONE. Local affect is easier to recognise than whether it is directed at the named target.

A corpus-specific rubric does not transfer. Post hoc, we distilled a 60-line Arabic rubric from recurring Women Driving evaluation-corpus patterns, including sarcasm, hashtag reversal, celebration, supplication, and autonomy cues. Because its construction used inspection of that corpus, it was not part of the reported system; we test only its transfer to held-out ArabicStanceX Women Driving labels. Even after removing every verbatim fragment, the detailed rubric underperforms a four-line minimal instruction for a two-model ensemble (87.67 versus 89.18 Favg2F_{\mathrm{avg2}}) and for both members (87.02 versus 90.11; 87.42 versus 88.04). The tested corpus-derived rubric did not improve cross-corpus prediction over the minimal instruction.

The rubric result is consistent with a difficult NONE boundary rather than missing target vocabulary alone. Table 3 shows lower human agreement for Women Driving and Electric Cars than for the Trimester System. Across the three targets, 66.12% of stance disagreements contrast NONE with a polar label. These statistics do not establish a cause, but they place the transfer failure in context: lexical cues alone may not encode a corpus’s annotation policy.

TargetTrackFleiss’ κ\kappa
Women Driving10.479
Electric Cars20.479
Trimester System20.711
OverallBoth0.564

Table 3. Human stance-label agreement in Mawqif-XT, as reported by Albalawi et al. [3].

Conclusion

Our systems supply target information at inference time and reach 85.22 and 91.78 Favg2F_{\mathrm{avg2}}. Separate public comparisons support same-target demonstrations and retrieval, show a small target-dependent card effect, and find no benefit from the tested adapter. Target-shift methods should be selected on target-disjoint data. Model disagreement localises difficult rows but does not identify their correct labels.

Limitations

Track 1 uses external labelled examples for its evaluation target and is not directly comparable with task-data-only systems. We fix k=8k = 8 and do not compare dense retrieval or demonstration order; ArabicStanceX also differs from Mawqif in annotation and class balance. The target-card study covers three targets, and its 0.39-point mean gain lacks a confidence interval. Track 2 lacks target-held-out component ablations, while count assignment assumes known label totals. The post-hoc rubric study covers one target and tests cross-corpus transfer. Hosted-model drift limits repeatability.

Acknowledgments

We thank the StanceEval organizers, dataset annotators, and anonymous reviewer for their contributions and feedback.

References

  1. [1]Youssef Al Hariri and Ibrahim Abu Farha. 2024. SMASH at StanceEval 2024: Prompt engineering LLMs for Arabic stance detection. In Proceedings of the Second Arabic Natural Language Processing Conference, pages 800–806, Bangkok, Thailand. Association for Computational Linguistics.
  2. [2]Rasha Albalawi, Nuha Albadi, Hamzah Luqman, Saad Ezzini, Maram Kurdi, Asma Yamani, Ahmed Ashraf, Maged Al-Shaibani, and Nora Alturayef. 2026a. StanceEval-2026: The second stance detection shared task. In Proceedings of the Fourth Arabic Natural Language Processing Conference (ArabicNLP 2026), Budapest, Hungary. Association for Computational Linguistics.
  3. [3]Rasha Albalawi, Nuha Albadi, Hamzah Luqman, Maram Kurdi, Saad Ezzini, Asma Yamani, and Ahmed Ashraf. 2026b. Mawqif-XT: An Arabic benchmark dataset for cross-target stance detection. Preprint, arXiv:2608.09539.arxiv.org/abs/2608.09539
  4. [4]Mamoun Alghaslan and Khaled Almutairy. 2024. MGKM at StanceEval2024 fine-tuning large language models for Arabic stance detection. In Proceedings of the Second Arabic Natural Language Processing Conference, pages 816–822, Bangkok, Thailand. Association for Computational Linguistics.DOI
  5. [6]Emily Allaway and Kathleen McKeown. 2020. Zero-shot stance detection: A dataset and model using generalized topic representations. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 8913–8931, Online. Association for Computational Linguistics.arxiv.org/abs/2010.03640
  6. [8]Tilman Beck, Andreas Waldis, and Iryna Gurevych. 2023. Robust integration of contextual information for cross-target stance detection. In Proceedings of the 12th Joint Conference on Lexical and Computational Semantics (*SEM 2023), pages 494–511, Toronto, Canada. Association for Computational Linguistics.
  7. [9]Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, and Luke Zettlemoyer. 2023. QLoRA: Efficient finetuning of quantized LLMs. In Advances in Neural Information Processing Systems (NeurIPS), volume 36, pages 10088–10115. Curran Associates, Inc.arxiv.org/abs/2305.14314
  8. [10]Gemma Team. 2026. Gemma 4 technical report. Preprint, arXiv:2607.02770.
  9. [11]Zihao He, Negar Mokhberian, and Kristina Lerman. 2022. Infusing knowledge from Wikipedia to enhance stance detection. In Proceedings of the 12th Workshop on Computational Approaches to Subjectivity, Sentiment & Social Media Analysis (WASSA), pages 71–77, Dublin, Ireland. Association for Computational Linguistics.arxiv.org/abs/2204.03839
  10. [12]Harold W. Kuhn. 1955. The Hungarian method for the assignment problem. Naval Research Logistics Quarterly, 2(1-2):83–97.
  11. [13]Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E. Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient memory management for large language model serving with PagedAttention. In Proceedings of the 29th Symposium on Operating Systems Principles (SOSP), pages 611–626.arxiv.org/abs/2309.06180
  12. [14]Bin Liang, Qinglin Zhu, Xiang Li, Min Yang, Lin Gui, Yulan He, and Ruifeng Xu. 2022. JointCL: A joint contrastive learning framework for zero-shot stance detection. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 81–91, Dublin, Ireland. Association for Computational Linguistics.DOI
  13. [15]Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2022. What makes good in-context examples for GPT-3? In Proceedings of Deep Learning Inside Out (DeeLIO 2022): The 3rd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures, pages 100–114, Dublin, Ireland and Online. Association for Computational Linguistics.
  14. [16]Saif Mohammad, Svetlana Kiritchenko, Parinaz Sobhani, Xiaodan Zhu, and Colin Cherry. 2016. SemEval-2016 task 6: Detecting stance in tweets. In Proceedings of the 10th International Workshop on Semantic Evaluation (SemEval-2016), pages 31–41, San Diego, California. Association for Computational Linguistics.DOI
  15. [17]Maksym Taranukhin, Vered Shwartz, and Evangelos Milios. 2024. Stance reasoner: Zero-shot stance detection on social media with explicit reasoning. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 15257–15272, Torino, Italia. ELRA and ICCL.
  16. [18]Zhao Zhang, Yiming Li, Jin Zhang, and Hui Xu. 2024. LLM-driven knowledge injection advances zero-shot and cross-target stance detection. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 2: Short Papers), pages 371–378, Mexico City, Mexico. Association for Computational Linguistics.DOI

Paper details

vlnc:W_rd3rvptz
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 4

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents