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

跨域毒性跨度检测

Cross-Domain Toxic Spans Detection

Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)

Stefan F. Schouten, Baran Barbarestani, Wondimagegnhue Tufa, Piek Vossen, Ilia Markov

AI总结:

针对毒性跨度检测中的分布偏移问题,评估三种跨域检测方法,发现现成词典方法表现最优,并分析了不同方法的误差特点,公开了相关代码。

摘要:

鉴于有毒语言使用的动态特性,自动化毒性跨度检测方法很可能遭遇分布偏移问题。为探究这一现象,我们评估了三种跨域场景下的毒性跨度检测方法:基于词典的方法、理据提取方法以及微调语言模型。研究结果表明,采用现成词典的简单方法在跨域设置中表现最佳。跨域误差分析显示:(1)理据提取方法易产生假阴性;(2)语言模型尽管在域内场景下表现最优,但对明确有毒词汇的召回率低于词典,且易出现特定类型的假阳性。我们的代码公开于:https://github.com/sfschouten/toxic-cross-domain。

英文摘要:

Given the dynamic nature of toxic language use, automated methods for detecting toxic spans are likely to encounter distributional shift. To explore this phenomenon, we evaluate three approaches for detecting toxic spans under cross-domain conditions: lexicon-based, rationale extraction, and fine-tuned language models. Our findings indicate that a simple method using off-the-shelf lexicons performs best in the cross-domain setup. The cross-domain error analysis suggests that (1) rationale extraction methods are prone to false negatives, while (2) language models, despite performing best for the in-domain case, recall fewer explicitly toxic words than lexicons and are prone to certain types of false positives. Our code is publicly available at: https://github.com/sfschouten/toxic-cross-domain.

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

↑