Skip to main content
QUICK REVIEW

[Paper Review] Is More Data Better? Re-thinking the Importance of Efficiency in Abusive Language Detection with Transformers-Based Active Learning

Hannah Rose Kirk, Bertie Vidgen|arXiv (Cornell University)|Sep 21, 2022
Hate Speech and Cyberbullying DetectionComputer Science7 citations
TL;DR

This paper demonstrates that transformers-based active learning significantly improves data efficiency in abusive language detection, achieving higher F1 scores with far fewer labeled examples—even surpassing fully supervised models trained on full datasets. By using uncertainty sampling (LeastConfidence) and heuristic-based seed selection, the method reduces annotation needs by up to 98% while maintaining or improving performance, especially in low-abuse, imbalanced settings.

ABSTRACT

Annotating abusive language is expensive, logistically complex and creates a risk of psychological harm. However, most machine learning research has prioritized maximizing effectiveness (i.e., F1 or accuracy score) rather than data efficiency (i.e., minimizing the amount of data that is annotated). In this paper, we use simulated experiments over two datasets at varying percentages of abuse to demonstrate that transformers-based active learning is a promising approach to substantially raise efficiency whilst still maintaining high effectiveness, especially when abusive content is a smaller percentage of the dataset. This approach requires a fraction of labeled data to reach performance equivalent to training over the full dataset.

Motivation & Objective

  • Address the high cost and psychological risk of annotating abusive language by improving data efficiency in model training.
  • Investigate whether more labeled data always improves performance or if efficient active learning can achieve better results with fewer examples.
  • Evaluate the impact of model architecture (transformers vs. traditional) and class imbalance on active learning efficiency and effectiveness.
  • Demonstrate that active learning with BERT-based models can outperform passive learning even when trained on only 3% of the full dataset.
  • Provide evidence that active learning is most beneficial in low-abuse, real-world-like imbalanced data distributions.

Proposed method

  • Use simulated active learning experiments with two existing abusive language datasets (wiki and tweets) at varying abuse percentages (5%, 10%, 50%).
  • Implement a four-stage active learning loop: initial seed selection, query strategy for informative samples, human labeling (simulated), and model retraining.
  • Compare multiple query strategies: LeastConfidence (uncertainty), GreedyCoreSet (diversity), and EmbeddingKMeans (embedding-based clustering).
  • Use both traditional SVM and BERT-based classifiers (dBERT) to evaluate the impact of model architecture on efficiency.
  • Apply heuristic-based and random seed selection to assess initialization impact, especially in imbalanced data.
  • Measure performance using F1 score and N90 (number of labeled examples to reach 90% of maximum F1), enabling cross-experiment comparison.

Experimental results

Research questions

  • RQ1RQ1.1: What effect do model pre-training and architecture have on data efficiency and effectiveness in active learning for abusive language detection?
  • RQ2RQ1.2: How does class imbalance affect the efficiency and effectiveness of active learning strategies?
  • RQ3RQ1.3: Can transformers-based active learning outperform fully supervised learning in terms of F1 score while using significantly fewer labeled examples?
  • RQ4RQ1.4: How do different query strategies (e.g., LeastConfidence, GreedyCoreSet, EmbeddingKMeans) compare in terms of data efficiency and performance?
  • RQ5RQ1.5: How generalizable is the performance of active learning models across different datasets and imbalance levels?

Key findings

  • With only 3% of the full dataset (600 examples), a BERT-based active learning model achieved an F1 score 5 percentage points higher than a fully supervised model trained on the entire 20,000-example dataset when abuse prevalence was 5%.
  • The LeastConfidence query strategy outperformed random sampling and other diversity-based strategies in data efficiency, requiring fewer labeled examples to reach peak performance.
  • Smaller seed sizes (20 examples) and batch sizes (50) led to significantly higher data efficiency than larger seeds (200) or batches (100, 500), with up to 55pp improvement in F1 for wiki50.
  • Heuristic-based seed selection was critical in imbalanced datasets; random seeds failed to include abusive examples in 33% of trials on wiki10 and 100% on wiki5, highlighting the need for informed initialization.
  • The performance gap between active learning and random sampling increased with lower abuse prevalence, showing that active learning is most valuable in real-world, imbalanced settings.
  • Cross-dataset generalization showed that models trained on tweets generalized well to wiki, especially under low-abuse conditions, indicating robustness of the active learning approach.

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.