acceptodds
Under review as a conference paper at ICLR 2027

Generative Classification via Flow Matching for AI-Generated Image Detection

Abstract

The rapid evolution of generative models and the growing diversity of generation sources pose persistent challenges to the cross-generator generalization of AI-generated image detectors. Existing approaches primarily improve detection by exploiting forensic artifacts, enhancing visual representations, or adapting pretrained models. However, they typically formulate authenticity prediction as a direct mapping, which may encourage reliance on salient cues specific to training generators. To address this limitation, we propose FakeFlow, a generative classification framework based on Flow Matching that formulates authenticity prediction as an image-conditioned continuous process in label space. Given representations from a frozen visual encoder, FakeFlow learns conditional trajectories from Gaussian initial states toward real or fake label vectors. We instantiate FakeFlow with two complementary parameterizations: FakeFlow regresses the trajectory velocity field, whereas FakeFlow predicts the target label vector and converts it into the corresponding update velocity. Although both formulations admit an equivalent one-step decision rule under ideal conditions, their different temporal error weighting leads to complementary generalization behavior. We further incorporate Classifier-Free Guidance (CFG) to amplify the discrepancy between image-conditioned and unconditional predictions, encouraging the final decision to rely more strongly on image-specific evidence. Experiments on GenImage, AIGI-Holmes, AIGI-Now, and In-the-Wild demonstrate strong generalization across unseen generators and real-world settings. Code is available at https://anonymous.4open.science/r/fakeflow-7575.

Primary area:
alignment, fairness, safety, privacy, and societal considerations
Keywords:
AI-Generated Image Detection

Reviews

Among:
Shape:
1234this paper, Top 15%
Figure 1. Mean review rating of the reviewed papers at ICLR 2027. This paper averages 3.00 over 3 reviews, above 85% of the others.
Reviewer_cqp6OpenReview ↗
Rating
4(+1)
Confidence
4
Informativeness
2
Presentation
3
Soundness
3
Read review
Paper summary

This paper proposes FakeFlow, a Flow Matching-based generative classification framework that improves the cross-generator generalization of AI-generated image detection by formulating classification, unlike traditional discriminative methods that map visual features directly to real or fake labels, as an image-conditioned continuous transport process in label space. Specifically, the authors design two complementary parameterizations—FakeFlowDrift, which directly predicts the trajectory velocity field, and FakeFlowLeap, which predicts the target label vector and converts it into an update velocity—and introduce Classifier-Free Guidance (CFG) to enhance the influence of image-conditioned information on the final prediction. Experiments on four benchmarks—GenImage, AIGI-Holmes, AIGI-Now, and In-the-Wild—demonstrate strong generalization to unseen generators and real-world scenarios.

Critical strengths
  1. Innovative classification modeling. The key contribution is reformulating binary classification as a generative flow-matching process in label space. Rather than focusing on visual feature extraction or forgery-trace modeling, the authors start from the classification decision process itself, offering a new perspective for cross-generator generalization.

  2. Clear technical motivation for dual parameterization. FakeFlowDrift and FakeFlowLeap adopt velocity-field and target-label prediction, respectively. Though equivalent in ideal single-step form, their different training objectives and temporal error weighting yield different generalization characteristics, enriching both the method and the analysis of flow-matching parameterization.

  3. CFG with theoretical analysis enhances completeness. CFG is applied to label-space classification, with a control-variate analysis of its role in reducing initial-state fluctuations, providing mathematical grounding for the design.

Critical weaknesses
  1. The explanation of the generalization mechanism could be strengthened. Why continuous trajectory supervision adapts better to unseen generators than traditional classification objectives remains insufficiently explained. Intuitive analysis is suggested.

  2. The performance gap between the two parameterizations is under-discussed. FakeFlowLeap performs better on multiple generator benchmarks, while FakeFlowDrift excels on In-the-Wild. Further discussion in light of training objectives and temporal error weighting is suggested.

  3. Computational efficiency analysis could be improved. Despite single-step inference, a direct comparison with the DINOv3 linear baseline in inference latency and computational overhead is missing.

  4. CFG's effect varies across datasets. Ablations show CFG does not always help; on In-the-Wild, FakeFlowLeap even degrades. Further explanation of CFG's applicable conditions is suggested.

Questions for authors
  1. Since FakeFlow uses single-step inference, can the authors explain why continuous label-trajectory supervision during training yields better cross-generator generalization than direct label regression?

  2. Do the authors attribute the performance gap between FakeFlowDrift and FakeFlowLeap mainly to their different temporal error weighting mechanisms?

  3. With a frozen DINOv3 encoder, how dependent is the method on the visual backbone? Would label-space flow matching still yield similar gains with smaller or other pre-trained visual models?

  4. Can the authors compare FakeFlow with the DINOv3 linear baseline in inference latency and computational complexity to clarify deployment efficiency?

  5. Since FakeFlow starts from a random Gaussian state, can the authors analyze the impact of initial noise on classification—e.g., reporting prediction consistency and accuracy variance across multiple random initial states to verify single-step stability?

4 comments
AuthorsOpenReview ↗

Response to Reviewer cqp6

