paperbot · PL 论文追踪

全部论文 待读 收藏

P2 An Image is Worth a Thousand Toxic Words: A Metamorphic Testing Framework for Content Moderation Software

一图胜千条毒言:面向内容审核软件的蜕变测试框架
ASE 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)2023匹配度 1/10 · 该论文研究内容审核软件对图像化有毒文本的蜕变测试与鲁棒性提升,属于软件测试与安全领域,与用户的PL/AI交叉、静态分析、浮点程序分析、贝叶斯程序分析等核心方向没有直接关系。虽然涉及测试和工业界模型评估,但并非针对机器学习系统或Agentic程序的静态分析,也未涉及LLM/Agent作为分析工具。引用 11 inbox
Wenxuan Wang, Jingyuan Huang, Jen-tse Huang, Chang Chen, Jiazhen Gu, Pinjia He, Michael R. Lyu
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 OASIS 蜕变测试框架,将有毒文本转为图像以规避内容审核,并评估与提升审核模型鲁棒性。

社交媒体中有毒内容泛滥,恶意用户将文本嵌入图像并加干扰以规避审核,但内容审核软件对此类输入的鲁棒性尚未被充分研究。本文提出 OASIS,一个面向内容审核软件的蜕变测试框架。作者从 Twitter、Instagram、新浪微博和百度贴吧的 5000 条真实有毒内容中总结出 21 条变换规则,能将有毒文本转换为保持毒性但可能绕过审核的图像测试用例。评估中,OASIS 测试了五家商业文本审核服务和一 SOTA 审核模型,错误发现率最高达 100%;用其生成用例重训练还能提升模型鲁棒性且不降低原有性能。

问题
恶意用户将有毒文本嵌入图像并施加干扰以绕过审核,现有内容审核软件面对这类输入的鲁棒性缺乏系统评估。
方法
OASIS 从真实有毒内容中总结 21 条变换规则,将有毒文本生成保持毒性、但更可能绕过审核的图像测试用例。
评估
在五家商业审核服务和一 SOTA 研究模型上测试,错误发现率最高达 100%,并证明用生成用例重训练可提升鲁棒性且无性能退化。
原文摘要(Abstract)

The exponential growth of social media platforms has brought about a revolution in communication and content dissemination in human society. Nevertheless, these platforms are being increasingly misused to spread toxic content, including hate speech, malicious advertising, and pornography, leading to severe negative consequences such as harm to teenagers' mental health. Despite tremendous efforts in developing and deploying textual and image content moderation methods, malicious users can evade moderation by embedding texts into images, such as screenshots of the text, usually with some interference. We find that modern content moderation software's performance against such malicious inputs remains underexplored. In this work, we propose OASIS, a metamorphic testing framework for content moderation software. OASIS employs 21 transform rules summarized from our pilot study on 5,000 real-world toxic contents collected from 4 popular social media applications, including Twitter, Instagram, Sina Weibo, and Baidu Tieba. Given toxic textual contents, OASIS can generate image test cases, which preserve the toxicity yet are likely to bypass moderation. In the evaluation, we employ OASIS to test five commercial textual content moderation software from famous companies (i.e., Google Cloud, Microsoft Azure, Baidu Cloud, Alibaba Cloud and Tencent Cloud), as well as a state-of-the-art moderation research model. The results show that OASIS achieves up to 100% error finding rates. Moreover, through retraining the models with the test cases generated by OASIS, the robustness of the moderation model can be improved without performance degradation.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2308-09810,
  title = {An Image is Worth a Thousand Toxic Words: A Metamorphic Testing Framework for Content Moderation Software},
  author = {Wenxuan Wang and Jingyuan Huang and Jen-tse Huang and Chang Chen and Jiazhen Gu and Pinjia He and Michael R. Lyu},
  booktitle = {ASE},
  year = {2023},
  doi = {10.1109/ase56229.2023.00189}
}