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

LLMs与微调:针对仇恨言论检测的跨领域性能基准测试

LLMs and Finetuning: Benchmarking cross-domain performance for hate speech detection

Indian Institute of Technology Delhi(印度理工学院德里分校);National University of Singapore(新加坡国立大学);Nanyang Technological University(南洋理工大学)

Ahmad Nasir, Aadish Sharma, Kokil Jaidka, Saifuddin Ahmed

AI总结:

本研究基准测试了预训练和微调LLMs在仇恨言论检测中的跨领域性能,发现LLMs即使无预训练也优于现有技术,且细粒度标签优势随数据集增大而消失,最后探讨了局限与最佳实践。

摘要:

在不断演变的在线交流环境中,仇恨言论检测仍然是一个艰巨的挑战,数字平台的多样性使其更加复杂。本研究调查了预训练和微调的大型语言模型(LLMs)在识别仇恨言论方面的有效性和适应性,旨在解决三个核心问题:(1) 模型性能在多大程度上依赖于微调和训练参数?(2) 模型在多大程度上能泛化到跨领域的仇恨言论检测?(3) 数据集或模型的哪些具体特征会影响泛化潜力?实验表明,即使没有预训练,LLMs也提供了优于现有技术的巨大优势。普通最小二乘法分析表明,使用细粒度仇恨言论标签进行训练的优势会随着数据集规模的增加而消失。尽管我们的研究展示了大型语言模型(LLMs)在仇恨言论检测方面的潜力,但仍存在一些局限性,特别是在结果的有效性和可重复性方面。最后,我们对实验中面临的挑战进行了详尽的讨论,并为未来设计此类基准测试实验的学者提供了推荐的最佳实践。

英文摘要:

In the evolving landscape of online communication, hate speech detection remains a formidable challenge, further compounded by the diversity of digital platforms. This study investigates the effectiveness and adaptability of pre-trained and fine-tuned Large Language Models (LLMs) in identifying hate speech, to address two central questions: (1) To what extent does the model performance depend on the fine-tuning and training parameters?, (2) To what extent do models generalize to cross-domain hate speech detection? and (3) What are the specific features of the datasets or models that influence the generalization potential? The experiment shows that LLMs offer a huge advantage over the state-of-the-art even without pretraining. Ordinary least squares analyses suggest that the advantage of training with fine-grained hate speech labels is washed away with the increase in dataset size. While our research demonstrates the potential of large language models (LLMs) for hate speech detection, several limitations remain, particularly regarding the validity and the reproducibility of the results. We conclude with an exhaustive discussion of the challenges we faced in our experimentation and offer recommended best practices for future scholars designing benchmarking experiments of this kind.

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

↑