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

HateTinyLLM:使用微型大语言模型进行仇恨言论检测

HateTinyLLM : Hate Speech Detection Using Tiny Large Language Models

Ericsson(爱立信);Indian Institute of Technology Hyderabad(印度理工学院海得拉巴分校);Swinburne University of Technology(斯威本科技大学)

Tanmay Sen, Ansuman Das, Mrinmay Sen

AI总结:

本文提出HateTinyLLM框架,通过LoRA和adapter方法微调多种微型大语言模型实现高效仇恨言论检测,实验表明其性能显著超越预训练的mixtral-7b模型,所有LoRA微调模型准确率均超过80%。

摘要:

仇恨言论涵盖基于敏感特征针对个人或群体的贬损性或歧视性语言的口头、书面或行为交流。自动化仇恨言论检测在遏制其传播方面发挥着至关重要的作用,尤其是在社交媒体平台上。包括深度学习最新进展在内的多种方法已被设计出来以应对这一挑战。在本研究中,我们提出了HateTinyLLM,这是一个基于微调的解码器专用微型大语言模型(tinyLLMs)的新颖框架,用于高效的仇恨言论检测。我们的实验结果表明,微调后的HateTinyLLM以显著优势超越了预训练的mixtral-7b模型。我们探索了多种微型大语言模型,包括PY007/TinyLlama-1.1B-step-50K-105b、Microsoft/phi-2和facebook/opt-1.3b,并使用LoRA和adapter方法对它们进行了微调。我们的观察表明,所有基于LoRA的微调模型均取得了超过80%的准确率。

英文摘要:

Hate speech encompasses verbal, written, or behavioral communication that targets derogatory or discriminatory language against individuals or groups based on sensitive characteristics. Automated hate speech detection plays a crucial role in curbing its propagation, especially across social media platforms. Various methods, including recent advancements in deep learning, have been devised to address this challenge. In this study, we introduce HateTinyLLM, a novel framework based on fine-tuned decoder-only tiny large language models (tinyLLMs) for efficient hate speech detection. Our experimental findings demonstrate that the fine-tuned HateTinyLLM outperforms the pretrained mixtral-7b model by a significant margin. We explored various tiny LLMs, including PY007/TinyLlama-1.1B-step-50K-105b, Microsoft/phi-2, and facebook/opt-1.3b, and fine-tuned them using LoRA and adapter methods. Our observations indicate that all LoRA-based fine-tuned models achieved over 80\% accuracy.

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

↑