potentialpaper

Stability-Weighted Direction Regularization Disentangles Generator Shortcuts from Detection Signal

Jang-Ho Choi, Seongho Kim, Jaehyun Choi, Dahye Kim, Sungwon Yi, Eunho Yang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. StaR scores generator-discriminative LDA directions by leave-one-generator-out stability and penalizes the classifier along the unstable ones, improving unseen-generator detection on CLIP and making it far less seed-sensitive on ResNet.

Abstract. AI-generated image detectors often fail on unseen generators because the classifier relies on generator-specific feature directions that are predictive only on the training set. These generator-discriminative linear discriminant analysis (LDA) directions also carry real-vs-fake signal, so removing all of them after training discards detection evidence together with the shortcuts. We introduce StaR, a training-time regularizer that scores each LDA direction by its stability under leaving one training generator out and penalizes the classifier's alignment with low-stability directions, in proportion to their instability (continuous form) or below a stability threshold (thresholded form). On a CLIP detector trained on a generator-diverse corpus, the continuous form significantly improves the average out-of-distribution AUC over four benchmarks relative to the same detector trained without the penalty, and also improves over EFFORT. On a ResNet detector, the thresholded form makes out-of-distribution performance far less sensitive to the training seed, with no significant change in the mean. Post-hoc projection of the same directions onto frozen features, on the other hand, does not reproduce these training-time effects. StaR moves the classifier away from unstable generator directions while concentrating, rather than erasing, generator-discriminative structure in the features.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
15 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper aims to resolve the generalization issue of AI-generated image detection for unseen generators by the proposed training-time regularizer, StaR, to find the stable LDA direction through scoring. The paper received mixed ratings: two borderline accepts (haMA and fbze) and one borderline reject (re8b). All reviewers agreed that the paper is well written, easy to understand, and supported by a substantial set of experiments. However, they raised several concerns that should be addressed in the rebuttal.

Reviewer haMA: the reviewer raised four technical questions. First, Eq. 1 defines the stability score using the worst-case alignment, namely the minimum across held-out generators. The reviewer requests additional comparisons using aggregate statistics such as the mean or median. Second, the main experiments use the binary threshold (1[s_i < t]), rather than the continuous ((1-s_i)) weighting introduced in Eq. 2. Consequently, directions with stability scores of 0.69 and 0.77 receive the same penalty as a direction with a score of 0.09, despite the argument in Section 3 that more stable directions contain stronger transferable detection signals. The reviewer asks why discarding this graded stability ranking during penalization is preferable.Third, the reviewer questions whether the per-vector, index-matched stability score is robust to eigenvector reordering or near-degenerate singular values. They suggest that subspace-level principal angles between the full and leave-one-generator-out spans may provide a more reliable stability measure. Fourth, the reviewer identifies a potential confounding effect from the number of training generators (K), which is fixed at (K=5) for ResNet and (K=7) for CLIP and is therefore confounded with the backbone and dataset. Since the full between-class scatter matrix has rank (K-1), while each leave-one-generator-out matrix has rank at most (K-2), the lowest-ranked direction in the full basis may be compared with a counterpart that cannot exist in the reduced basis. Its apparent instability may therefore be partly caused by this rank mismatch rather than by a genuine generator-specific shortcut. The reviewer recommends restricting the comparison to the shared (K-2)-dimensional subspace, reporting a rank-matched null baseline, or varying (K) to verify that the observed stability ordering is not an artifact of generator count.

Reviewer re8b: the reviewer expressed concern about the strength and novelty of the contribution. In particular, the paper’s central claim (i.e., stable directions capture transferable detection signals, whereas unstable directions correspond to generator-specific shortcuts) is supported primarily by empirical evidence and lacks a strong theoretical foundation.

Reviewer fbze: the reviewer raised three additional concerns. First, the method requires generator-level labels during training, which may not be available in practical deployments or weakly supervised settings. The reviewer asks whether StaR could instead use clustering or self-supervised grouping when generator identities are unknown. Second, although the CLIP results show promising trends, they are based on only four random seeds (n=4), and the paper itself notes that the per-OOD paired tests are not confirmatory. The reviewer therefore recommends experiments with additional seeds. Third, given the reported state-of-the-art performance, the reviewer asks whether the authors plan to release the implementation.

All reviewers also recommend to put the full name of abbreviation first before using it, such as LDA and ERM.

Final justification

After the rebuttal, all reviewers agreed that the authors had adequately addressed most of the concerns raised during the review process, reaching an overall positive consensus with one accept and two borderline-accept ratings. Therefore, the paper is recommended for acceptance.

Moreover, the authors are encouraged to incorporate the additional experimental results presented in the rebuttal into the final manuscript. In addition, as suggested by Reviewer Re8b, providing more rigorous theoretical support would further strengthen the technical foundation and overall quality of the paper.

