Less Supervision, Better Generalization: Weakly Supervised Fake Region Localization in Diffusion-Edited Images
Junhee Lee, JeonDongHyeon, Taeoh Kim, Beomyoung Kim, MyeongAh Cho
NeurIPS 2026
Abstract. Localizing AI-edited regions is essential for interpretable forensic analysis, but remains challenging due to subtle and spatially distributed artifacts that are misaligned with semantic or object boundaries. Existing approaches rely on pixel-level supervision from controlled editing pipelines, which is difficult to scale and can introduce misleading signals: artifacts frequently extend beyond annotated regions, while out-of-mask pixels are treated as authentic. This limits models' ability to capture transferable evidence and generalize across generators and datasets. To address these issues, we propose ReGFLoW, a Reconstruction-Guided Fake Localization framework under Weak supervision, which is the first weakly supervised approach for diffusion-edited fake region localization. ReGFLoW requires only real/fake labels at the image-level and uses diffusion reconstruction errors as dense spatial guidance to inject them into both feature and score spaces. Furthermore, by artifact-centric multiple instance learning, ReGFLoW utilizes localized diffusion evidence without relying on semantic-affinity or boundary-based pseudo-mask priors. Extensive experiments show competitive cross-generator localization, while ReGFLoW outperforms all evaluated fully supervised baselines when evaluation includes both partially edited and fully synthetic images and in cross-dataset tests, without target-domain adaptation.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper proposes ReGFLoW, a weakly supervised framework for localizing manipulated regions in diffusion-edited images using only image-level labels. It derives reconstruction residuals from a frozen Stable Diffusion VAE as dense spatial priors, integrates them into feature and prediction spaces through gated fusion and zero-initialized biasing, and trains patch-level predictions with an artifact-centric multiple-instance learning objective. Experiments on OpenSDID report competitive image-level detection and stronger cross-generator localization than several fully supervised baselines, suggesting that weak supervision can avoid the cost and potential spatial inaccuracies of pixel-mask annotations.
The paper addresses a well-motivated problem by avoiding costly and potentially misleading pixel-level supervision for diffusion-edit localization. Its main strengths are the effective use of diffusion reconstruction residuals as dense spatial guidance, the careful integration of this prior into both feature and score spaces, the suitable MIL-based weak-supervision objective, and the broad evaluation across detection, localization, cross-domain transfer, and training-domain expansion settings.
The main weaknesses are the narrow evaluation on OpenSDID and the reliance on a single Stable Diffusion VAE, which leave robustness under different reconstruction priors and non-latent-diffusion editors unclear. The submission also lacks direct comparisons with reconstruction-based baselines, broader cross-dataset tests, and evaluations under JPEG compression, resizing, blurring, and edit-then-reconstruct attacks. In addition, the headline out-of-domain claim is not fully supported in all settings, and the loss definition, calibration procedure, and baseline protocols require clearer and more consistent reporting.
Authors should rebut if any above reservations are factually wrong, but if reservations are correct then the concerns are too large to address in a rebuttal.
Final justification
All reviewers provided positive recommendations. I also agree with their assessment of the novelty and significance of this work. Therefore, I recommend acceptance.
Read meta-review
Meta-review
The paper proposes ReGFLoW, a weakly supervised framework for localizing manipulated regions in diffusion-edited images using only image-level labels. It derives reconstruction residuals from a frozen Stable Diffusion VAE as dense spatial priors, integrates them into feature and prediction spaces through gated fusion and zero-initialized biasing, and trains patch-level predictions with an artifact-centric multiple-instance learning objective. Experiments on OpenSDID report competitive image-level detection and stronger cross-generator localization than several fully supervised baselines, suggesting that weak supervision can avoid the cost and potential spatial inaccuracies of pixel-mask annotations.
The paper addresses a well-motivated problem by avoiding costly and potentially misleading pixel-level supervision for diffusion-edit localization. Its main strengths are the effective use of diffusion reconstruction residuals as dense spatial guidance, the careful integration of this prior into both feature and score spaces, the suitable MIL-based weak-supervision objective, and the broad evaluation across detection, localization, cross-domain transfer, and training-domain expansion settings.
The main weaknesses are the narrow evaluation on OpenSDID and the reliance on a single Stable Diffusion VAE, which leave robustness under different reconstruction priors and non-latent-diffusion editors unclear. The submission also lacks direct comparisons with reconstruction-based baselines, broader cross-dataset tests, and evaluations under JPEG compression, resizing, blurring, and edit-then-reconstruct attacks. In addition, the headline out-of-domain claim is not fully supported in all settings, and the loss definition, calibration procedure, and baseline protocols require clearer and more consistent reporting.
Authors should rebut if any above reservations are factually wrong, but if reservations are correct then the concerns are too large to address in a rebuttal.
Final justification
All reviewers provided positive recommendations. I also agree with their assessment of the novelty and significance of this work. Therefore, I recommend acceptance.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/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 studies fake-region localization in diffusion-edited images under weak supervision. The authors argue that pixel-level edit masks can be both costly to obtain and potentially misleading, because diffusion artifacts may extend beyond the intended edit region while mask-supervised models are trained to treat out-of-mask pixels as real. To address this, the paper proposes ReGFLoW, which uses only image-level real/fake labels, diffusion reconstruction errors as dense spatial guidance, and an artifact-centric MIL objective to learn local fake evidence. Experiments on OpenSDID suggest improved cross-generator generalization compared with several fully supervised localization baselines.
Strengths and weaknesses
I like the problem this paper is trying to tackle. In diffusion-based editing, clean pixel masks are often unavailable, and even when they exist they may not capture all visible or forensic traces. So the move toward weak supervision is well motivated. The use of diffusion reconstruction residuals as spatial guidance is also sensible, and the MIL objective fits the setting reasonably well. The paper is mostly clear, and the qualitative examples make the motivation easy to understand.
That said, I am not fully convinced by the main empirical claim. In the partial-edit-only setting, ReGFLoW is more stable on some OOD generators, but its OOD average F1 is still below MaskCLIP. In the mixed partial/full setting, the main pixel-level comparison is only against MaskCLIP, so it is hard to tell whether the gain comes from weak supervision, the architecture, calibration, or the protocol. The evaluation is also quite centered on OpenSDID. I would be more convinced by broader cross-dataset tests or real editing-service outputs.
Overall, the idea is promising, but the evidence still feels too narrow for the title-level claim that less supervision gives better generalization.
Questions
- Can the authors add broader P+F comparisons against more fully supervised and weakly supervised baselines, not only MaskCLIP?
- Can the authors isolate the role of supervision from architecture, for example with the same backbone under full supervision, weak supervision, and reconstruction-guided weak supervision?
- How sensitive are the results to adaptive calibration and thresholding? A fixed-threshold or calibration ablation would help.
- Can the authors test on another dataset or real editing-service outputs to support the generalization claim beyond OpenSDID?
Limitations
The paper mentions several limitations, including dependence on reconstruction residuals and difficulty with subtle or tiny manipulations. I would add calibration sensitivity and the limited evaluation scope to this discussion.
Formatting concerns
No major formatting or anonymity concerns noticed.
3 comments
Thank you for the detailed rebuttal. The added experiments address most of my main concerns.The expanded P+F comparisons make the generalization claim much more credible, especially on SDXL, SD3, and Flux.1. The controlled MaskCLIP-WS and ReGFLoW-FS results also help isolate the effect of weak supervision from architecture and reconstruction guidance. The COCO-Glide and DOLOS results further reduce my concern that the method only works within OpenSDID or SD-style latent priors.I still think the calibration/thresholding step should be discussed more clearly, and the final paper should phrase the generalization claim with proper scope. Overall, the rebuttal meaningfully strengthens the paper.
Clarifying Adaptive Calibration and Threshold Sensitivity
Thank you for requesting this analysis. We agree that our previous response did not clearly distinguish the image-adaptive calibration offset from the fixed final threshold.
As detailed in Appendix B.6, calibration is performed independently for each image. Given a predicted logit map, ReGFLoW computes its mean, standard deviation, and positive-response ratio and uses these image-level statistics to determine an adaptive offset . The logits are then centered and normalized relative to this offset to obtain the calibrated probability map. This procedure uses only the current image’s prediction map, without pixel-level GT, batch- or dataset-level statistics, threshold search, or target-domain tuning. The same calibration rule and parameters are applied unchanged to every image across all generators and datasets.
After this image-wise calibration, a single global threshold of 0.5 is applied to produce the binary mask. This threshold is also fixed across all in-domain, OOD, and cross-dataset evaluations.
To evaluate sensitivity to the final global threshold, we use the same checkpoint and calibration procedure and vary only this threshold. All values are pixel-level F1 (%).
| Final threshold | SD1.5 | SD2.1 | SDXL | SD3 | Flux.1 |
|---|---|---|---|---|---|
| 0.4 | 48.20 | 45.68 | 35.82 | 43.42 | 30.18 |
| 0.5 (Default) | 49.34 | 46.27 | 34.86 | 43.90 | 29.18 |
| 0.6 | 49.34 | 45.63 | 32.78 | 43.17 | 27.26 |
| 0.7 | 47.75 | 43.33 | 29.21 | 40.65 | 24.06 |
| 0.8 | 43.40 | 38.01 | 23.07 | 34.97 | 18.86 |
Performance remains relatively stable over 0.4–0.6 and decreases smoothly as the threshold becomes more conservative. Notably, 0.5 is not retrospectively optimized for each domain: SDXL and Flux.1 perform slightly better at 0.4, whereas SD1.5, SD2.1, and SD3 favor 0.5–0.6. We will add this distinction, the complete calibration procedure, and the sensitivity analysis to the final paper.
Clarifying the Scope of the Generalization Claim
We agree that the final paper should not imply that weak supervision universally outperforms full supervision, or that ReGFLoW generalizes to arbitrary generators and editing services. The main claim will be revised to:
When trained on OpenSDID-SD1.5, ReGFLoW shows competitive cross-generator transfer in the P-only setting, while achieving the highest P+F OOD-average F1 and the best cross-dataset performance on COCO-Glide and DOLOS among the evaluated baselines, without target-domain adaptation.
This wording will be adopted in the abstract, the contribution bullet in the introduction, and the conclusion. Sec. 4.2 will state explicitly that the P-only setting does not establish uniform superiority over fully supervised MaskCLIP. Following the reviewer's earlier suggestion, the limitations will add calibration sensitivity and the scope of evaluation.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Summary
This paper tackles fake-region localization in diffusion-edited images under weak supervision. The authors argue that pixel-mask supervision is hard to scale and can mislead training, since diffusion artifacts often spread beyond the annotated mask. To avoid this, they propose ReGFLoW, which trains using only image-level real/fake labels. The core idea builds on the widely used diffusion reconstruction error: content from diffusion models tends to be reconstructed with smaller residuals, so ReGFLoW uses this residual as a dense spatial prior and supervises localization with a multiple-instance-learning (MIL) objective instead of pixel masks. Experiments show competitive-to-better cross-domain localization than fully supervised baselines, along with image-level detection results and ablations.
Strengths and weaknesses
Strengths
-
The weak-supervision formulation makes sense. The paper convincingly argues that pixel-mask supervision is hard to scale and can even mislead training (diffusion artifacts leak beyond the mask, while out-of-mask pixels are labeled real). Learning localization from image-level labels only is therefore a sensible and well-motivated direction.
-
Reconstruction error is a suitable prior. Building on the widely used observation that diffusion-generated content is reconstructed with smaller residuals, using this reconstruction error as a dense spatial prior for localization is a reasonable and natural choice, and integrating it through the feature and score spaces is thoughtfully done.
Weakness
My main concerns are around strengthening the comparisons, discussion, and a few details. The main table does not yet appear to fully support the headline claim that ReGFLoW beats fully supervised baselines on OOD (it seems to trail MaskCLIP), and the baseline reporting varies across settings, which makes the comparison harder to interpret. It would also help to compare against the most directly related work [22] and the reconstruction-based detectors that share its core signal. A few details would benefit from further clarification as well, including the reliance on a single SD1 VAE and the calibration/threshold procedure. I elaborate on these as concrete, actionable points in the Questions below.
Questions
Questions
-
Comparison with [22]. [22] is the closest prior work (same weak supervision, same diffusion domain) but only appears in the appendix. Please move it to the main related work, state precisely how ReGFLoW differs, and add a quantitative comparison. Both use image-level labels, so this is feasible.
-
Per-image calibration. Please clarify: is the threshold tuned on the test set or a held-out split? Is the same post-processing applied to baselines? How sensitive are F1/IoU to it?
-
Newer baselines. Current baselines are mostly older, generic localization methods. Since the core idea is the reconstruction prior, please compare against recent diffusion-specific methods (DDA, D³).
-
New generators and face forgery. Performance already drops on Flux, which raises the question of whether the reconstruction prior is partly tied to the SD1 VAE and transfers less well to different latent spaces. How does ReGFLoW do on an unseen recent generator? And could it extend to face forgery / face-swap detection? A small experiment on either would help.
Limitations
See in Questions and Weaknesses.
Final justification
I raise my overall score to 4.
Formatting concerns
No major formatting or anonymity violations observed.
2 comments
Rebuttal
Weakness — Clarifying the OOD Generalization Claim and Aligning Baseline Reporting across Evaluation Settings
We thank the reviewer for this careful reading. Table 1 alone does not establish our headline claim as originally phrased, and we clarify both the claim and the reporting below.
The four-way OOD average should be read alongside the per-generator results. All methods score markedly higher on SD2.1 than on SDXL, SD3, or Flux.1, for an architectural reason: SD2.1 retains the latent-diffusion U-Net and 4-channel KL-VAE latent space of the SD1.5 training domain, whereas SD3 and Flux.1 use 16-channel VAEs with DiT / rectified-flow backbones. SD2.1 is the near-OOD point, so averaging it with three far-OOD generators lets one near-domain score dominate. In Table 1, MaskCLIP leads on OOD average (41.7 vs. 38.6), but on the three distant generators ReGFLoW leads (36.0 vs. 34.5), with a worst case of 29.2 against 18.4.
Aligning baseline reporting across the P and P+F settings. Table 1 follows the P setting because prior fake-region localization studies have predominantly evaluated on partially edited images, enabling a direct comparison with existing methods. Our claim, however, concerns generalization across fake-image types as well as generators. Inpainting commonly targets semantic objects, so its masks follow object contours; a model evaluated only on partial edits may therefore score well on mask-shape bias rather than on transferable artifacts. Fully synthetic images contain no localized edit boundary, making P+F the more stringent test and Table 2 the comparison most directly connected to our headline claim. The omission of several fully supervised baselines from Table 2 made that comparison difficult to interpret, and we have accordingly extended it below. All methods are trained on the OpenSDID-SD1.5 split under the same protocol; SD1.5 is the in-domain test set, while SD2.1, SDXL, SD3, and Flux.1 are unseen-generator cross-domain (OOD) test sets.
P+F Setting — Pixel-level F1 (%)
| Supervision | Method | SD1.5 | SD2.1 | SDXL | SD3 | Flux.1 | Avg. | OOD Avg. |
|---|---|---|---|---|---|---|---|---|
| Full | TruFor | 28.8 | 20.1 | 15.9 | 16.4 | 8.4 | 17.9 | 15.2 |
| Full | IML-ViT | 30.15 | 24.70 | 17.63 | 13.46 | 7.69 | 18.73 | 15.87 |
| Full | MaskCLIP | 95.1 | 73.2 | 20.8 | 17.7 | 4.8 | 42.3 | 29.1 |
| Weak | Ours | 35.6 | 33.4 | 30.1 | 32.2 | 29.4 | 32.2 | 31.3 |
The pattern is sharper in P+F. MaskCLIP's 29.1 OOD average rests almost entirely on SD2.1 (73.2); across SDXL, SD3, and Flux.1 it averages 14.4 and falls to 4.8 on the most distant generator. ReGFLoW averages 30.6 on those same three and never drops below 29.4, holding within a 4-point band across all five domains despite using only image-level supervision. These results support our claim that ReGFLoW generalizes both across unseen generators and from partial-edit training to a broader mixture of partial and fully synthetic images.
Question 1 — Positioning and Quantitative Comparison with DOLOS [22]
DOLOS [22] is the closest prior work on weakly supervised localization of diffusion-generated fakes. We will move it to the main Related Work and clarify its relation to ReGFLoW.
Our original omission reflected DOLOS’s narrower, face-centered setting, where recurring facial layouts may let models exploit face-part regularities. ReGFLoW instead targets diverse natural scenes, objects, edit locations, and generators without facial alignment or fixed semantic structure.
Given DOLOS’s relevance as a weakly supervised diffusion-localization method, we agree that a direct comparison is important. We therefore retrained it under the same OpenSDID protocol and additionally evaluated WSCL [R1] and the recent BoxPromptIML [R2], both developed for conventional manipulation localization. All methods are trained on OpenSDID-SD1.5 and tested under the same in- and cross-domain settings. Results are Pixel F1 / IoU (%).
Weakly Supervised Methods — Pixel F1 / IoU (%)
| Method | SD1.5 | SD2.1 | SDXL | SD3 | Flux.1 |
|---|---|---|---|---|---|
| WSCL [R1] | 25.6 / 16.7 | 25.9 / 17.0 | 26.0 / 17.0 | 25.4 / 16.5 | 25.3 / 16.4 |
| DOLOS [22] | 21.5 / 13.4 | 19.1 / 11.9 | 19.8 / 12.2 | 20.3 / 12.5 | 19.2 / 12.0 |
| BoxPromptIML [R2] | 11.5 / 7.0 | 10.9 / 6.5 | 10.9 / 6.6 | 13.8 / 8.4 | 10.3 / 6.2 |
| Ours | 49.3 / 36.9 | 46.3 / 33.8 | 34.9 / 23.6 | 43.9 / 30.9 | 29.2 / 19.0 |
ReGFLoW outperforms all weakly supervised baselines across every generator. However, low scores of the baseline weakly supervised methods should not be interpreted as evidence that weak supervision itself is ineffective for generalization. As discussed in Figure 1 and the second paragraph of the Introduction, semantic and object-boundary priors are poorly matched to diffusion artifacts, which are often non-semantic, distributed, and weakly bounded. ReGFLoW instead fuses reconstruction guidance with RGB evidence and learns task-specific cues through artifact-centric MIL.
Question 2 — Per-Image Calibration and Thresholding
The threshold is not tuned on any split. It is computed per image from its logit mean, standard deviation, and positive-response ratio, without pixel-level GT, dataset statistics, or threshold search.
The fully supervised baselines follow their original inference procedures. Pixel-supervised methods learn a foreground/background decision boundary directly, whereas our MIL objective learns relative patch evidence and leaves the absolute logit scale image-dependent; image-wise normalization is therefore a step specific to converting weakly supervised scores into binary masks, and prediction-dependent normalization of this kind is standard in WSSS [R3-R6].
Question 3 — Clarification on the Requested Reconstruction-Based Comparison
We thank the reviewer for emphasizing comparisons with recent methods. We respectfully clarify that DDA and are designed for image-level AI-generated image detection, whereas ReGFLoW primarily addresses pixel-level fake-region localization. Both methods ultimately produce image-level real/fake predictions and do not provide dense pixel-level localization maps in their original formulations. Therefore, a direct pixel-level comparison is not well-defined without introducing new localization variants that are not part of the original methods.
Therefore, could the reviewer clarify whether the intended comparison is:
- DDA and in their original image-level setting, corresponding to Table 3; or
- recent diffusion-specific localization methods that directly output pixel-level maps?
These alternatives require different evaluation protocols.
Question 4 — Generalization Beyond SD-Based Latent Diffusion and to Face Forgery
We first clarify that the performance drop on Flux.1 does not by itself indicate dependence on the SD1 VAE: all fully supervised baselines in Table 1 also drop substantially despite using no reconstruction prior. Since all methods are trained on SD1.5, this more likely reflects a large generator shift. ReGFLoW also shows the smallest relative SD1.5-to-Flux.1 drop, indicating stronger robustness.
To directly evaluate transfer beyond SD-based latent diffusion, we additionally test on COCO-Glide [19]. COCO-Glide contains MS-COCO images locally edited using GLIDE [R7]. Unlike Stable Diffusion, GLIDE performs diffusion and denoising directly in image space rather than in a VAE-compressed latent space. It therefore creates a clear mismatch between the SD1-VAE reconstruction prior used during ReGFLoW training and the image-formation process of the test generator.
Public localization benchmarks generated by non-latent diffusion models remain limited, and COCO-Glide contains only locally edited images. We therefore evaluate it only under the partial-only (P) setting. All methods are trained on OpenSDID and directly evaluated on COCO-Glide without fine-tuning or target-domain adaptation. Results are reported using pixel-level F1 (%).
COCO-Glide — Pixel-level F1 (%)
| Supervision | Method | P |
|---|---|---|
| Full | TruFor | 25.17 |
| Full | IML-ViT | 15.23 |
| Full | MaskCLIP | 8.34 |
| Weak | Ours | 42.01 |
ReGFLoW achieves the best COCO-Glide performance despite using only image-level supervision, demonstrating transfer to pixel-space diffusion edits under a clear train–test prior mismatch.
To examine extension to face forgery, we additionally evaluate on DOLOS [22]. All methods are trained on OpenSDID and directly tested on DOLOS without fine-tuning or target-domain adaptation. We report pixel-level F1 (%) under both P and P+F.
DOLOS — Pixel-level F1 (%)
| Supervision | Method | P | P+F |
|---|---|---|---|
| Full | TruFor | 8.21 | 12.70 |
| Full | IML-ViT | 1.16 | 1.74 |
| Full | MaskCLIP | 13.35 | 14.65 |
| Weak | Ours | 21.09 | 21.19 |
ReGFLoW also performs best on DOLOS in both settings without face-specific training, indicating transfer from diverse natural-image edits to face-centered diffusion forgeries. However, the absolute performance suggests that dedicated face-domain training would still be needed for stronger results in specialized face-forgery or face-swap settings. Together, the COCO-Glide and DOLOS results show that ReGFLoW is not restricted to either the SD1 latent prior or the OpenSDID image domain.
Additional References
[R1] Zhai et al., “Towards Generic Image Manipulation Detection with Weakly-Supervised Self-Consistency Learning,” ICCV 2023; [R2] Guo et al., “From Passive Perception to Active Memory,” AAAI 2026; [R3] Wu et al., “Adaptive Spatial-BCE Loss for WSSS,” ECCV 2022; [R4] Lee et al., “Threshold Matters in WSSS,” CVPR 2022; [R5] Li et al., “Pseudo-Mask Matters in WSSS,” ICCV 2021; [R6] Wu et al., “DuPL,” CVPR 2024; [R7] Nichol et al., “GLIDE,” ICML 2022.
Thank you again for your thoughtful review.
As the discussion period is drawing to a close, we would be grateful for any indication of whether our responses have addressed your concerns, and we would be glad to run further analyses or provide clarification if anything remains unclear.
We appreciate your time and engagement.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes a weakly supervised framework for localizing diffusion-edited regions in images. The proposed method, ReGFLoW, leverages a frozen Stable Diffusion VAE to obtain reconstruction residual as dense spatial prior, injects this prior into feature and score spaces via gated fusion and a zero-initialized bias, and optimizes patch-level scores with an artifact-centric multiple instance learning objective. ReGFLoW achieves encouraging results on the OpenSDID benchmark.
Strengths and weaknesses
Strengths:
-
The motivation is clear: in diffusion-editing, pixel masks are scarce and may be misleading, and thus a weakly supervised framework is suitable for localization of diffusion-edited regions.
-
The use of diffusion reconstruction error as dense guidance is effective for pixel-level prediction.
-
A series of experiments have been conducted on OpenSDID, including pixel-level/image-level detection under P+F setting, cross-domain evaluations, training domain extension, etc.
Weaknesses:
-
The method relies on SD1 VAE reconstruction. It remains unclear how its performance would change when using other reconstruction models or when the edited images are generated by non-latent-diffusion pipelines. This raises concerns about the method's robustness under train-test prior mismatch.
-
Comparisons with reconstruction-based baselines are missing. Including methods based on thresholding the reconstruction residual, as well as DIRE and AEROBLADE, would help clarify how much of the performance gain is attributable to the proposed fusion and MIL designs.
-
All experiments are conducted on OpenSDID, where the generators are closely related to Stable Diffusion. If the test domains share latent-diffusion priors similar to those used during training, the reported gains may partially reflect prior alignment rather than true generalization. Evaluation on more diverse datasets is necessary.
-
The paper lacks robust evaluations under common laundering operations, such as post-processing (e.g., JPEG compression, resizing, and blurring) and “edit-then-reconstruct” pipelines (reconstruct the whole image after local edits). Without such evaluations, it remains unclear whether the reconstruction prior, and hence the overall framework, is robust to operations specifically designed to remove forensic artifacts.
-
The training loss described in the main paper is inconsistent with that provided in the appendix.
Questions
-
Clarify the dependence of the proposed framework on the SD1 VAE and discuss its generalization to other reconstruction models and generation/editing pipelines.
-
Include comparisons with representative reconstruction-based baselines.
-
Provide additional evaluations on more diverse datasets and under common laundering operations.
-
Clarify the inconsistency in the training loss formulation.
Limitations
Yes
Final justification
In the rebuttal, the authors have included additional cross-dataset experiments, evaluations with alternative reconstruction priors, a reconstruction-residual baseline, and robustness tests. They also clarified the inconsistency in the training loss. The additional results have addressed most of my concerns. Therefore, I update my rating to borderline accept.
Formatting concerns
No
3 comments
Rebuttal
Weakness 1&3 / Question 1 — Dependence on the SD1 VAE and Cross-Dataset Generalization under Train–Test Prior Mismatch
We thank the reviewer for raising this important concern. To examine whether ReGFLoW’s performance is limited to test generators that share the latent-diffusion prior of the SD1 VAE, we conducted additional cross-dataset evaluations on images generated by non-latent, pixel-space diffusion pipelines. ReGFLoW is trained only on the OpenSDID-SD1.5 split using reconstruction guidance from a frozen SD1 VAE and is then directly evaluated without fine-tuning or target-domain adaptation. Thus, the reconstruction prior used by ReGFLoW is explicitly mismatched with the image-formation process of the test generators.
We use two cross-dataset benchmarks. COCO-Glide [19] contains MS-COCO images locally edited with GLIDE [R1]. Unlike Stable Diffusion, GLIDE performs diffusion and denoising in image space rather than in a VAE-compressed latent space. COCO-Glide therefore directly tests whether a model trained with an SD1-VAE prior can transfer to pixel-space diffusion edits. For a fair comparison, TruFor, IML-ViT, MaskCLIP, and ReGFLoW are all trained on OpenSDID and directly evaluated on COCO-Glide under the same protocol.
All results are reported using pixel-level F1 (%). Since COCO-Glide contains only locally edited images, it is evaluated under the partial-only (P) setting.
COCO-Glide — Pixel-level F1 (%)
| Supervision | Method | P |
|---|---|---|
| Full | TruFor | 25.17 |
| Full | IML-ViT | 15.23 |
| Full | MaskCLIP | 8.34 |
| Weak | Ours | 42.01 |
We additionally evaluate on the DOLOS [R2] benchmark, focusing on its P2/Repaint-P2 subsets. P2 is a standard, non-latent diffusion model that operates in image space, while Repaint-P2 performs mask-guided inpainting using the corresponding pixel-space diffusion process. Unlike COCO-Glide, DOLOS is centered on human faces and provides both locally manipulated and fully synthesized images. It therefore introduces not only a generator-prior shift, but also a substantial semantic and task-domain shift from the general object and scene images in OpenSDID.
For DOLOS, we report pixel-level F1 (%) under both the partial-only (P) setting and the combined partial-plus-fully-fake (P+F) setting.
DOLOS — Pixel-level F1 (%)
| Supervision | Method | P | P+F |
|---|---|---|---|
| Full | TruFor | 8.21 | 12.70 |
| Full | IML-ViT | 1.16 | 1.74 |
| Full | MaskCLIP | 13.35 | 14.65 |
| Weak | Ours | 21.09 | 21.19 |
ReGFLoW achieves the best performance across all three evaluations and substantially outperforms all fully supervised baselines, despite using only image-level supervision. These results show that its advantage is not limited to test generators sharing the latent-diffusion structure of the SD1 VAE. It remains effective on pixel-space diffusion outputs and generalizes better than the fully supervised baselines across both generator and dataset shifts. The DOLOS results further indicate task-level transfer from general diffusion-edited images to face-centered diffusion deepfakes.
This robustness arises because the reconstruction map is used as auxiliary spatial guidance rather than as the sole decision signal. While it is designed to provide dense cues for diffusion-generated artifacts, the RGB backbone and artifact-centric MIL objective simultaneously learn broader generation artifacts from the images themselves. Moreover, the prior is introduced through gated residual feature fusion and a zero-initialized score-bias branch, preventing it from replacing the RGB evidence and allowing its learned contribution to remain limited when it is not consistently useful. We adopted an SD-based reconstruction prior because latent-diffusion systems constitute a major class of recent high-fidelity generators and editors, which are the primary target of this work. Nevertheless, the COCO-Glide and DOLOS results demonstrate that ReGFLoW is not restricted to the exact latent prior used during training.
Weakness 2 / Question 2 — Clarification on the Requested Reconstruction-Based Comparison
DIRE and AEROBLADE are designed for image-level fake detection, whereas ReGFLoW addresses pixel-level fake-region localization. DIRE and AEROBLADE classify an entire image as real or fake, while ReGFLoW produces a dense localization map; therefore, direct pixel-level comparison with their original formulations is not well-defined.
To test whether the reconstruction residual alone can localize manipulated regions, we directly apply the same per-image normalization and thresholding procedure used by ReGFLoW to the SD1-VAE residual map, without model training or dataset-specific tuning. We report pixel-level F1 (%) under the P setting.
Reconstruction-Residual Baseline — Pixel-level F1 (%)
| Method | SD1.5 | SD2.1 | SDXL | SD3 | Flux.1 |
|---|---|---|---|---|---|
| Recon residual | 18.5 | 22.1 | 17.4 | 18.5 | 13.6 |
| ReGFLoW | 49.3 | 46.3 | 34.9 | 43.9 | 29.2 |
Even with the same thresholding procedure as ReGFLoW, the residual alone performs poorly across all domains and is not a sufficiently discriminative localization signal. ReGFLoW is therefore designed not to rely directly on the residual map, but to learn how to use it as an auxiliary spatial prior together with RGB evidence through gated fusion and the artifact-centric MIL objective. The substantial improvement over residual thresholding shows that the gain arises from incorporating the residual as learned guidance within the full framework, rather than from the reconstruction map alone.
Weakness 4 / Question 3 — Robustness to Gaussian Blur and JPEG Compression
We agree that robustness to common laundering operations is important for forensic localization. We therefore evaluate ReGFLoW under Gaussian blur and JPEG compression, without retraining, fine-tuning, or corruption-specific calibration. OpenSDI [9] reports pixel-level F1 under the same corruption settings for PSCC-Net, TruFor, ObjectFormer, MaskCLIP, MVSS-Net, CAT-Net, DeCLIP, and IML-ViT, enabling direct comparison with the published results.
All values below are pixel-level F1 (%).
Gaussian Blur
| Level | SD1.5 | SD2.1 | SD3 | SDXL | Flux.1 |
|---|---|---|---|---|---|
| Clean | 49.34 | 46.27 | 43.90 | 34.86 | 29.18 |
| 3 | 49.31 | 46.24 | 43.96 | 34.91 | 29.13 |
| 7 | 48.82 | 45.45 | 43.31 | 34.57 | 28.68 |
| 11 | 47.86 | 44.31 | 42.26 | 33.72 | 27.87 |
| 15 | 46.67 | 43.19 | 41.25 | 32.80 | 27.05 |
| 19 | 45.46 | 42.02 | 40.19 | 31.94 | 26.40 |
| 23 | 44.23 | 40.94 | 39.13 | 31.08 | 25.87 |
From kernel size 3 to 23, the performance decreases by only 5.08, 5.30, 4.83, 3.83, and 3.26 F1 points on SD1.5, SD2.1, SD3, SDXL, and Flux.1, respectively. At the strongest blur level, ReGFLoW retains strong absolute performance across all five domains and achieves the highest final F1 among the methods reported in OpenSDI on SD3, SDXL, and Flux.1, while remaining competitive on SD1.5 and SD2.1.
JPEG Compression
| Quality | SD1.5 | SD2.1 | SD3 | SDXL | Flux.1 |
|---|---|---|---|---|---|
| Clean | 49.34 | 46.27 | 43.90 | 34.86 | 29.18 |
| 100 | 49.33 | 46.36 | 44.05 | 34.91 | 29.59 |
| 90 | 49.14 | 46.15 | 43.90 | 34.76 | 29.49 |
| 80 | 48.88 | 45.98 | 43.98 | 34.83 | 29.78 |
| 70 | 48.38 | 45.67 | 43.29 | 33.94 | 29.48 |
| 60 | 47.93 | 45.20 | 42.34 | 33.08 | 28.67 |
From clean images to JPEG quality 60, the performance decreases by only 1.41, 1.07, 1.56, 1.78, and 0.51 F1 points, retaining 94.9–98.3% of the clean performance. At quality 60, ReGFLoW achieves the strongest performance reported in OpenSDI on SDXL and Flux.1 and remains competitive on the other domains.
Overall, these results show that ReGFLoW remains robust to both spatial smoothing and compression. Its stable performance indicates that its localization decisions are not dominated by fragile high-frequency traces: the RGB backbone and artifact-centric MIL objective learn broader generation evidence.
Weakness 5 / Question 4 — Clarification of the Training Loss Formulation
We thank the reviewer for pointing out this inconsistency. The complete training objective provided in Appendix B is the formulation used for all reported experiments. The main paper inadvertently omitted the sparsity and contrastive regularizers when summarizing the overall objective. We apologize for this documentation error and will revise the main paper Eq. 7 so that the loss formulation is fully consistent with Appendix B. This correction does not affect any of the reported results. We apologize for the confusion.
Additional References
[R1] Nichol et al., “GLIDE,” ICML 2022; [R2] Ţânţaru et al., “Weakly-Supervised Deepfake Localization in Diffusion-Generated Images,” WACV 2024.
Additional Results for W1/Q1 and W4/Q3
We would like to provide two additional evaluations that were not included in our initial response. These experiments further address the reviewer's concerns regarding generalization across reconstruction models and robustness to resizing and edit-then-reconstruct post-processing. All values are pixel-level F1 (%).
Weakness 1 / Question 1 — Robustness to Alternative Reconstruction Priors
To directly assess dependence on the default SD1 VAE, we kept the trained ReGFLoW model and all learned parameters fixed, while replacing only the reconstruction-prior input at inference time with maps produced by DIRE-DDIM reconstruction or an SDXL VAE. No retraining, fine-tuning, or adaptation was performed.
| Reconstruction prior | SD1.5 | SD2.1 | SDXL | SD3 | Flux.1 |
|---|---|---|---|---|---|
| DIRE-DDIM | 46.7 | 43.7 | 32.7 | 40.8 | 25.9 |
| SDXL VAE | 47.0 | 43.4 | 33.5 | 41.3 | 26.2 |
| SD1 VAE (Default) | 49.3 | 46.3 | 34.9 | 43.9 | 29.2 |
Under this train–test mismatch in the reconstruction prior, ReGFLoW shows only moderate degradation across all domains. This indicates that the framework is not exclusively dependent on the specific SD1-VAE reconstruction model used during training. The results further suggest that the learned gated-fusion mechanism can exploit useful spatial guidance from alternative reconstruction models together with RGB evidence.
Weakness 4 / Question 3 — Additional Robustness to Post-Processing and Reconstruction Attacks
In addition to the Gaussian-blur and JPEG-compression evaluations reported in our initial response, we evaluated 0.5× resizing and an edit-then-reconstruct setting in which the edited input is reconstructed with the SDXL VAE before inference. No retraining or corruption-specific tuning was applied.
| Input condition | SD1.5 | SD2.1 | SDXL | SD3 | Flux.1 |
|---|---|---|---|---|---|
| Clean | 49.34 | 46.27 | 34.86 | 43.90 | 29.18 |
| Resize, (0.5×) | 48.8 | 45.5 | 34.5 | 43.3 | 28.7 |
| Edit-then-Recon | 44.8 | 42.1 | 30.3 | 39.6 | 26.6 |
ReGFLoW shows minimal degradation under 0.5× resizing and retains strong localization performance after the edited input is reconstructed with the SDXL VAE. Together with the Gaussian-blur and JPEG results in our initial response, these evaluations cover compression, spatial smoothing, resizing, and reconstruction-based laundering.
Overall, these additional results provide further evidence that ReGFLoW is not narrowly tied to the default SD1 VAE and remains effective under both reconstruction-prior mismatch and post-processing intended to weaken forensic traces.
Thank you again for your thoughtful review.
As the discussion period is drawing to a close, we would be grateful for any indication of whether our responses have addressed your concerns, and we would be glad to run further analyses or provide clarification if anything remains unclear.
We appreciate your time and engagement.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
Weakness & Question 1 — Clarifying the P-Only OOD Result and Broadening the Baseline Comparison
We thank the reviewer for noting that ReGFLoW’s P-only OOD-average F1 remains below MaskCLIP and for requesting broader P+F comparisons with fully and weakly supervised baselines. We first clarify that P includes only partial edits, whereas P+F includes partial and fully synthetic images.
We presented the P setting in Table 1 because prior fake-region localization studies predominantly evaluate partially edited images, making it the standard setting for comparison with existing methods. ReGFLoW outperforms most fully supervised baselines in this setting. However, its OOD average remains below MaskCLIP. We also note that all methods in Table 1 perform better on SD2.1 than on SDXL, SD3, and Flux.1, with substantial gaps in many cases. The OOD average—particularly that of MaskCLIP—is therefore strongly influenced by the SD2.1 result, which appears to reflect a smaller shift from the SD1.5 training distribution, and should be interpreted together with the results on individual generators. Nevertheless, Table 1 alone does not fully support our broader generalization claim.
Our claim concerns generalization not only across generators, but also across fake-image types. Partial edits are often applied to semantic objects, and their masks consequently tend to follow object contours. Models evaluated only on such images may therefore benefit from object-boundary or mask-shape regularities rather than relying entirely on transferable generation artifacts. Fully synthetic images contain no localized edit boundary, making the P+F setting a more stringent test of whether the learned evidence transfers beyond the partial-edit structure seen during training.
Table 2 is therefore more directly connected to our intended claim. To address the reviewer’s request, we expand the P+F comparison by adding recent fully supervised baselines from Table 1, including MaskCLIP. All methods are trained on the OpenSDID-SD1.5 training split; SD1.5 is therefore the in-domain test set, while SD2.1, SDXL, SD3, and Flux.1 are unseen-generator OOD test sets.
P+F Setting — Pixel-level F1 (%)
As noted above, the same pattern appears in the expanded P+F comparison: all methods again perform better on SD2.1 than on SDXL, SD3, and Flux.1. This is consistent with SD2.1 representing a less challenging distribution shift, while the remaining three generators provide a stricter test of generalization. Despite using only image-level supervision, ReGFLoW achieves the best performance on all three and the highest OOD average.
To broaden the comparison beyond fully supervised baselines, we also trained representative existing weakly supervised localization methods on the OpenSDID-SD1.5 training split. However, these methods often fail to learn meaningful localization and instead predict most pixels as fake. Because fully synthetic images have all-positive ground-truth masks, this behavior can spuriously inflate P+F scores; we therefore report weak-baseline results under the P setting, where both authentic and manipulated regions are present and near-all-positive predictions are appropriately penalized.
P Setting — Weakly Supervised Methods, Pixel F1 / IoU (%)
Their low performance should not be interpreted as evidence that weak supervision itself is ineffective. Rather, as discussed in Figure 1, conventional weak localization methods rely on semantic affinity, object consistency, or boundary priors that are poorly matched to diffusion artifacts, which are often non-semantic, spatially distributed, and weakly bounded. ReGFLoW instead uses reconstruction error as artifact-oriented spatial guidance.
In summary, ReGFLoW performs best on the more shifted OOD generators, achieves the highest P+F OOD average, and substantially outperforms existing weakly supervised methods under the meaningful P-setting comparison.
Question 2 — Isolating the Effect of Weak Supervision from Model Architecture
As discussed above, the poor performance of existing weakly supervised baselines makes it difficult to determine from baseline comparisons alone whether weak supervision itself improves generalization. We therefore conduct two controlled comparisons by changing the supervision strategy while retaining the corresponding backbone and non-head components.
To isolate supervision from architecture, we keep each backbone and all non-head components fixed and change only the prediction head and its supervision.
MaskCLIP-WS retains the MaskCLIP backbone but replaces its fully supervised segmentation head with our MIL head trained using image-level labels. Conversely, ReGFLoW-FS retains the ReGFLoW backbone and reconstruction guidance but replaces its MIL head with a fully supervised segmentation head trained using pixel-level masks.
All variants are trained on OpenSDID-SD1.5 and evaluated under the same P+F protocol.
Controlled Comparison 1 — Fixed MaskCLIP Backbone, Pixel-level F1 (%)
Controlled Comparison 2 — Fixed ReGFLoW Backbone, Pixel-level F1 (%)
Under both backbones, full supervision performs better in-domain and on SD2.1, whereas weak supervision yields substantially stronger results on SDXL, SD3, and Flux.1. Despite the strong SD2.1 performance of the fully supervised variants, ReGFLoW achieves a higher OOD average than ReGFLoW-FS, while MaskCLIP-WS remains comparable to fully supervised MaskCLIP using only image-level labels. These controlled comparisons support that the improved generalization is attributable not only to the backbone or reconstruction guidance, but also to the weak-supervision formulation.
Question 3 — Per-Image Calibration and Thresholding
The threshold is not tuned on the test set or a held-out split. It is computed independently for each prediction map from the mean, standard deviation, and positive-response ratio of that image’s logits, without pixel-level GT, dataset-level statistics, or threshold search.
We do not apply this calibration to fully supervised baselines, which follow their original inference procedures. Unlike pixel-supervised methods that directly learn a foreground/background decision boundary, our MIL objective learns relative patch evidence and leaves the absolute logit scale image-dependent. Image-wise normalization and adaptive thresholding are therefore method-specific steps for converting weakly supervised scores into binary masks. Similar prediction-dependent normalization or thresholding is widely used in WSSS, including Adaptive Spatial-BCE [R3], Threshold Matters in WSSS [R4], Pseudo-Mask Matters [R5], and DuPL [R6].
Question 4 — Cross-Dataset Generalization Beyond OpenSDID
All methods are trained on OpenSDID-SD1.5 and directly evaluated on COCO-Glide [19] and DOLOS [R8] under the same protocol, without fine-tuning or target-domain adaptation.
COCO-Glide contains only locally edited images and is evaluated under P, whereas DOLOS contains both locally manipulated and fully synthesized images and is evaluated under P and P+F. We report pixel-level F1 (%).
Cross-Dataset Evaluation — Pixel-level F1 (%)
ReGFLoW achieves the best performance across all three cross-dataset evaluations despite using only image-level supervision. The DOLOS results further demonstrate transfer from OpenSDID’s diverse natural scenes to face-centered diffusion deepfakes, providing evidence of generalization beyond both the training dataset and image domain.
Additional References
[R1] Zhai et al., “Towards Generic Image Manipulation Detection with Weakly-Supervised Self-Consistency Learning,” ICCV 2023; [R2] Guo et al., “From Passive Perception to Active Memory,” AAAI 2026; [R3] Wu et al., “Adaptive Spatial-BCE Loss for WSSS,” ECCV 2022; [R4] Lee et al., “Threshold Matters in WSSS,” CVPR 2022; [R5] Li et al., “Pseudo-Mask Matters in WSSS,” ICCV 2021; [R6] Wu et al., “DuPL,” CVPR 2024; [R7] Nichol et al., “GLIDE,” ICML 2022; [R8] Ţânţaru et al., “Weakly-Supervised Deepfake Localization in Diffusion-Generated Images,” WACV 2024.