ToXCL: A Unified Framework for Toxic Speech Detection and Explanation

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hoang, Nhat M., Do, Xuan Long, Do, Duc Anh, Vu, Duc Anh, Tuan, Luu Anh
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911880795127808
author Hoang, Nhat M.
Do, Xuan Long
Do, Duc Anh
Vu, Duc Anh
Tuan, Luu Anh
author_facet Hoang, Nhat M.
Do, Xuan Long
Do, Duc Anh
Vu, Duc Anh
Tuan, Luu Anh
contents The proliferation of online toxic speech is a pertinent problem posing threats to demographic groups. While explicit toxic speech contains offensive lexical signals, implicit one consists of coded or indirect language. Therefore, it is crucial for models not only to detect implicit toxic speech but also to explain its toxicity. This draws a unique need for unified frameworks that can effectively detect and explain implicit toxic speech. Prior works mainly formulated the task of toxic speech detection and explanation as a text generation problem. Nonetheless, models trained using this strategy can be prone to suffer from the consequent error propagation problem. Moreover, our experiments reveal that the detection results of such models are much lower than those that focus only on the detection task. To bridge these gaps, we introduce ToXCL, a unified framework for the detection and explanation of implicit toxic speech. Our model consists of three modules: a (i) Target Group Generator to generate the targeted demographic group(s) of a given post; an (ii) Encoder-Decoder Model in which the encoder focuses on detecting implicit toxic speech and is boosted by a (iii) Teacher Classifier via knowledge distillation, and the decoder generates the necessary explanation. ToXCL achieves new state-of-the-art effectiveness, and outperforms baselines significantly.
format Preprint
id arxiv_https___arxiv_org_abs_2403_16685
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ToXCL: A Unified Framework for Toxic Speech Detection and Explanation
Hoang, Nhat M.
Do, Xuan Long
Do, Duc Anh
Vu, Duc Anh
Tuan, Luu Anh
Computation and Language
Computers and Society
The proliferation of online toxic speech is a pertinent problem posing threats to demographic groups. While explicit toxic speech contains offensive lexical signals, implicit one consists of coded or indirect language. Therefore, it is crucial for models not only to detect implicit toxic speech but also to explain its toxicity. This draws a unique need for unified frameworks that can effectively detect and explain implicit toxic speech. Prior works mainly formulated the task of toxic speech detection and explanation as a text generation problem. Nonetheless, models trained using this strategy can be prone to suffer from the consequent error propagation problem. Moreover, our experiments reveal that the detection results of such models are much lower than those that focus only on the detection task. To bridge these gaps, we introduce ToXCL, a unified framework for the detection and explanation of implicit toxic speech. Our model consists of three modules: a (i) Target Group Generator to generate the targeted demographic group(s) of a given post; an (ii) Encoder-Decoder Model in which the encoder focuses on detecting implicit toxic speech and is boosted by a (iii) Teacher Classifier via knowledge distillation, and the decoder generates the necessary explanation. ToXCL achieves new state-of-the-art effectiveness, and outperforms baselines significantly.
title ToXCL: A Unified Framework for Toxic Speech Detection and Explanation
topic Computation and Language
Computers and Society
url https://arxiv.org/abs/2403.16685