arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.00983cs.CLcs.AI
收藏

取其精华,去其糟粕!基于反事实因果效应的毒性语言检测去偏

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

School of Computer Science and Technology, Dalian University of Technology(大连理工大学计算机科学与技术学院);School of Foreign Chinese, Dalian University of Technology(大连理工大学对外汉语学院)

Junyu Lu, Bo Xu, Xiaokun Zhang, Kaiyuan Liu, Dongyu Zhang, Liang Yang, Hongfei Lin

AI总结:

针对毒性语言检测中词汇偏差被无差别消除导致准确率下降的问题,提出反事实因果去偏框架(CCDF),通过因果推断分离并消除误导性影响、保留有用影响,提升了模型的准确率、公平性与分布外泛化能力。

摘要:

当前的毒性语言检测(TLD)方法通常依赖特定词元进行决策,这使其遭受词汇偏差,导致性能和泛化能力下降。在理解毒性方面,词汇偏差既有“有用”的影响,也有“误导”的影响。遗憾的是,当前的去偏方法通常不区分这些影响而将它们一概消除,导致模型检测准确率下降。为此,我们提出反事实因果去偏框架(CCDF)以缓解 TLD 中的词汇偏差。它保留了词汇偏差的“有用影响”并消除其“误导影响”。具体而言,我们首先从因果视角表示原始句子和偏差词元对决策的总效应。然后我们进行反事实推断,将词汇偏差的直接因果效应从总效应中排除。实证评估表明,结合 CCDF 的去偏 TLD 模型与应用于多个基础模型的竞争性基线相比,在准确率和公平性上均达到了 state-of-the-art 性能。对于分布外数据,我们模型的泛化能力优于当前的去偏模型。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