Area Chair sD6j · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper aims to resolve the generalization issue of AI-generated image detection for unseen generators by the proposed training-time regularizer, StaR, to find the stable LDA direction through scoring. The paper received mixed ratings: two borderline accepts (haMA and fbze) and one borderline reject (re8b). All reviewers agreed that the paper is well written, easy to understand, and supported by a substantial set of experiments. However, they raised several concerns that should be addressed in the rebuttal.

Reviewer haMA: the reviewer raised four technical questions. First, Eq. 1 defines the stability score using the worst-case alignment, namely the minimum across held-out generators. The reviewer requests additional comparisons using aggregate statistics such as the mean or median. Second, the main experiments use the binary threshold (1[s_i < t]), rather than the continuous ((1-s_i)) weighting introduced in Eq. 2. Consequently, directions with stability scores of 0.69 and 0.77 receive the same penalty as a direction with a score of 0.09, despite the argument in Section 3 that more stable directions contain stronger transferable detection signals. The reviewer asks why discarding this graded stability ranking during penalization is preferable.Third, the reviewer questions whether the per-vector, index-matched stability score is robust to eigenvector reordering or near-degenerate singular values. They suggest that subspace-level principal angles between the full and leave-one-generator-out spans may provide a more reliable stability measure. Fourth, the reviewer identifies a potential confounding effect from the number of training generators (K), which is fixed at (K=5) for ResNet and (K=7) for CLIP and is therefore confounded with the backbone and dataset. Since the full between-class scatter matrix has rank (K-1), while each leave-one-generator-out matrix has rank at most (K-2), the lowest-ranked direction in the full basis may be compared with a counterpart that cannot exist in the reduced basis. Its apparent instability may therefore be partly caused by this rank mismatch rather than by a genuine generator-specific shortcut. The reviewer recommends restricting the comparison to the shared (K-2)-dimensional subspace, reporting a rank-matched null baseline, or varying (K) to verify that the observed stability ordering is not an artifact of generator count.

Reviewer re8b: the reviewer expressed concern about the strength and novelty of the contribution. In particular, the paper’s central claim (i.e., stable directions capture transferable detection signals, whereas unstable directions correspond to generator-specific shortcuts) is supported primarily by empirical evidence and lacks a strong theoretical foundation.

Reviewer fbze: the reviewer raised three additional concerns. First, the method requires generator-level labels during training, which may not be available in practical deployments or weakly supervised settings. The reviewer asks whether StaR could instead use clustering or self-supervised grouping when generator identities are unknown. Second, although the CLIP results show promising trends, they are based on only four random seeds (n=4), and the paper itself notes that the per-OOD paired tests are not confirmatory. The reviewer therefore recommends experiments with additional seeds. Third, given the reported state-of-the-art performance, the reviewer asks whether the authors plan to release the implementation.

All reviewers also recommend to put the full name of abbreviation first before using it, such as LDA and ERM.

Final justification

After the rebuttal, all reviewers agreed that the authors had adequately addressed most of the concerns raised during the review process, reaching an overall positive consensus with one accept and two borderline-accept ratings. Therefore, the paper is recommended for acceptance.

Moreover, the authors are encouraged to incorporate the additional experimental results presented in the rebuttal into the final manuscript. In addition, as suggested by Reviewer Re8b, providing more rigorous theoretical support would further strengthen the technical foundation and overall quality of the paper.

Reviewer fbzeOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper addresses OOD generalization in AI-generated image detection. It uses leave-one-generator-out LDA direction stability to separate stable cross-generator detection signals from unstable generator shortcuts. During training, it only penalizes the projection of the classification head onto unstable directions. The main motivation is clear. The paper is well written, and the experiments are fairly comprehensive.

Strengths and weaknesses

The main motivation is clear. The paper is well written, and the experiments are fairly comprehensive. However, there are still several issues.

  1. The method relies on generator labels during training. Such fine-grained labels may not be available in real-world deployment or weakly supervised settings. If generator-level labels are unavailable, can StaR use clustering or self-supervised grouping as an alternative?
  2. The CLIP results are promising in trend, but the number of seeds is limited, with only n = 4. The authors also state that the per-OOD paired tests are not confirmatory. More experiments with additional seeds are suggested.
  3. The proposed method achieves SOTA performance. Do the authors plan to release the code?
  4. Some descriptions in the paper show clear signs of AI-generated writing. The authors are advised to revise and polish these parts.
Questions
  1. The method relies on generator labels during training. Such fine-grained labels may not be available in real-world deployment or weakly supervised settings. If generator-level labels are unavailable, can StaR use clustering or self-supervised grouping as an alternative?
  2. The CLIP results are promising in trend, but the number of seeds is limited, with only n = 4. The authors also state that the per-OOD paired tests are not confirmatory. More experiments with additional seeds are suggested.
  3. The proposed method achieves SOTA performance. Do the authors plan to release the code?
  4. Some descriptions in the paper show clear signs of AI-generated writing. The authors are advised to revise and polish these parts.
