acceptodds
Published as a conference paper at NeurIPS 2026

Too Aligned to be Real: Detecting AI-Generated Images via Cross-modal Alignment Shift

Haifeng Zhang, Qinghui He, Xiuli Bi, Bo Liu, Chi-Man Pun, Bin Xiao

Abstract

AI-generated image detection has become increasingly important as generative models produce highly realistic visual content. Existing detectors mainly rely on visual artifacts or visual features extracted from pretrained multimodal models, while largely overlooking the structural differences between real and generated images in the joint image–text space. In this paper, we reveal a systematic Cross-modal Alignment Shift (CAS): generated images tend to exhibit stronger and more concentrated alignment with text than semantically matched real images. We verify this phenomenon through retrieval preference, image–text residual structure, spectral concentration, and matching entropy. Motivated by this finding, we propose a CAS-based detection framework(CASNet) that learns an amplified multimodal model with a text-guided alignment-shift objective. The amplification-induced feature increment is extracted as an explicit cross-modal cue and coupled with amplified visual representations, enabling the detector to exploit both alignment-level structural evidence and visual discriminative cues. Extensive experiments across diffusion models, GANs, autoregressive models, and commercial generators demonstrate consistent improvements over state-of-the-art detectors. In particular, on recent commercial generators, our method improves ACC and AP by 5.48% and 6.13%, respectively.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_mWETOpenReview ↗
Rating
3
Clarity
2
Confidence
4
Originality
3
Quality
2
Significance
2
Read review
Summary

This paper studies whether generated images are more strongly aligned with textual descriptions compared to real images. It provides several experiments to support this claim, and then develops a generated image detector that leverages the overly strong image-text alignment of generated images. The proposed detector is trained with a new loss that encourages the visual encoder to amplify the alignment of generated images, and achieves state-of-the-art performance on several benchmarks. The paper also provides ablation studies to clarify the importance of its new amplified visual features, and its robustness to different encoder backbones and training data size.

Strengths and weaknesses

Strengths:

The paper studies an interesting clue for detecting generated images, their overly strong alignment with text. The paper also develops a generated image detector based on this clue that seems to outperform existing detectors on several benchmarks. The paper provides experiments using different backbones which facilitate its wide adoption, and also provides ablation studies to clarify the sensitivity of its proposed detector.

Weaknesses:

  1. The claim that discriminative features in the joint image-text representation space is underexplored seems misleading because multimodal foundation models do in fact utilize the shared space of text and image features. The paper itself has cited several recent works that use the shared space of text and image to discriminate between real and fake images (lines 24-36).

  2. The paper does not define NDCG@1 and does not explain why it is a good metric for their study. This makes the significance of the results in Figure 1 unclear.

  3. The experiments reported in section 3.3 and figure 2, all lack critical details such as number of samples used, the encoders used to extract features, how image-text matching distributions are computed, and statistical significance analysis. This makes it hard to judge the significance of the reported results.

  4. The paper’s central argument seems to be that generated images are more aligned with text compared to real images. I think this is not correctly tested, because the paper explicitly uses text to generate images, which makes it unsurprising that the text-generated images are more aligned with their respective text. In other words, I think this setup, as described in lines 99-106, is very biased towards generated images. A more appropriate setup is to use generated images and generate captions for them, this can provide a more fair comparison with how human captions for images are produced (i.e., a human captions an image, rather than an artist painting a caption).

  5. Since the model is trained with Flicker data to enhance its representation, it is possible that the observed benefits are stemming from fine tuning the visual encoder on this additional data and not from the newly introduced amplification loss. To quantify this, the paper must provide a baseline where it trains on Flicker data without its new loss (Eq 9) and only keeping the typical text-image alignment loss (Eq 5).

  6. The results in tables 1-3 are very close on the Mean column, which makes it hard to judge the real significance of the proposed method versus incidental advantage over existing benchmarks. To clarify this, the paper must provide confidence intervals and perform significance analysis on its reported Mean column, to ensure its benefits are statistically meaningful.

Questions
  1. Does training on Flicker using only the text-image alignment loss results in any benefit (without the amplification loss)? This helps clarify the importance of the amplification loss versus the importance of additional data.

  2. Can you report statistical analysis for the Mean column on tables 1-3 and report confidence intervals? This clarifies the significance of the average benefit of the new detector versus existing ones.

  3. Does generating captions for images, rather than images for captions, affect the results of your text-image alignment study? Please see weakness number 4 above.

Limitations

The paper does not explicitly discuss limitations, although it does provide ablation studies that step in that direction. In particular, I think the paper lacks a discussion of why it under-performs in certain columns in tables 1-3.

Paper formatting concerns

none.

Final justification

The clarifications and additional results alleviate some of my concerns, particularly my Q1 and Q2 are sufficiently addressed, and I am increasing my score accordingly. I encourage the authors to revised the paper with the additional details in the rebuttal to improve clarity.

However, I am still not convinced by the experiment in response to my Q3 (W4): the metric Δcos(A-B) is not well-defined for A, B defined as matched pairs, it is also unclear to me what the rows on the table mean (Real Image Matching).

1 comment

General response. We thank the reviewer for the careful, constructive review and reply point by point (Q3 in W4, Q1 in W5, Q2 in W6).

W1 (the "underexplored" claim). The reviewer is right that multimodal foundation models use the shared image-text space, and "underexplored" was too strong. Precisely: UnivFD, VIB-Net, and Effort use vision-language models as feature extractors but mainly consume the visual branch, while DE-Fake, CLIPping, AntifakePrompt, and Holmes treat text as an interface for prompt learning, VQA, or explanation (Sec. 2.2). Neither line measures the structural real vs generated difference in the joint space itself, which is what CAS defines. We will revise the wording.