Q1: What advantages does continuous label-trajectory supervision offer over direct label regression?

Response: We thank the reviewer for the question. We clarify the role of trajectory supervision and provide supporting evidence from a controlled experiment.

🔹 (1) Training constraints across label states and time.

Conventional classification objectives and direct label regression learn a direct mapping from image features to labels. Continuous label-trajectory supervision extends this objective by requiring the model to predict the same target label from states with different noise levels, conditioned on the same image.

This introduces training constraints across both label states and time, encouraging the model to use image evidence consistently under varying label-state uncertainty. The resulting supervision supports learning discriminative cues that transfer to unseen generators.

These benefits are acquired during training and retained with efficient one-step inference.

🔹 (2) Controlled evaluation of trajectory supervision.

To assess this contribution, we retrain both variants with the training time fixed at t=0, keeping all other settings unchanged. This removes supervision along the trajectory while preserving the model architecture.

RF1. Full-trajectory supervision versus training only at t=0.

Method (Acc., %)TrainingGenImageAIGI-HolmesAIGI-NowIn-the-Wild
DINOv3-Linear—96.4097.2086.4094.00
FakeFlow-Driftt=0 only97.1696.6085.1182.43
FakeFlow-DriftFull trajectory97.1097.8088.7094.90
FakeFlow-Leapt=0 only97.4098.1186.0690.50
FakeFlow-LeapFull trajectory97.5098.2091.6092.80

As shown in RF1:

  • On GenImage, training only at t=0 yields results comparable to full-trajectory training.
  • On AIGI-Now, full-trajectory supervision improves Drift and Leap by 3.59 and 5.54 percentage points, respectively.
  • On In-the-Wild, the corresponding improvements are 12.47 and 2.30 percentage points.

These controlled results support continuous label-trajectory supervision as a key contributor to generalization, with particularly pronounced benefits on AIGI-Now and In-the-Wild.


Q2: How does temporal error weighting affect the performance of Drift and Leap?

Response: We thank the reviewer for the question. We attribute the performance difference primarily to the different temporal error weighting of the two variants, which leads to complementary behavior across evaluation settings.

🔹 (1) Different emphasis during training.

Drift regresses velocity with equal weight at every time step, whereas Leap regresses labels with weight r(t)⁻², which increases toward the trajectory endpoint. Leap’s stronger endpoint emphasis can favor closer fitting of generator-produced forgery patterns, while Drift’s uniform weighting can favor a more relaxed decision boundary and greater robustness under distribution shifts.

🔹 (2) Complementary behavior across benchmarks.

Leap performs better on GenImage, AIGI-Holmes, and AIGI-Now, which follow the generator-based evaluation paradigm. Drift performs better on In-the-Wild, where web collection and human filtering introduce additional distribution shifts.

The same relative ranking is observed on WildAIGC-Bench V3, OpenFake Reddit, and ReWIND. As shown in RF2, **Drift achieves the highest accuracy.

RF2. Additional evaluation on real-world datasets.

Method (Acc., %)WildAIGC-Bench V3OpenFake RedditReWIND
DINOv3-Linear60.5886.2772.86
FakeFlow-Drift63.0090.0979.83
FakeFlow-Leap61.6389.4074.94

Q3: How do the inference latency and computational cost compare with the linear baseline?

Response: We measure the inference latency and computational cost of the DINOv3 linear baseline and FakeFlow on the same hardware, as shown in RF3.

RF3. Inference latency and computational cost on the same hardware.

MethodMedian latency (ms/image)Computation (GFLOPs/image)
DINOv3-Linear69.592725.49
FakeFlow-Drift70.792732.36
FakeFlow-Leap70.802732.36

FakeFlow requires only one inference step, the DINOv3 backbone features are computed only once, and the additional overhead comes only from the lightweight prediction head. Compared with the linear baseline, Drift and Leap increase the inference latency by only about 1.2 ms per image and the computational cost by only about 7 GFLOPs per image, corresponding to approximately 1.7% additional latency and 0.25% additional computation.

AuthorsOpenReview ↗

Response to Reviewer cqp6

Q4: Under what conditions is CFG applicable?

Response: We thank the reviewer for the question. CFG amplifies the difference between image-conditioned and unconditional predictions, thereby strengthening the model’s existing discriminative tendency.

As shown in RF4, both variants benefit from CFG on the three generator-based benchmarks. On In-the-Wild, Drift still benefits, improving from 94.43% to 94.87%, whereas Leap’s accuracy decreases from 93.36% to 92.78%. This behavior is consistent with CFG reinforcing Leap’s closer fitting of generator-produced forgery patterns.

RF4. Effect of CFG on detection accuracy (%). Bold indicates the better result within each variant.

MethodCFGGenImageAIGI-HolmesAIGI-NowIn-the-Wild
FakeFlow-DriftWithout96.7297.4587.6294.43
FakeFlow-DriftWith97.0597.7788.6594.87
FakeFlow-LeapWithout96.9897.7389.1293.36
FakeFlow-LeapWith97.5498.2491.6092.78

Q5: How much does the method depend on the backbone, and does it still help with smaller or other backbones?

