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

无需人工标注的图像安全多模态大语言模型评判器

MLLM-as-a-Judge for Image Safety without Human Labeling

Rutgers University(罗格斯大学);UMass Amherst(马萨诸塞大学阿默斯特分校)
Zhenting Wang, Shuming Hu, Shiyu Zhao, Xiaowen Lin, Felix Juefei-Xu, Zhuowei Li, Ligong Han, Harihar Subramanyam, Li Chen, Jianfa Chen, Nan Jiang, Lingjuan Lyu,… 展开作者

Zhenting Wang, Shuming Hu, Shiyu Zhao, Xiaowen Lin, Felix Juefei-Xu, Zhuowei Li, Ligong Han, Harihar Subramanyam, Li Chen, Jianfa Chen, Nan Jiang, Lingjuan Lyu, Shiqing Ma, Dimitris N. Metaxas, Ankit Jain

AI总结:

针对零样本图像安全判断任务,提出基于MLLM的去偏差方法,通过客观化安全规则、评估相关性、简化前提链及级联思维链推理,有效避免了人工标注成本并提升了判断效果。

摘要:

随着在线平台上视觉媒体的兴起,图像内容安全已成为一项重大挑战。同时,在人工智能生成内容(AIGC)时代,许多图像生成模型能够生成有害内容,例如包含色情或暴力材料的图像。因此,基于既定安全规则识别此类不安全图像变得至关重要。预训练多模态大语言模型(MLLMs)凭借其强大的模式识别能力,在此方面展现出潜力。现有方法通常使用人工标注的数据集对MLLMs进行微调,但这带来了一系列缺陷。首先,依赖人工标注者遵循复杂且详细的指南来标注数据既昂贵又耗费人力。此外,安全判断系统的用户可能需要频繁更新安全规则,这使得基于人工标注的微调更具挑战性。这引出了一个研究问题:我们能否在零样本设置下,使用预定义的安全准则(一组安全规则)通过查询MLLMs来检测不安全图像?我们的研究表明,简单地查询预训练MLLMs并不能产生令人满意的结果。这种缺乏有效性的情况源于安全规则的主观性、冗长准则的复杂性以及模型固有的偏差等因素。为了应对这些挑战,我们提出了一种基于MLLM的方法,包括客观化安全规则、评估规则与图像之间的相关性、基于去偏差的token概率结合逻辑完整但简化的安全规则前提链做出快速判断,并在必要时通过级联的思维链过程进行更深入的推理。实验结果表明,我们的方法在零样本图像安全判断任务中非常有效。

英文摘要:

Image content safety has become a significant challenge with the rise of visual media on online platforms. Meanwhile, in the age of AI-generated content (AIGC), many image generation models are capable of producing harmful content, such as images containing sexual or violent material. Thus, it becomes crucial to identify such unsafe images based on established safety rules. Pre-trained Multimodal Large Language Models (MLLMs) offer potential in this regard, given their strong pattern recognition abilities. Existing approaches typically fine-tune MLLMs with human-labeled datasets, which however brings a series of drawbacks. First, relying on human annotators to label data following intricate and detailed guidelines is both expensive and labor-intensive. Furthermore, users of safety judgment systems may need to frequently update safety rules, making fine-tuning on human-based annotation more challenging. This raises the research question: Can we detect unsafe images by querying MLLMs in a zero-shot setting using a predefined safety constitution (a set of safety rules)? Our research showed that simply querying pre-trained MLLMs does not yield satisfactory results. This lack of effectiveness stems from factors such as the subjectivity of safety rules, the complexity of lengthy constitutions, and the inherent biases in the models. To address these challenges, we propose a MLLM-based method includes objectifying safety rules, assessing the relevance between rules and images, making quick judgments based on debiased token probabilities with logically complete yet simplified precondition chains for safety rules, and conducting more in-depth reasoning with cascaded chain-of-thought processes if necessary. Experiment results demonstrate that our method is highly effective for zero-shot image safety judgment tasks.

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

↑