W2 (definition and choice of NDCG@1). Our oversight, added here. In a mixed pool of N real images and their N generated counterparts, each text query ranks all 2N images. M_real is NDCG@1 with the paired real image as target, M_gen likewise. With one relevant item and a rank-1 cutoff, NDCG@1 equals the target's top-1 hit rate, and NAD (Eq. 1) is their normalized difference. Being rank based (L117-119), it is comparable across models with different feature spaces and captures which image the text prefers. Paired bootstrap 95% CIs for NAD (tables in W4) exclude 0 in all main settings.

W3 (details and statistics for Sec. 3.3 and Fig. 2). Some of this is in Appendix A, but Sec. 3.3 never cross-references it. We will fix this. (i) Samples (L483-487): SVD and residual statistics use all 10,000 pairs, matching entropy a fixed 1,000-pair subset to keep the similarity matrix tractable. (ii) Matching distributions (App. A.3): Eqs. 24-29 define the temperature-scaled similarities, softmax distributions, and entropies, and Eq. 30 defines Cohen's d. One true omission: the temperature (0.07) is never stated and will be added. (iii) Encoders: Sec. 3 and Fig. 2 use FLAVA (facebook/flava-full). "DFNCLIP ViT-L/14" in Sec. 5.1 refers only to the CASNet implementation, and App. A.4 adds SigLIP2, DFNCLIP, and CoCa. We will name the backbone in Sec. 3.1 and the Fig. 2 caption. (iv) Significance: we recomputed everything under one protocol (same pairs, backbone, temperature, entropy subset, seed 42), adding paired two-sided Wilcoxon tests, paired bootstrap 95% CIs (1,000 rounds), and effect sizes:

MetricRealGenGen-Real [95% CI]Wilcoxon pd
Paired cosine0.34020.4012+0.0610 [+0.0598, +0.0621]<1e-300+1.15
Residual norm1.14791.0931-0.0548 [-0.0558, -0.0537]<1e-300-1.15
Entropy T→I5.8665.655-0.211 [-0.233, -0.190]1.1e-72-0.51
Entropy I→T5.8745.611-0.263 [-0.289, -0.240]2.9e-85-0.60

The spectral statistics are population-level functionals, so we bootstrap the paired population instead (all values Gen-Real): image-embedding top-10 energy +0.0406 [+0.0386, +0.0425], effective rank -13.08 [-13.31, -12.51], residual top-1 energy +0.0149 [+0.0143, +0.0155], residual effective rank -7.06 [-7.44, -6.64], all more concentrated for generated images. The same features give NDCG@1 0.7012 (gen) vs 0.1035 (real), NAD -148.55 [-151.33, -145.44], the CI requested for Fig. 1.

W4 and Q3 (alignment bias from generating images from the text). We agree the original protocol has two confounds: best-of-10 selection, and evaluation text identical to the generation prompt. We removed each, then ran the reviewer's suggested caption-generation protocol, all on a 1,000-prompt subset (values differ slightly from Fig. 1).

(1) Removing selection. Same prompts, 10 fixed seeds each, only the selection rule varies (N=1 shows the 95% CI half-width):

ModelN=1 (none)Rand-10Best-10
MetaCLIP/SDv1.5-60.6±3.0-61.0-84.4
MetaCLIP/SDXL-128.7±2.9-124.8-141.8
FLAVA/SDv1.5-151.2±4.7-150.1-169.2
FLAVA/SDXL-174.2±4.1-173.0-179.5

A single unselected candidate already shifts significantly. Best-of-10 deepens NAD by only 5.3 to 23.8 points, so selection amplifies the effect but does not create it.

(2) Text the generator never saw. Each Flickr image has five captions. Prompts use only c1 to c3 (one image per prompt, no selection), evaluation uses the held-out c4 and c5:

ModelNAD on c4NAD on c5
MetaCLIP/SDv1.5-19.2 [-33.3, -5.2]-20.3 [-35.4, -5.5]
MetaCLIP/FLUX-17.5 [-31.7, -3.2]-4.0 [-19.5, +11.4]
FLAVA/SDv1.5-114.1 [-127.7, -100.7]-111.3 [-126.1, -95.4]
FLAVA/FLUX-161.4 [-170.4, -152.2]-144.3 [-155.7, -132.7]

7 of 8 cells remain significantly generated-favored (exception: MetaCLIP/FLUX/c5). Abstracting the text into paraphrases (48% vocab kept) and 6-word subject-action phrases (28% kept) weakens but never flips the effect. For example, FLAVA/SDv1.5 goes from -148.2 to -138.6 [-147.6, -128.9] and -105.8 [-119.3, -92.4], with every cell still significant.

(3) Generating captions for images. We take DiffusionDB images (user-written prompts, no relation to any real image, no selection), retrieve a matched real photo from all 31,783 Flickr30k images, and caption both with one BLIP model and decoding setup. Because a caption is biased toward its source image, we use a symmetric cross design where no image meets its own caption: A pairs each generated image with its matched real image's caption, B the reverse. Positive Δcos(A-B) favors generated images:

Real-image matchingMetaCLIP Δcos (d)FLAVA Δcos (d)
Top-1 by image sim.+0.0145 (0.19)+0.0129 (0.18)
Top-1 by text sim. (adversarial)+0.0138 (0.18)+0.0109 (0.15)
Random within top-k+0.0119 (0.20)+0.0121 (0.15)
Random real (control)+0.0081 (0.11)+0.0156 (0.20)

