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

通过层冻结和可解释AI提升多语言仇恨言论检测的准确性与可解释性

Boosting Accuracy and Interpretability in Multilingual Hate Speech Detection Through Layer Freezing and Explainable AI

Department of Computer Science(计算机科学系);University of South Carolina(南卡罗来纳大学);Department of Civil, Environmental, and Ocean Engineering(土木、环境与海洋工程系);Stevens Institute of Technology(史蒂文斯理工学院);School of Computing(计算学院);University of Nebraska–Lincoln(内布拉斯加大学林肯分校);Bowling Green State University(鲍灵格林州立大学)

Meysam Shirdel Bilehsavar, Negin Mahmoudi, Mohammad Jalili Torkamani, Kiana Kiashemshaki

AI总结:

本研究通过冻结变压器模型层和整合LIME框架,提升多语言情感分析和仇恨言论检测的准确性和可解释性。

摘要:

情感分析专注于识别文本数据中表达的情感极性,通常分为积极、消极或中性。而仇恨言论检测旨在识别煽动暴力、歧视或针对个人或群体的仇恨内容,基于种族、性别、性取向或宗教等属性。两者在在线内容审核中发挥关键作用,通过检测和缓解有害或冒犯性内容,有助于创造更安全的数字环境。在本研究中,我们评估了三种基于变压器的模型:BERT-base-multilingual-cased、RoBERTa-base和XLM-RoBERTa-base,其中前八层被冻结,用于多语言情感分析和仇恨言论检测。评估在五种语言:英语、韩语、日语、中文和法语上进行。模型通过标准性能指标进行比较,包括准确率、精确率、召回率和F1分数。为了提高模型的可解释性和提供更深入的预测行为洞察,我们集成了局部可解释模型无关解释(LIME)框架,突出单个词对模型决策的贡献。通过结合最先进的变压器架构与可解释性技术,本研究旨在提高多语言情感分析和仇恨言论检测系统的有效性与透明度。

英文摘要:

Sentiment analysis focuses on identifying the emotional polarity expressed in textual data, typically categorized as positive, negative, or neutral. Hate speech detection, on the other hand, aims to recognize content that incites violence, discrimination, or hostility toward individuals or groups based on attributes such as race, gender, sexual orientation, or religion. Both tasks play a critical role in online content moderation by enabling the detection and mitigation of harmful or offensive material, thereby contributing to safer digital environments. In this study, we examine the performance of three transformer-based models: BERT-base-multilingual-cased, RoBERTa-base, and XLM-RoBERTa-base with the first eight layers frozen, for multilingual sentiment analysis and hate speech detection. The evaluation is conducted across five languages: English, Korean, Japanese, Chinese, and French. The models are compared using standard performance metrics, including accuracy, precision, recall, and F1-score. To enhance model interpretability and provide deeper insight into prediction behavior, we integrate the Local Interpretable Model-agnostic Explanations (LIME) framework, which highlights the contribution of individual words to the models decisions. By combining state-of-the-art transformer architectures with explainability techniques, this work aims to improve both the effectiveness and transparency of multilingual sentiment analysis and hate speech detection systems.

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

↑