- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper presents UniDG, a reference-conditioned framework for generating localized visual defects across diverse objects and domains. Its main contributions are UDG, a dataset of 300K normal–abnormal–mask–caption quadruplets, and a two-stage training strategy combining Diversity-SFT and Consistency-RFT. Experiments demonstrate improved synthesis quality and downstream anomaly detection and localization performance.
Strengths and weaknesses
Strength:
- The experiments are extensive, the ablation study is solid, and the results of downstream tasks are good.
- The paper is well-organized and the training details are sound, described in detail.
- I think the proposed dataset is important for the defect generation task and can improve the performance of anomaly detection and localization. Weakness:
- The cross-domain experiments are insufficient, only the single-class Kvasir-SEG dataset is used in the evaluation.
- The KID is not used to evaluate the generated images' quality. The reported MLLM scores may favor outputs aligned with these models rather than objectively measuring realism.
- The fonts in Figure 1 and 2 are too small, making it diffucult to read.
Questions
- It is suggested to adjust the fonts in Figure 1 and Figure 2.
- It is suggested to clarify whether reference defects, validation images, and test images are strictly disjoint.
- It is suggested to add KID metrics to evaluate the reality of generated images.
- It is suggested to provide additional matched comparisons using the same backbone, training data, target masks, and training stages.
- It is suggested to explain how are the best downstream U-Net checkpoints selected.
Limitations
yes.
Paper formatting concerns
See the Weakness.
Final justification
I think it is a borderline accept paper.
We are grateful that the reviewer considers the dataset important, and that is exactly why we want to settle the ethics flag on data quality and representativeness rather than answer it with reassurance. We take it up first and at length, then turn to KID and MLLM bias, cross-domain scope, the matched comparison, and split isolation and checkpoint selection.
1. Data quality and representativeness (ethics concern)
This is the weakness we would least like to leave standing. Much of the documentation is already in Appendix A and Appendix P, but we buried it too deep to be found, so we quote it here.
Already in the paper. The dataset card in Appendix P states intended and out-of-scope uses verbatim: the data "is not intended for fabricating visual evidence, manipulating inspection records, or making safety-critical deployment decisions without human validation," and lists known limitations including "imperfect captions or masks that may survive automated verification, uneven coverage across rare defect types, and potential biases inherited from the public source datasets." Appendix A states the dual-use risk explicitly — the same capability "could be misused to fabricate defect evidence or manipulate quality-control records" — and commits to release under the MIT License with responsible-use documentation. All sources are public research datasets, no personally identifiable information is involved, and the 30-participant user study was internally reviewed.
Quality control is quantified rather than assumed (Appendix N). Candidates below caption confidence 0.8 are rejected, removing 19.84% at 92.3% precision on a 500-sample human calibration; the Verifier Agent discards a further ~30% of triplets scoring below an average Likert 4.2 across normality, caption consistency, and defect existence; roughly 5,000 boundary cases were inspected manually.
What we add. The paper reports what was rejected but never the quality of what was kept, so we audited 500 stratified retained samples: image/mask validity 96.4%, caption correctness 95.6%, and 97.1% of recovered normals judged both defect-free and artifact-free.
What we will not claim. Coverage of 50 public datasets is not representativeness of proprietary deployment distributions, and rare defect types remain unevenly covered. Both limitations move into the main text.
2. KID
This is a real gap rather than something we buried: the submission reports only LPIPS-based diversity (IL, IL-a in Table 1) and no distribution-level realism metric. We are adding KID, and want to be straight about what it will show.
None of the three few-shot baselines reports KID or FID on anomaly images, and not by oversight. AnomalyDiffusion states that with limited anomaly data "FID and KID are not reliable since the overfitted model tends to yield better scores"; DualAnoDiff gives the same reason for using IS instead. SeaS reports KID only for the authenticity of generated normal images, a different quantity.
That sets the expected direction: all three train per category on real anomalies of that category, precisely the overfitting regime the metric rewards, so we expect them to lead on KID.
Protocol: Inception-V3 pool3 features, unbiased KID over 100 subsets of size 100 (std over subsets reported), real and generated anomalies matched per category with identical counts across methods, over 15 MVTec-AD categories. We add IS because it is the metric this literature actually uses, though Sec. 7's caution that IS correlates weakly with downstream utility still applies. We recompute every entry above on our own generated sets rather than quoting published ones. Against models trained on the target category, the honest claim is not that we win on realism but that we come close with no per-category training; the clean comparison is InsertAnything, which also trains none. DualAnoDiff likewise leads on diversity (IL 0.37 versus our 0.28), so we will present realism and diversity as a trade-off rather than claim both.
On MLLM bias: the reported Gemini/GPT scores are not produced by the Defect-Und-Reward model used during RFT, and the conclusions also rest on downstream detection, localization, and classification, the 30-person study, and the blinded audit below. A preference shared across model families could still exist, which is part of why the added metrics are worth having.
3. Cross-domain scope
We should have made this easier to see (Appendix L, Table 20): GoodsAD is also evaluated, including under the multi-class protocol. On GoodsAD (330 test images spanning all 6 defect types) UniDG-RFT reaches SC-Acc 74.6, SC-AP-P 73.8, MC-PRO-P 88.37, and MC-FG-mIoU 28.94, against 56.8 / 55.7 / 69.53 / 11.42 for InsertAnything and 55.2 / 14.3 / 71.84 / 8.26 for AnyDoor. Kvasir-SEG (120 images) is evaluated single-class only, and there UniDG-RFT reaches SC-Acc 73.2 versus 53.1 and 51.4. Neither uses domain-specific fine-tuning; the comparison is against insertion methods because the few-shot baselines need per-category training and cannot run on an unseen benchmark.
The absolute scale is modest, and we will qualify the universality claim rather than let two small benchmarks carry it.
4. Matched comparison
Appendix M (Table 21) already contains exactly the comparison requested: InsertAnything and UniDG share the FLUX.1-Fill-dev/Redux-dev backbone, the UDG training data, the target masks, and both training stages.
UniDG-SFT alone exceeds InsertAnything with the same RFT stage. Buried in the appendix it did not read as the matched comparison it is, so we will move it into the main paper and state the controlled variables in one place.
5. Split isolation and checkpoint selection
Split isolation. MVTec-AD and VisA are excluded from UDG generator training, including from the Inpainting Agent's training data, so no evaluation image is ever seen by the generator. Reference defects come from the established few-shot split used by prior work, which is disjoint from the evaluation images. This deserves a number rather than an assurance, so we are re-auditing the final manifest end to end and will report two overlap counts: UDG training against the MVTec-AD/VisA evaluation images, and the generation references against the downstream evaluation images. We expect both to be zero and will report them either way.
Checkpoint selection and the validation split (Appendix G) are the same question, so we take them together. What gets selected is the downstream evaluator, not UniDG: for each method's generated data the same U-Net trains for 200 epochs, is evaluated every 10, and we keep the best sum of AUROC-I, AUROC-P, AP-P, and PRO-P — 20 candidates under one rule, schedule, and 500-image budget for every compared method. Appendix G defines no validation split separate from the evaluation split, though, and a best-of-20 rule on the evaluation metrics can lift absolute numbers for every method. We would rather measure that than argue it: the full downstream evaluation is being re-run at a fixed final epoch, with no selection at all, and we will post that table in this thread during the discussion period.
6. Data scale and failure quantification requested by the AC
The subsets are nested and stratified, with identical initialization, architecture, sampling mixture, and evaluation. Since 14K steps at global batch 64 is exactly one pass over UDG, a fixed budget would force smaller subsets into repeated passes, which Table 7 shows depresses FG-mIoU; each size therefore reports its best of 6K, 10K, and 14K steps. The resulting FG-mIoU / Cons are 23.2 / 4.05 at 50K, 25.8 / 4.09 at 100K, and 27.4 / 4.12 at 200K, against 28.52 / 4.15 at 300K.
A blinded audit by two independent annotators over both models' outputs on the same 365 inputs, five per MVTec defect class, quantifies failures:
The categories overlap and do not sum to the any-failure rate; the SFT→RFT effect is real but modest, in line with the small movement in the MLLM scores. Per defect type the RFT rates run from 7.8% on foreign matter and 8.7% on scratch/abrasion up to 13.2% on discoloration/stain and 15.3% on deformation/fold/wrinkle, concentrating in the geometry- and illumination-sensitive categories Appendix D.3 already shows qualitatively.
7. Correction to the VisA classification table
During this audit we found a transcription error in Table 16: the SeaS VisA classification column duplicated its AUROC-I column. The corrected per-category accuracies average 63.62 rather than 84.67; the full column will appear in the final version. UniDG-SFT and UniDG-RFT remain 90.01 and 91.16, and no UniDG conclusion is affected.
8. Presentation
We will enlarge the fonts in Figures 1 and 2, expand every abbreviation in their captions, and make all captions self-contained.
On the ethics flag: if anything in the documentation or audit is still insufficient, we would rather be told precisely what is missing than guess, and can add it within the discussion period. If the audit and the added metrics settle the listed weaknesses, we hope the reviewer will see the paper as a clearer accept.