All 8 cells are positive (Wilcoxon p ≤ 4.5e-6). Even with the real image selected to align best with the evaluation text, generated images align more strongly with captions neither image ever saw. On a generator with no text conditioning (class-conditional ADM, 500 same-class pairs, no selection) the direction persists: FLAVA +0.031 [+0.026, +0.036] (d 0.43), MetaCLIP +0.004 [+0.001, +0.008] (d 0.09).

W5 and Q1 (Flickr data or amplification loss?). We trained the requested baseline, matched to the amplified model in data (same 10K Flickr pairs), initialization, freezing, optimizer, warmup, batch size, training budget (identical epochs and steps), seeds, and split. The only change: Eq. 9 removed (weight 0), Eq. 5 kept. Downstream features and detector (same MLP, 3 seeds) also match. Fairness note: the amplified checkpoint is chosen by min Relative-Delta, the amplification criterion itself, so it cannot apply to the control, which instead uses the final epoch with no selection. That checkpoint drifts farthest from z^orig, making it the stronger control. A backup criterion (real-pool validation retrieval) agrees.

SettingDiffusion (8)GAN/AR (10)Commercial (9)All 27 Acc
Alignment-only control (Eq. 5)88.11±0.4785.81±0.5383.64±0.5585.77±0.13
CASNet (Eq. 5 + Eq. 9)91.25±0.4690.36±0.7088.01±0.6189.84±0.54

The overall gap is 4.07 points. For scale, the never-finetuned z^orig baseline under the same 27-generator multi-seed protocol reaches 85.20±0.55, the same level as the control, so Eq. 5 finetuning alone brings almost no detection benefit. Per generator, the full method wins on 26 of 27 (two-sided sign test p = 4.2e-7), median gain +3.56, range -0.15 to +14.75. The sole exception, SDv1.4, is the detector's own training generator, where both saturate (99.72 vs 99.87).

Encoder-level evidence. The mixed-pool Relative-Delta is -70.50% before finetuning (z^orig) and moves to +9.86%, +47.91%, and +53.36% over the control epochs, while real-pair cosine rises from 0.291 to 0.419. The pretrained encoder thus already favors generated images (the CAS property of Sec. 3), Eq. 5 alone pushes the bias the opposite way because it optimizes only real pairs, and only Eq. 9 moves the encoder toward the generated side. The control also drifts far from z^orig (cosine 0.837 real, 0.874 generated) yet gains almost nothing, so the direction of the shift matters, not its magnitude, and Eq. 9 controls it.

W6 and Q2 (CIs and significance for the Mean columns). We retrained the detector with 3 seeds on identical features (mean ± sd below). Accuracy is a mean of 0/1 outcomes with sampling variance p(1-p)/n, averaged over generators and combined with seed variance for the CIs.

(a) Main results:

BenchmarkAcc (3 seeds)AP (3 seeds)
Table 1 diffusion (8)91.25±0.4699.09±0.09
Table 2 GAN and AR (10)90.36±0.7097.02±0.37
Table 3 commercial (9)88.01±0.6195.45±0.19
All 2789.84±0.5497.11±0.18

The published single-run accuracies (91.73, 90.97, 88.05) lie within 1.04, 0.87, and 0.07 sd of these means.

(b) Gains vs run-to-run variability:

BenchmarkAcc gain vs VIB-Net [95% CI]Acc gain vs Effort [95% CI]
Diffusion+3.59 [+3.01, +4.18]+4.08 [+3.49, +4.67]
GAN and AR+0.51 [-0.35, +1.38]-0.59 [-1.44, +0.27]
Commercial+5.44 [+4.51, +6.37]+6.46 [+5.55, +7.37]
All 27+3.07 [+2.41, +3.73]+3.15 [+2.49, +3.80]

On diffusion and commercial generators the gains exceed run-to-run variability many times over. On GAN and autoregressive generators CASNet is on par with the strongest baselines, which we will state explicitly.

Limitations (why some columns underperform). The five weakest columns (Hourglass 73.75±0.84, Midjourney 77.09±2.75, GauGAN 79.05±0.64, ADM 79.63±1.55, CycleGAN 80.09±0.55) form two failure modes. (1) Non-text-conditioned or image-to-image generators (ADM, GauGAN, CycleGAN): as the ADM test in W4 shows, CAS keeps its direction but weakens without text conditioning, leaving detection to the amplified visual feature. (2) Heavily stylized commercial generators (Midjourney, Hourglass) sit farthest from the natural-photo, descriptive-caption Flickr domain used for amplification. Hourglass's low AP shows overlapping real and fake score distributions, a domain shift rather than a threshold issue. We will add this to Limitations.

Reviewer_LDCaOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
4
Quality
3
Significance
3
Read review
Summary

This work aims to address the generalization challenge in AI-generated image detection. The paper observes that, in vision-language representation spaces, AI-generated images tend to exhibit stronger and more regular alignment with paired text than semantically matched real images. The authors refer to this phenomenon as Cross-modal Alignment Shift (CAS), and support it through analyses of retrieval preference, image-text residual structure, spectral concentration, and matching entropy. Based on this observation, the paper proposes CASNet: the method learns an amplified vision-language encoder via a text-guided alignment-shift objective, extracts the representation difference between the original visual encoder and the amplified visual encoder as a CAS-aware cue, and combines this cue with the amplified visual features for real/fake classification. The method is evaluated on diffusion models, GANs, autoregressive models, and recent commercial generators, achieving strong performance compared with multiple recent AI-generated image detection methods.

