UnsafeBench: evaluating image safety classifiers on real-world and AI-generated imagesUnsafeBench: Benchmarking Image Safety Classifiers on Real-World and AI-Generated Images
The researchers propose the UnsafeBench benchmark to evaluate the effectiveness and robustness of image safety classifiers on real-world and AI-generated images. The benchmark constructs a dataset of 10K real and AI-generated images, annotating each as safe or unsafe across 11 categories of unsafe images such as sex, violence, and hate, and uses it to test five popular image safety classifiers and three classifiers driven by general-purpose vision language models. The evaluation shows that existing image safety classifiers are insufficient to comprehensively address the multifaceted nature of unsafe images, and that distribution differences in quality, style, and layout between real and AI-generated images degrade classifier effectiveness and robustness. Based on these findings, the authors build an image moderation tool, PerspectiveVision, which improves effectiveness and robustness over existing classifiers, with especially notable gains on AI-generated images.