Response: We thank the reviewer for the question. We replace the backbone with the smaller DINOv3 ViT-L/16 and with another pretrained model, CLIP ViT-L/14@336px, keep the training data and preprocessing unchanged, and retrain the linear baseline, FakeFlow-Drift, and FakeFlow-Leap, as shown in RF5 and RF6.

RF5. Comparison using DINOv3 ViT-L/16 with the same training data and preprocessing.

Backbone + Method (Acc., %)GenImageAIGI-HolmesAIGI-NowIn-the-Wild
DINOv3 ViT-L/16 + Linear87.9892.8383.4087.28
DINOv3 ViT-L/16 + FakeFlow-Drift90.3394.0684.8391.01
DINOv3 ViT-L/16 + FakeFlow-Leap89.7295.1085.8789.68

RF6. Comparison using CLIP ViT-L/14@336px with the same training data and preprocessing.

Backbone + Method (Acc., %)GenImageAIGI-HolmesAIGI-NowIn-the-Wild
CLIP ViT-L/14@336px + Linear79.5782.7364.0061.14
CLIP ViT-L/14@336px + FakeFlow-Drift80.0784.2767.5363.67
CLIP ViT-L/14@336px + FakeFlow-Leap83.2085.4667.6861.46

A stronger backbone yields higher overall accuracy, indicating that the absolute level of detection performance depends on the representational capacity of the backbone. Nevertheless, on both backbones, Drift and Leap outperform the linear baseline with the same backbone on all four benchmarks, showing that label-space flow matching also brings improvements with smaller or other pretrained models.


Q6: How does the initial noise affect classification, and is one-step inference stable?

Response: We thank the reviewer for the question. We fix the trained model and the test sets and only change the random seed of the initial Gaussian noise. We perform one-step inference from 10 different initial states and report the mean and standard deviation of accuracy, as well as the proportion of samples whose predictions are identical across all initial states (consistency rate), as shown in RF7.

RF7. One-step inference stability across 10 initial Gaussian noise seeds.

ModelBenchmarkAccuracy (%, mean ± std)Consistency (%)
FakeFlow-DriftGenImage97.1 ± 0.0299.25
FakeFlow-DriftAIGI-Holmes97.8 ± 0.0199.50
FakeFlow-DriftAIGI-Now88.7 ± 0.0599.14
FakeFlow-DriftIn-the-Wild94.9 ± 0.1199.01
FakeFlow-LeapGenImage97.5 ± 0.0496.07
FakeFlow-LeapAIGI-Holmes98.2 ± 0.0595.26
FakeFlow-LeapAIGI-Now91.6 ± 0.1095.20
FakeFlow-LeapIn-the-Wild92.8 ± 0.1695.55

On all four benchmarks, the standard deviation of accuracy for both variants does not exceed 0.16 percentage points; the consistency rate of Drift is above 99% and that of Leap is above 95%. This shows that the initial noise has very little effect on the final decision and that one-step inference is stable.

Thank you to the author for the detailed response. It fully addressed my questions, so I have raised my score to 4.

AuthorsOpenReview ↗

Thank You for Your Follow-up and Recognition of Our Work

Dear Reviewer cqp6,

Thank you for confirming that our responses have fully addressed your questions. We appreciate your careful reassessment and constructive suggestions, which have helped us strengthen the analysis and evaluation of our work. Thank you again for your time and support.

Best regards,
The Authors

Reviewer_n93oOpenReview ↗
Rating
3(+1)
Confidence
4
Informativeness
2
Presentation
3
Soundness
2
Read review
Paper summary

This paper proposes FakeFlow, a flow-matching framework for AI-generated image detection that models authenticity prediction as an image-conditioned continuous process from Gaussian noise to real or fake label vectors. It introduces two variants: FakeFlow_Drift predicts trajectory velocities, while FakeFlow_Leap predicts target label vectors. Both variants incorporate classifier-free guidance and use one-step inference by default. The models are trained on the Stable Diffusion v1.4 training split of GenImage and evaluated on GenImage, In-the-Wild, AIGI-Holmes, and AIGI-Now.

Critical strengths
  1. Interesting formulation. The paper explores flow matching in label space for AI-generated image detection, offering an alternative to direct classification.

  2. Promising results on AIGI-Now. FakeFlow_Leap improves average accuracy from 86.4% for the DINOv3 baseline to 88.7%. FakeFlow_Leap improves average accuracy from 86.4% for the DINOv3 baseline to 91.6%.

  3. Theoretical analysis. The paper establishes conditions under which FakeFlow_Drift and FakeFlow_Leap yield Bayes-optimal one-step decisions and analyzes how classifier-free guidance can reduce fluctuations caused by random initialization.

