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

利用大型语言模型和主题建模进行毒性分类

Leveraging Large Language Models and Topic Modeling for Toxicity Classification

University of California, Los Angeles(加州大学洛杉矶分校)

Haniyeh Ehsani Oskouie, Christina Chance, Claire Huang, Margaret Capetz, Elizabeth Eyeson, Majid Sarrafzadeh

AI总结:

针对现有毒性分类模型存在偏见放大/缩小及边缘化群体被忽视的问题,研究通过在数据集上微调BERTweet和HateBERT并结合主题建模策略,发现特定主题微调可显著提升F1分数,揭示了当前大语言模型在文本毒性检测与解释上的局限性。

摘要:

内容审核和毒性分类是具有重大社会意义的关键任务。然而,研究表明,主要分类模型在分类过程中存在放大或缩小偏见的倾向,可能会忽视某些边缘化群体或使其处于不利地位。研究人员指出,标注者的立场会影响模型学习的黄金标准标签,进而传播标注者的偏见。为进一步探究标注者立场的影响,我们深入研究了在数据集上微调BERTweet和HateBERT,并使用主题建模策略进行内容审核。结果显示,与GPT-4、PerspectiveAPI和RewireAPI等其他主流分类模型的预测结果相比,在特定主题上微调模型能显著提高模型的F1分数。这些发现进一步表明,与早期方法相比,最先进的大型语言模型在准确检测和解释文本毒性方面存在显著局限性。代码可在https://github.com/aheldis/Toxicity-Classification.git获取。

英文摘要:

Content moderation and toxicity classification represent critical tasks with significant social implications. However, studies have shown that major classification models exhibit tendencies to magnify or reduce biases and potentially overlook or disadvantage certain marginalized groups within their classification processes. Researchers suggest that the positionality of annotators influences the gold standard labels in which the models learned from propagate annotators' bias. To further investigate the impact of annotator positionality, we delve into fine-tuning BERTweet and HateBERT on the dataset while using topic-modeling strategies for content moderation. The results indicate that fine-tuning the models on specific topics results in a notable improvement in the F1 score of the models when compared to the predictions generated by other prominent classification models such as GPT-4, PerspectiveAPI, and RewireAPI. These findings further reveal that the state-of-the-art large language models exhibit significant limitations in accurately detecting and interpreting text toxicity contrasted with earlier methodologies. Code is available at https://github.com/aheldis/Toxicity-Classification.git.

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

↑