Limitations

Yes

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for three practical questions and answer each with new experiments.

Q1 Generator labels, and clustering as an alternative. Deployment requires no labels of any kind, and we ran the requested experiment with coarser grouping signals. Coarse family labels, extended to 8 seeds for this response, retain most of the point-estimate gain though not yet significance against ERM. Feature clustering at purity 0.50 trains stably but does not preserve the gain. Labels are used only during training, as in standard shortcut-mitigation setups such as Group-DRO and DFR. Applying the trained detector to unseen generators needs no generator information. To test weaker supervision we replaced the generator labels at the headline configuration (2S CLIP, λ=19\lambda=19, matched seeds) with progressively coarser grouping signals.

grouping signal purity Avg4 Δ vs ERM (Welch p)
true generator labels 1.00 0.8548 ± 0.0108 (n=8) +1.11pt (p=0.044)
metadata family labels (GAN / pixel-diffusion / latent-diffusion / commercial) coarse 0.8523 ± 0.0088 (n=8) +0.86pt (p=0.078)
k-means clusters, k=7k=7 0.50 0.8335 ± 0.0085 (n=4) −1.02pt (p=0.10)
CLIP-ERM reference (n=8) 0.8437 ± 0.0093

The gain tracks grouping quality. Family labels, obtainable from dataset metadata without per-generator identities, retain about 77% of the true-label point gain at matched seed counts, with no detectable difference from true labels at this sample size (p=0.62), while the difference from ERM remains marginal (table above), so we describe it as a strong direction rather than a confirmed gain. Unsupervised k-means at purity 0.50 recovers generator families rather than identities (its clusters merge related generators) and does not recover the gain, and over-clustering the feature space is harmful. We will present this as a limitation with a path: StaR needs source groups of reasonable purity rather than generator identities, and coarse family metadata is the most promising option so far, supported at 8 seeds by the point estimate, with significance still open.

Q2 Seed count. We extended all four arms to 8 runs per method under one evaluation pipeline.

method, n=8 Avg4 Synth WildRF COCOAI LDM-FD
2S-StaR, binary (submitted) 0.8548 ± 0.0108 0.926 ± 0.016 0.892 ± 0.026 0.682 ± 0.004 0.919 ± 0.016
2S-StaR, continuous (1−si)(1-s_i) 0.8616 ± 0.0086 0.928 ± 0.017 0.905 ± 0.016 0.684 ± 0.006 0.929 ± 0.010
CLIP-ERM 0.8437 ± 0.0093 0.913 ± 0.015 0.858 ± 0.025 0.681 ± 0.005 0.922 ± 0.014
EFFORT 0.8160 ± 0.0150 0.890 ± 0.018 0.829 ± 0.025 0.673 ± 0.006 0.871 ± 0.023

A protocol clarification on what "eight seeds" means here. The two-stage runs share one ERM warm start and vary the stage-2 seed, while the eight ERM runs are trained independently. Cross-arm pairing is therefore nominal, and we report unpaired Welch tests. The StaR spread reflects stage-2 randomness conditional on the shared warm start. All mean-comparison tests are two-sided:

comparison Δ Welch p
binary StaR vs ERM (submitted form) +1.11pt 0.044 (we do not treat this as established)
continuous StaR vs ERM +1.79pt 0.0014
continuous StaR vs ERM, WildRF alone +4.68pt 0.0008
continuous, leave-one-run-out sensitivity p ≤ 0.004 in all 16 drop cases
continuous, seeds 4 to 7 only (trained after the config was frozen) +1.71pt out-of-sample check
binary StaR vs EFFORT +3.89pt <0.0001, significant on each benchmark

The gain concentrates on WildRF, which is what the platform-shift motivation predicts. Table 2, the paper's CLIP comparison, will be updated to these n=8 values.

Q3 Code release. The anonymized supplement already contains the full training and evaluation pipeline with configs. We commit to a public repository on acceptance, including the scripts behind every number in these responses, excluding only deployable detector weights, consistent with the paper's Broader Impacts section.

Q4 Writing. We will do a full manual prose pass that removes repeated stock phrases, dense parentheticals and duplicated caveats without changing any technical content.

Reviewer Re8bOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
2/4
Significance
2/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes StaR, a training-time regularization framework for improving OOD generalization in AI-generated image detection. The key idea is to compute generator-discriminative LDA directions, estimate their leave-one-generator-out stability, and penalize the classifier’s projection onto unstable directions. Experimental results demonstrate the effectiveness of the proposed method.