Critical weaknesses
  1. The comparisons do not isolate the contribution of flow matching. Although the idea is interesting, the improvements over previous methods in Tables 1–4 cannot be attributed solely to the proposed formulation. FakeFlow uses a frozen DINOv3 ViT-7B/16 backbone, and its linear baseline already achieves higher average accuracy than the listed previous methods on all four benchmarks. Consequently, the headline comparisons conflate the strength of the visual representation with the contribution of the proposed method. Comparisons using the same backbone, training data, and preprocessing would provide more convincing evidence.

  2. The gains over the DINOv3 baseline are modest and inconsistent on three benchmarks. On GenImage, Drift and Leap improve average accuracy over the baseline by 0.7 and 1.1 percentage points, respectively; on AIGI-Holmes, the gains are 0.6 and 1.0 percentage points. On In-the-Wild, Drift improves accuracy by 0.9 percentage points, whereas Leap decreases it from 94.0% to 92.8%. The AIGI-Now results are promising, particularly Leap’s improvement from 86.4% to 91.6%, but the other results provide less convincing evidence of a consistent generalization benefit.

  3. A capacity-matched discriminative baseline is missing. The frozen-DINOv3 linear baseline is useful, but FakeFlow additionally trains a visual token projection layer, label-state encoder, time encoder, cross-attention module, and output head. Therefore, the comparison does not establish whether the gains come from flow matching or from the more expressive prediction head. A discriminative model using the same visual tokens and a comparable trainable head, optimized with cross-entropy or direct label regression, would help isolate the benefit of trajectory-based supervision. The module ablations in Table 6 do not resolve this issue.

Questions for authors
  1. Could you evaluate FakeFlow using the same backbone as a strong competing method, such as CLIP ViT-L/14@336px used in OmniAID or DINOv3 ViT-L/16 used in SimLBR, while controlling for training data and preprocessing? This would help clarify whether the improvements arise from flow matching rather than differences in backbone capacity.

  2. Alternatively, could you provide a capacity-matched discriminative baseline using the same frozen DINOv3 ViT-7B/16 backbone, visual tokens, and a comparable trainable prediction head, optimized with cross-entropy or direct label regression instead of trajectory-based supervision? This would help isolate the contribution of the proposed training formulation.

  3. Could you report results across multiple random seeds, including means and standard deviations, to assess the reliability of the relatively small gains on GenImage, AIGI-Holmes, and In-the-Wild? Could you also discuss why FakeFlow_Leap underperforms the linear baseline on In-the-Wild despite its stronger results on AIGI-Now?

7 comments
AuthorsOpenReview ↗

Response to Reviewer n93o

Q1: Does the gain hold on the same backbones as competing methods (DINOv3 ViT-L/16, CLIP ViT-L/14@336px), with the same training data and preprocessing?


Response: We thank the reviewer for the suggestion. We replace the backbone with DINOv3 ViT-L/16 used by SimLBR and CLIP ViT-L/14@336px used by OmniAID, keep the training data and preprocessing unchanged, and retrain the linear baseline, FakeFlow-Drift, and FakeFlow-Leap.

As shown in the first two tables (RF1 and RF2), on both backbones Drift and Leap outperform the linear baseline with the same backbone on all four benchmarks, showing that the improvement of FakeFlow holds across backbones.

🔹 (1) DINOv3 ViT-L/16.

RF1. Comparison using DINOv3 ViT-L/16 with the same training data and preprocessing.

Backbone + Method (Acc., %)GenImageAIGI-HolmesAIGI-NowIn-the-Wild
DINOv3 ViT-L/16 + Linear87.9892.8383.4087.28
DINOv3 ViT-L/16 + FakeFlow-Drift90.3394.0684.8391.01
DINOv3 ViT-L/16 + FakeFlow-Leap89.7295.1085.8789.68

🔹 (2) CLIP ViT-L/14@336px.

RF2. Comparison using CLIP ViT-L/14@336px with the same training data and preprocessing.

Backbone + Method (Acc., %)GenImageAIGI-HolmesAIGI-NowIn-the-Wild
CLIP ViT-L/14@336px + Linear79.5782.7364.0061.14
CLIP ViT-L/14@336px + FakeFlow-Drift80.0784.2767.5363.67
CLIP ViT-L/14@336px + FakeFlow-Leap83.2085.4667.6861.46

🔹 (3) Comparison with competing methods.

The third table (RF3) compares FakeFlow with SimLBR and OmniAID, whose results are obtained by evaluating their officially released weights on the same test sets. On the same backbones as these methods, FakeFlow is higher on some benchmarks and lower on others; with DINOv3 ViT-7B/16, both FakeFlow variants outperform these two methods on all four benchmarks.

RF3. Comparison with SimLBR and OmniAID.

Method (Acc., %)GenImageAIGI-HolmesAIGI-NowIn-the-Wild
SimLBR · DINOv3 ViT-L/1694.5093.5887.4683.09
OmniAID · CLIP ViT-L/14@336px94.0380.9258.9972.10
DINOv3-Linear96.4097.2086.4094.00
FakeFlow-Drift97.1097.8088.7094.90
FakeFlow-Leap97.5098.2091.6092.80

DINOv3-Linear and both FakeFlow variants in RF3 use DINOv3 ViT-7B/16.

Together, these results show that FakeFlow’s improvements over the corresponding linear baselines are not restricted to the specific backbone. While a stronger backbone improves overall performance, the gains remain present with both DINOv3 ViT-L/16 and CLIP ViT-L/14@336px under same training data and preprocessing.

AuthorsOpenReview ↗

