arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.13698cs.CL

通过模型蒸馏实现高效且可解释的仇恨言论检测

Towards Efficient and Explainable Hate Speech Detection via Model Distillation

IRLab, CITIC, Universidade da Coruña, Spain(IR实验室、 CITIC、科鲁纳大学、西班牙)

Paloma Piot, Javier Parapar

AI总结:

本文提出利用思维链蒸馏大型语言模型以提取仇恨言论分类解释,证明蒸馏后的小模型在分类性能上超越大模型且解释质量相当,从而提升检测的可负担性、可理解性和可操作性。

摘要:

自动检测仇恨和辱骂性语言对于遏制其在网络上的传播至关重要。此外,识别和解释仇恨言论有助于教育人们了解其负面影响。然而,当前大多数检测模型以黑箱方式运行,缺乏可解释性和可说明性。在这一背景下,大型语言模型(LLMs)已被证明在仇恨言论检测和促进可解释性方面是有效的。然而,它们的运行计算成本高昂。在这项工作中,我们提出通过使用思维链(Chain-of-Thought)来蒸馏大型语言模型,以提取支持仇恨言论分类任务的解释。为这些任务配备小型语言模型将有助于它们在运营环境中的使用。在本文中,我们证明蒸馏模型能够提供与更大模型相同质量的解释,同时在分类性能上超越它们。这种分类和解释的双重能力推动了仇恨言论检测的发展,使其更加经济实惠、易于理解且可操作。

英文摘要:

Automatic detection of hate and abusive language is essential to combat its online spread. Moreover, recognising and explaining hate speech serves to educate people about its negative effects. However, most current detection models operate as black boxes, lacking interpretability and explainability. In this context, Large Language Models (LLMs) have proven effective for hate speech detection and to promote interpretability. Nevertheless, they are computationally costly to run. In this work, we propose distilling big language models by using Chain-of-Thought to extract explanations that support the hate speech classification task. Having small language models for these tasks will contribute to their use in operational settings. In this paper, we demonstrate that distilled models deliver explanations of the same quality as larger models while surpassing them in classification performance. This dual capability, classifying and explaining, advances hate speech detection making it more affordable, understandable and actionable.

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

↑