Strengths and weaknesses

Strengths

  • The core idea is simple, intuitive, and easy to understand.

  • The proposed regularization term is straightforward to implement and introduces minimal additional complexity.

  • The experimental results consistently demonstrate the effectiveness of the method across multiple benchmarks and architectures.

Weaknesses

  • The overall contribution appears limited. The proposed method is essentially a stability-weighted regularization term applied to LDA directions. While the empirical results are promising, the paper does not establish a strong theoretical foundation to support its central claims.

  • The key hypothesis—that stable directions correspond to transferable detection signals while unstable directions correspond to generator-specific shortcuts—is supported primarily through empirical observations. The diagnosis and methodology are largely empirical in nature, with limited theoretical analysis explaining why the proposed stability measure should reliably separate useful features from spurious correlations.

  • The presentation could be improved. Several abbreviations are introduced in the Introduction and Related Work sections without first defining their full names, making the paper less accessible to readers who are not already familiar with the literature.

  • The introduction jumps directly into the proposed problem setting and technical motivation. Providing more background on AI-generated image detection, generator shortcuts, and existing mitigation strategies would help readers better understand the context and significance of the work.

Questions

Can the authors provide some mathematical insights to support their method?

Limitations

yes

Final justification

I thank authors for their detailed responses. I remain my score as that I still have concerns on its overall contribution.

Formatting concerns

n/a

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer. The request for mathematical insight is fair, and we answer it with a perturbation-theoretic argument and a controlled synthetic validation with known ground truth, while keeping the paper's claims explicitly empirical.

Q1/W2 Why leave-one-generator-out stability should separate shared signal from generator-specific shortcuts. In plain terms, a direction whose variance is contributed by all generators barely moves when any one generator is removed, while a direction owned by a single generator cannot survive that generator's removal. We make both statements precise below.

Model the between-generator centroid scatter as SB=∑gdgdg⊤S_B=\sum_g d_g d_g^\top, where dgd_g is the centered centroid of generator gg. Removing generator jj, including the re-centering of the remaining centroids, changes the scatter by exactly ΔSj=KK−1djdj⊤\Delta S_j=\frac{K}{K-1}d_j d_j^\top. The derivation takes two lines, so we give it here rather than assert it. Re-centering shifts each remaining centroid to dg(−j)=dg+djK−1d_g^{(-j)}=d_g+\frac{d_j}{K-1}, and using ∑gdg=0\sum_g d_g=0 we get SB(−j)=∑g≠jdg(−j)dg(−j)⊤=SB−djdj⊤−2K−1djdj⊤+1K−1djdj⊤=SB−KK−1djdj⊤S_B^{(-j)}=\sum_{g\neq j}d_g^{(-j)}d_g^{(-j)\top}=S_B-d_jd_j^\top-\frac{2}{K-1}d_jd_j^\top+\frac{1}{K-1}d_jd_j^\top=S_B-\frac{K}{K-1}d_jd_j^\top. Every leave-one-out scatter is therefore a rank-one downdate of the full one, and its eigenvalues interlace those of SBS_B. We write (λi,vi)(\lambda_i,v_i) for the eigenpairs of SBS_B and γi=min⁡m≠i∣λi−λm∣\gamma_i=\min_{m\neq i}|\lambda_i-\lambda_m| for its eigengap.

The first statement follows from perturbation theory. By the Davis-Kahan sin⁡θ\sin\theta theorem in the form of Yu, Wang and Samworth (2015), whose eigengap involves only the unperturbed matrix, sin⁡θ(vi,vi(−j))≤2∥ΔSj∥/gapi\sin\theta(v_i,v_i^{(-j)})\le 2\|\Delta S_j\|/\mathrm{gap}_i. For a well-separated direction whose eigenvalue aggregates comparable contributions from all KK generators, the numerator is an O(1/K)O(1/K) fraction of the spectral scale, so such directions are stable under every drop (the balance and eigengap conditions behind this statement will be stated formally in the appendix).

The second statement is exact rather than perturbative. Writing ρij=KK−1(dj⊤vi)2/λi∈[0,1]\rho_{ij}=\frac{K}{K-1}(d_j^\top v_i)^2/\lambda_i\in[0,1] for generator jj's share of direction ii's scatter, we have vi⊤SB(−j)vi=λi−KK−1(dj⊤vi)2=(1−ρij)λiv_i^\top S_B^{(-j)}v_i=\lambda_i-\frac{K}{K-1}(d_j^\top v_i)^2=(1-\rho_{ij})\lambda_i. Expanding viv_i in the leave-one-out eigenbasis (μm,um)(\mu_m,u_m) gives ∑mμm(vi⊤um)2=(1−ρij)λi\sum_m\mu_m(v_i^\top u_m)^2=(1-\rho_{ij})\lambda_i, and since every term is nonnegative, each leave-one-out direction umu_m with eigenvalue μm\mu_m satisfies ∣vi⊤um∣≤(1−ρij)λi/μm|v_i^\top u_m|\le\sqrt{(1-\rho_{ij})\lambda_i/\mu_m}. A direction dominated by one generator therefore cannot align with any retained leave-one-out direction of comparable eigenvalue, so its min-over-drops score is provably small. Conversely, a high score sis_i bounds every generator's share through ρij≤1−si2μm/λi\rho_{ij}\le 1-s_i^2\mu_m/\lambda_i for the matched leave-one-out eigenvalue μm\mu_m, which is informative when the eigenvalue ratio is moderate.