Response to Reviewer n93o

Q2: Does the gain remain against a capacity-matched discriminative baseline?

Response: We thank the reviewer for the suggestion. We add two capacity-matched discriminative baselines, FakeFlow-CE and FakeFlow-MSE. Both use the same frozen DINOv3 ViT-7B/16 backbone, the same visual tokens, and a trainable prediction head with the same architecture as FakeFlow, and directly predict the label with cross-entropy and mean squared error, respectively.

As shown in the table below (RF4), neither discriminative baseline reaches the best FakeFlow result on any of the four benchmarks:

  • FakeFlow-Leap outperforms both baselines on GenImage, AIGI-Holmes, and AIGI-Now, and
  • FakeFlow-Drift performs best on In-the-Wild.

On AIGI-Now, FakeFlow-Leap reaches 91.60%, 5.55 points higher than the strongest discriminative baseline, FakeFlow-MSE. This indicates that the improvement comes from the flow-matching training scheme rather than from the capacity of the prediction head.

RF4. Comparison with capacity-matched discriminative baselines.

Method (Acc., %)GenImageAIGI-HolmesAIGI-NowIn-the-Wild
DINOv3-Linear96.4097.2086.4094.00
FakeFlow-CE96.4397.7283.3994.32
FakeFlow-MSE96.6797.8586.0594.76
FakeFlow-Drift97.1097.8088.7094.90
FakeFlow-Leap97.5098.2091.6092.80

Q3(a): Are the gains reliable across multiple random seeds (mean and standard deviation)?

Response: We thank the reviewer for the suggestion. We repeat the experiments for DINOv3-Linear, FakeFlow-Drift, and FakeFlow-Leap with 3 random seeds and report the mean ± standard deviation (%) of each method on the four datasets in the table below (RF5).

The results show that both variants achieve higher means than the baseline on GenImage, AIGI-Holmes, and AIGI-Now, and all improvements are larger than the corresponding standard deviations, indicating that these gains are stable across seeds.

RF5. Accuracy across three random seeds (mean ± standard deviation, %).

Method (Acc., %)GenImageAIGI-HolmesAIGI-NowIn-the-Wild
DINOv3-Linear96.44 ± 0.0997.24 ± 0.1086.49 ± 0.3294.03 ± 0.05
FakeFlow-Drift97.16 ± 0.4497.88 ± 0.1788.76 ± 1.8394.91 ± 0.08
FakeFlow-Leap97.56 ± 0.3398.25 ± 0.4891.67 ± 1.6792.84 ± 0.13
AuthorsOpenReview ↗

Response to Reviewer n93o

Q3(b): What explains Leap’s relative performance on In-the-Wild?

Response: We thank the reviewer for the question. Our results highlight the complementary strengths of Drift and Leap across evaluation settings. We explain their behavior below and provide additional real-world evaluations.

🔹 (1) Why Leap underperforms the linear baseline on In-the-Wild.

The difference between Drift and Leap lies in the temporal weighting of the training error. Drift regresses the velocity, with equal weight at every time step. Leap regresses the label with weight r(t)⁻², which grows as t approaches the endpoint. Therefore, as the temporal weight increases, the decision boundary of Leap becomes increasingly tight around the forgery patterns of generator-produced images; with uniform weighting, the decision boundary of Drift is more relaxed and more robust.

The first three benchmarks (GenImage, AIGI-Holmes, and AIGI-Now) are all constructed from generators. Although they evaluate cross-generator generalization, they still follow the generator-based paradigm, so Leap achieves higher accuracy.

The images in In-the-Wild are collected from the web and filtered by humans. Beyond different generators, both the data sources and the filtering process differ from the training data, leading to a larger distribution shift. Under such a shift, the tighter decision boundary generalizes less well, so the accuracy of Leap drops, whereas Drift remains stable.

The experimental results are consistent with this explanation.

  • On GenImage, AIGI-Holmes, and AIGI-Now, Leap performs best (97.5 / 98.2 / 91.6, versus 97.1 / 97.8 / 88.7 for Drift).
  • On In-the-Wild, Drift reaches 94.9, higher than the baseline (94.0), while Leap reaches 92.8.

To examine how Leap performs in other real-world settings, we additionally evaluate on WildAIGC-Bench V3 proposed by Yu et al. (2026) [1], OpenFake proposed by Livernoche et al. (2025) (using the Reddit v2.0 still-image test set) [2], and ReWIND proposed by Guillaro et al. (2026) [3].

As shown in RF3, on these three recent and challenging in-the-wild datasets, FakeFlow-Drift consistently outperforms FakeFlow-Leap, while FakeFlow-Leap still surpasses the DINOv3-Linear baseline on all three. These results further demonstrate Drift’s stronger real-world robustness, while showing that Leap also provides gains over the linear baseline across diverse in-the-wild settings.

RF3. Additional evaluation on real-world datasets.

Method (Acc., %)WildAIGC-Bench V3 [1]OpenFake Reddit [2]ReWIND [3]
DINOv3-Linear60.5886.2772.86
FakeFlow-Drift63.0090.0979.83
FakeFlow-Leap61.6389.4074.94

