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

SLM-Mod:小型语言模型在内容审核任务上超越大型语言模型

SLM-Mod: Small Language Models Surpass LLMs at Content Moderation

Xianyang Zhan, Agam Goyal, Yilun Chen, Eshwar Chandrasekharan, Koustuv Saha

AI总结:

针对LLMs实时查询成本高、缺乏社区特定内容审核能力的问题,本研究探索开源SLMs(<15B参数)的应用,通过15万条Reddit评论评估发现其在零样本和少样本设置下性能优于LLMs,还展现跨社区审核潜力。

摘要:

大型语言模型(LLMs)在包括内容审核在内的许多自然语言理解任务中展现出潜力,但实时查询成本高,且无法支持社区特定的内容审核方法。为应对这些挑战,我们探索将开源小型语言模型(SLMs)用于社区特定内容审核任务。我们对参数少于150亿的SLMs进行微调,并在零样本和少样本设置下,将其性能与更大的开源和闭源模型对比评估。基于15个热门Reddit社区的15万条评论,我们发现SLMs在内容审核上优于零样本LLMs——所有社区的平均准确率高11.5%,召回率高25.7%。此外,少样本上下文学习仅使LLMs性能略有提升,仍不及SLMs。我们还展示了跨社区内容审核的潜力,这对新社区及跨平台审核技术发展具有意义。最后,我们提出了基于语言模型的内容审核未来研究方向。代码和模型可在https://github.com/AGoyal0512/SLM-Mod获取。

英文摘要:

Large language models (LLMs) have shown promise in many natural language understanding tasks, including content moderation. However, these models can be expensive to query in real-time and do not allow for a community-specific approach to content moderation. To address these challenges, we explore the use of open-source small language models (SLMs) for community-specific content moderation tasks. We fine-tune and evaluate SLMs (less than 15B parameters) by comparing their performance against much larger open- and closed-sourced models in both a zero-shot and few-shot setting. Using 150K comments from 15 popular Reddit communities, we find that SLMs outperform zero-shot LLMs at content moderation -- 11.5% higher accuracy and 25.7% higher recall on average across all communities. Moreover, few-shot in-context learning leads to only a marginal increase in the performance of LLMs, still lacking compared to SLMs. We further show the promise of cross-community content moderation, which has implications for new communities and the development of cross-platform moderation techniques. Finally, we outline directions for future work on language model based content moderation. Code and models can be found at https://github.com/AGoyal0512/SLM-Mod.

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

↑