The guarantee is one-sided by design. A genuinely shared direction can still score low when shared eigenvalues are nearly tied or when one generator carries an outsized shared loading, and this is the thresholding asymmetry the synthetic study below exhibits. In summary:

statement status
SB(−j)=SB−KK−1djdj⊤S_B^{(-j)}=S_B-\frac{K}{K-1}d_jd_j^\top, the leave-one-out scatter as a rank-one downdate exact identity
a direction dominated by one generator receives a low score exact bound, informative for retained directions of comparable eigenvalue
a direction with balanced support across generators receives a high score Davis-Kahan perturbation bound under balance and eigengap conditions
high-stability directions carry transferable detection signal empirical claim, tested by the per-direction OOD probes

A proofs appendix in the revision will restate both derivations together with the synthetic study's specification.

We validate the argument in a synthetic model where ground truth is known (D=256D=256, a rank-2 shared subspace loaded by all KK generators, one specific direction per generator, and centroid noise):

quantity result
Davis-Kahan bound violations 0 of 1000 drop events (bound informative, i.e. below 1, in 555)
shared-vs-specific separation AUC, low noise 0.94 to 1.00
separation AUC at higher noise, KK = 4 / 5 / 7 / 10 0.80 / 0.82 / 0.92 / 0.99
specific-dominated directions misclassified as stable at threshold (t=0.9t=0.9) 0%

The criterion's reliability grows with generator count. The threshold t=0.9t=0.9 is aggressive rather than conservative. In this synthetic model it never protects a generator-specific direction, at the cost of also penalizing a substantial fraction of genuinely shared ones, which matches the over-penalization we observe empirically at reduced generator counts. The revision will make this property explicit.

The synthetic result concerns the criterion's separation reliability. It does not by itself predict end-task OOD gains, which our new backbone-by-corpus experiments show depend on corpus composition:

StaR vs own ERM GenImage corpus (diverse) Corvi-LDM corpus (homogeneous)
CLIP +1.8pt (p=0.015, 8 seeds) no gain (single-seed check, predicted in advance, then run)
ResNet +1.5pt mean n.s., seed standard deviation 4.2× smaller (p=0.0006)

We recorded the prediction for the fourth cell in advance of running it, and it held. The theory and the corpus dependence together make the mechanism testable rather than purely empirical.

W1 Contribution. We suggest evaluating the contribution as a chain rather than a loss term. (i) The diagnosis that generator identity and real-versus-fake signal are entangled in one subspace, which is why erasure-style baselines fail (LEACE loses 3.8pt on CLIP in our new n=4 post-hoc comparison, tabled in the revision). (ii) An operational criterion, leave-one-group-out spectral stability, that separates the two, now supported by the perturbation argument, the synthetic validation, and a rank-matched design rule (k≤K−2k\le K-2, introduced in our response to Reviewer haMA, W3). (iii) An online training-time instantiation that adapts as the representation evolves, with the scope now stated precisely: on the generator-diverse corpus the training-time form is necessary (the same criterion applied post-hoc to frozen features recovers nothing there), while on the homogeneous corpus post-hoc application recovers the smaller effect. (iv) A mechanism analysis showing what the regularizer does: it rotates the classifier weight off the unstable directions while the generator-discriminative structure in the features is concentrated rather than erased. To our knowledge, leave-one-group-out spectral stability as a training-time spuriousness criterion is new.

W3/W4 Presentation. Accepted in full. In the revision we will add a background paragraph on AI-generated-image detection, generator shortcuts and existing mitigations, expand all abbreviations at first use, and consolidate the method in an algorithm box.

We thank the reviewer again for a considerate review that pushed us to make the method's foundations explicit. We hope the derivations, the synthetic validation, and the corpus-level test address the concern about theoretical grounding.