🔹 (2) Limitations of the method.

These results indicate that Leap is better suited to generator-based detection scenarios, whereas Drift is the more robust choice for real-world scenarios with unknown sources. We will add the results on the new datasets and this discussion of limitations to the paper.

References

[1] Yu et al. (2026). WildAIGC-Bench: Can AI Image Detectors Handle the Wild? A Benchmark of Generated and Edited Images in Online Circulation. arXiv:2610.28087.

[2] Livernoche et al. (2025). OpenFake: An open dataset and platform toward real-world deepfake detection. arXiv:2509.09495.

[3] Guillaro et al. (2026). Quality-Aware Calibration for AI-Generated Image Detection in the Wild. arXiv:2604.15027.

Reviewer_29DxOpenReview ↗
Rating
2
Confidence
3
Informativeness
2
Presentation
2
Soundness
2
Read review
Paper summary

This paper proposes FakeFlow, a framework that formulates AI-generated image detection as an image-conditioned flow matching problem in label space. Instead of directly predicting a binary class, the method learns a trajectory from a Gaussian initial state toward a one-hot label representation. The authors introduce two parameterizations, FakeFlowDrift and FakeFlowLeap, which predict the velocity field and target label, respectively. Classifier-Free Guidance (CFG) is further incorporated to improve image-conditioned prediction. Experiments on four benchmark suites demonstrate strong cross-generator generalization.

Critical strengths
  1. The paper explores an interesting direction by studying the classification process rather than focusing exclusively on learning better visual representations. The formulation is clearly presented, and the relationship between the two parameterizations is explained.

  2. The experimental evaluation covers a broad range of unseen generators and real-world images.

  3. The paper includes useful ablation studies on loss functions, CFG, time sampling, and inference steps. The theoretical analysis also provides some insight into the relationship between the proposed objective, label regression, and guidance.

Critical weaknesses
  1. The necessity of flow matching for the classification task is not sufficiently established. My main concern is whether the proposed label-space flow formulation provides a meaningful advantage over conventional supervised classification. As the authors acknowledge in Eq. (7), FakeFlowLeap is equivalent to time-weighted label regression. Moreover, the default inference procedure uses only one step, where Leap directly predicts the target label vector. This raises the question of what is gained from learning the full label trajectory rather than directly predicting the label. The theoretical result showing Bayes-optimal one-step decoding establishes consistency with conventional classification, but does not demonstrate an advantage over it.

  2. The existing baseline does not adequately isolate the contribution of the proposed objective. The DINOv3-Linear baseline is useful, but it differs from FakeFlow not only in its training objective but also in the complexity of the prediction head. FakeFlow introduces trainable state and time encoders, cross-attention, and additional projection layers. As a result, the improvement over the linear baseline cannot be attributed solely to label-space flow matching. This is particularly important because the linear baseline already achieves strong performance on several benchmarks.

  3. The motivation of progressive decision formation is not fully supported by the inference procedure. A central motivation is that classification should proceed from an uncertain initial state toward a final decision, rather than being obtained through a direct mapping. However, the proposed method uses one-step inference by default, and additional inference steps do not consistently improve performance. It is therefore unclear whether the performance improvements arise from modeling a progressive decision process or simply from the additional supervision and regularization introduced during training.

  4. Some experimental comparisons and conclusions require further clarification. The two parameterizations use different batch sizes and mixed-precision settings. Since the paper attributes their performance differences primarily to temporal error weighting, a more controlled comparison would be useful. The improvements are also not uniform across benchmarks. For example, FakeFlowLeap underperforms the linear baseline on In-the-Wild, and CFG further reduces its performance on this benchmark. More discussion of these cases would help clarify the limitations of the method.

Questions for authors
  1. How does FakeFlow compare with a conventional nonlinear classifier or direct label-regression model using exactly the same cross-attention architecture?

  2. What happens if the model is trained only at (t=0), rather than across the full label trajectory? How much of the performance gain specifically comes from time-dependent supervision?

  3. Why does FakeFlowLeap underperform the linear baseline on In-the-Wild, and why does CFG further decrease its accuracy in this setting?

5 comments
AuthorsOpenReview ↗

Response to Reviewer 29Dx

Q1(a): Why use label-space flow matching instead of direct label prediction?

Response:
The key advantage is trajectory-based supervision during training while retaining efficient one-step inference. Instead of learning only a direct image-to-label mapping, FakeFlow learns image-conditioned predictions across label states with varying noise levels along a continuous trajectory. This extends supervision across states and times, providing additional training constraints that improve generalization in our experiments.

Two controlled comparisons support this advantage.

(1) First, with the same backbone, visual tokens, and prediction-head architecture, FakeFlow-Leap achieves 91.60% on AIGI-Now, outperforming the stronger capacity-matched direct-prediction baseline, FakeFlow-MSE (86.05%), by 5.55 percentage points.

(2) Second, restricting training to t=0t=0 while keeping other settings unchanged reduces Leap’s accuracy from 91.60% to 86.06% on AIGI-Now and Drift’s from 94.90% to 82.43% on In-the-Wild. These results support the contribution of supervision along the label trajectory beyond prediction-head capacity. The benefit arises during training and can be retained with one-step decoding at inference.


