English

A little goes a long way: Improving toxic language classification despite data scarcity

Computation and Language 2020-10-27 v2

Abstract

Detection of some types of toxic language is hampered by extreme scarcity of labeled training data. Data augmentation - generating new synthetic data from a labeled seed dataset - can help. The efficacy of data augmentation on toxic language classification has not been fully explored. We present the first systematic study on how data augmentation techniques impact performance across toxic language classifiers, ranging from shallow logistic regression architectures to BERT - a state-of-the-art pre-trained Transformer network. We compare the performance of eight techniques on very scarce seed datasets. We show that while BERT performed the best, shallow classifiers performed comparably when trained on data augmented with a combination of three techniques, including GPT-2-generated sentences. We discuss the interplay of performance and computational overhead, which can inform the choice of techniques under different constraints.

Keywords

Cite

@article{arxiv.2009.12344,
  title  = {A little goes a long way: Improving toxic language classification despite data scarcity},
  author = {Mika Juuti and Tommi Gröndahl and Adrian Flanagan and N. Asokan},
  journal= {arXiv preprint arXiv:2009.12344},
  year   = {2020}
}

Comments

To appear in Findings of ACL: EMNLP 2020

R2 v1 2026-06-23T18:48:08.990Z