Reviewer haMAOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies the problem of AI-generated image detectors overfitting to generator-specific shortcuts, which leads to poor generalization to unseen generators. It shows that while generator identity is strongly decodable from learned features, the directions that separate generators are entagnled with true real-vs-fake signal, so simply removing them post-hoc harms detection performance. Instead, the authors propose StaR, a training-time regularizer that uses leave-one-generator-out stability of LDA directions to distinguish stable (shared signal) from unstable (shortcut) directions and penalizes only the latter. Empirically, StaR improves robustness across OOD datasets and reduces variance, with analysis suggesting it works by reorienting (rather than removing) feature space structure.

Strengths and weaknesses

Strengths

• Overall, the paper is well-written and easy to follow. The motivation is also clear.

• The diagnosis is empirically grounded, with each design choice traceable to a finding.

• The experiments are comprehensive (multiple backbones, six OOD benchmarks, and strong ablations)

• The online, training-time formulation is a genuine and well-justified contribution.

• The authors are forthright about limitations (EFFORT on leave-one-out/JPEG, COCOAI exception).

• The method is practical and deployable, with a clear recipe and epoch-selection guidance.

Weaknesses

• in Eq.1, the stability score uses a worst-case (minimum over held-out generators) alignment, which may be sensitive to a single outlier generator and may not be directly comparable across datasets with different numbers of generators (e.g., CommunityForensics with 21 generators vs. the training setups with 5–7). It could be helpful to additionally report aggregate statistics such as the mean or median across held-out generators alongside the current minimum, to characterize typical versus worst-case behavior. Complementing this with subspace-level comparisons (e.g., principal angles between the full and leave-one-out spans rather than per-vector, index-matched cosines) and evaluating sensitivity to at least one additional value of K would help isolate whether the observed effect is robust to generator count.

• The headline runs use the binary threshold 1[sᵢ<t] rather than the continuous (1−sᵢ) weighting written in Eq. 2, so directions at sᵢ=0.69 and 0.77 are penalized identically to one at 0.09, despite Section 3 arguing more-stable directions carry more detection signal. The continuous form appears to be tested as "StaR (no threshold)" in Table 9 (0.765 vs. 0.768), but that comparison is single-seed ResNet only; the multi-seed CLIP sweep (Table 8) varies the threshold value(t=0.5/0.7 cost 0.003–0.008) but not threshold-vs-continuous. A multi-seed comparison of the continuous weighting against the binary threshold would clarify why discarding the graded stability ranking at penalty time is preferable, which currently seems in mild tension with the entanglement thesis.

• On confounding with the generator count K: The stability metric may be partially influenced by the number of training generators K, which is never varied (K=5 for ResNet, K=7 for CLIP, each confounded with backbone and corpus). Because the method relies on leave-one-generator-out comparisons, a difference in subspace rank between the full and reduced sets may inflate the measured "instability" rather than reflecting a genuine shortcut: with real images excluded from the centroids, the full between-class scatter has rank K−1 while each leave-one-out basis has rank only K−2, so the lowest-index direction is compared against a counterpart that cannot exist at full rank — its low alignment is then partly a rank artifact. It would help to disentangle this geometric effect from true instability, e.g., by restricting the comparison to the shared (K−2)-dimensional subspace (principal angles between truncated spans) or reporting a rank-matched null baseline, and by sweeping at least one additional K value to confirm the stability ordering is not an artifact of generator count.

• Lines 24–26: The statement "When the classifier aligns with such a direction, it learns which generator produced an image instead of learning cues that transfer to unseen generators" could be strengthened by providing additional support. It may be helpful to cite prior work if this is an established observation, or, if this is a key finding of the paper, to point readers to the relevant figure or experimental results that substantiate this claim.

(Minor)

  • It might help readers to consolidate the method into a single pseudocode box. Right now the stability scoring, loss, and online update schedule are spread across several paragraphs in Section 4, so the reader has to assemble the full training loop themselves. A short algorithm box (covering the per-batch EMA updates, every-Δ recomputation of directions and stability scores, thresholding, and the combined loss etc.) would make the procedure easier to follow and reproduce.

  • Line 31–32: It would be helpful to define the full forms of abbreviations such as LDA and ERM when they first appear. Although these abbreviations are well known within the field, expanding them on first use would improve readability and make the paper more accessible to readers who may be less familiar with the literature.

  • Line 38: "Our key observation is that not every generator-discriminative direction is equally spurious". It'd be nice to point readers to the experiment or figure that demonstrates this observation (e.g., by referencing Figure 1).

  • Figure 1: increase font size in images (too short relative to the image size)

Questions
  • In Eq. 1, why use the worst-case (minimum) over held-out generators rather than the mean or median? Could you report aggregate statistics alongside the minimum to show typical vs. worst-case behavior?

  • How does the per-vector, index-matched stability score handle eigenvector re-ordering or near-degenerate singular values? Would subspace-level principal angles between the full and leave-one-out spans give a more robust measure?

  • The headline runs use the binary threshold 1[sᵢ<t], which penalizes directions at sᵢ=0.69 and 0.09 identically, despite Section 3 arguing more-stable directions carry more signal. Why is discarding the graded ranking at penalty time preferable?

