---
title: "Multilingual Topic Classification in X: Dataset and Analysis (2024)"
description: "X-Topic benchmarks how classifiers assign multiple topics to posts in English, Spanish, Japanese, and Greek, and compares training with…"
canonical: "https://research.elamur.ai/free/en/papers/antypas-2024-multilingual-topic-classification-x-dataset/"
---
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/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/antypas-2024-multilingual-topic-classification-x-dataset/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Multilingual Topic Classification in X: Dataset and Analysis

# Multilingual Topic Classification in X: Dataset and Analysis

Paper · 2024 · Dimosthenis Antypas, Asahi Ushio, Francesco Barbieri et al.

**Authors:** [Dimosthenis Antypas](https://md.research.elamur.ai/free/en/authors/dimosthenis-antypas/), [Asahi Ushio](https://md.research.elamur.ai/free/en/authors/asahi-ushio/), [Francesco Barbieri](https://md.research.elamur.ai/free/en/authors/francesco-barbieri/) and [Jose Camacho-Collados](https://md.research.elamur.ai/free/en/authors/jose-camacho-collados/) · **Year:** 2024 · **Venue:** Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **3** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/antypas-2024-multilingual-topic-classification-x-dataset/cited-by/) · Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.emnlp-main.1123/)
- [PDF](https://aclanthology.org/2024.emnlp-main.1123.pdf)
- [DOI 10.18653/v1/2024.emnlp-main.1123](https://doi.org/10.18653/v1/2024.emnlp-main.1123)

## Summary

A short post can be about a concert and a celebrity at the same time. A comment about going on a date at a museum can describe a relationship, a cultural activity, and a moment in someone’s daily life. A system that has to choose just one category loses part of what these posts say. The problem becomes harder when the same categories have to work across languages, where people may discuss different things, refer to different public figures, or assume different background knowledge. The authors introduce X-Topic to study this form of [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) on X, formerly Twitter. It contains 4,000 posts in English, Spanish, Japanese, and Greek, with labels drawn from a shared set of 19 social media topics.

The authors collected posts without filtering their queries for trending keywords, then screened the results and used retweet and follower counts to weight the sample. Each post went to five people fluent in its language. A topic entered the reference annotation if at least two of those people selected it. The resulting posts have an average of 1.8 topics each, and their labels form 361 distinct combinations. Diaries & Daily Life is the most frequent category in every language. Beyond that shared pattern, the distributions differ. News & Social Concern comes next in English, Spanish, and Greek, while Other Hobbies takes that place in Japanese. The people assigning labels also disagreed frequently enough to make agreement an important part of interpreting the benchmark.

The experiments ask how much labeled material a classifier needs and where that material can come from. The authors test instructions with and without examples, training on the language being tested, transfer from an earlier English dataset called TweetTopic, and training on the pooled X-Topic languages. XLM-T large, which had previously been adapted to Twitter text, achieved the best average macro-F1 at 57.6% when trained on both datasets. Macro-F1 gives every topic equal weight, so a classifier needs to cover uncommon categories as well as frequent ones. Pooling the X-Topic languages improved macro-F1 over training on the target language alone. Training on the larger English TweetTopic dataset was also competitive in Spanish, Japanese, and Greek, although the English-only and target-language training sets differed substantially in size.

GPT-4o was the strongest system tested with prompts. With examples in the prompt, it averaged 54.3 macro-F1 and had the highest macro-F1 in Greek. The detailed results show how different systems can reach competitive averages while missing different material. Other Hobbies was difficult for both GPT-4o and XLM-T large, and the supervised classifier often missed Arts & Culture. The authors make X-Topic and their strongest multilingual classifiers available. The benchmark gives researchers a common way to test cross-language transfer and to see which topics account for a score, including cases where the classification the benchmark counts as wrong is a reasonable reading of the post.

## Deep dive: Multilingual Topic Classification in X: Dataset and Analysis

X-Topic benchmarks how classifiers assign multiple topics to posts in English, Spanish, Japanese, and Greek, and compares training with prompting. · about 33 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

#### One post can have several subjects

The paper asks how to assign a stable set of topic names to short, informal posts across languages. The stability matters when the purpose is comparison. A researcher looking at two collections can ask how much discussion concerns sports or education if those categories have comparable definitions in both collections. If the categories are discovered independently in each collection, there is a further problem to solve before comparing counts. The researcher has to decide whether the groups produced by the two analyses correspond, even if they have different names or organize the material differently.

Topic classification requires a decision about what counts as a subject of the text. A post can mention a person, describe an event, and express a view in a single sentence. Some of those details are clues to a topic, while others justify a topic of their own. In one example from X-Topic, the writer considers attending a festival if a particular performer headlines. Music captures the event, and Celebrity & Pop Culture captures why this performer changes the writer’s plans. The categories tell different things about the same text. The task allows a classifier to return both.

Short posts also vary in how directly they announce their subjects. The paper’s Greek example is a reaction addressed to a character and associated with a show. Its topic is Film, TV & Video. A reader who recognizes the reference has a firmer basis for that label than a reader who understands only the words of the reaction. In the Japanese example, a writer with days free plans to spend time on something the authors associate with Gaming. The other label is Diaries & Daily Life. Together, the cases show why fluency and knowledge of references matter, and why a taxonomy for social posts includes ordinary personal updates alongside named subject areas.

The authors describe social platforms as a source of informal language about current events, personal experiences, and public issues. The volume of material makes automatic categorization attractive, but written posts give classifiers little room to recover from an unfamiliar expression or an indirect reference. In this setting, it matters whether a benchmark covers everyday messages as well as those that name a subject explicitly. It also matters what happens where labels overlap. Treating all overlap as annotator error would erase some of the subject matter the paper sets out to capture.

#### Discovering topics and assigning known labels

The paper places supervised classification alongside unsupervised [topic modeling](https://md.research.elamur.ai/free/en/concepts/topic-modeling/). In the unsupervised approach, the input is a collection of texts, and the method identifies recurring groups or themes without requiring a fixed topic label for each training item. The authors name [Latent Dirichlet Allocation](https://md.research.elamur.ai/free/en/papers/blei-2003-latent-dirichlet-allocation/) and [BERTopic](https://md.research.elamur.ai/free/en/papers/grootendorst-2022-bertopic-neural-topic-modeling-class/) as examples of tools used to investigate topics. They also describe work that adapts earlier approaches for social posts by bringing together the text and information about its author. Other work groups posts by similarity using clustering, with methods that can form groups directly or organize them in a hierarchy.

These approaches fit questions about themes whose identities are unknown at the outset. The issue the authors emphasize is what happens after the themes have been found. A group may be hard to name, and a group identified in one collection may combine subjects that another analysis keeps apart. Meaningful clusters can therefore still be difficult to compare across corpora. X-Topic starts with named categories that annotators can apply repeatedly. A researcher can ask about a specified topic in each language and evaluate a prediction against the decisions made by people reading the posts.

In supervised classification, labeled examples show a classifier how people have applied those categories. The examples have to cover the kind of language the classifier will encounter and give it a chance to learn where one category ends and another begins. The authors describe established resources as concentrated in news and related document collections, including [RCV1](https://md.research.elamur.ai/free/en/papers/lewis-2004-rcv1-benchmark-collection-text-categorization/). They also mention specialized collections of scientific and medical texts. Such resources illustrate how a labeled corpus can support a repeatable evaluation. The labels and writing in those collections address different tasks from a brief personal update that refers casually to a game, television show, or public controversy.

Labeled social media data existed before X-Topic, but the authors describe gaps in language coverage and the range of topics available. They cite resources involving Portuguese, Spanish, and Urdu and discuss difficulties such as weak labels and narrow taxonomies. Weak labels provide an approximate indication of the topic without the same direct judgment for each post as in X-Topic. Some multilingual resources focus on a particular problem, such as sentiment or [hate speech analysis](https://md.research.elamur.ai/free/en/papers/ousidhoum-2019-multilingual-multi-aspect-hate-speech/). A specialized collection can be appropriate for its own question while leaving open how to distinguish everyday subjects across a common inventory.

#### From TweetTopic to a shared multilingual task

X-Topic builds on TweetTopic, an English dataset containing 11,267 posts labeled with 19 topics. Social media experts selected those categories to cover a broad range of platform content. The original researchers retrieved posts from September 2019 to October 2021 using keywords associated with each week’s trending subjects. Five people annotated each post, and a topic qualified if at least two of them selected it. X-Topic preserves both the taxonomy and that aggregation rule.

Keeping the labels makes cross-language transfer an experiment with a clear starting point. An English training example of Sports still teaches the classifier a category it can be asked to recognize in Japanese. In another setting, the classifier can see examples written in Japanese as well as English and learn how the same category appears in both. These are two different questions in [multilingual and cross-lingual NLP](https://md.research.elamur.ai/free/en/topics/multilingual-nlp/). Cross-lingual transfer asks what can be learned about the target task from another language. Multilingual training asks what happens when labeled data from several languages are available together. A common category inventory makes either comparison possible.

The authors also change how posts enter the new collection. The original trending keywords led to material associated with subjects that attracted attention in a given week. X-Topic’s collection queries omit those keywords, giving ordinary posts a route into the corpus alongside discussion of events. The paper frames this change as an attempt to capture a distribution closer to what appears on X. The resulting benchmark still reflects several later decisions about which posts are suitable, including how to sample from the posts that clear the filters. Those decisions are part of what makes a collection comparable across languages and part of what defines the population it can describe.

### The method, step by step

#### Collect posts in the target languages

The authors chose English, Spanish, and Japanese as languages used often on X and included Greek as a language that receives less attention in this research setting. Availability and practicality informed the choice. The selection lets the authors compare usage across languages with quite different forms and also test whether methods developed with abundant English supervision can work where task-specific examples are scarcer. The material is original social media text in each language. The translated versions of sample posts in the paper help readers interpret them.

The collection window runs from September 2021 to August 2022, continuing the period studied for TweetTopic. The collection description specifies 50 posts every two hours for each language, retrieved through the Twitter API. The queries specify the language without requesting particular topic keywords. The schedule spreads collection across the time window, while the language constraint gives each subset a defined starting pool. Neither part of the query decides whether, for instance, a given Japanese post should count as a hobby, personal diary, or both. That decision comes later.

The detailed collection counts give a more precise picture of the starting pools. The preprocessing log begins with 225,400 English posts, 225,350 Spanish posts, 455,846 Japanese posts, and 225,300 Greek posts. The Japanese starting total differs from the scale described for each language in the collection narrative. The paper gives the counts by language and by filtering stage without explaining that discrepancy. The target for the annotated sample is the same across languages.

How X-Topic goes from collected posts to reference labels The steps in order.

#### Screen the collection and select the sample

The platform’s own language label provides the first check. The authors then apply a fastText identifier, drawing on [subword representations](https://md.research.elamur.ai/free/en/papers/bojanowski-2017-enriching-word-vectors-subword-information/), to identify posts that still appear to be in another language. The added check is relevant because a language-specific annotation and evaluation require confidence about which language the text belongs to. In the filtering log, the counts after this step are 217,491 for English, 218,163 for Spanish, 455,846 for Japanese, and 218,461 for Greek. The Japanese count stays the same at this point in the reported sequence.

The next screening stage uses rules to exclude posts outside the target period and to remove unsuitable text, including very short posts, fragments that end partway through a sentence, and posts containing abusive words. These rules operationalize the authors’ judgment about what material should reach annotators. A short, unfinished fragment can be difficult to label because the evidence for a topic is missing. At the same time, texts about the same subject can differ in whether they meet the rules, so the filters also shape the distribution of what remains. The paper’s log lists 208,442 English, 197,617 Spanish, 438,080 Japanese, and 214,031 Greek posts after its incomplete or abusive text stage.

Near-duplicate removal compares normalized versions of the texts. The normalization discards substrings treated as irrelevant and applies [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/), which represents related forms of a word by a common base form. The procedure retains unique posts according to that normalized representation. This lets surface differences be ignored when they leave the normalized text unchanged. It is a rule about text identity for sampling purposes. Two differently worded posts can concern the same subject and both qualify, while texts that reduce to the same form count as duplicates.

The authors also screen for URLs and for posts with more than four emojis or mentions. A post with an external link might leave information needed for the topic outside the text, while a post with many mentions may depend on a conversation whose context the benchmark does not include. The paper presents these exclusions as content-quality choices. In the detailed sequence, filtering mentions and emojis leaves 178,841 English posts, 178,060 Spanish posts, 383,669 Japanese posts, and 203,947 Greek posts. The URL filter then leaves 81,929 English, 110,669 Spanish, 207,472 Japanese, and 30,858 Greek posts. The final pools thus differ even though the annotated subsets have equal size.

From those pools the authors sample 1,000 posts per language. Retweet counts and the number of followers of the posting account contribute to the sampling weights. The rationale is an assumption that more popular material tends to be of higher quality. Popularity enters after eligibility screening, so a heavily shared post still has to clear the filters. The paper identifies the inputs to the weights without specifying an equation for combining them. At the end of preprocessing, the authors replace mentions of non-verified accounts with a placeholder. This protects an account identifier while preserving the indication that the writer addressed or referred to someone.

#### Decide which topics count for a post

The [annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) task presents people with definitions of the shared categories in their language. Those definitions specify the subjects the annotation should pick up. For example, Business & Entrepreneurs covers economic and career material, Science & Technology covers subjects such as computing and the natural world, and Learning & Educational concerns material that teaches or explains something. A post about a technology course could give a reader reason to apply both of the latter labels. The purpose of the instructions is to identify each relevant subject the post expresses.

The appendix gives the instructions for all the languages and includes checks intended to verify that workers follow them. The authors recruited people through Prolific, screened for fluency in the relevant language, and delivered the task through Qualtrics. Members of the research team who were native speakers monitored the non-English annotation. The instructions ask each person to select at least one category and to include additional ones when appropriate. Each post receives judgments from five annotators.

A final label is decided separately for each category. If at least two annotators selected Music, Music qualifies. If a different pair selected Celebrity & Pop Culture, that label qualifies as well. The two decisions need no agreement on the full combination. The method can preserve a reading recognized by several people even when more annotators chose other categories. It draws on the multi-label precedent of [Affect in Tweets](https://md.research.elamur.ai/free/en/papers/mohammad-2018-semeval-2018-task-1-affect/). The authors wanted a benchmark that represents the range of plausible subjects in a short text, and they report this rule as a deliberate choice in place of majority voting.

The published examples show what the resulting annotation looks like. In the Spanish museum example, the references to a date and a museum support Relationships and Arts & Culture, while the personal nature of the post fits Diaries & Daily Life. The Greek reaction associated with a show has a single category. In the dataset as a whole, some topics frequently appear alongside others and others appear in more specific combinations. What the classifier has to recover is the set created by these independent decisions, with no requirement to nominate a main subject.

#### Measure how well readers agree

The authors report several forms of agreement because two people can share some of their judgments without choosing identical label sets. Percent Agreement measures the share of annotation decisions counted as agreements. In the paper’s verbal definition, the relationship is:

```
PA = A / N
```

PA is Percent Agreement, A is the number of agreements, and N is the total number of annotation decisions used in the calculation. The equals sign identifies the reported quantity with that ratio, and the slash denotes division. In a multi-label setting, a decision about a category can coincide because both annotators apply it or because both leave it aside. When many categories are usually absent, matching decisions about absences can contribute to a high agreement figure.

Overlap asks a different question. For each pair of annotators, it looks for a label both chose. A pair who both identify a post as Music can count as overlapping even if one also chooses Celebrity & Pop Culture and the other chooses Diaries & Daily Life. Krippendorff’s Alpha assesses agreement with a correction for agreement expected by chance. The paper uses it alongside Percent Agreement and Overlap to characterize the judgments. It does not introduce a new agreement statistic or derive a new scoring rule for this corpus.

This distinction matters for what happens downstream. A reference set produced by the voting rule is a single target for assessing predictions. The agreement measurements describe how consistently the people involved arrived at the underlying judgments. A label can be frequent and still produce disagreements on particular posts. A label can also receive enough support to enter a reference set even though its interpretation is disputed. Comparing the agreement statistics helps a reader see how far a benchmark target reflects a shared reading and where it may preserve alternatives.

#### Set up training and tests

The evaluation uses 5-fold cross-validation, which lets the authors measure performance on several held-out portions of each language. Each fold uses 720/80/200 posts for training, validation, and testing, respectively. Training examples are used to learn the task. Validation examples support development choices and, in the prompting experiment, supply the demonstrations. The test examples are held out for scoring. The authors try to represent each topic in each split whenever possible. A rare label can be harder to distribute across splits while still giving the classifier something to learn from and the evaluation something to score.

The zero-shot setting gives a system a piece of text, a classification instruction, and the list of possible topics. It receives no X-Topic training examples. In the [few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/) setting, the authors add five labeled examples from that fold’s validation set. They select them with the aim of covering as many topics as possible. Examples can show what a category means in a real post and demonstrate that the response may include several labels. The instruction follows the style used in earlier work on [cross-lingual generalization through multitask finetuning](https://md.research.elamur.ai/free/en/papers/muennighoff-2022-crosslingual-generalization-through-multitask-finetuning/). The test post remains separate from the examples.

The supervised experiments use [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/), in which a pretrained classifier is adapted using labeled examples. The target-only condition uses the training and validation portions of the language under test. The TweetTopic-only condition learns from the full English predecessor dataset. On Spanish, Japanese, and Greek, that is a cross-language test, and on English it tests transfer from an earlier collection in the same language. In either case, the English source corpus differs in when and how it was retrieved.

The multilingual condition pools training examples across the X-Topic languages within each fold and tests on each language’s held-out posts. The authors also test adding TweetTopic to the target-only and pooled conditions. This creates a practical comparison for a researcher who already has a comparatively large English resource and can add newer examples from the language of interest, or from several languages. Since both the quantity and origin of the data change, the rankings describe the available training configurations. The study can compare what those configurations achieve under the shared benchmark without separately attributing gains to each property of the training mix.

#### Compare general and Twitter-adapted systems

The fine-tuned comparisons use Bernice and base and large versions of XLM-R and XLM-T. XLM-R is the general-purpose starting point, based on multilingual web material. The paper describes its training coverage as 100 languages. It associates the data source with [CCNet](https://md.research.elamur.ai/free/en/papers/wenzek-2020-ccnet-extracting-high-quality-monolingual/), work on obtaining language-specific data from web crawls. [XLM-T](https://md.research.elamur.ai/free/en/papers/barbieri-2022-xlm-t-multilingual-language-models/) starts from XLM-R and continues training on over 1 billion tweets in over 30 languages. This lineage makes the comparison informative about what Twitter adaptation can offer, especially when the labeled subset is small.

Bernice was trained on a collection of 2.5 billion tweets spanning 66 languages, using a [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) scheme designed for tweet text. Tokenization divides text into the units a classifier processes, so a platform-specific scheme can handle recurring written forms differently from a general-purpose one. English, Spanish, and Japanese are among the most common languages in its training collection. Bernice gives the comparison a second example of Twitter-specific preparation alongside XLM-T, with a different training history.

The authors use the [Transformers implementation](https://md.research.elamur.ai/free/en/papers/wolf-2020-transformers-state-art-natural-language/) for the supervised systems and Ray Tune to search settings. The settings include batch size, the number of passes over the examples, the learning rate, and weight decay. Batch size determines how much training data is grouped for an update. The learning rate affects the size of an update, and weight decay influences how parameter values are constrained during learning. The paper’s contribution is the benchmark and the comparison of these training conditions, using existing architectures and training software.

The prompted systems are BLOOMZ, mT0, ChatGPT, and GPT-4o. BLOOMZ draws on [BLOOM](https://md.research.elamur.ai/free/en/papers/workshop-2022-bloom-176b-parameter-open-access/), and mT0 is based on [mT5](https://md.research.elamur.ai/free/en/papers/xue-2021-mt5-massively-multilingual-pre-trained/). The paper describes BLOOMZ and mT0 as having been trained on xP3, where tasks are expressed through prompts. Each of the four systems is tested with the topic inventory alone and with examples added. An additional supervised comparison uses SuperCTM from the [Contextualized Topic Models implementation](https://md.research.elamur.ai/free/en/papers/bianchi-2021-cross-lingual-contextualized-topic-models/) in its default configuration, trained with both datasets.

### Experiments and results

#### What the dataset asks classifiers to recognize

The 4,000 posts contain 361 distinct label combinations. Across the dataset, a post has 1.8 topics on average, and the authors report that no post has more than 5. Average labels per post are 2.0 in English, 1.8 in Spanish, 1.7 in Japanese, and 1.9 in Greek. The earlier TweetTopic collection averages 1.6. As a consequence, even a classifier that can find a plausible primary topic must still learn when there is enough evidence for another one. A system that tends to produce more labels can pick up some of those additional subjects, while also risking assignments that do not match the reference.

Diaries & Daily Life leads the frequency distribution in all the X-Topic languages. It appears on 494 English posts, 592 Spanish posts, 464 Japanese posts, and 590 Greek posts. The next most common label is News & Social Concern in English, Spanish, and Greek, with 221, 364, and 497 posts, respectively. In Japanese, Other Hobbies is next, on 248 posts. Because labels can occur together, these counts describe the reach of individual categories across the subsets. A post about a writer’s daily life can also be among the posts counted as news discussion or a hobby.

The topic-overlap analysis shows how frequently some of those assignments coincide. For the combined languages, the authors report that Diaries & Daily Life overlaps strongly with Family and Relationships, with figures of 79% and 76%, respectively. They report 45% overlap for Music and Celebrity & Pop Culture, and 25% for Youth & Student Life and Learning & Educational. These are overlap figures from the authors’ analysis. The first set of pairings is consistent with the diary label covering personal circumstances that have a more specific subject. The second illustrates that close domains, such as school life and instructional content, also make for recurring combinations.

There is variation in the form of the texts as well as their subjects. The reported average post length in characters is 149.02 in English, 128.93 in Spanish, 48.58 in Japanese, and 144.71 in Greek. Average emojis per post are 0.43 in English, 0.42 in Spanish, 0.34 in Japanese, and 0.25 in Greek. These measurements describe the sampled posts after the selection procedure. Character counts are particularly useful as evidence of a visible difference in the inputs, provided they are understood as counts of written characters. The paper uses the variation in length, emojis, and topic frequency to motivate the challenges of comparing language subsets.

Agreement also varies by language and by metric. Krippendorff’s Alpha reaches 0.26 in Greek, with 0.23 for English, 0.23 for Spanish, and 0.21 for Japanese. TweetTopic records 0.34. Percent Agreement is 0.87 for English, 0.89 for Spanish, 0.87 for Japanese, and 0.89 for Greek, compared with 0.90 for TweetTopic. The corresponding Overlap values are 0.60, 0.63, 0.48, and 0.74, compared with 0.70 for TweetTopic. The Greek subset has the highest Alpha and Overlap among the X-Topic languages. Japanese and English have the same Percent Agreement, while their Overlap scores differ. The pair of observations illustrates how agreement across all decisions can give a different impression from agreement about which subjects were actually selected.

#### What the scores reward

The main metric is macro-F1. F1 balances precision and recall. For a given topic, precision asks how many times the classifier was right among the times it assigned that topic. Recall asks how many of the posts bearing that topic the classifier recovered. A classifier that selects a topic only in readily identifiable cases may have good precision and weak recall. A classifier that assigns it whenever there is a hint may recover more of the labeled posts while giving up precision. F1 reflects both parts of that behavior.

For macro-F1, each category contributes equally to the average. A mistake affecting a rare subject can therefore matter to the headline score even if it concerns relatively few test posts. Micro-F1 pools the prediction and reference decisions before scoring. Frequent categories contribute more to those pooled counts because they offer more occasions for a correct prediction or a miss. The authors report both metrics to show how a system handles a corpus in which some subjects recur much more often than others. A method that gains mainly on the common labels can improve its micro-F1 while making limited progress on the breadth of the taxonomy.

Across the experiments, micro-F1 typically exceeds macro-F1. The pattern is visible for pooled data and for some of the weaker target-only conditions. For example, the Japanese XLM-R base classifier trained on the target subset scores 2.7 macro-F1 alongside 20.1 micro-F1. The difference between the metrics points to uneven performance over topics, with the pooled count of decisions giving a more favorable view than an equal-weight average of the categories. In settings where the two scores rank systems differently, the distinction explains what each ranking measures.

#### Training with examples from more languages

The best average macro-F1 is 57.6%, reported for XLM-T large trained on the original English TweetTopic data and all X-Topic languages. The language-specific scores for that configuration are 61.7 in English, 60.0 in Spanish, 58.5 in Japanese, and 50.3 in Greek. The corresponding micro-F1 values are 67.8, 74.5, 61.3, and 73.4. These scores give the same system a different profile depending on whether a metric emphasizes all topics equally or evaluates pooled decisions. Spanish has its strongest micro-F1 in this comparison. English has its strongest macro-F1 in the configuration.

Pooling the X-Topic training portions improves on using the target language alone. According to the paper, the comparison shows a 17-point average improvement in macro-F1 over the supervised systems, with gains of about 18 points in Spanish, Japanese, and Greek and 12 points in English. In the Japanese subset, the progression for XLM-T large begins at 50.9 with target-language training. TweetTopic alone also yields 50.9. Adding the target-language data to TweetTopic gives 57.3, while the full combination gives 58.5. The two sources reach the same score separately in that example, and using them together yields a higher one.

XLM-T large training data settings on Japanese X-Topic, macro-F1 Training on both corpora gives the highest score, while either Japanese X-Topic or English TweetTopic alone yields the same score.

**The numbers**

| System or setting | macro-F1 |
| --- | --- |
| Japanese X-Topic only | 50.9 |
| English TweetTopic only | 50.9 |
| TweetTopic plus Japanese X-Topic | 57.3 |
| All X-Topic languages | 57.2 |
| TweetTopic plus all X-Topic languages (this paper) | 58.5 |

The combined training configuration provides the strongest average for XLM-T large, while individual languages sometimes favor another mix. In English, its macro-F1 is 62.1 with all X-Topic languages and 61.7 when TweetTopic is added to them. For XLM-R large in English, the corresponding scores are 60.8 with X-Topic pooled and 63.3 with both datasets. These comparisons show why the overall result and the best value for a particular language can come from different configurations. A reader choosing a classifier for one language has a different question from a reader evaluating an average across the benchmark.

Transfer from English TweetTopic alone also works well in several cases. Across the non-English subsets, the paper reports 51.1 average macro-F1 for the best transfer classifier, XLM-T large. Its monolingual comparison uses only the target-language training and validation data. The authors report that those target-only systems average roughly 15 points below the corresponding TweetTopic-only systems in the comparison. When tested in Japanese, XLM-R base scores 34.4 with TweetTopic and 2.7 with Japanese X-Topic alone. Greek yields 40.6 for XLM-T large trained with TweetTopic and 30.1 for the same classifier trained on Greek alone. These results make English supervision a practical source of useful training signal in a task with shared labels.

The source and target training pools differ greatly. The paper contrasts 800 target examples available in the training and validation portions with 11,267 examples in TweetTopic. The transfer scores therefore show that a larger English resource can outperform a much smaller set in the language under test. The comparison does not isolate the effect of language independently of sample size, collection period, or retrieval strategy. Those factors change together in the benchmark’s transfer setting.

#### Classification from instructions and demonstrations

On macro-F1, GPT-4o is the strongest of the prompted systems in each of the test languages. With five validation examples, it achieves 60.0 in English, 52.8 in Spanish, 53.3 in Japanese, and 51.0 in Greek. The paper reports an average of 54.3. For comparison, XLM-T base trained on TweetTopic and all X-Topic languages averages 53.6. The two averages place few-shot prompting near that supervised base classifier, while XLM-T large with the same training corpora has the stronger overall macro-F1.

Greek is a case where prompting leads on the main metric. The 51.0 macro-F1 from GPT-4o with demonstrations is the best score for Greek in the comparison. XLM-T large trained on both corpora reaches 50.3, and its result with multilingual X-Topic alone is 48.6. On the Greek micro-F1 comparison, the classifier trained on both datasets reaches 73.4 while the few-shot GPT-4o result is 68.6. Their positions change with the metric. The macro-F1 result shows a narrow lead for GPT-4o on the category-weighted score, while the micro-F1 figures favor the supervised classifier on the pooled decisions.

Few-shot systems on Greek X-Topic, macro-F1 GPT-4o leads the other prompted systems when each receives labeled demonstrations.

**The numbers**

| System or setting | macro-F1 |
| --- | --- |
| BLOOMZ | 5.2 |
| mT0 | 25.1 |
| ChatGPT | 39.5 |
| GPT-4o (this paper) | 51.0 |

Demonstrations affect different systems differently. In English, ChatGPT rises from 44.9 macro-F1 with the instruction alone to 54.1 with examples. In Japanese, it goes from 35.6 to 43.9. GPT-4o’s changes are smaller on macro-F1, with 59.1 and 60.0 in English and 51.9 and 53.3 in Japanese. BLOOMZ has 23.4 in English without demonstrations and 21.0 with them. Its Greek macro-F1 rises from 1.5 to 5.2. The comparison is specific to the prompt and examples the authors selected. It establishes that demonstrations can help, with neither the extent nor the direction of the change fixed across systems and languages.

The paper’s prose describes GPT-4o’s micro-F1 as falling in every language when demonstrations are added. The language-by-language figures in the main results table show a mixed pattern. English changes from 63.6 to 63.2 and Spanish from 65.6 to 62.3. Japanese changes from 56.6 to 57.8 and Greek from 65.1 to 68.6. Those test values support a decline in English and Spanish and an increase in Japanese and Greek. This matters because the macro-F1 values rise in all the languages for GPT-4o. The evidence for a tradeoff between the two metrics concerns the languages where the micro-F1 actually falls.

The separate supervised SuperCTM baseline scores 6.4 macro-F1 in English, 6.5 in Spanish, 1.5 in Japanese, and 5.0 in Greek when trained with both datasets. Its English and Spanish micro-F1 scores are 30.4 and 44.0, while Japanese and Greek are 8.3 and 7.4. The relatively better English and Spanish micro-F1 values coexist with weak equal-weight coverage of the topics. This is a result for the default SuperCTM configuration used by the authors. It adds an empirical comparison to the paper’s discussion of topic discovery and classification, with a supervised topic approach evaluated against the same named labels.

### What the ablations show

#### The effect of changing the labeled training pool

The paper varies training sources, compares general and Twitter-adapted classifiers, and changes whether a prompt contains demonstrations. It complements these comparisons with per-topic error analysis. The strongest evidence comes from comparisons that keep the test material and the choice of system fixed. In those cases, a reader can attribute the observed change to switching the experimental condition, while still asking which properties of that condition changed together.

The progression from target-language X-Topic to pooled X-Topic tests the practical value of having labels from other languages available. The training already contains examples in the language of evaluation, and the pooled condition adds examples from the other subsets. The higher average scores establish that the added material is useful as a package. That package contains more examples, more languages, and potentially more instances of a particular topic or combination. Because the study compares full pools, it does not measure how much would be gained by spending the same annotation effort on more material in the target language.

The comparison with TweetTopic alone answers a related question under a different constraint. Suppose there is an existing English corpus with matching categories, while the new language has little labeled material. The findings give a reason to test the English corpus as a training source. The XLM-T large Japanese results are particularly informative because the target-only and older English-only scores coincide, and both combined settings exceed them. The same result is consistent with the two resources contributing different useful examples, the increase in training volume, or a combination of both. The experiment shows that the mixture helps under the tested conditions.

Adding TweetTopic to pooled X-Topic also offers a view of how much the earlier source contributes once multilingual examples are already available. A gain in this comparison indicates there is value in the older English corpus even alongside the new data. A reversal for an individual language shows the value is conditional. XLM-T large improves for Japanese with the full pool but reaches its higher English macro-F1 with the X-Topic pool alone. The evidence therefore supports reporting both averages and language-specific outcomes. The training condition with the strongest average may change prediction behavior differently across languages.

#### Twitter adaptation helps most when labeled data are scarce

The authors compare Bernice and XLM-T base with XLM-R base, and XLM-T large with XLM-R large. They report that Bernice and XLM-T base exceed XLM-R base by averages of 11.7 and 8.3 macro-F1 points across the settings. In the large-size comparison, XLM-T large leads XLM-R large by an average of 3 macro-F1 points. This pattern supports the benefit of starting with a classifier already exposed to Twitter text. The close lineage of XLM-T and XLM-R makes those pairings especially relevant because the Twitter-specific system continues from the general one.

Fine-tuned classifiers on Japanese X-Topic, macro-F1 with Japanese training data only Twitter-adapted classifiers lead their general-purpose size counterparts, and XLM-T large has the highest score.

**The numbers**

| System or setting | macro-F1 |
| --- | --- |
| XLM-R base | 2.7 |
| XLM-T base | 29.5 |
| Bernice | 39.9 |
| XLM-R large | 38.5 |
| XLM-T large (this paper) | 50.9 |

The Japanese target-only scores show where the choice of initial training matters most. With few labeled examples, a classifier has limited opportunities to learn a platform’s expressions and conventions during task adaptation. Prior exposure to tweets is one explanation for why the Twitter-specific classifiers fare better under that condition. The comparison between Bernice and general-purpose XLM-R also changes the tokenizer and training recipe. It cannot determine which property of Bernice accounts for its gain. The size-matched XLM-R and XLM-T comparisons come closer to answering the question about domain adaptation.

Under Spanish target-only training, XLM-T large achieves 45.4 macro-F1 and XLM-R large 32.6. Under the full supervised combination, the corresponding Spanish results are 60.0 and 57.2. These test scores illustrate the authors’ observation that the advantage of Twitter preparation can be larger in a data-limited condition. The strongest inference follows the conditions directly. With little supervised material, the tested Twitter-adapted starting points can already offer a sizable advantage. With more material, the general-purpose classifier can learn more of the task from the examples it receives.

#### Demonstrations change what gets selected

The zero-shot to few-shot comparison holds the permitted topics and test language fixed while changing the examples available in the prompt. Examples demonstrate how a reference answer may include several topics, but they can also draw attention to the particular topics and styles they contain. The authors choose examples to cover the inventory as widely as possible. The comparison consequently measures the effect of adding that selected set of demonstrations. It does not test the relative value of different criteria for selecting examples.

The precision and recall comparison helps explain why higher recall need not produce the strongest F1. On Spanish, few-shot ChatGPT has 39.5 macro precision and 63.0 macro recall. In the same language, few-shot GPT-4o has 61.2 macro precision and 53.4 macro recall. ChatGPT recovers more of the reference labels on the class-averaged recall measure, while a smaller share of its assignments are correct on the class-averaged precision measure. The balance matters because the task rewards identifying relevant topics without introducing unsupported ones.

The number of labels predicted per post helps describe this behavior. ChatGPT predicts an average of 2 labels in English, 2.5 in Spanish, 1.5 in Japanese, and 1.4 in Greek. For the best fine-tuned XLM-T large condition, the paper reports 1.7 in English, 1.7 in Spanish, 1.7 in Japanese, and 1.8 in Greek. The contrast is especially clear in Spanish, where ChatGPT predicts more labels than the annotated average of 1.8, and its precision is relatively weak. In Greek it predicts fewer than the annotation average of 1.9. These averages help explain the kinds of errors a system may be prone to, though they cannot show which specific assignments were missed or added.

#### The hard topics differ by classifier and language

The error analysis uses the strongest supervised configuration and few-shot GPT-4o. The authors pay particular attention to false negatives, which are reference labels the system failed to predict. A tweet can contribute a false negative for one topic even while the system predicts its other topics correctly. This lets the analysis ask whether a classifier misses a specific subject consistently instead of treating a partially correct set the same way as an entirely unrelated answer.

Arts & Culture appears among the supervised classifier’s frequent misses in every language. The paper’s false-negative analysis reports rates of 76% in English, 59% in Japanese, 68% in Spanish, and 76% in Greek for that topic. The appendix gives XLM-T large per-topic F1 values of 23 in English and 24 in Japanese for Arts & Culture, compared with 90 and 93 for Sports in those respective languages. The gap between the topics demonstrates how much a language-level aggregate can conceal. Performance on a subject with relatively identifiable vocabulary and references can coexist with a large number of missing labels in another area.

GPT-4o’s misses feature Youth & Student Life more prominently in the authors’ analysis. Its per-topic F1 for that category is 39 in English, 17 in Spanish, 49 in Japanese, and 18 in Greek in the few-shot condition. The corresponding scores for XLM-T large trained on both datasets are 37, 44, 17, and 78. The direction of the comparison therefore changes across languages. In Japanese, GPT-4o has the stronger score for that topic, while the supervised classifier leads in Greek. A general statement that a topic is hard for a system describes a tendency, and the language-level results tell a reader where it applies.

Other Hobbies is difficult for both classifiers. The authors report average per-topic F1 of 28% for XLM-T large and 25% for GPT-4o. The guideline defines the category broadly by what remains after more specific activities are accounted for. A set of examples can consequently share the same label while containing very different words and activities. The Japanese subset makes the problem especially visible. Other Hobbies is the next most frequent topic after Diaries & Daily Life, yet its F1 is 14 for the supervised XLM-T large and 38 for few-shot GPT-4o. Its frequency alone is insufficient to make it straightforward.

The case studies distinguish a plainly implausible prediction from a disagreement about a topic boundary. In an English post about the experience of sitting on the casting side of an audition, GPT-4o selected Family. The paper treats this as a clear error because the described experience concerns casting and actors, with no evident family subject. In another post, a writer asks for suggestions of lesser-known newsletters about cryptocurrency and related web technology. XLM-T large agrees with the reference on News & Social Concern and selects Science & Technology where the reference gives Business & Entrepreneurs. The authors consider the technological reading defensible. Both errors affect evaluation against the annotated set, but only close reading reveals the different reasons they occurred.

### Limitations

#### Limits the authors identify

The authors acknowledge that requiring support from two annotators is a choice on which researchers can disagree. It preserves topics that receive corroboration even if most of the readers focused on something else. That is useful for posts with several plausible subjects, but it makes the target sensitive to how individual readers interpret the category definitions. In a post about a museum visit, readers may agree on the personal narrative and differ on whether a cultural subject is developed enough to warrant a label. The authors state that they plan to release individual annotations alongside the version used in the experiments, so the judgments behind the aggregated reference can be studied.

Budget limits the number of languages in the corpus. English, Spanish, Japanese, and Greek provide several distinct settings for the same task, including a language the authors describe as less often studied. Those results still cover a small part of multilingual social media. The English-transfer experiment indicates how the approach might fare for a language without training labels. The direct results are from the benchmark languages, whose posts were collected and annotated specifically for this paper.

The authors also describe room to assess other classifiers, larger supervised systems, and different architectures. They identify prompt optimization as another open direction. In the prompting experiments, the instruction and the selection procedure are concrete choices that can affect the scores. The study compares those choices with the supervised configurations it evaluated. A future trial with different demonstrations or instructions could yield another comparison under the same labels without changing the outcome reported for these tests.

The ethics statement frames the task as aggregate evaluation of user-generated material. The preprocessing description specifies masking non-verified mentions, while the ethics discussion describes the privacy objective more generally. Aggregated scores fit the authors’ stated purpose of studying topics and classifier performance rather than individual behavior. The authors also describe the dataset license as CC BY-NC 4.0, which sets noncommercial terms for sharing and use.

#### Limits that follow from the setup

The corpus has a broader route for topics to enter than a search conditioned on trending keywords. It is also a screened and weighted sample. Accessibility through the collection interface, the schedule and time window, language identification, exclusion rules, near-duplicate removal, and popularity weights all stand between platform activity and the final labeled posts. It is reasonable to describe the reported topic counts as properties of X-Topic. Using them to estimate the prevalence of subjects on the whole platform would require evidence about how the collection and sampling stages represent that wider population.

Differences between the language subsets can reflect several aspects of their construction. A topic that is more frequent in one subset may indicate a substantive difference in discussion. It can also be affected by which posts survive the filters and how annotators understand the category in their language. In particular, character count measures a written form whose units do not have the same relation to words or information across writing systems. The length figures are descriptive. They leave open how much of the difference comes from style, script, or the subjects of the sampled messages.

The shared taxonomy provides comparability at the level of label names. Examples show why its application can still depend on familiarity with local references. Annotation guidelines in each language explain topics to the people doing the work, and fluency screening improves the basis for their decisions. Neither step directly measures whether a borderline label means exactly the same thing to every group of annotators. The agreement scores describe judgments within each subset. They do not isolate differences in interpretation across subsets from differences in the material being read.

The supervised training comparisons also entangle the properties of the training data. TweetTopic differs from X-Topic in size, dates, and keyword use. Adding languages to X-Topic changes the number of labeled examples and the mix of subjects. The experiments show which available pools perform well together. The size of a pure benefit from linguistic diversity, with training volume and topic composition held fixed, remains unmeasured. Likewise, tests across the X-Topic folds evaluate held-out posts from the collection, while the older-to-newer comparison changes both the time period and the source corpus. The study therefore cannot assign a separate effect to time.

The benchmark assumes the relevant subjects can be represented in its 19-category inventory. Other Hobbies gives it a place for activities outside the named hobby categories, and multiple assignments let a post carry more than one subject. Those features broaden coverage within the inventory. A classifier is still evaluated on how closely it matches the available labels. There is no experimental requirement to name a new topic, flag a genuinely unknown category, or decide that the topic list should be expanded. Those would involve a different evaluation question.

Finally, an error count against aggregated labels treats all disagreements as prediction errors for the metric, including some where the predicted label has a defensible reading. The authors’ cryptocurrency newsletter example shows how this can occur. Agreement measures and qualitative examples are therefore necessary companions to the F1 results. They explain why a score measures reproduction of the benchmark’s labeling decisions and why a reader should examine category boundaries before concluding that every miss represents a failure to understand the subject.

### What came after

[BOLT: Benchmarking Open-World Learning for Text Classification](https://md.research.elamur.ai/free/en/papers/qin-2026-bolt-benchmarking-open-world-learning/) is a later work from 2026 that cites X-Topic. Its stated focus is benchmarking open-world learning for text classification. That focus raises a question adjacent to X-Topic’s fixed inventory. X-Topic gives each classifier a common list of subjects and measures how well it assigns those subjects across languages. An open-world evaluation asks how text classification should be assessed when the set of categories known to the system may be incomplete.

The citation establishes the connection between the works. The specific role that X-Topic’s posts, topic definitions, or experimental settings played in BOLT’s evaluation is unspecified. X-Topic’s own result remains a measurement of classification and transfer under a shared set of categories, which supplies a clear point of comparison for the broader benchmarking question signaled by BOLT’s title.

## Cite

Cite as Dimosthenis Antypas, Asahi Ushio, Francesco Barbieri and Jose Camacho-Collados. 2024. Multilingual Topic Classification in X: Dataset and Analysis. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2024.emnlp-main.1123](https://doi.org/10.18653/v1/2024.emnlp-main.1123)

```bibtex
@inproceedings{antypas2024multilingual,
  title = {{Multilingual Topic Classification in X: Dataset and Analysis}},
  author = {Dimosthenis Antypas, Asahi Ushio, Francesco Barbieri and Jose Camacho-Collados},
  booktitle = {Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.1123},
  url = {https://doi.org/10.18653/v1/2024.emnlp-main.1123}
}
```

> 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)
