Skip to main content
QUICK REVIEW

[Paper Review] TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classification

Francesco Barbieri, José Camacho-Collados|arXiv (Cornell University)|Oct 23, 2020
Sentiment Analysis and Opinion MiningComputer Science17 citations
TL;DR

This paper introduces TweetEval, a unified benchmark for tweet classification comprising seven diverse tasks—sentiment, emotion, hate speech, offensive language, stance, emoji prediction, and irony detection—using standardized splits and strong baselines. Results show that fine-tuning general-purpose pre-trained language models on Twitter-specific data significantly improves performance across all tasks, establishing a new state-of-the-art baseline for social media NLP.

ABSTRACT

The experimental landscape in natural language processing for social media is too fragmented. Each year, new shared tasks and datasets are proposed, ranging from classics like sentiment analysis to irony detection or emoji prediction. Therefore, it is unclear what the current state of the art is, as there is no standardized evaluation protocol, neither a strong set of baselines trained on such domain-specific data. In this paper, we propose a new evaluation framework (TweetEval) consisting of seven heterogeneous Twitter-specific classification tasks. We also provide a strong set of baselines as starting point, and compare different language modeling pre-training strategies. Our initial experiments show the effectiveness of starting off with existing pre-trained generic language models, and continue training them on Twitter corpora.

Motivation & Objective

  • To address the fragmented landscape of social media NLP by creating a unified benchmark for standardized evaluation.
  • To provide a consistent evaluation framework with standardized train/validation/test splits across multiple tweet classification tasks.
  • To establish strong, reproducible baselines using state-of-the-art pre-trained language models fine-tuned on Twitter data.
  • To evaluate the impact of domain-adaptive pre-training on Twitter-specific language modeling.
  • To enable fair, comparable, and reproducible comparisons across different models and tasks in social media NLP.

Proposed method

  • The benchmark unifies seven heterogeneous tweet classification tasks: sentiment, emotion, hate speech, offensive language, stance, emoji prediction, and irony detection.
  • Each task uses a curated, unified dataset with consistent train/validation/test splits, ensuring reproducibility and comparability.
  • The authors fine-tune RoBERTa-base and train RoBERTa from scratch on Twitter data, comparing performance across both strategies.
  • A Twitter-specific tokenizer (Twikenizer) is used to analyze tokenization differences between general and domain-adapted models.
  • Performance is evaluated using standard metrics: accuracy for multi-class tasks, F1 for multi-label emotion, and macro-F1 for imbalanced emoji prediction.
  • The study evaluates both fully fine-tuned and partially fine-tuned models, assessing the impact of in-domain pre-training on downstream task performance.

Experimental results

Research questions

  • RQ1How does fine-tuning a general-purpose pre-trained language model on Twitter data affect performance across multiple tweet classification tasks?
  • RQ2What is the relative impact of training a RoBERTa model from scratch on Twitter corpora versus fine-tuning a pre-trained RoBERTa-base model?
  • RQ3To what extent do domain-specific tokenizers improve model performance on short, noisy social media text?
  • RQ4How do performance disparities between validation and test sets arise in Twitter NLP benchmarks, and what causes them?
  • RQ5Can shared representations across similar tasks (e.g., sentiment and emotion) be leveraged to improve performance through multitask learning?

Key findings

  • Fine-tuning RoBERTa-base on Twitter data leads to consistent performance gains across all seven tasks, demonstrating the value of domain adaptation.
  • Training RoBERTa from scratch on Twitter data yields performance comparable to fine-tuned RoBERTa-base, indicating that in-domain pre-training is highly effective.
  • The largest tokenization difference between general and Twitter-optimized models occurs in hate speech detection (6.8% more word pieces), reflecting the presence of non-standard and offensive lexicons.
  • Performance disparities between validation and test sets in hate speech detection are attributed to temporal shifts in topic distribution, not model overfitting.
  • The emoji prediction task remains highly challenging due to extreme class imbalance, with 42% of tweets labeled with just three emojis.
  • The unified benchmark reveals that similar tasks—such as sentiment and emotion recognition—share underlying representational similarities that could be exploited in multitask learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.