Strengths and weaknesses

Strengths:

  • The paper studies an important and timely problem. Existing detectors often rely on low-level artifacts or pretrained visual features, which may not generalize well to unseen or high-quality generators. By exploring structural differences between real and generated images in the joint image-text space, the paper provides a valuable and novel perspective. Its central observation, Cross-modal Alignment Shift (CAS), is intuitive and interesting.
  • A strength of the paper is that it supports CAS through analyses from multiple perspectives and with multiple metrics. The authors analyze retrieval preference, image-text residuals, singular-value spectra, and matching entropy. These complementary measurements make the phenomenon more convincing than a simple similarity-score comparison. The analysis across multiple vision-language backbones also helps support the claim that CAS is not merely an artifact of one particular representation space.
  • The proposed method is relatively simple, novel, and well motivated. CASNet first amplifies the generated-image-favored alignment response while preserving real image-text semantic alignment. It then uses the representation increment between the original visual encoder and the amplified visual encoder as an explicit detection cue. This design naturally corresponds to the empirical observation. The ablation study shows that conventional visual evidence and CAS-induced representation changes are complementary.
  • The experimental evaluation is broad and has strong practical relevance. The paper evaluates on diffusion models, GANs, autoregressive generators, and commercial text-to-image systems, and compares with multiple recent baselines. The reported average results are strong, especially on diffusion generators and commercial generators. Robustness experiments under resizing, noise, color jitter, JPEG compression, and blur also provide support for practical detection scenarios.

Weaknesses:

  • Most of the paper’s conclusions are supported by experiments, but several aspects still need clarification and strengthening. First, the construction of paired text-real-generated triplets may introduce some bias. The generated image is directly produced from the merged caption, while the real image is only described by that caption. In addition, the authors generate ten candidate images and keep the one most similar to the real image. This is reasonable for reducing semantic mismatch, but it may also make the generated image exhibit unusually strong alignment with the text. A control experiment using a randomly generated candidate, the original Flickr caption instead of the ChatGPT-merged caption, or a different model for candidate selection would help rule out this concern.
  • The definitions of NDCG@1 and NAD need clearer explanation. Since both the real image and the generated image are semantically related to the same text, it may not be immediately clear to all readers how the target is defined in the mixed candidate pool and how paired real/generated images are handled. Reporting a more direct top-1 preference rate in addition to NAD would make the phenomenon easier to interpret.
  • Some performance claims should be stated more carefully. CASNet achieves the best average performance in several settings, but it is not the best on every individual generator or every metric. I recommend changing broad statements such as “performs best” to “achieves the best average performance” or “performs best on most benchmarks.”
  • The baseline protocol needs more detail. The paper states that all baselines are conducted under the same setting, but it is not fully clear whether all baselines are retrained, whether official checkpoints are used, whether they share the same image resolution and data preprocessing, and whether the same ACC threshold-selection protocol is adopted.
  • The limitations section is useful but could be further expanded. It would be helpful to discuss additional potential failure cases, such as generated images that are intentionally weakly aligned with prompts, adversarially perturbed, or generated from non-text conditions. This would help more clearly define the scope of CAS.
Questions
  • The paired triplet construction uses ChatGPT-merged Flickr captions and selects the most visually similar generated image from ten candidate images. Could the authors report a control experiment where the generated candidate is selected randomly, or where the original Flickr captions are used directly? This would help confirm that CAS is not mainly introduced by the data construction pipeline.
  • Please clarify the exact computation of NDCG@1/NAD. In the mixed candidate pool, are both the paired real image and generated image considered relevant to the text, or is each evaluated separately as the sole target? In addition, reporting a direct top-1 real-image vs. generated-image preference rate is also necessary.
  • How are ACC thresholds selected in the commercial-generator experiments? Are the thresholds fixed, selected on a validation set, or calibrated separately for each dataset? This is important because some models show high AP but lower ACC on specific generators.
  • Is CASNet completely text-free at inference time? My understanding is that the detector only uses the original visual encoder and the amplified visual encoder at test time. Please state this more explicitly in the abstract or method section, as it is important for practical deployment.
  • Please include a brief hyperparameter sensitivity analysis for β\beta and λamp\lambda_{\text{amp}}, or explain how these values were selected.
Limitations

Yes

Paper formatting concerns

No major issues were found.

Final justification

Thank you for the detailed rebuttal. The additional experiments and clarifications adequately address my main concerns, and I will maintain my positive assessment.

1 comment

General response. We thank the reviewer for the positive and constructive assessment. We agree that the original paired construction can amplify the measured shift, and that the metric, comparison protocol, performance claims, inference inputs, and limitations should be stated more precisely. We address each point below. Unless noted, new controls use 1,000 pairs; negative NAD favors generated images, and brackets are paired-bootstrap 95% confidence intervals.

W1 and Q1 (does paired-data construction create CAS?). We isolated both asymmetries: best-of-10 selection and reuse of the generation prompt.

(1) Removing candidate selection. For each Flickr prompt, we generated ten candidates with fixed seeds and changed only the selection rule. N=1 is the mean +/- standard deviation over three generation seeds:

Backbone / generatorN=1 (no selection)Random from 10Best of 10
MetaCLIP / SDv1.5-60.6 +/- 3.0-61.0-84.4
MetaCLIP / SDXL-128.7 +/- 2.9-124.8-141.8
FLAVA / SDv1.5-151.2 +/- 4.7-150.1-169.2
FLAVA / SDXL-174.2 +/- 4.1-173.0-179.5

