arXiv:2601.02697cs.CL2026-01

冻结前8层提升多语言仇恨言论检测准确率与可解释性

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

  • 冻结BERT、RoBERTa等模型前8层,减少计算开销
  • 在5种语言上实现超过90%的准确率和F1分数
  • 结合LIME技术,可视化关键词语对判断的影响

情感分析旨在识别文本中的情绪极性,通常分为正面、负面或中性。仇恨言论检测则致力于识别基于种族、性别、性取向或宗教等属性煽动暴力、歧视或敌意的内容。这两项任务在在线内容监管中至关重要,有助于识别和缓解有害或冒犯性信息,从而营造更安全的数字环境。本研究评估了三种基于Transformer的模型:BERT-base-multilingual-cased、RoBERTa-base 和 XLM-RoBERTa-base,通过冻结其前八个层级,在五种语言(英语、韩语、日语、中文、法语)上的多语言情感分析和仇恨言论检测性能。采用准确率、精确率、召回率和F1分数等标准指标进行对比。为增强模型可解释性并深入理解预测行为,引入局部可解释模型无关解释(LIME)框架,突出个体词汇对模型决策的贡献。通过结合最先进的Transformer架构与可解释性技术,本研究旨在提升多语言情感分析与仇恨言论检测系统的有效性与透明度。

原文摘要 · Abstract (English)

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.

仇恨言论检测多语言可解释AITransformer

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。