Q1(b): How does FakeFlow compare with nonlinear classification and label regression using the same cross-attention architecture?

Response: We thank the reviewer for the suggestion. We add two capacity-matched baselines, FakeFlow-CE and FakeFlow-MSE, which directly predict labels using cross-entropy and mean squared error, respectively. Both use the same frozen DINOv3 ViT-7B/16 backbone, visual tokens, and cross-attention prediction-head architecture as FakeFlow.

RTable 1. Comparison with capacity-matched baselines using the same cross-attention architecture.

Method (Acc., %)GenImageAIGI-HolmesAIGI-NowIn-the-Wild
DINOv3-Linear96.4097.2086.4094.00
FakeFlow-CE96.4397.7283.3994.32
FakeFlow-MSE96.6797.8586.0594.76
FakeFlow-Drift97.1097.8088.7094.90
FakeFlow-Leap97.5098.2091.6092.80

As shown in RTable 1, a FakeFlow variant achieves the highest accuracy on each of the four benchmarks. FakeFlow-Leap outperforms both baselines on GenImage, AIGI-Holmes, and AIGI-Now, while FakeFlow-Drift performs best on In-the-Wild. The advantage is particularly pronounced on AIGI-Now, where Leap achieves 91.60%, exceeding CE by 8.21 percentage points and MSE by 5.55 percentage points.

These comparisons show that prediction-head capacity alone does not explain the gains, supporting the effectiveness of FakeFlow’s label-space flow-matching training scheme over direct classification or label regression with the same architecture.

Q2: How much does time-dependent supervision contribute beyond training only at t=0?

Response: We thank the reviewer for the question. To isolate the contribution of time-dependent supervision, we retrain both FakeFlow with the training time fixed at t=0, keeping all other settings unchanged.

RF2. Full-trajectory supervision versus training only at t=0.

Method (Acc., %)TrainingGenImageAIGI-HolmesAIGI-NowIn-the-Wild
DINOv3-Linear—96.4097.2086.4094.00
FakeFlow-Driftt=0 only97.1696.6085.1182.43
FakeFlow-DriftFull trajectory97.1097.8088.7094.90
FakeFlow-Leapt=0 only97.4098.1186.0690.50
FakeFlow-LeapFull trajectory97.5098.2091.6092.80

As shown in RF2, training only at t=0 yields comparable accuracy on GenImage but substantially weaker performance on AIGI-Now and In-the-Wild. Full-trajectory supervision improves Drift by 3.59 and 12.47 percentage points, and Leap by 5.54 and 2.30 percentage points, on these two benchmarks, respectively. Without this supervision, both variants fall below the linear baseline on both benchmarks.

These results identify time-dependent trajectory supervision as a key contributor to FakeFlow’s generalization, particularly on AIGI-Now and In-the-Wild. This advantage is obtained during training while preserving efficient one-step inference.

AuthorsOpenReview ↗

Response to Reviewer 29Dx

Q3: What explains Leap’s relative performance on In-the-Wild and the effect of CFG?

Response: We thank the reviewer for the question. Our results highlight the complementary strengths of Drift and Leap across evaluation settings. We explain their behavior below and provide additional real-world evaluations.

🔹 (1) Why Leap underperforms the linear baseline on In-the-Wild.

The difference between Drift and Leap lies in the temporal weighting of the training error. Drift regresses the velocity, with equal weight at every time step. Leap regresses the label with weight r(t)⁻², which grows as t approaches the endpoint. Therefore, as the temporal weight increases, the decision boundary of Leap becomes increasingly tight around the forgery patterns of generator-produced images; with uniform weighting, the decision boundary of Drift is more relaxed and more robust.

The first three benchmarks (GenImage, AIGI-Holmes, and AIGI-Now) are all constructed from generators. Although they evaluate cross-generator generalization, they still follow the generator-based paradigm, so Leap achieves higher accuracy.

The images in In-the-Wild are collected from the web and filtered by humans. Beyond different generators, both the data sources and the filtering process differ from the training data, leading to a larger distribution shift. Under such a shift, the tighter decision boundary generalizes less well, so the accuracy of Leap drops, whereas Drift remains stable.

The experimental results are consistent with this explanation.

  • On GenImage, AIGI-Holmes, and AIGI-Now, Leap performs best (97.5 / 98.2 / 91.6, versus 97.1 / 97.8 / 88.7 for Drift).
  • On In-the-Wild, Drift reaches 94.9, higher than the baseline (94.0), while Leap reaches 92.8.

To examine how Leap performs in other real-world settings, we additionally evaluate on WildAIGC-Bench V3 proposed by Yu et al. (2026) [1], OpenFake proposed by Livernoche et al. (2025) (using the Reddit v2.0 still-image test set) [2], and ReWIND proposed by Guillaro et al. (2026) [3].

As shown in RF3, on these three recent and challenging in-the-wild datasets, FakeFlow-Drift consistently outperforms FakeFlow-Leap, while FakeFlow-Leap still surpasses the DINOv3-Linear baseline on all three. These results further demonstrate Drift’s stronger real-world robustness, while showing that Leap also provides gains over the linear baseline across diverse in-the-wild settings.