CAS therefore remains without selection. All N=1 confidence intervals exclude zero. Best-of-10 increases the magnitude by 5.3-23.8 points, so selection amplifies CAS but is not necessary for it.

(2) Evaluation text not used for generation. Each Flickr image has five original human captions. We merged only c1-c3 into the generation prompt, generated one image with no candidate selection, and evaluated with the reserved original captions c4 and c5:

Backbone / generatorc4 NADc5 NAD
MetaCLIP / SDv1.5-19.2 [-33.3, -5.2]-20.3 [-35.4, -5.5]
MetaCLIP / FLUX-17.5 [-31.7, -3.2]-4.0 [-19.5, +11.4]
FLAVA / SDv1.5-114.1 [-127.7, -100.7]-111.3 [-126.1, -95.4]
FLAVA / FLUX-161.4 [-170.4, -152.2]-144.3 [-155.7, -132.7]

The effect is weaker, confirming that prompt reuse increases its magnitude, but 7 of 8 intervals remain generated-favored and exclude zero. As a stronger construction-free check, we also sampled naturally occurring DiffusionDB prompt-image pairs, matched them to independent Flickr photographs, and used a symmetric cross-caption design in which neither image is evaluated with its own caption. All eight backbone/matching comparisons favor generated images (two-sided Wilcoxon p approximately 4.5e-6). We will add these controls and explicitly state that the original construction magnifies, rather than creates, the observed shift.

W2 and Q2 (exact NDCG@1/NAD computation and direct preference rate). For N text-real-generated triplets, each text query ranks one shared pool containing all N real and N generated images. In the same ranking, M_real treats the paired real image as the target and M_gen treats the paired generated image as the target; the other images are non-targets. With one target and cutoff 1, NDCG@1 is exactly a top-1 hit indicator. We report

NAD = 200 * (M_real - M_gen) / (M_real + M_gen).

Thus, NAD below zero means that the paired generated target reaches rank 1 more often. In the main FLAVA/SDv1.5 setting, the direct outcomes are: paired generated image top-1 in 70.12% of queries, paired real image top-1 in 10.35%, and another image top-1 in the remaining 19.53%. This gives NAD = -148.55 [-151.33, -145.44]. We will add both target hit rates next to NAD so the preference is immediately interpretable.

W3 (scope of performance claims). We agree and will replace unqualified statements such as "performs best" with the precise claim: CASNet achieves the best average performance on the diffusion and recent-commercial suites and is competitive with the strongest baselines on GAN/autoregressive generators. In the three-seed analysis, its gains over VIB-Net are +3.59 [3.01, 4.18] points on diffusion and +5.44 [4.51, 6.37] on commercial generators, while the GAN/autoregressive difference is +0.51 [-0.35, 1.38] and is not statistically distinguishable. We will also identify the individual columns where another method is stronger.

W4 and Q3 (baseline protocol and ACC threshold). We will replace the blanket phrase "same setting" with a per-method protocol table. All methods use identical training/test splits and identical test-image lists. We use each baseline's official implementation and preserve its prescribed input resolution and normalization; when an official SDv1.4 checkpoint is available we evaluate it directly, and otherwise retrain the official code on the same SDv1.4 split. The revision will mark checkpoint versus retraining for every row instead of leaving this implicit.

All ACC values, including every commercial generator, use one fixed fake-probability threshold of 0.5. The threshold is not selected on commercial data and is never calibrated per dataset or per generator. AP is threshold-free; therefore, high AP with lower ACC on some commercial sources reflects score calibration/domain shift under this fixed operating point, not per-dataset threshold tuning.

Q4 (text-free inference). Yes. Text is used only while learning the amplified encoder. At inference, an input image is passed through the frozen original visual encoder and the amplified visual encoder; their difference is concatenated with the amplified visual representation and classified by the MLP. No prompt, caption, text encoder, retrieval database, or language model is required. We will state this explicitly in the abstract and Sec. 4.3.

Q5 (hyperparameter sensitivity). We swept beta, margin m, and lambda_amp one factor at a time; entries are overall Acc/AP (mean over three detector seeds):

Parameter valuesAccAP
beta = 0.25 / 0.50 / 1.0089.84 / 90.15 / 90.2496.82 / 97.60 / 97.23
m = 0.00 / 0.02 / 0.0590.15 / 90.02 / 89.7397.60 / 97.01 / 96.70
lambda_amp = 0.50 / 1.00 / 2.0089.91 / 90.15 / 90.2096.93 / 97.60 / 97.19

Accuracy spans only 0.51 points and AP 0.90 points, comparable to run-to-run variation, indicating mild sensitivity around the default (beta=0.5, m=0, lambda_amp=1). We also agree with Reviewer KypD's technical observation: because Eq. (9) averages over the selected set, beta is a Bernoulli sampling probability that affects update frequency and gradient variance, not the conditional average penalty strength. We will correct this interpretation and describe lambda_amp as the direct loss weight.

W5 (expanded limitations and failure cases). We will narrow the scope of the claim: CAS is strongest and most consistent for text-conditioned generation; it is weaker and backbone-dependent for class-conditioned and unconditional generators. Correspondingly, CASNet can be weaker for non-text-conditioned or image-to-image generators (e.g., ADM, GauGAN, and CycleGAN), prompt-weak or deliberately prompt-misaligned images, edits/composites, adversarial perturbations, and camera recapture. Strong style/domain shifts can also affect calibration, as seen on Midjourney and Hourglass. In these cases, the detector may rely more on the conventional visual evidence in the amplified feature than on the alignment-shift increment. These cases and the original construction dependence will be added explicitly to Limitations.

