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

大语言模型时代的极端言论分类:开源与专有模型的探究

Extreme Speech Classification in the Era of LLMs: Exploring Open-Source and Proprietary Models

Sarthak Mahajan, Nimmi Rangaswamy

AI总结:

针对网络极端言论分类的社会文化复杂性与人工审核规模化难题,本文基于印度极端言论数据集,构建大语言模型分类框架,对比开源Llama与闭源OpenAI模型,发现领域微调可显著提升性能并缩小模型差距。

摘要:

近年来,互联网的广泛普及以及各类社交媒体平台用户规模的增长,导致网络上极端言论的传播量持续上升。传统语言模型虽已展现出区分中性文本与非中性文本(即极端言论)的能力,但对不同类型极端言论进行分类仍存在重大挑战。极端言论分类任务具有极强的细微性,因为它需要深刻理解社会文化背景,才能准确解读说话者所用语言的意图。即便是人类标注员,对此类内容的合理分类也常常存在分歧,凸显了这项任务的复杂性与主观性。人工审核还存在规模化难题,因此亟需构建极端言论分类的自动化系统。近期ChatGPT的推出,让大语言模型(LLMs)在各类任务中的应用潜力受到全球关注。大语言模型基于海量多样化语料训练,具备有效捕捉并编码上下文信息的能力,是解决极端言论分类这一特定任务的极具前景的工具。本文利用Maronikolakis等人(2022)提出的极端言论数据集中的印度子集,构建了一个基于大语言模型的高效分类框架。我们将开源Llama模型与闭源OpenAI模型进行对比评估,结果显示,尽管预训练大语言模型的效果中等,但通过领域特定数据进行微调可显著提升性能,体现了其对语言和语境细微差异的适应能力。基于GPT的模型在零样本设置下表现优于Llama模型,但经过微调后,二者的性能差距会消失。

英文摘要:

In recent years, widespread internet adoption and the growth in userbase of various social media platforms have led to an increase in the proliferation of extreme speech online. While traditional language models have demonstrated proficiency in distinguishing between neutral text and non-neutral text (i.e. extreme speech), categorizing the diverse types of extreme speech presents significant challenges. The task of extreme speech classification is particularly nuanced, as it requires a deep understanding of socio-cultural contexts to accurately interpret the intent of the language used by the speaker. Even human annotators often disagree on the appropriate classification of such content, emphasizing the complex and subjective nature of this task. The use of human moderators also presents a scaling issue, necessitating the need for automated systems for extreme speech classification. The recent launch of ChatGPT has drawn global attention to the potential applications of Large Language Models (LLMs) across a diverse variety of tasks. Trained on vast and diverse corpora, and demonstrating the ability to effectively capture and encode contextual information, LLMs emerge as highly promising tools for tackling this specific task of extreme speech classification. In this paper, we leverage the Indian subset of the extreme speech dataset from Maronikolakis et al. (2022) to develop an effective classification framework using LLMs. We evaluate open-source Llama models against closed-source OpenAI models, finding that while pre-trained LLMs show moderate efficacy, fine-tuning with domain-specific data significantly enhances performance, highlighting their adaptability to linguistic and contextual nuances. Although GPT-based models outperform Llama models in zero-shot settings, the performance gap disappears after fine-tuning.

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

↑