PolyJuice Makes It Real: Black-Box, Universal Red Teaming for Synthetic Image Detectors

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dehdashtian, Sepehr, Morshed, Mashrur M., Seidman, Jacob H., Bharaj, Gaurav, Boddeti, Vishnu Naresh
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912667573157888
author Dehdashtian, Sepehr
Morshed, Mashrur M.
Seidman, Jacob H.
Bharaj, Gaurav
Boddeti, Vishnu Naresh
author_facet Dehdashtian, Sepehr
Morshed, Mashrur M.
Seidman, Jacob H.
Bharaj, Gaurav
Boddeti, Vishnu Naresh
contents Synthetic image detectors (SIDs) are a key defense against the risks posed by the growing realism of images from text-to-image (T2I) models. Red teaming improves SID's effectiveness by identifying and exploiting their failure modes via misclassified synthetic images. However, existing red-teaming solutions (i) require white-box access to SIDs, which is infeasible for proprietary state-of-the-art detectors, and (ii) generate image-specific attacks through expensive online optimization. To address these limitations, we propose PolyJuice, the first black-box, image-agnostic red-teaming method for SIDs, based on an observed distribution shift in the T2I latent space between samples correctly and incorrectly classified by the SID. PolyJuice generates attacks by (i) identifying the direction of this shift through a lightweight offline process that only requires black-box access to the SID, and (ii) exploiting this direction by universally steering all generated images towards the SID's failure modes. PolyJuice-steered T2I models are significantly more effective at deceiving SIDs (up to 84%) compared to their unsteered counterparts. We also show that the steering directions can be estimated efficiently at lower resolutions and transferred to higher resolutions using simple interpolation, reducing computational overhead. Finally, tuning SID models on PolyJuice-augmented datasets notably enhances the performance of the detectors (up to 30%).
format Preprint
id arxiv_https___arxiv_org_abs_2509_15551
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PolyJuice Makes It Real: Black-Box, Universal Red Teaming for Synthetic Image Detectors
Dehdashtian, Sepehr
Morshed, Mashrur M.
Seidman, Jacob H.
Bharaj, Gaurav
Boddeti, Vishnu Naresh
Machine Learning
Synthetic image detectors (SIDs) are a key defense against the risks posed by the growing realism of images from text-to-image (T2I) models. Red teaming improves SID's effectiveness by identifying and exploiting their failure modes via misclassified synthetic images. However, existing red-teaming solutions (i) require white-box access to SIDs, which is infeasible for proprietary state-of-the-art detectors, and (ii) generate image-specific attacks through expensive online optimization. To address these limitations, we propose PolyJuice, the first black-box, image-agnostic red-teaming method for SIDs, based on an observed distribution shift in the T2I latent space between samples correctly and incorrectly classified by the SID. PolyJuice generates attacks by (i) identifying the direction of this shift through a lightweight offline process that only requires black-box access to the SID, and (ii) exploiting this direction by universally steering all generated images towards the SID's failure modes. PolyJuice-steered T2I models are significantly more effective at deceiving SIDs (up to 84%) compared to their unsteered counterparts. We also show that the steering directions can be estimated efficiently at lower resolutions and transferred to higher resolutions using simple interpolation, reducing computational overhead. Finally, tuning SID models on PolyJuice-augmented datasets notably enhances the performance of the detectors (up to 30%).
title PolyJuice Makes It Real: Black-Box, Universal Red Teaming for Synthetic Image Detectors
topic Machine Learning
url https://arxiv.org/abs/2509.15551