Reviewer_KypDOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies AI-generated image detection through differences between real and generated images in vision–language representation spaces. It introduces the notion of Cross-modal Alignment Shift (CAS), motivated by the observation that generated images tend to align more strongly and more concentratedly with associated text than semantically similar real images. The paper analyzes this phenomenon using paired retrieval preference, image–text residual norms and spectra, effective representation rank, and matching-distribution entropy across several vision–language backbones.

Based on this observation, the authors propose CASNet. An initially pretrained vision–language encoder is adapted using paired text–real–generated triplets. A contrastive loss on real image–text pairs is intended to preserve semantic alignment, while an alignment-amplification objective encourages the generated image in selected triplets to exhibit stronger and more concentrated alignment with associated text than its paired real image. At inference, the method does not require text: it extracts an image representation from both the original and amplified visual encoders, computes their difference as an alignment-shift increment, concatenates this increment with the amplified representation, and trains an MLP for real/fake classification.

Strengths and weaknesses
  1. The paper presents an interesting perspective on generated-image detection. Rather than introducing another low-level artifact representation, it asks whether generative conditioning creates a systematic structure in the joint image–text space. This is a meaningful and potentially reusable direction, particularly as visual artifacts become weaker for newer generators. The analysis using retrieval preference, residual structure, effective rank, and matching entropy is broader than relying on a single alignment score. The authors also repeat parts of the analysis across multiple vision–language backbones, which provides evidence that the reported behavior is not unique to one encoder.
  2. The proposed detector is conceptually understandable and reasonably well organized. The evaluation covers a broad collection of generators, and the diffusion and recent-commercial-generator results are generally strong. The robustness evaluation is also valuable, as post-processing is relevant to practical synthetic-image detection.
  3. My main concern, however, is that the current construction does not convincingly establish CAS as an intrinsic property of generated images rather than a consequence of the paired-data-generation protocol. Each synthetic image is generated directly from a description produced by merging captions of the corresponding real image. Ten candidates are then generated, and the candidate most similar to the real image according to a cosine-similarity criterion is retained. Thus, the synthetic image is explicitly produced from the evaluation text and additionally selected from multiple candidates. The real image, in contrast, was captured independently and is only imperfectly summarized by the captions. Higher text alignment, lower matching entropy, and lower-dimensional variation are therefore plausible consequences of this asymmetric construction. Selecting the best of ten candidates may further reduce variation in the generated set and strengthen precisely the spectral and retrieval effects presented as evidence for CAS.
  4. The paper currently lacks the controls needed to separate this construction effect from the proposed general phenomenon. Important controls would include using the first randomly generated candidate rather than the best of ten, varying the number of candidates, evaluating captions that were not used to generate the synthetic image, and testing naturally occurring prompt–image pairs alongside semantically matched real images from an independent retrieval procedure. It would also be useful to test unconditional or class-conditioned generators separately. The proposed explanation is most directly applicable to text-conditioned generation, whereas the paper makes broader statements spanning GANs and other generators.
  5. A related concern is the interpretation of the learned representation. The paper emphasizes that the CAS visualization is not produced by a binary classification objective. Nevertheless, the amplified encoder is learned using explicitly labeled real/generated triplets. The amplification loss treats the real and generated members differently and pushes their alignment responses in opposite relative directions. The resulting feature is therefore learned through a supervised real-versus-generated signal, even though that supervision is expressed as an alignment-ranking constraint rather than binary cross-entropy. The feature visualization cannot, by itself, establish that the separation reflects a naturally occurring CAS property rather than the label-informed adaptation objective.
  6. There is also a technical issue with the interpretation of the Bernoulli parameter β. Equation (9) averages the alignment gaps over the sampled active set B, dividing by |B|. Consequently, Bernoulli subsampling does not generally scale the expected penalty magnitude in proportion to β; it primarily changes the sampled examples and gradient variance, provided set B is nonempty. This does not match the statement that β controls the penalty strength. The paper should either revise this interpretation or use a formulation whose expected weighting is explicitly controlled.
Questions
  1. Can the authors rule out the paired-data-construction confound? Please report CAS measurements when using a randomly chosen generated candidate rather than the most similar of ten, and preferably for several candidate counts such as 1, 2, 5, and 10. A second useful control would evaluate captions or text descriptions that were not used as generation prompts. These experiments would determine whether CAS is a general representational property or primarily an expected result of conditioning and candidate selection. My score could increase if the effect remains substantial and statistically reliable under these controls.
  2. Which model computes the cosine similarity used for candidate selection, and how is selection-induced bias or circularity avoided? Please state the exact encoder, preprocessing, and selection protocol. If this model is the same as, derived from, or strongly related to any backbone used in the CAS analysis, please repeat the analysis using an independent selection criterion or no selection.
  3. How stable are the detector and amplification results across random runs? Please provide mean and standard deviation or bootstrap confidence intervals for the principal mean results in Tables 1–3 and for the ablations in Tables 4–6, using at least three seeds where feasible. In particular, please explain why the 30K amplification setting is worse than the 1K–10K settings. Evidence that the reported gains exceed run-to-run variability would improve my evaluation.
  4. Please clarify the amplification objective and its hyperparameters. Since Equation (9) normalizes by |B|, why is Bernoulli probability β described as controlling penalty strength rather than sampling variance? Please report the proportion of active samples over training and a compact sensitivity study for β, m, and λ_{amp}). A hinge-style formulation or an explicitly weighted loss may make the intended effect clearer.
