---
title: "Constructing and evaluating ArabicStanceX: a social media"
description: "ArabicStanceX tests how well Arabic tweet classifiers recognize support, opposition, and no stance on familiar topics and adapt to new ones."
canonical: "https://research.elamur.ai/free/en/papers/alkhathlan-2025-constructing-evaluating-arabicstancex-social-media/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/alkhathlan-2025-constructing-evaluating-arabicstancex-social-media/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Constructing and evaluating ArabicStanceX: a social media dataset for Arabic stance detection

# Constructing and evaluating ArabicStanceX: a social media dataset for Arabic stance detection

Paper · 2025 · Ali Alkhathlan, Faris Alahmadi, Faris Kateb et al.

**Authors:** Ali Alkhathlan, Faris Alahmadi, Faris Kateb and [Hend Suliman Al-Khalifa](https://md.research.elamur.ai/free/en/authors/hend-suliman-al-khalifa/) · **Year:** 2025 · **Venue:** Frontiers in Artificial Intelligence · **Licence:** [CC BY (OpenAlex best open-access location)](https://creativecommons.org/licenses/by/4.0/)

[**4** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W4411463028) · [Frontiers in Artificial Intelligence](https://openalex.org/S4210197006) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://www.frontiersin.org/journals/artificial-intelligence/articles/10.3389/frai.2025.1615800/pdf)
- [DOI 10.3389/frai.2025.1615800](https://doi.org/10.3389/frai.2025.1615800)
- [OpenAlex](https://openalex.org/W4411463028)

Citations: OpenAlex, 2026-10-14.

## Summary

A post about a public decision may endorse it, criticize it, or simply tell readers what happened. The difference matters if the aim is to measure what people say about the decision. A strongly worded post can attack the decision’s critics and thereby support it. Another can mention the decision without taking a side. Stance detection asks which position a text expresses toward a specified target. ArabicStanceX gives researchers a way to study that question in Arabic social media, where the authors identify a shortage of datasets spanning enough topics to test whether a classifier can adapt when the discussion changes.

ArabicStanceX contains 14,477 annotated tweets about 17 topics drawn from Saudi discussions on X.com from 2015 to 2021. The subjects include school policies, economic projects, public health measures, sports appointments, and religious and cultural debates. The authors collected posts through hashtags associated with different sides of each issue, then filtered and labeled the posts. Native Saudi speakers independently judged whether each tweet favored the target, opposed it, or belonged to a class called “none,” which covers posts that take no discernible side or are unrelated. The average Fleiss kappa, a measure of agreement that accounts for chance, was 0.54 across topics. The authors make ArabicStanceX publicly available.

Using the Arabic encoder MARBERTv2, the authors compare training across topics with training separately for each topic. They also vary how a shared classifier receives information about the target. In the ordinary test split, a classifier that receives only the tweet scores 0.74 when F1 is averaged over favor and against, and 0.66 when none is included. Adding a manually written target description yields 0.74 and 0.67 on those respective measures. Keywords and automatically generated descriptions yield lower favor-and-against averages. The results vary by topic, and the none class often proves harder to identify than clear support or opposition.

The authors also hold out entire topics to test what happens when labeled examples of a new issue are scarce. With a written description but no labeled training examples from the new topics, the average is 0.59 for favor and against and 0.52 across all classes. With 40 labeled examples per class for adaptation, those averages reach 0.75 and 0.68. The increase shows that a small amount of target-specific supervision can help on the selected topics. The experiment also shows why it matters to report results by target and class. Even after adaptation, some discussions remain difficult, particularly when a post’s relationship to the target has to be inferred.

## Deep dive: Constructing and evaluating ArabicStanceX: a social media dataset for Arabic stance detection

ArabicStanceX tests how well Arabic tweet classifiers recognize support, opposition, and no stance on familiar topics and adapt to new ones. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### The object of an opinion

Stance is a relationship between an utterance and something it takes a position on. A reader who sees a post expressing frustration still has to work out where that frustration is directed. It might be directed at a policy, at people who oppose the policy, or at a practical detail the writer wants changed. The surrounding discussion supplies clues about how to interpret the text. In a stance dataset, the target gives the reader a reference point for deciding what kind of position the post expresses.

The authors’ distinction is especially important for short posts. A writer may assume that everyone following a hashtag already knows which announcement is under discussion. A post can refer to the consequences of a decision or to the people arguing about it without restating what the decision was. The stance can then be implicit even when its wording makes the writer’s attitude clear. A benchmark needs to specify the target consistently enough that different readers know which relationship they are being asked to judge. The distinction between a general attitude and a position on a specified issue also connects the paper to work on [sentiment and emotion](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/).

This is a form of [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) in which the answer depends on what the text is about and what the target means. Take the two education topics of introducing Chinese into schools and making broader changes to the school curriculum. A post may express a view about the language requirement, but the same wording may give a reader little basis for inferring a position on the larger curriculum reform. If the topic is specified precisely, a reader can distinguish the writer’s reaction to the particular proposal from a more general reaction to changes in education.

The none label adds another decision. A tweet can refer to a policy and merely report it. A different tweet can enter the candidate collection through a relevant hashtag while discussing something else. Both can receive none, even though the first is on topic and the second is off topic. The annotator has to decide whether the evidence supports either directional label. That decision is especially consequential when the language is indirect, because dismissing an indirect endorsement as none loses a stance the annotation scheme is intended to capture.

The paper places this problem in the study of public discussion online. Posts provide material for monitoring responses to events and policies, and the authors describe such observations as a possible supplement to surveys. That motivation makes the unit of analysis important. The benchmark asks whether individual posts can be labeled in relation to a target. A system that can do that has solved one part of studying public opinion. Estimating how prevalent an opinion is in a wider population would require evidence about who posted, who was sampled, and whose views went unobserved.

#### Earlier formulations of the task

The authors distinguish several ways of organizing stance detection. In target-specific work, the target is given in advance and the task is to classify a text about it. This is the setup a reader encounters when asked to decide whether a tweet supports or opposes an identified policy. In multi-target work, a text can express positions on related subjects, and the system has to account for each relationship. The paper cites [A Dataset for Multi-Target Stance Detection](https://md.research.elamur.ai/free/en/papers/sobhani-2017-dataset-multi-target-stance-detection/) as an example of that line of research.

Cross-target work asks whether what a system learns about some issues helps with issues it did not encounter during task training. This is a different notion of coverage from having many topics in a single training set. A classifier can do well on new posts about subjects it has already seen while struggling to interpret posts about a new subject. Related work includes [Zero-Shot Stance Detection](https://md.research.elamur.ai/free/en/papers/allaway-2020-zero-shot-stance-detection-dataset/), which the authors place in the cross-target tradition. ArabicStanceX has target-specific tweet labels, and those labels can be arranged into experiments that test cross-target transfer.

The authors also describe a strand of stance research organized around claims, headlines, and the surrounding discussion. A task can ask whether a text confirms a rumor, challenges it, asks about it, or comments on it. Those distinctions suit the role a post plays in a discussion about a claim. They give a different meaning to a label from that of support or opposition to a policy proposal. The paper illustrates this strand with [RumourEval](https://md.research.elamur.ai/free/en/papers/gorrell-2019-semeval-2019-task-7-rumoureval/) and work on the news-oriented [Fake News Challenge](https://md.research.elamur.ai/free/en/papers/hanselowski-2018-retrospective-analysis-fake-news-challenge/).

An important reference point for the tweet-and-target format is [SemEval-2016 Task 6](https://md.research.elamur.ai/free/en/papers/mohammad-2016-semeval-2016-task-6-detecting/). The authors describe its public dataset as a turning point for research on stance, with posts collected around subjects such as climate change and abortion and labeled in relation to those targets. The paper also points to datasets centered on financial discussion, Brexit, and other controversies. Together, these earlier projects illustrate why the target inventory and the choice of source shape the resulting task. The expressions that point to a position in a financial discussion can differ from those that identify a side in a debate over a public policy.

#### The Arabic resources the authors build on

Earlier Arabic resources already addressed stance in several forms. A corpus connecting 402 Arabic claims to retrieved documents asks whether the document agrees, disagrees, discusses the claim, or is unrelated. Annotators marked passages supporting some of their decisions. That setup supplies evidence about the relationship between a claim and a document, frequently through much more text than a social media post contains. The work is described in [Integrating Stance Detection and Fact Checking in a Unified Corpus](https://md.research.elamur.ai/free/en/papers/baly-2018-integrating-stance-detection-fact-checking/).

The Arabic News Stance corpus uses 3,786 claim-and-evidence pairs. Its scheme groups material outside the agreeing and contradicting categories under “other.” The ArabicStanceX authors note both the agreement achieved by the annotation process and challenges associated with class imbalance and paraphrasing. [AraStance](https://md.research.elamur.ai/free/en/papers/alhindi-2021-arastance-multi-country-multi-domain/) broadens coverage across countries and subject areas with 4,063 claim–article pairs, while retaining formal news as the source. In the authors’ account, these resources show how Arabic stance can be studied in fact checking and news, with evidence units and labels suited to those settings. The Arabic News Stance corpus is described in [Stance Prediction and Claim Verification](https://md.research.elamur.ai/free/en/papers/khouja-2020-stance-prediction-claim-verification-arabic/).

The authors also discuss collections closer to their choice of medium. [Mawqif](https://md.research.elamur.ai/free/en/papers/alturayeif-2022-mawqif-multi-label-arabic-dataset/) contains 4,121 Arabic tweets and provides separate annotations for stance, sentiment, and sarcasm. This gives researchers a way to study those distinctions on the same posts. Its stance annotations cover a smaller inventory of pre-defined topics. EXaASC, with 9,566 samples, draws on exchanges between tweets and replies and covers a broad range of targets. Its conversational construction gives replies a context that differs from that of independently collected posts, and the paper reports a high proportion of none labels in that resource.

ArabicStanceX responds to a narrower gap than the general shortage of Arabic data. The authors want an inventory of varied Arabic social media topics with enough labeled posts to study both classification on familiar targets and adaptation to new ones. They emphasize the challenges posed by Arabic dialect variation, word structure, and context. They also point to humor and sarcasm as examples of cues that can complicate the connection between a post’s literal words and its role in an argument. The resulting benchmark is organized around Saudi Twitter discourse because the authors wanted to collect active, polarized discussion about clearly specified events and proposals.

### The method, step by step

#### From public discussions to defined targets

The collection begins with hashtags used on X.com in Saudi Arabia from 2015 to 2021. The authors manually examine frequent hashtags to find discussions about identifiable events, policies, or debates. They look for issues with evidence of active support and opposition. Then they group hashtags that refer to the same issue and use issue-specific keywords to find additional related hashtags. The outcome is a set of pre-defined targets, each paired with search terms for gathering candidate tweets.

A target is frequently more specific than the name of the subject area. The school topic about Chinese concerns the inclusion of that language in the Saudi public-school curriculum. The target concerning mosque loudspeakers is a proposal to limit particular uses of the speakers. The sports resignation topic is tied to a specific person leaving a Saudi club. The target description can therefore give a reader an event or a proposition to evaluate. A broad label such as education, religion, or sport would narrow the domain while leaving that proposition open.

The authors seek hashtags associated with opposing sides of an issue. For the driving topic, for instance, they collect through both calls to allow women to drive and calls against allowing it. This decision makes it possible for posts associated with each camp to enter the collection. The hashtag is used to locate candidate text, and the stance label comes from a later reading of the tweet against the target. This distinction leaves room for a journalist, advertiser, or critic to use vocabulary associated with a position without expressing that position in the tweet itself.

The sampling decisions also explain why a topic description is a plausible input to the classifier. The team starts from a collection of hashtags, but the thing being labeled is a position on the issue those hashtags point to. A short explanation of the issue can say which change, event, or decision defines the target. This can be particularly important when a term has a wider meaning than the debate under study, as with references to school subjects or public health measures.

How ArabicStanceX was built and evaluated The steps in order.

#### Cleaning the candidate tweets

The authors keep Arabic posts and remove retweets, user mentions, URLs, and duplicate tweets. These operations affect what remains when annotators read the text and when the authors later use it to train the classifier. Removing retweets and copies limits repeated presentation of the same wording. Removing references such as user mentions and URLs also narrows the evidence to the text retained in the dataset. A reply or link can carry information about a dispute, so performance in this setup concerns the cleaned representation the authors use.

Exact matching alone would leave tweets that express nearly the same thing with slight changes in wording. To find near duplicates, the authors use the SentenceTransformer encoder `paraphrase-xlm-r-multilingual-v1`. It maps text to vectors, which can be compared for similarity. They use cosine similarity, a measure of how closely the directions of two vectors align, and discard tweets when the score exceeds 0.95. The procedure gives the authors a way to filter redundancy beyond identical strings. Its effectiveness depends on what the encoder treats as similar, so it is a practical cutoff for [semantic similarity](https://md.research.elamur.ai/free/en/concepts/semantic-similarity/). The approach draws on work described in [Sentence-BERT](https://md.research.elamur.ai/free/en/papers/reimers-2019-sentence-bert-sentence-embeddings-siamese/).

The team also examines a random sample of 1,000 tweets and observes that posts carrying four or more hashtags tend to be advertisements. They use that observation as a filtering rule and remove posts meeting the threshold. This rule acts on the shape of a post before anyone labels its stance. The later none category can still include advertisements that survive filtering, because annotators decide whether an individual post expresses a position. The combination of a bulk filter and a human label addresses different parts of the same problem.

There is a distinction between the role of hashtags at collection and a tweet’s evidence at classification. The authors make deliberate use of hashtags to find material about the target and to reduce noise. Their account specifies removal of several elements, including user mentions and URLs. It gives no blanket instruction to strip every remaining hashtag. The tweet-only condition is therefore best understood as using the retained tweet text without a separately supplied target sequence. Whether a particular post already contains a recognizable reference to the issue varies with its wording.

#### Turning a reading into a stance label

For the main [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/), the authors work with Wosom, a Saudi annotation company. They use a pilot to check the guidelines and the annotation platform. During repeated pilot rounds, the team reviews a random selection of 50 tweets spanning multiple topics. The authors select native Saudi speakers for their language skills, care, and relevant expertise, then train them on the guidelines using examples. Reviewers and validators provide feedback during the annotation process.

Every tweet receives independent judgments from three annotators. The labels are favor, against, and none. A favorable tweet can express its endorsement explicitly or indirectly. The same applies to opposition. A tweet that has no identifiable stance towards the target, including one that has no useful connection to the issue, can be labeled none. The decisive question is what relationship the post conveys to the pre-defined target. In the school example, mentioning Chinese or discussing language learning is context for the decision, and the label still depends on whether the post supports or opposes the curriculum change.

This scheme puts implicit positions on the same footing as direct ones. A person who gives a reason to retain a policy might favor it without using an explicit verb of support. An annotator has to distinguish that reading from someone relaying a reason given by another speaker. None is available when the text provides no adequate basis for either directional judgment. It can also apply when the target mattered to the retrieval process but the post itself has moved the discussion elsewhere. Those cases help explain why identifying none is a substantive part of the experiment.

Independent judgments make disagreement visible before a final label is chosen. The procedure can use majority agreement and can resolve disagreements through adjudication. The authors describe applying established criteria or discussing difficult items with a designated facilitator to reach consensus. The released target labels are therefore the product of a process for combining and resolving human judgments. The agreement statistic answers a related question about how consistently the annotators originally made those judgments.

The authors report an average Fleiss kappa of 0.54 across topics. Fleiss kappa expresses agreement among several raters after taking into account how much agreement would be expected by chance from their use of the categories. A final label formed through majority agreement or discussion can coexist with disagreement during independent reading. Keeping those two facts separate gives the agreement score its meaning. It provides information about how reproducible the judgments were before resolution, even though every item used for evaluation has an assigned label.

#### Giving the classifier a tweet and, sometimes, a target

The authors choose MARBERTv2 as their Arabic starting point because of its performance on dialectal Arabic tasks. They connect that choice to work on [ORCA](https://md.research.elamur.ai/free/en/papers/elmadany-2023-orca-challenging-benchmark-arabic-language/), a benchmark for Arabic language understanding. MARBERTv2 uses the BERT family’s bidirectional approach to encoding text. A word’s representation can depend on the words around it, including those before and after it. For interpreting a tweet, this matters when the words that convey an opinion only become clear after reading the surrounding qualification or the object of the criticism. The underlying approach comes from [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/).

The starting encoder has already been trained on text before the stance task. During [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/), the authors adjust its parameters using tweets with stance labels so that the resulting classifier can predict a label for a new input. They use the contextual representation of the special `[CLS]` token to represent the input in every setup. `[CLS]` is a designated token in the BERT input. Its representation after encoding serves as the text representation for classification, whether the input consists of a tweet alone or includes a second sequence.

The authors first try a dedicated classifier for each target. They call this STSM. Each classifier learns from examples tied to one discussion, so the connection between a phrase and the issue can be learned from occurrences within that topic. The drawback identified in the paper is difficulty learning the none class under this plan. The main evaluation instead trains one classifier on a pooled collection of topics. The paper calls this MTSM. Pooling provides examples of the same stance labels in different discussions while using the same parameters to make the classification decision.

The ordinary dataset split uses an 80:20 training-to-test division. The paper organizes its counts by topic and stance label within each split. For the pooled familiar-topic evaluation, the task is to classify held-out tweets about topics represented in training. This is distinct from the transfer experiments, where the authors initially withhold the selected topics themselves. A tweet can be unseen in both settings, but the history of the target in task training differs.

The pooled classifier has several possible inputs. MTSM-None receives the tweet as a single input sequence. The word “None” in that configuration name means there is no extra topic text. The output label “none” is available in every configuration. Keeping the two uses of the word separate is essential to understanding the experiment. A classifier with no extra topic text still has to decide whether a tweet favors the target, opposes it, or expresses no identifiable stance towards it.

MTSM-Keywords receives a tweet together with a second sequence containing topic-specific keywords. The extra sequence can help anchor an unfamiliar reference to the relevant issue. It can also repeat clues already present in the post. A list of terms identifies what a discussion is about, while a description can make explicit the relationship between those terms. For instance, naming Chinese and public schools identifies two elements of the education topic. A description can connect them by explaining that the issue is introducing Chinese into the curriculum.

MTSM-Topic Description receives a short account of the target rather than the keywords. The authors prepare such descriptions in two ways. They write template-guided descriptions manually and also use GPT-4 to generate descriptions. Their example compares descriptions for the proposal to teach Chinese in Saudi schools. In both conditions, the extra text supplies information about the issue, while the tweet supplies the evidence of the writer’s stance. The comparison changes the way the issue is explained to the classifier while retaining the same target and output labels.

The architecture handles the tweet-only condition as a single sequence and the topic-augmented conditions as paired input. The paper specifies input limits of 128 tokens for a single sequence and 512 tokens for combined input. A token is a unit of text processed by the encoder. The larger input allowance accommodates additional target text. The difference in length limits is part of the reported setup, so the comparison of tweet-only and augmented inputs evaluates the configurations as used, including how much input each can accommodate. The general concept is [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/).

#### Training settings and adaptation to a new issue

The authors fine-tune with AdamW, using a constant learning rate of 2e-5. The learning rate sets the scale used in parameter updates. They set the optimizer’s beta coefficients to 0.9 and 0.999, which govern the averaging of gradient information, and epsilon to 1e-8 for numerical stability. The weight decay is 0.001 and the dropout rate is 0.1. These settings regularize training by discouraging overly large weights and making the classifier learn with some activations dropped during training. The optimizer is related to the method described in [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/).

Over the course of the run, 25 epochs are completed using batches of 32. An epoch is a pass through the training data. The batch size specifies how many examples are processed together for an update. These settings describe how the authors update the encoder for the classification task. The input variants change what the classifier is given about the target while the study uses MARBERTv2 as its common starting point. This makes the comparison about several ways of organizing stance training around the same encoder.

The adaptation experiment starts by withholding six topics from the initial stance fine-tuning. The authors train on the remaining topics and use manually written descriptions for the held-out targets. In the zero-shot condition, the classifier receives a description of the target and the test tweet without having received labeled tweets from that target for task training. The description means it has some explicit information about the new issue. What it lacks is an example of how a human applied the stance labels to that issue.

In the [few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/) conditions, the team adds labeled examples of the new target and continues fine-tuning. The experiment uses 10, 20, and 40 examples per stance class. The number of examples refers to each class individually, so the adaptation material intentionally gives favor, against, and none equal representation. The test still concerns tweets from a target held out of the initial training stage. The few-shot version asks how much target-specific labeling helps once a classifier has already learned from other issues.

The distinction between a description and a labeled example is central to this method. A description can explain what a policy does. A labeled example can show how a tweet that never names the policy nonetheless conveys a position on it. A none example can show how an issue is mentioned without any commitment to a side. The authors vary the number of such examples while keeping descriptions part of the transfer setup. The results therefore measure adaptation with both a written target definition and, in the few-shot conditions, supervised examples.

#### How the scoring works

The paper computes precision and recall for each stance separately. For a particular label, precision asks how many predictions of that label are correct. Recall asks how many tweets genuinely bearing that label the classifier retrieves. A classifier can achieve good precision for opposition by predicting against only when it sees very direct criticism, while missing many indirect cases and receiving poor recall. A classifier that applies against broadly can recover more opposition while drawing in posts that belong to another class.

```
Precision = TP / (TP + FP)
```

`Precision` is the fraction of predictions for the selected class that are correct. `TP` counts true positives, cases where the annotation and prediction both assign that class. `FP` counts false positives, cases predicted as that class whose annotations give another label. The `+` adds correct and incorrect predictions of the class to form the denominator. The parentheses group that total, `/` denotes division, and `=` gives the definition.

```
Recall = TP / (TP + FN)
```

`Recall` is the fraction of annotated occurrences of the selected class that the classifier recovers. `TP` again counts the tweets correctly assigned to the class. `FN` counts false negatives, tweets with that annotated class that the classifier assigns elsewhere. The `+` and parentheses form the total number of annotated instances of the class. The `/` divides the correctly recovered instances by that total, and `=` gives the definition.

F1 combines precision and recall through their harmonic mean. A low value on either component pulls the combined result down. The authors then average the class-level F1 scores. Their favor-and-against average follows the evaluation convention used in earlier tweet stance research. Their other average includes the none class so that difficulty identifying tweets without a discernible position is reflected directly in the result.

```
F_avg2 = (F_favor + F_against) / 2
```

`F_avg2` is the macro-average over the directional stance classes. `F_favor` is F1 for tweets labeled favor, and `F_against` is F1 for tweets labeled against. The `+` adds those scores, the parentheses group them, and `/ 2` gives each class equal weight. The `=` defines the reported average.

```
F_avg3 = (F_favor + F_against + F_none) / 3
```

`F_avg3` is the macro-average over all stance classes. `F_favor` and `F_against` again denote F1 for the directional classes, and `F_none` is F1 for the none class. The `+` signs add the class scores, the parentheses group the sum, and `/ 3` weights the classes equally. The `=` gives the definition.

Excluding none from `F_avg2` still leaves it as a possible prediction and a source of errors. If the classifier predicts favor on a none tweet, that is a false positive for favor. If it predicts none on a genuine against tweet, that is a false negative for against. The narrower average omits a direct score for recognizing none. The broader average makes that recognition an explicit part of how success is measured. Across experiments, the paper reports the per-topic results and the corresponding averages.

### Experiments and results

#### What the test sets represent

ArabicStanceX contains 14,477 tweets across 17 topics. The domain distribution is uneven. Religion and culture account for 31.2% of the samples, education for 19.1%, and the economy for 18.7%. Health and the miscellaneous group each account for 12.9%, while sports account for 5.04%. The topic inventory spans questions as different as public share sales, remote schooling, vaccine requirements, and a club resignation. Its breadth gives the authors a way to see whether an overall result represents performance consistently across discussions.

The 80:20 split is the basis for the results on familiar targets. Its test tweets are held out from training, while the classifier has already been trained on examples from the same topics. Separate experiments with deliberately withheld targets address how the method works when this topic-specific experience is missing. In the familiar-topic experiments, the comparisons use variants of MARBERTv2. The paper describes the single-topic strategy’s difficulty with none qualitatively. The numerical results focus on the shared classifier with different ways of supplying information about a target.

Both headline scores are averages of class F1 measures. A value of 0.74 for favor and against refers to the combined performance on these classes as defined by `F_avg2`. The wider result also gives none a direct role. Neither score is the fraction of all tweets correctly classified. This distinction is useful when reading differences between topics, because the number of tweets in each class can vary and the metric gives classes equal influence within each topic.

#### Familiar targets with and without additional context

The tweet-only pooled classifier reaches 0.74 on the favor-and-against average and 0.66 on the all-class average. These are the values the paper reports across topics. They show that much of the information needed for stance is available in the tweet input, at least when the classifier has seen other examples from the same discussions. The shared classifier using manually written descriptions also reaches 0.74 on the directional measure. It reaches 0.67 when all classes are counted, the strongest reported familiar-topic result on that measure.

Adding keywords gives averages of 0.72 for favor and against and 0.66 for all classes. Automatically generated descriptions also give 0.72 for favor and against, with 0.65 for all classes. All configurations receive the same output labels. The values therefore characterize the result of changing what the classifier sees about the target alongside a tweet. The comparison favors the manually written description on the broader measure while showing that extra context can yield a lower score in other forms.

Familiar-topic input variants on ArabicStanceX, all-class macro F1 Manually written target descriptions give the highest reported average when all stance classes count.

**The numbers**

| System or setting | F_avg3 |
| --- | --- |
| Tweet text only | 0.66 |
| Tweet and topic keywords | 0.66 |
| Tweet and manual topic description (this paper) | 0.67 |
| Tweet and GPT-4 topic description | 0.65 |

The paper describes single-topic training as less successful at handling none. The pooled numbers establish a common reference point for the contextual inputs and show what can be achieved with the tweet alone. There is no comparable table of STSM scores for each topic. The quantitative case for the paper’s preferred setup thus comes from its comparison of input formats within pooled training, while the early single-topic trials explain why the authors concentrated on that approach.

#### Performance depends on the discussion

The Chinese-language curriculum topic illustrates how much the class scores can differ within one target. In the tweet-only setup, the F1 values are 0.90 for favor, 0.91 for against, and 0.46 for none. With keywords, the none score is 0.62, while the reported all-class average is 0.81. The tweet-only all-class average is 0.75. The manually written description yields an all-class value of 0.76, and the generated description yields 0.77. On this target, the keywords are particularly helpful in the evaluation that gives none equal weight.

The school curriculum reform topic reaches 0.73 across all classes with tweet text alone. Its all-class score is 0.68 with keywords, 0.75 with the manual description, and 0.72 with the generated description. The Chinese-language topic and the curriculum reform topic share an education domain, yet they respond differently to keyword context. Domain membership gives a broad indication of subject matter. The score differences are observed at the level of specific targets and particular ways of presenting them.

Online Learning is another relatively strong topic. Its keyword condition yields 0.85 on the all-class average, compared with 0.83 with the manual description and 0.76 with the generated description. The COVID-19 vaccine topic gives a different picture. Its tweet-only favor and against scores are both 0.80, while none is 0.31. With a manual description, favor and against are both 0.81 and none is 0.23. A clear target description can coexist with a low class score when deciding whether the tweet takes a position remains difficult.

For the appointment of Prince Abdulaziz bin Turki, the manually described target produces 0.46 for favor, 0.47 for against, and 0.72 for none. The all-class average is 0.55. Here, none is the highest-scoring class, even though none is difficult in many other discussions. This row shows why an aggregate observation about neutrality needs to be read alongside the data for individual topics. Some targets bring out the difficulty of finding directional stances, and for others the largest obstacle is distinguishing an expressed position from its absence.

A further example is the coexistence-of-religions topic in the description experiment. Under the manual description, favor reaches 0.61, against 0.39, and none 0.66. The generated description gives 0.60, 0.41, and 0.65 respectively. Both descriptions yield the same broad ordering of class scores for that subject. The topic concerning mosque loudspeakers shows a different imbalance under manual descriptions, with 0.76 for against and 0.33 for none. These class profiles specify where a topic is difficult more precisely than an all-class average alone can.

#### Holding out whole topics

The transfer study withholds Online Learning, Neom City, Domestic Tourism, Military Conscription, Mosques Speakers, and polygamous marriage from the initial training. All of these topics are part of ArabicStanceX. The newness of the issue is defined by the training partition. This allows the authors to test transfer within the same collection and annotation scheme, while withholding task examples that would otherwise teach the classifier how a particular discussion expresses stance.

The zero-shot condition uses manually written descriptions and obtains 0.59 for favor and against and 0.52 for all classes. The authors report an average none F1 of 0.34 in this condition. For Online Learning the zero-shot table gives 0.77 for favor and against and 0.66 for all classes. Domestic Tourism reaches 0.42 for favor and against and 0.41 across all classes. These examples show substantial variation among the new issues, even though each receives a description.

When the authors let the classifier adapt with 10 examples per class, the average scores reach 0.69 for favor and against and 0.60 for all classes. At 20 examples per class, they reach 0.74 and 0.66. With 40 examples per class, the averages reach 0.75 and 0.68. The class counts in these conditions refer to the amount of labeled target-specific training material. The reported values are test results, and the amount of target supervision changes while the target description remains available.

Supervision per class on held-out ArabicStanceX topics, directional macro F1 The reported favor-and-against average rises as the classifier receives more labeled examples from the held-out topics.

**The numbers**

| System or setting | F_avg2 |
| --- | --- |
| Zero-shot | 0.59 |
| 10 examples per class | 0.69 |
| 20 examples per class | 0.74 |
| 40 examples per class (this paper) | 0.75 |

Supervision per class on held-out ArabicStanceX topics, all-class macro F1 The all-class average also improves with target-specific supervision and is highest at the largest tested budget.

**The numbers**

| System or setting | F_avg3 |
| --- | --- |
| Zero-shot | 0.52 |
| 10 examples per class | 0.60 |
| 20 examples per class | 0.66 |
| 40 examples per class (this paper) | 0.68 |

Individual topics show how the averages arise. Domestic Tourism reaches an all-class F1 of 0.58 with 10 examples per class, 0.61 with 20, and 0.63 with 40. For Mosques Speakers the corresponding results are 0.44, 0.47, and 0.57. The none score on Mosques Speakers reaches 0.45 with 40 examples per class, while against reaches 0.76. Target supervision improves the results for that topic across the tested budgets and leaves a large difference between detecting explicit opposition and recognizing none.

The highest supervision budget also yields 0.74 across all classes for Neom City and 0.70 for polygamous marriage. The online learning result is already 0.81 at 20 examples per class and is 0.79 at 40. Its none score moves from 0.67 to 0.63 between those settings. The averages make the overall adaptation trend easy to see, while the topic rows show that the trend has exceptions. A reader deciding how much annotation might be worthwhile for a new target would need to account for that variability.

The familiar-topic and adaptation results summarize different collections of tests. The headline result of 0.67 across all classes with manual descriptions covers the ordinary split across topics. The adaptation result of 0.68 at the largest budget covers the six held-out topics after adding labeled examples for them. Their numerical proximity is a fact about the reported averages. Their settings differ in which topics are tested and how those topics enter training.

### What the ablations show

#### The effect of changing what the classifier reads

The closest comparison to an input ablation is between tweet-only training and configurations that supply explicit target text. These runs share the same encoder family and stance labels. The directional average of 0.74 is the same at the reported precision for tweet text alone and for manually described topics. The all-class average is higher with the manually described targets, moving from 0.66 in tweet-only training to 0.67. That comparison supports a specific conclusion about the tested configurations. Manual descriptions give the strongest aggregate result when the evaluation explicitly counts all classes, while performance on favor and against can already be matched using tweet text.

The keywords comparison shows why one should treat the form of the extra text as part of the intervention. Keywords help identify a discussion. A description can also explain which event or decision the discussion concerns. However, the experiment’s comparison measures the performance of actual keyword and description inputs, so the score difference depends on the texts selected and how they work with the tweets. For Online Learning, keywords produce an all-class average of 0.85, ahead of the manual description’s 0.83. For the school curriculum reform, keywords give 0.68 and the manual description gives 0.75. This reversal is evidence that the usefulness of a representation varies by target.

The comparison of manual and generated descriptions controls the broad form of the extra input. In each case the classifier receives a tweet and a description of its target. The manual version earns the higher aggregate score on both metrics. The generated version still gives the higher all-class result on individual topics such as Domestic Tourism, where it scores 0.64 compared with 0.62 for the manual version, and Women Driving, where it scores 0.67 compared with 0.64. On the sports appointment topic the manual version scores 0.55 and the generated version scores 0.45 across all classes. Judged by these experiments, the trade depends on the topic and the descriptions available for it.

The authors suggest that human-written descriptions can express important nuances. That is an interpretation of the overall comparison. The experiment changes complete descriptions, so it does not identify which words or details caused an improvement. A description can differ in specificity, in what it says the proposal involves, or simply in phrasing. The reported results support the choice of the manual descriptions used in this study as a strong pooled configuration. They leave open which properties of the text are responsible.

#### Pooling and target-specific examples

The comparison between single-topic training and pooling addresses how examples from different issues can support each other. A dedicated classifier can learn words and references specific to an issue, but receives none examples only from that issue. A pooled classifier can use other discussions to learn recurring ways that tweets report, endorse, or criticize an event. The authors’ initial trials found that dedicated classifiers repeatedly missed the none class. With no matched numerical results for those trials, the explanation that pooling supplies usable cross-topic patterns is consistent with the analysis, while the size of a pooling effect remains unmeasured.

The adaptation experiment provides a more direct comparison of training conditions. The zero-shot and few-shot runs use written target descriptions. The variable of interest is how much labeled material from the new topic is available during adaptation. Scores on both reported averages rise across the successive budgets. This gives evidence that a description alone leaves some local conventions of stance expression unresolved and that seeing labeled tweets helps the classifier learn those conventions on the selected targets.

Aggregate improvement does not tell the reader which errors changed. On Military Conscription, the all-class average is 0.67 with both 20 and 40 examples per class at the reported precision. Within those results, none F1 is 0.55 and 0.59 respectively, while favor and against each move from 0.73 to 0.72. Neom City shows a related pattern. Its favor-and-against average is 0.80 for both budgets, while none F1 is 0.49 with 20 and 0.61 with 40. The all-class average accordingly records a difference that the directional average leaves out.

The paper’s topic-level analyses also qualify its general discussion of none. The class is particularly difficult on many topics and in the zero-shot setting. Yet on subjects such as coexistence of religions under manual descriptions, opposition has the lowest F1. A method aimed solely at lifting a global none score could leave that topic’s hardest directional distinction unresolved. Looking at topic and class together reveals issues that a single measure of overall performance cannot locate.

The authors attribute some difficult cases to complex subject matter, neutral wording, or indirect speech. The tables show which targets and classes had low scores. They have no separate measurements for the prevalence of these linguistic forms in each target or of errors specifically caused by them. For instance, the low mosque-loudspeaker scores motivate investigating how the stance is expressed, while the reported F1 values alone cannot distinguish ambiguity from a shortage of representative examples. The analysis is strongest when it identifies a place where the classifier fails and leaves the cause open for closer study.

### Limitations

#### Limits the authors state

The authors explicitly limit the geographic and platform scope of the dataset. All tweets come from X.com, and the collection centers on Saudi Arabia. A discussion from a different country can involve different ways of expressing support, different dialect features, and distinct assumptions about the issue. A different platform can provide longer posts or different kinds of conversational context. The reported scores describe the chosen Saudi Twitter setting. The authors present expansion to other Arabic-speaking countries and platforms as a direction for further work.

Class imbalance is another limit they identify. Some targets have relatively little material for one or more classes, which can make minority stances difficult to learn. Giving class scores equal weight during evaluation helps make such performance visible, but it does not change what the classifier receives during initial training. The balanced few-shot samples address the representation of classes in a particular adaptation experiment. That design leaves the original topic distributions and their variation intact.

The authors also flag sarcasm, implicit stance, and neutrality as difficulties. A tweet can use words associated with endorsement in order to ridicule a policy, or take a recognizable side indirectly. Meanwhile, some neutral posts discuss the issue at length, making relevance easy to establish even when an opinion is absent. These difficulties matter because the annotation scheme asks human readers to distinguish indirect opinions from no discernible opinion. The authors suggest studying other approaches to these cues and exploring additional sources of information.

#### Limits that follow from the setup

The dataset represents discussions found through deliberately selected hashtags about issues known to attract polarized engagement. This gives the authors a way to gather support and opposition, but it also conditions which posts enter the benchmark. People who discuss the same events without the selected tags may express their opinions differently. The removal of retweets, near duplicates, and posts with several hashtags further changes what remains. Consequently, stance frequencies in the curated collection cannot by themselves support population estimates about Saudi public opinion or even estimates for all posts on the platform.

The rule excluding posts with four or more hashtags rests on a finding about a sample of candidate tweets. It can remove advertisements efficiently and can also remove legitimate expressions that happen to use several tags. Likewise, near-duplicate filtering treats high vector similarity as evidence of redundancy. Closely related posts can sometimes differ in a short qualification that changes their stance. The paper gives a threshold and describes its use. It does not report a separate evaluation of how many stance-bearing posts each filter removes or how changes to the thresholds affect the results.

The none label combines distinct cases. A tweet can give relevant information without a side, or fail to address the issue. An advertisement can also fall under none. A per-class F1 score reports how the classifier handles this combined category. It cannot show whether improvements come from recognizing pertinent but noncommittal discussion, from detecting irrelevance, or from some other part of that category. This matters when interpreting the reported difficulty with “neutrality,” since a subset of none posts may be easy to recognize for reasons that have little to do with interpreting a neutral opinion.

The human judgments set the reference for performance, and average Fleiss kappa of 0.54 indicates that agreement was incomplete. The procedure for reaching a final label is useful for constructing a benchmark, but a resolved label can conceal competing reasonable readings of an individual post. The paper reports the average across topics. It does not show how disagreement varied by stance class or which kinds of wording most often required adjudication. That makes it difficult to determine how much of the error for a particular class is concentrated in items humans also found ambiguous.

The transfer experiment tests new targets within the same collection, using the same annotation categories and preparation process. Different held-out targets could give different aggregate scores, and some issues in the experiment share broad domains with topics that remain in training. The test does not measure transfer to a new platform, country, or later period. Likewise, a zero-shot target is absent from the initial stance fine-tuning. The experiment makes no separate claim about whether the encoder’s earlier training had encountered text about the issue.

The few-shot budgets also assume that a curator can find and label the specified number of examples for each stance. When a class is sparse or hard to agree on, collecting a balanced set can take more work than the budget alone conveys. The reported tables give point results for each supervision level. They do not quantify variability across alternative choices of examples or across different held-out topic sets. The broad upward trend appears in the reported averages, while small changes between conditions need to be read together with the topic-level results.

The input comparisons have related limits. The paired conditions add text and allow a longer token sequence than the tweet-only condition. The paper does not report a matched-length control or an experiment that supplies an unrelated description. As a consequence, it shows what happens with the tested inputs as a whole. It does not isolate an improvement caused by semantic grounding from possible effects of input length, wording, or other properties of the added text. The manual-versus-generated comparison also covers the descriptions created for these targets, so it cannot establish a general ranking of the two ways of writing them.

Some prose descriptions of the results use the metric names loosely. In the keywords discussion, 0.66 is described in connection with neutral tweets, while the table shows it as the aggregate all-class average. The discussion of the largest adaptation budget also groups the headline metrics together, while the table distinguishes 0.75 for favor and against from 0.68 for all classes. The class column for none and the all-class average answer different questions. Reading the named columns alongside the formal metric definitions preserves that distinction when interpreting the results.

### What came after

The later citing work pursues two questions visible in ArabicStanceX. One is how to make evaluation on new targets the central task of a dataset. The other is how to present an Arabic stance question to a classifier. ArabicStanceX approaches these questions by withholding selected topics from initial training and by comparing tweets alone with tweets accompanied by target context. The later titles show where each successor puts its emphasis.

[Mawqif-XT](https://md.research.elamur.ai/free/en/papers/albalawi-2026-mawqif-xt-arabic-benchmark-dataset/) is a 2026 Arabic benchmark for cross-target stance detection. Its stated focus is the form of evaluation that ArabicStanceX explores through its held-out topics. That focus matters because a benchmark arranged around transfer can make exposure to the test target an explicit part of what systems are compared on. The citation establishes a connection to ArabicStanceX’s treatment of target generalization. It does not establish that Mawqif-XT imports its tweets, topic descriptions, or training partitions.

[CLASP-Ar](https://md.research.elamur.ai/free/en/papers/verma-2026-ttlab-stanceeval-2026-cloze-style/) is the TTLab contribution to StanceEval-2026 and uses cloze-style prompting for Arabic stance detection. A cloze prompt frames the task as filling a gap in an expression. This takes up the issue of how to present the target and the decision to the classifier, which ArabicStanceX studies by pairing tweets with optional descriptive text. The method’s title identifies a different input formulation and the task it addresses. It leaves its exact use of ArabicStanceX’s data and findings unspecified.

## Cite

Cite as Ali Alkhathlan, Faris Alahmadi, Faris Kateb and Hend Suliman Al-Khalifa. 2025. Constructing and evaluating ArabicStanceX: a social media dataset for Arabic stance detection. Frontiers in Artificial Intelligence.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.3389/frai.2025.1615800](https://doi.org/10.3389/frai.2025.1615800)

```bibtex
@inproceedings{alkhathlan2025constructing,
  title = {{Constructing and evaluating ArabicStanceX: a social media dataset for Arabic stance detection}},
  author = {Ali Alkhathlan, Faris Alahmadi, Faris Kateb and Hend Suliman Al-Khalifa},
  booktitle = {Frontiers in Artificial Intelligence},
  year = {2025},
  doi = {10.3389/frai.2025.1615800},
  url = {https://doi.org/10.3389/frai.2025.1615800}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
