arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.12403cs.CLcs.AIcs.LG
收藏

利用大型语言模型提取的理据实现可解释仇恨言论检测

Towards Interpretable Hate Speech Detection using Large Language Model-extracted Rationales

School of Computing and Augmented Intelligence(计算与增强智能学院);Arizona State University(亚利桑那州立大学)

Ayushi Nirmal, Amrita Bhattacharjee, Paras Sheth, Huan Liu

AI总结:

本文提出用 LLM 从文本中提取理据特征来训练仇恨言论分类器,在多个英文社交媒体数据集上兼顾可解释性与检测性能。

摘要:

尽管社交媒体平台是用户参与人际讨论和表达观点的重要场所,但社交媒体所提供的伪装性和匿名性可能会让用户肆意发布仇恨言论和冒犯性内容。鉴于此类平台的庞大规模,有必要自动识别并标记仇恨言论实例。虽然目前已经存在多种仇恨言论检测方法,但这些黑盒方法大多在设计上不具备可解释性或可说明性。为解决可解释性缺失问题,本文提出使用最先进的大型语言模型(LLM)从输入文本中提取以理据形式呈现的特征,用于训练一个基础仇恨言论分类器,从而在设计上实现忠实的可解释性。我们的框架有效结合了 LLM 的文本理解能力与最先进仇恨言论分类器的判别能力,使这些分类器具备忠实的可解释性。我们在多种英文社交媒体仇恨言论数据集上进行的综合评估表明:(1)LLM 提取的理据具有良好质量;(2)即使在为确保可解释性而进行训练后,检测器的性能仍得到令人惊讶的保持。所有代码和数据将在 https://github.com/AmritaBh/shield 提供。

英文摘要:

Although social media platforms are a prominent arena for users to engage in interpersonal discussions and express opinions, the facade and anonymity offered by social media may allow users to spew hate speech and offensive content. Given the massive scale of such platforms, there arises a need to automatically identify and flag instances of hate speech. Although several hate speech detection methods exist, most of these black-box methods are not interpretable or explainable by design. To address the lack of interpretability, in this paper, we propose to use state-of-the-art Large Language Models (LLMs) to extract features in the form of rationales from the input text, to train a base hate speech classifier, thereby enabling faithful interpretability by design. Our framework effectively combines the textual understanding capabilities of LLMs and the discriminative power of state-of-the-art hate speech classifiers to make these classifiers faithfully interpretable. Our comprehensive evaluation on a variety of English language social media hate speech datasets demonstrate: (1) the goodness of the LLM-extracted rationales, and (2) the surprising retention of detector performance even after training to ensure interpretability. All code and data will be made available at https://github.com/AmritaBh/shield.

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

↑