Limitations

The authors should discuss that the observed alignment shift may depend on using text-conditioned generation, captions that are also used as generation prompts, and best-of-multiple candidate selection. They should also discuss reduced applicability to unconditional, class-conditioned, image-to-image, edited, composited, or camera-recaptured content.

Paper formatting concerns

No.

Final justification

The rebuttal directly addresses my main validity concern by showing that CAS persists after removing best of 10 selection, using held-out or paraphrased text, and evaluating naturally occurring prompt-image pairs. The added multiseed results and the more careful interpretation of the method further strengthen the evidence. I therefore raise Quality from 2 to 3 and the overall rating from 3 to 4, while keeping the other ratings unchanged.

1 comment

Response to Reviewer KypD

We thank the reviewer for the careful review. We completed the requested experiments and analyses across multiple seeds. Unless noted, new controls use 1,000 pairs. Negative NAD favors generated images. Brackets report paired bootstrap 95% confidence intervals.

W3, Q1, and Q2: Does data construction create CAS?

Candidate selection

For each Flickr prompt, we generated 10 candidates with fixed seeds and changed only the selection rule. N=1 reports mean ± standard deviation across three generation seeds.

Backbone / generatorN=1Random from 10Best of 2Best of 5Best of 10
MetaCLIP / SDv1.5-60.6±3.0-61.0-67.5-76.0-84.4
MetaCLIP / SDXL-128.7±2.9-124.8-134.8-135.4-141.8
FLAVA / SDv1.5-151.2±4.7-150.1-156.0-162.2-169.2
FLAVA / SDXL-174.2±4.1-173.0-177.0-180.8-179.5

CAS remains without selection. All N=1 paired bootstrap intervals exclude zero. Best of 10 increases |NAD| by 5.3 to 23.8 points, and 27 of 28 auxiliary N=1 comparisons also follow the CAS direction. Selection amplifies CAS but is not necessary for it.

The selector was openai/clip-vit-large-patch14, with its released preprocessing and L2 normalized image embeddings. It chose the candidate with the highest image cosine similarity to the real photograph. It used no text or CAS statistic and was not an analysis backbone. We will add exact preprocessing and seeds. N=1 and random selection remove selection effects, while FLAVA is independent of CLIP in architecture and objective.

Evaluation text not used for generation

Each Flickr image has five human captions (c1-c5). We merged c1-c3 into the generation prompt, generated one image without selection, and evaluated it using the reserved captions c4 and c5.

Backbone / generatorc4 NADc5 NAD
MetaCLIP / SDv1.5-19.2 [-33.3, -5.2]-20.3 [-35.4, -5.5]
MetaCLIP / FLUX-17.5 [-31.7, -3.2]-4.0 [-19.5, 11.4]
FLAVA / SDv1.5-114.1 [-127.7, -100.7]-111.3 [-126.1, -95.4]
FLAVA / FLUX-161.4 [-170.4, -152.2]-144.3 [-155.7, -132.7]

The weaker effect supports the concern that prompt reuse increases its magnitude. However, CAS remains significant overall, especially for FLAVA, and 7 of 8 intervals exclude zero.

We also used an LLM that saw neither image to rewrite the evaluation text. A full paraphrase (L1) retained 48% of prompt tokens. L2 kept only the subject and action, averaged six words, and retained 28%. At each level, all four intervals remained below zero. Under L2, NAD ranged from -139.3 to -18.6. Lexical overlap affects magnitude but does not fully explain CAS.

Backbone / generatorL0 prompt (reference)L1 paraphraseL2 subject + action
MetaCLIP / SDv1.5-63.1-45.2 [-58.1, -32.8]-18.6 [-33.3, -4.0]
MetaCLIP / FLUX-126.4-110.2 [-120.9, -99.5]-81.7 [-94.4, -69.3]
FLAVA / SDv1.5-148.2-138.6 [-147.6, -128.9]-105.8 [-119.3, -92.4]
FLAVA / FLUX-182.4-176.3 [-182.1, -170.0]-139.3 [-149.5, -128.3]

Naturally occurring prompt and image pairs

We sampled 1,000 DiffusionDB images whose prompts were written by users and were not derived from real photographs. SigLIP2 retrieved matches from all 31,783 Flickr30k photographs. We used a symmetric comparison with the caption of the matched image on the opposite side:

A = cos(generated image, caption of its matched real image)

B = cos(real image, caption of its matched generated image)

The same BLIP model and decoding produced all captions, and no image used its own caption. Positive A-B favors the generated image.

Real image matching protocolMetaCLIP Δcos (d)FLAVA Δcos (d)
Top 1 by image similarity0.0145 (0.19)0.0129 (0.18)
Top 1 by text similarity0.0138 (0.18)0.0109 (0.15)
Random from retrieved shortlist0.0119 (0.20)0.0121 (0.15)
Random real image0.0081 (0.11)0.0156 (0.20)

All eight differences are positive, with Wilcoxon p≤4.5e-6. The effects are small but consistent, including matching by text, which is less favorable to generated images.

Q3: Stability across random seeds

We retrained CASNet with three seeds and report mean ± standard deviation. ΔAcc intervals include seed and paired test set variation.