Limitations

Yes (in Section 6 of the main paper)

Final justification

I thank the authors for the thorough rebuttal. The new experiments address most of my concerns (the min/mean/median comparison, the clarification and correction of Eq. 1 along with the principal-angles analysis, the multi-seed binary-vs-continuous comparison). I am raising my score.

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for precise and constructive questions. Each stability-score concern is answered with new experiments below. All numbers come from a single uniform re-evaluation per backbone, and ± denotes the standard deviation over seeds. Mean-comparison tests are two-sided, and variance-ratio F tests are one-sided for the prespecified direction of variance reduction.

W1/Q1 Min versus mean or median. Eq. 1, as proposed, uses the worst-case (min) over held-out generators. We now report the full aggregation family alongside it, and retraining with mean aggregation is not better, so min stays as the conservative default rather than an empirically demonstrated winner. The per-direction values on the headline CLIP checkpoint (full distributions in the new appendix):

direction min (Eq. 1, ours) mean median
v0v_0 0.99 1.00 1.00
v1v_1 0.54 0.91 0.99
v2v_2 0.75 0.90 0.90
v3v_3 0.66 0.86 0.96
v4v_4 0.34 0.80 0.96
v5v_5 0.14 0.75 0.99

The divergence itself is informative. Directions such as v1v_1 in the table above are unstable under exactly one held-out generator, which is the single-generator dependence the criterion targets. The minimum is designed to catch this failure mode, and central-tendency aggregates average it away. We also retrained the headline configuration with mean aggregation inside the regularizer:

aggregation in the regularizer (2S CLIP, λ=19\lambda=19, 4 matched seeds) Avg4 (Synthbuster / WildRF / COCOAI / GenImage)
min (Eq. 1, submitted) 0.8566 ± 0.0128
mean 0.8428 ± 0.0178

The difference is directionally in min's favor and not significant (p=0.42). Mean aggregation admits 2 of 5 directions as stable versus 1 of 5, weakening the penalty. On comparability across generator counts we agree, and we now recommend selecting the threshold per configuration rather than transferring it.

