乌尔都语 Nastaliq offensive 内容检测的可解释系统:语料库整理、Transformer 基准测试与词级归因
An Explainable System for Offensive Content Detection in Nastaliq Urdu: Corpus Curation, Transformer Benchmarking, and Word-Level Attribution
AI总结:
本研究针对乌尔都语 Nastaliq 书写体的冒犯内容检测问题,整理公开含 7604 条评论的语料库,微调 MuRIL 等模型并开展基准测试,还计算适配从右到左渲染的词级 SHAP 归因,为该领域提供可解释的检测方案。
摘要:
自动审核系统已大规模部署,但对受其决策影响的用户和审核员而言仍不透明,且其覆盖范围几乎完全局限于英语。对于采用 Nastaliq 书写体的乌尔都语,目前尚无此类系统,构建该系统所需的标注资源大多来自 Twitter/X,而该平台的字符限制会约束用户的写作方式。可解释性研究关注度较低,导致人们不清楚这类模型实际学到了什么。本研究分三步解决这些空白:第一,我们整理并公开发布了包含 7604 条 Nastaliq 乌尔都语 Facebook 评论的语料库,通过修正文本层面的不一致性并重新检查原始标签,扩展了早期的语料库;第二,我们在统一的网格搜索协议下对 4 种支持乌尔都语的 Transformer 模型进行微调,并在相同数据划分上将它们与 12 种特征-分类器基线进行比较。最佳配置为 Multilingual Representations for Indian Languages(MuRIL),其准确率达 87.05%,宏 F1 值达 87.06%,比最强基线提升了 5.52 个百分点,该幅度超过了测试准确率的 95% 置信区间;两种领先的 Transformer 模型的差异小于测试集可分辨的范围,且在 5 种优化器下性能稳定;第三,我们计算了适配从右到左渲染的词级 SHAP 归因。归因权重集中在高频侮辱性词汇上,但也延伸至句法中性的功能词和源页面特有的政治词汇,这表明整体性能可能部分依赖于词汇和主题的规律性,而非冒犯性的可泛化表征。
英文摘要:
Automated moderation systems are deployed at scale, yet they remain opaque to the users and moderators affected by their decisions, and their coverage is almost entirely confined to English. For Urdu written in the Nastaliq script, no such system exists, and the annotated resources it would be built on are drawn largely from Twitter/X, where character limits constrain how users write. Interpretability has received little attention, leaving it unclear what such models actually learn. This study addresses these gaps in three steps. First, we curate and publicly release a corpus of 7604 Nastaliq Urdu Facebook comments, extending an earlier corpus by correcting text-level inconsistencies and re-examining the original labels. Second, we fine-tune four Urdu-capable transformers under a common grid-search protocol and compare them against twelve feature-classifier baselines on identical data partitions. The best configuration, Multilingual Representations for Indian Languages (MuRIL), reaches 87.05% accuracy and 87.06% macro F1, improving on the strongest baseline by 5.52 percentage points, a margin that exceeds the 95% confidence interval on test accuracy; the two leading transformers differ by less than the test set can resolve, and performance is stable across five optimizers. Third, we compute word-level SHAP attributions adapted to right-to-left rendering. Attribution mass concentrates on high-frequency slurs but extends to syntactically neutral function words and to political vocabulary characteristic of the source pages, indicating that aggregate performance may rest partly on lexical and topical regularities rather than a generalizable representation of offensiveness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。