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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Zhenting, Hu, Shuming, Zhao, Shiyu, Lin, Xiaowen, Juefei-Xu, Felix, Li, Zhuowei, Han, Ligong, Subramanyam, Harihar, Chen, Li, Chen, Jianfa, Jiang, Nan, Lyu, Lingjuan, Ma, Shiqing, Metaxas, Dimitris N., Jain, Ankit
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917978562363392
author Wang, Zhenting
Hu, Shuming
Zhao, Shiyu
Lin, Xiaowen
Juefei-Xu, Felix
Li, Zhuowei
Han, Ligong
Subramanyam, Harihar
Chen, Li
Chen, Jianfa
Jiang, Nan
Lyu, Lingjuan
Ma, Shiqing
Metaxas, Dimitris N.
Jain, Ankit
author_facet Wang, Zhenting
Hu, Shuming
Zhao, Shiyu
Lin, Xiaowen
Juefei-Xu, Felix
Li, Zhuowei
Han, Ligong
Subramanyam, Harihar
Chen, Li
Chen, Jianfa
Jiang, Nan
Lyu, Lingjuan
Ma, Shiqing
Metaxas, Dimitris N.
Jain, Ankit
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2501_00192
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle MLLM-as-a-Judge for Image Safety without Human Labeling
Wang, Zhenting
Hu, Shuming
Zhao, Shiyu
Lin, Xiaowen
Juefei-Xu, Felix
Li, Zhuowei
Han, Ligong
Subramanyam, Harihar
Chen, Li
Chen, Jianfa
Jiang, Nan
Lyu, Lingjuan
Ma, Shiqing
Metaxas, Dimitris N.
Jain, Ankit
Computer Vision and Pattern Recognition
Computation and Language
Computers and Society
Machine Learning
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.
title MLLM-as-a-Judge for Image Safety without Human Labeling
topic Computer Vision and Pattern Recognition
Computation and Language
Computers and Society
Machine Learning
url https://arxiv.org/abs/2501.00192