Take its Essence, Discard its Dross! Debiasing for Toxic Language Detection via Counterfactual Causal Effect

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Lu, Junyu, Xu, Bo, Zhang, Xiaokun, Liu, Kaiyuan, Zhang, Dongyu, Yang, Liang, Lin, Hongfei
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916271047573504
author Lu, Junyu
Xu, Bo
Zhang, Xiaokun
Liu, Kaiyuan
Zhang, Dongyu
Yang, Liang
Lin, Hongfei
author_facet Lu, Junyu
Xu, Bo
Zhang, Xiaokun
Liu, Kaiyuan
Zhang, Dongyu
Yang, Liang
Lin, Hongfei
contents Current methods of toxic language detection (TLD) typically rely on specific tokens to conduct decisions, which makes them suffer from lexical bias, leading to inferior performance and generalization. Lexical bias has both "useful" and "misleading" impacts on understanding toxicity. Unfortunately, instead of distinguishing between these impacts, current debiasing methods typically eliminate them indiscriminately, resulting in a degradation in the detection accuracy of the model. To this end, we propose a Counterfactual Causal Debiasing Framework (CCDF) to mitigate lexical bias in TLD. It preserves the "useful impact" of lexical bias and eliminates the "misleading impact". Specifically, we first represent the total effect of the original sentence and biased tokens on decisions from a causal view. We then conduct counterfactual inference to exclude the direct causal effect of lexical bias from the total effect. Empirical evaluations demonstrate that the debiased TLD model incorporating CCDF achieves state-of-the-art performance in both accuracy and fairness compared to competitive baselines applied on several vanilla models. The generalization capability of our model outperforms current debiased models for out-of-distribution data.
format Preprint
id arxiv_https___arxiv_org_abs_2406_00983
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Take its Essence, Discard its Dross! Debiasing for Toxic Language Detection via Counterfactual Causal Effect
Lu, Junyu
Xu, Bo
Zhang, Xiaokun
Liu, Kaiyuan
Zhang, Dongyu
Yang, Liang
Lin, Hongfei
Computation and Language
Artificial Intelligence
Current methods of toxic language detection (TLD) typically rely on specific tokens to conduct decisions, which makes them suffer from lexical bias, leading to inferior performance and generalization. Lexical bias has both "useful" and "misleading" impacts on understanding toxicity. Unfortunately, instead of distinguishing between these impacts, current debiasing methods typically eliminate them indiscriminately, resulting in a degradation in the detection accuracy of the model. To this end, we propose a Counterfactual Causal Debiasing Framework (CCDF) to mitigate lexical bias in TLD. It preserves the "useful impact" of lexical bias and eliminates the "misleading impact". Specifically, we first represent the total effect of the original sentence and biased tokens on decisions from a causal view. We then conduct counterfactual inference to exclude the direct causal effect of lexical bias from the total effect. Empirical evaluations demonstrate that the debiased TLD model incorporating CCDF achieves state-of-the-art performance in both accuracy and fairness compared to competitive baselines applied on several vanilla models. The generalization capability of our model outperforms current debiased models for out-of-distribution data.
title Take its Essence, Discard its Dross! Debiasing for Toxic Language Detection via Counterfactual Causal Effect
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.00983