BenchmarkAccAPΔAcc vs VIB-NetΔAcc vs Effort
Diffusion, 8 models91.25±0.4699.09±0.093.59 [3.0, 4.2]4.08 [3.5, 4.7]
GAN/AR, 10 models90.36±0.7097.02±0.370.51 [-0.4, 1.4]-0.59 [-1.4, 0.3]
Commercial, 9 models88.01±0.6195.45±0.195.44 [4.5, 6.4]6.46 [5.6, 7.4]
All 27 models89.84±0.5497.11±0.183.07 [2.4, 3.7]3.15 [2.5, 3.8]

Diffusion and commercial gains exceed variation across runs. On GAN/AR, CASNet is statistically tied with VIB-Net and Effort, so we will call it competitive rather than superior.

The Table 4 representation ablation is also stable. Overall Acc is 85.20±0.55 for z_orig, 87.49±0.58 for z_amp, 83.96±0.63 for Δz, and 90.15±0.62 for Concat(z_amp, Δz). Relative to z_orig, Δz improves diffusion Acc by 2.30 points but reduces GAN/AR Acc by 5.28. Adding Δz to z_amp still improves GAN/AR Acc by 2.45, supporting complementarity.

For Table 5, the four mean accuracies across three seeds span only 0.21 points, and every interval relative to SDv1.5 includes zero. We will add the full table.

For Table 6:

Amplification samplesDiffusion AccGAN/AR AccOverall Acc
1K91.30±0.5589.26±0.9690.35±0.73
5K91.08±0.5088.95±0.8790.09±0.66
10K91.25±0.4688.90±0.8390.15±0.62
30K89.88±0.5586.28±0.9188.20±0.70

The 1K, 5K, and 10K means differ by at most 0.26 points and all exceed 30K by about two points. The 10K versus 30K interval is [1.09, 2.80]. With fixed epochs, 30K receives three times as many steps as 10K, so this is not a pure sample count ablation. The larger GAN/AR decline, 2.62 versus 1.37 points, is consistent with overadaptation. The encoder may amplify too strongly and drift from its general pretrained representation.

W5: Interpretation of Figure 5

We agree. The amplified encoder knows whether each triplet member is real or generated, so Figure 5 cannot establish natural CAS. That evidence comes from frozen public encoders and the controls above. We will use Figure 5 only to visualize the learned amplification representation.

W6 and Q4: Meaning of β and objective sensitivity

The reviewer is correct. Conditional on nonempty B, normalization by |B| means β does not scale the average penalty. Instead, β subsamples eligible examples and changes gradient variance. Because Eq. (9) returns zero when B is empty, β also changes update frequency. λ_amp directly weights the loss, while m determines eligibility.

SettingEligible %Active %AccAP
Default8.424.1990.15±0.6297.60±0.23
β=0.259.602.4189.84±0.7196.82±0.42
β=1.007.637.6390.24±0.5997.23±0.31
m=0.025.742.8690.02±0.6597.01±0.36
m=0.052.681.3389.73±0.7896.70±0.47
λ=0.510.185.0889.91±0.6896.93±0.40
λ=2.06.713.3490.20±0.6197.19±0.33

On the Table 4 benchmark, Active is approximately β times Eligible. Acc spans 0.51 points and AP spans 0.90, comparable to standard deviations across seeds. This indicates mild sensitivity. We agree that an explicitly weighted or hinge style loss expresses the intended role more directly than a Bernoulli mask. We will present the objective in this form in the revision.

Limitations beyond generation conditioned on text

On the ADM subset, which is conditioned on ImageNet classes, the same symmetric caption test remains positive but weaker. FLAVA gives Δcos=0.031 [0.026, 0.036], d=0.43, while MetaCLIP gives Δcos=0.004 [0.001, 0.008], d=0.09.

BackboneΔcos [95% CI]dp
FLAVA+0.031 [+0.026, +0.036]0.434e-31
MetaCLIP+0.004 [+0.001, +0.008]0.098e-3

For the unconditional ProGAN, we tested a photo of a {name}, a {name}, and an image of a {name}. MetaCLIP is positive for all three, with Δcos from 0.008 to 0.017 and 15 to 19 of 20 classes in the same direction. FLAVA is negative for two, with Δcos from -0.010 to 0.007. Beyond the absence of text conditioning, other factors may contribute. The 256 × 256 ProGAN samples show visible quality degradation, and their greater homogeneity within each class may also affect the results.

We will narrow our claim. CAS is strongest and most consistent for generation conditioned on text. For generators conditioned on class labels and unconditional generators, it is weaker and backbone dependent. CASNet may then rely more on visual information in z_amp than on alignment shift alone. We will state this limitation explicitly.

Comments on the paper

1 comment
Meta-review

The paper identifies a novel phenomenon in AI-generated image detection: in the joint image-text representation space of vision-language models, generated images tend to exhibit stronger and more concentrated alignment with their textual descriptions than semantically matched real images, which is termed Cross-modal Alignment Shift (CAS). Building on this observation, the authors propose CASNet, which preserves semantic alignment while encouraging generated images to exhibit stronger text alignment than their paired real images. The method is evaluated extensively across diffusion models, GANs, autoregressive models, and commercial generators, achieving state-of-the-art average performance.

All three reviewers acknowledge that exploring the joint image-text representation space for AIGI detection is meaningful. The phenomenon of CAS is well analyzed, and the detection performance is well verified by experiments. However, the data construction confound is the main concern, specifically: asymmetric construction and candidate selection. There are some other issues: 1) technical issues with the Bernoulli parameter β; 2) performance is not uniformly best; 3) limited discussion of failure cases.

The authors addressed the concerns in the rebuttal period.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.