Q2 Index matching, re-ordering, and principal angles. The implementation is already re-ordering robust, and principal angles between the full and leave-one-out spans turn out to be structurally uninformative in this construction. Eq. 1's notation misdescribes our code: the implementation scores each full direction by its best alignment over the entire leave-one-out basis, then takes the min over drops, and we will correct Eq. 1 to si=min⁡jmax⁡i′∣vi⊤vi′(−j)∣s_i=\min_j\max_{i'}|v_i^\top v_{i'}^{(-j)}|. All reported results already use this best-match implementation. The correction is to the equation, not to any experiment. On principal angles, every leave-one-out scatter is spanned by the same centroid differences, so the LOO span is a codimension-1 subspace nested inside the full span. This makes the suggested statistic structurally degenerate: between the complete spans all principal angles vanish identically by nesting, and comparing rank-matched truncations (top K−2K-2 full directions versus the LOO basis) leaves at most one angle free to differ. A random-centroid control confirms the diagnosis: that one free angle takes the same magnitudes on random centroids as on real data, so it cannot discriminate here (nesting also imposes a high alignment floor, mean best-match 0.71 at K=5K=5 and 0.67 at K=7K=7 in our re-run). The robust alternative is the basis-invariant projection norm of each direction onto the LOO span, and under index-matched, best-match, Hungarian and projection-norm scoring the stable/unstable partition at t=0.9t=0.9 is identical on both released checkpoints.

W2/Q3 Binary threshold versus continuous weighting. The binary gate is our empirical choice, not an oversight. Across every matched binary-versus-continuous comparison we have run, the binary form is equal or better in four of five settings. The exception is the headline configuration itself, where the continuous form is ahead but the direct test between the forms is null. Following the reviewer's question we completed the missing multi-seed comparison at the headline configuration and assembled all matched cells:

matched setting binary − continuous
CLIP 1S, paired across λ∈{1,2,3,5,10,15,20}\lambda\in\{1,2,3,5,10,15,20\} +0.83pt (p=0.089, binary better at 6 of 7 λ\lambda values)
CLIP 2S, λ=5\lambda=5 (single seed) +3.14pt
ResNet 1S, λ=15\lambda=15, 8 seeds +0.37pt (p=0.18), with far tighter seed spread (standard deviation 4.2× vs 1.7× smaller than ERM)
K=6K=6 subsets, λ=15\lambda=15 (7 subsets) −0.16pt (p=0.83, tie)
CLIP 2S, λ=19\lambda=19, 8 matched seeds (headline) −0.68pt (p=0.16, indistinguishable)

At that configuration:

2S CLIP, λ=19\lambda=19, n=8 Avg4 vs ERM (0.8437 ± 0.0093), Welch p
binary 1[si<0.9]\mathbf{1}[s_i<0.9] (submitted) 0.8548 ± 0.0108 +1.11pt, p=0.044
continuous (1−si)(1-s_i) 0.8616 ± 0.0086 +1.79pt, p=0.0014

Because the two-stage arms share one ERM warm start while the ERM arm is eight independent trainings, cross-arm pairing is nominal and we report unpaired Welch tests. The continuous form is significant against ERM. The binary form reaches p=0.044, and we do not press that as a claim. The direct test between the forms is null (p=0.16, powered only for a 1.4pt gap). At n=8 we do not detect a difference between the two forms, and continuous weighting has the better point estimate in this cell. We chose thresholding for two reasons. The first is the empirical record above. The second is a mechanism: the binary mask is identical across seeds and λ\lambda values in our logs, so it quantizes away the sampling noise of the online stability estimate, which is why the binary form carries the seed-stability advantage on ResNet. We will report both forms side by side in the revision.

W3 Rank mismatch and generator count. The rank-boundary direction is never scored in the headline configuration, excluding it where it is scored changes little, and the stability ordering reproduces at every KK from 4 to 9. The implementation takes k=min⁡(kreq,K−1)k=\min(k_{\mathrm{req}},K-1), so for the headline CLIP configuration (K=7K=7, k=5k=5) every penalized direction has a full-rank counterpart in every leave-one-out basis. The concern does apply to ResNet (K=5K=5) and our reduced-KK controls, so we retrained with k=K−2k=K-2, excluding the rank-boundary direction from the penalty:

configuration Δ vs own ERM, kk as submitted Δ with k=K−2k=K-2
CLIP K=6K=6 (worst subset) −3.50pt −0.48pt
CLIP K=4K=4 +1.93pt +2.00pt
ResNet K=5K=5 +0.72pt (k=4k=4) +0.41pt (k=3k=3, 2 seeds)

We adopt k≤K−2k\le K-2 as the recommended default, the reviewer's criticism converted into a design rule. The 8-seed ResNet results below keep the submitted k=4k=4 configuration for continuity with the paper's tables. The 2-seed k=3k=3 check is directionally consistent, and we treat k≤K−2k\le K-2 as the going-forward default rather than re-basing the headline retroactively. We can run an 8-seed k=3k=3 extension during the discussion if useful. Varying K∈{4,5,6,7,9}K\in\{4,5,6,7,9\} (K<7K<7 by subsetting the training generators, and K=9K=9 by adding two further public latent-diffusion generators to the corpus, scored without the benchmark they originate from), the stable-head/unstable-tail ordering appears at every KK, and the size of the regularization gain tracks corpus composition rather than KK:

StaR vs own ERM GenImage corpus (diverse) Corvi-LDM corpus (homogeneous)
CLIP +1.1 to +1.8pt (n=8) no gain (predicted in advance, then run)
ResNet +1.5pt +0.7pt n.s., seed standard deviation 4.2× smaller

Single-seed sweep cells carry roughly ±1.7pt noise and are presented as a pattern, not per-cell claims.

Updated ResNet results (8 seeds). All ResNet numbers in this response come from 8 seeds per arm, trained and evaluated under a single configuration-matched protocol:

ResNet 1S, n=8 Avg4 (Synthbuster / WildRF / COCOAI / GenImage)
ERM 0.7814 ± 0.0107
StaR, binary (submitted form) 0.7885 ± 0.0026
StaR, continuous (1−si)(1-s_i) 0.7848 ± 0.0064

The dispersion effect concentrates on the distribution-shift benchmarks:

binary StaR vs ERM, 8 seeds per arm value
across-seed standard deviation (Avg4) 4.2× smaller (variance ratio F=17.5, p=0.0006), the submitted figure was 24×
per-benchmark F, WildRF 13.7 (p=0.003)
per-benchmark F, GenImage 4.7 (p=0.040)
per-benchmark F, LDM-FakeDetect (evaluated separately) 8.6 (p=0.009)
per-benchmark F, Synthbuster and COCOAI not significant
mean difference (Avg4) +0.72pt (p=0.087)

The revision will update Table 4, Table 5, Table 10 (appendix) and the corresponding abstract figures to these n=8 values.

W4 and the remaining requested revisions, all adopted. Lines 24–26 will cite the shortcut-learning literature and point to §3/Fig. 1, a finding of this paper demonstrated by the per-direction probes. The revision will also add the algorithm box, expand LDA and ERM at first use, enlarge the Figure 1 fonts, correct Eq. 1, and add k≤K−2k\le K-2 to the recipe.

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

Missing a submission?

Loading the discussion…