RF3. Additional evaluation on real-world datasets.

Method (Acc., %)WildAIGC-Bench V3 [1]OpenFake Reddit [2]ReWIND [3]
DINOv3-Linear60.5886.2772.86
FakeFlow-Drift63.0090.0979.83
FakeFlow-Leap61.6389.4074.94

🔹 (2) Why CFG further reduces the accuracy of Leap.

CFG amplifies the difference between the image-conditioned and unconditional predictions, i.e., it strengthens the discriminative tendency the model already has.

  • On the three generator-based benchmarks, this strengthening benefits both variants.
  • On In-the-Wild, Drift still benefits (from 94.43 to 94.87), whereas the tighter decision boundary of Leap is further reinforced, and its accuracy decreases from 93.36 to 92.78.

🔹 (3) Limitations of the method.

These results indicate that Leap is better suited to generator-based detection scenarios, whereas Drift is the more robust choice for real-world scenarios with unknown sources. We will add the results on the new datasets and this discussion of limitations to the paper.

References

[1] Yu et al. (2026). WildAIGC-Bench: Can AI Image Detectors Handle the Wild? A Benchmark of Generated and Edited Images in Online Circulation. arXiv:2610.28087.

[2] Livernoche et al. (2025). OpenFake: An open dataset and platform toward real-world deepfake detection. arXiv:2509.09495.

[3] Guillaro et al. (2026). Quality-Aware Calibration for AI-Generated Image Detection in the Wild. arXiv:2604.15027.

AuthorsOpenReview ↗

Response to Reviewer 29Dx

We sincerely thank the reviewer for these constructive comments, which are valuable for improving the quality of our manuscript. We greatly appreciate the careful assessment and suggestions.


Weaknesses 1 and 2 correspond to Q1 and Q2, respectively, and have been addressed in our responses above. Weaknesses 3 and 4 include additional concerns that do not fully overlap with the questions above, so we address these remaining points separately below.


Weakness 3: Does the gain come from progressive decision modeling or additional supervision and regularization during training?

Response: We thank the reviewer for the question. Progressive decision modeling operates during training and is implemented through time-dependent supervision along the label trajectory.

During training, the model starts from label states with different noise levels and learns image-conditioned predictions toward the target label. This provides supervision across the trajectory and can also act as a form of regularization. Thus, trajectory supervision and its regularizing effect are part of how the progressive decision process is learned.

This training-time benefit does not require multi-step inference. The model acquires its discriminative ability during training, allowing a single step from t=0 to produce the final decision. We will revise the wording in the paper to clarify this distinction.

Our controlled experiment in RF2 supports the contribution of trajectory supervision: fixing training to t=0 while keeping all other settings unchanged substantially reduces generalization on AIGI-Now and In-the-Wild. These results support training-time supervision along the label trajectory as a key source of improvement, while preserving efficient one-step inference.


Weakness 4: Do the differences between Drift and Leap persist under matched training settings?

Response: We thank the reviewer for the suggestion. We provide a controlled comparison and clarify the benchmark-dependent behavior of the two variants.

🔹 (1) Controlled comparison with identical batch size and precision.

We retrain both variants using FP32 precision and an effective batch size of 64, with all other settings unchanged. As shown in RF4, the results remain close to the default configuration, with accuracy changes of at most 0.44 percentage points. More importantly, the relative ranking remains unchanged across all four benchmarks: Leap performs better on GenImage, AIGI-Holmes, and AIGI-Now, while Drift performs better on In-the-Wild.

RF4. Controlled comparison under matched batch size and precision settings.

ConfigurationMethod (Acc., %)GenImageAIGI-HolmesAIGI-NowIn-the-Wild
DefaultFakeFlow-Drift97.1097.8088.7094.90
DefaultFakeFlow-Leap97.5098.2091.6092.80
FP32, batch size = 64FakeFlow-Drift97.1597.7088.7594.88
FP32, batch size = 64FakeFlow-Leap97.5598.0291.1692.82

These results show that the observed performance differences persist after controlling for batch size and precision, supporting our interpretation that they arise from the two parameterizations and their temporal error weighting rather than these configuration differences.

🔹 (2) Benchmark-dependent behavior and practical limitations.

As discussed in our response to Q3 above, the two variants exhibit complementary strengths across evaluation settings. Leap performs better on the three generator-based benchmarks, whereas Drift is more robust on In-the-Wild. Although Leap falls below the linear baseline on In-the-Wild, both variants outperform the linear baseline on all three additional challenging real-world datasets in RF3, with Drift consistently achieving the highest accuracy.

CFG likewise has a distribution-dependent effect: it improves both variants on the three generator-based benchmarks and improves Drift on In-the-Wild from 94.43% to 94.87%, while reducing Leap from 93.36% to 92.78%. This indicates that guidance is beneficial when the amplified discriminative cues transfer well to the evaluation distribution.

We will incorporate the controlled comparison and expand the discussion of these cases, clarifying Drift’s stronger robustness across the evaluated real-world settings and the distribution-dependent benefits of Leap and CFG.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.