ACL 2022long13 citations

On the Robustness of Offensive Language Classifiers

Jonathan Rusert, Zubair Shafiq, Padmini Srinivasan

Abstract

Social media platforms are deploying machine learning based offensive language classification systems to combat hateful, racist, and other forms of offensive speech at scale. However, despite their real-world deployment, we do not yet comprehensively understand the extent to which offensive language classifiers are robust against adversarial attacks. Prior work in this space is limited to studying robustness of offensive language classifiers against primitive attacks such as misspellings and extraneous spaces. To address this gap, we systematically analyze the robustness of state-of-the-art offensive language classifiers against more crafty adversarial attacks that leverage greedy- and attention-based word selection and context-aware embeddings for word replacement. Our results on multiple datasets show that these crafty adversarial attacks can degrade the accuracy of offensive language classifiers by more than 50% while also being able to preserve the readability and meaning of the modified text.

BibTeX
@inproceedings{rusert-etal-2022-robustness,
    title = "On the Robustness of Offensive Language Classifiers",
    author = "Rusert, Jonathan  and
      Shafiq, Zubair  and
      Srinivasan, Padmini",
    editor = "Muresan, Smaranda  and
      Nakov, Preslav  and
      Villavicencio, Aline",
    booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = may,
    year = "2022",
    address = "Dublin, Ireland",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.acl-long.513/",
    doi = "10.18653/v1/2022.acl-long.513",
    pages = "7424--7438"
}
On the Robustness of Offensive Language Classifiers · ACL 2022