ACL 2022findings5 citations

Transfer Learning and Prediction Consistency for Detecting Offensive Spans of Text

Amir Pouran Ben Veyseh, Ning Xu, Quan Tran, Varun Manjunatha, Franck Dernoncourt, Thien Nguyen

Abstract

Toxic span detection is the task of recognizing offensive spans in a text snippet. Although there has been prior work on classifying text snippets as offensive or not, the task of recognizing spans responsible for the toxicity of a text is not explored yet. In this work, we introduce a novel multi-task framework for toxic span detection in which the model seeks to simultaneously predict offensive words and opinion phrases to leverage their inter-dependencies and improve the performance. Moreover, we introduce a novel regularization mechanism to encourage the consistency of the model predictions across similar inputs for toxic span detection. Our extensive experiments demonstrate the effectiveness of the proposed model compared to strong baselines.

BibTeX
@inproceedings{pouran-ben-veyseh-etal-2022-transfer,
    title = "Transfer Learning and Prediction Consistency for Detecting Offensive Spans of Text",
    author = "Pouran Ben Veyseh, Amir  and
      Xu, Ning  and
      Tran, Quan  and
      Manjunatha, Varun  and
      Dernoncourt, Franck  and
      Nguyen, Thien",
    editor = "Muresan, Smaranda  and
      Nakov, Preslav  and
      Villavicencio, Aline",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2022",
    month = may,
    year = "2022",
    address = "Dublin, Ireland",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.findings-acl.128/",
    doi = "10.18653/v1/2022.findings-acl.128",
    pages = "1630--1637"
}
Transfer Learning and Prediction Consistency for Detecting Offensive Spans of Text · ACL 2022