- Rating
- 3(+1)
- Confidence
- 3
- Informativeness
- 1
- Presentation
- 3
- Soundness
- 3
Read review
Paper summary
This paper presents AnomalyEditor, a framework for generating synthetic industrial anomalies using instruction-guided image editing. The approach addresses the lack of spatially aligned normal–anomalous image pairs required to fine-tune existing image editors. To construct such pairs, the authors use a pretrained inpainting model, fine-tuned on normal images, to remove annotated anomalies from real anomalous samples. The resulting pseudo-normal images are paired with the original anomalous images to fine-tune an instruction-guided editor. The framework additionally employs a spatially weighted training loss, randomized guidance scales to diversify anomaly severity, and a filtering procedure to reject unsuccessful edits.
Experiments on MVTec-AD, VisA, and MVTec-3D demonstrate improvements in image-generation quality and downstream defect classification, alongside competitive anomaly detection and localization performance.
Critical strengths
-
The paper addresses a practically relevant problem: generating realistic anomalous images from limited annotated examples.
-
The proposed pipeline is coherent and combines existing techniques in a sensible way.
-
The experimental evaluation covers three established industrial inspection benchmarks and reports substantial improvements in downstream defect classification.
-
The ablation studies provide evidence that constructing aligned training pairs is beneficial compared with directly fine-tuning the editor on unaligned examples.
Critical weaknesses
1. Limited methodological novelty
My main concern is the limited methodological contribution. The proposed framework primarily combines established techniques into an anomaly-generation pipeline.
The central reverse-to-forward procedure uses an existing inpainting model to remove annotated anomalies, thereby constructing the aligned image pairs required to fine-tune an existing instruction-guided editor. While this is a practical solution, using inpainting to reconstruct missing normal regions is a standard application of inpainting models. The methodological novelty of this pair-construction strategy is therefore limited.
The remaining components are also relatively straightforward adaptations of existing techniques:
- The spatial anomaly-attentive loss is essentially a spatially reweighted version of the standard rectified-flow training objective, with anomaly-region weights normalized by their relative area.
- Severity-diverse generation uses standard classifier-free guidance with randomly sampled guidance scales.
- Edit region-aware sampling applies a heuristic filtering procedure to reject unsuccessful generations.
Although these components improve empirical performance, their combination does not appear to introduce a substantially new learning or generation mechanism.
2. Positioning
The terminology used throughout the paper is potentially misleading. Already in the introduction, the authors present anomaly detection and anomaly classification as two closely related tasks, without clearly distinguishing their underlying learning problems. In particular, the term "anomaly synthesis" suggests the generation of deviations from normality, whereas the proposed method, although useful, learns to generate examples of known, annotated defect types. Its primary application is therefore data augmentation for supervised defect classification, which is fundamentally different from anomaly detection, where the anomalies to be detected are not known in advance. This distinction is important because the terminology may create expectations about the scope and capabilities of the method that are not supported by the actual setup.
Questions for authors
see weaknesses
3 comments
Response to Reviewer yCnZ (2/2)
W2) Terminology, scope and industrial relevance
AnomalyEditor is a synthesis framework evaluated through defect-type classification and supervised detection/localization, and we think its demonstrated utility is not limited to classification augmentation. Nevertheless, we agree that these tasks and their supervision assumptions should be distinguished more explicitly.
Our main comparisons follow the example-supported setting of the evaluated few-shot synthesis methods (Hu et al., 2024; Rao et al., 2026; Jin et al., 2025): examples of each target anomaly type are available during adaptation or as generation references. Generated examples then train downstream inspection models, which are evaluated on held-out real images. Although the downstream training examples are synthetic, the overall pipeline uses annotated real defects and is therefore not a normal-only approach to detecting unknown anomaly types.
This setting is particularly relevant when a new product variant is introduced (which occurs quite frequently in practice) or an existing design is updated and only a few anomaly examples are available for that product. Anomaly type such as scratches or cracks may already be known, while their appearance and placement on the target product require new examples. Normal product images may be available before enough abnormal examples have been collected. Few-shot synthesis addresses this practical data shortage by expanding the available abnormal examples for supervised inspection. AnomalyEditor directly addresses this imbalance: normal images support restoration learning, while scarce real anomalies remain the editing targets.
We will make these assumptions explicit in the abstract and introduction, distinguish defect-type classification and supervised detection/localization from normal-only anomaly detection, and label Tables 3 and 4 (page 8) accordingly. We will also clarify that the main benchmark split holds out images rather than defect types.
We hope these revisions clarify the evaluation boundary while preserving the central contribution: learning useful, mask-free anomaly editing from scarce annotated examples for multiple supervised inspection tasks.
Thank you for promptly reviewing our rebuttal and for raising the score. We appreciate the time and care you have devoted to the review process. Your feedback has helped us clarify our presentation. If there are any further questions or points that would benefit from further clarification, please let us know, and we will be happy to address them.
Response to Reviewer yCnZ (1/2)
Dear Reviewer yCnZ, Thank you for your thoughtful review and for recognizing the practical relevance, coherent framework and downstream improvements. We clarify below the methodological contribution of reverse-to-forward training and the supervision assumptions underlying our evaluation.
W1-1) Novelty of reverse-to-forward training
Our contribution is a reverse-to-forward learning formulation for few-shot, mask-free anomaly synthesis from unpaired inspection data, and not inpainting in isolation. While the inpainter itself is a standard tool, our claim concerns the supervision structure it enables. The formulation exploits an asymmetry in the available supervision: normal reconstruction can be learned from abundant normal images whereas anomaly appearance must be learned from scarce examples. We therefore construct the missing normal counterparts while retaining the original anomaly images as real editing targets. These aligned pairs enable the forward editor to learn anomaly appearance and image-dependent placement without matched normal-anomaly observations. Masks provide training supervision but do not prescribe the edit region on new normal references.
This addresses the limitations motivating our work: the evaluated mask-conditioned methods require a target region, while global-generation methods synthesize the entire image without conditioning on a normal reference. AnomalyEditor instead learns localized, reference-conditioned edits from real anomaly targets, with reverse construction supplying the otherwise unavailable supervision.
Related removal-based supervision appears in Paint by Inpaint (Wasserman et al., 2025) and ObjectDrop (Winter et al., 2024) for natural-object editing. Our setting differs in that it is few-shot anomaly editing and requires no additional large editing corpus. UniDG (Fan et al., 2026) learns from a large anomaly-editing corpus and uses an explicit target mask in its Anomaly-Context Editing formulation. We will sharpen these distinctions in the related work discussion.
The formulation, rather than the backbone, is the main source of the gain. With the same pretrained forward editor, reverse-to-forward training improves classification accuracy from 58.34% to 81.34% over forward-only fine-tuning (Table 5(a), page 9). With an SD v1.5-based implementation, it achieves 74.5%, exceeding the strongest evaluated SD v1.5-based baseline at 71.3%. Together, these results substantiate effective mask-free editing under scarce anomaly supervision beyond simply choosing a stronger backbone.
W1-2) Role of the additional components
The additional components address specific difficulties in learning and sampling few-shot anomaly edits, complementing the supervision construction:
Small-defect supervision: The spatial anomaly-attentive loss uses inverse-area weighting while retaining normal-region supervision. Removing it reduces classification accuracy from 81.34% to 78.69%.
Severity coverage: Guidance contrasts an anomaly instruction with an identity-preserving instruction on the same normal reference. Sampling its strength diversifies the edits; replacing this with the default fixed setting reduces accuracy to 76.80%.
Non-edit label noise: Edit region-aware sampling identifies potential failed edits and re-edits the reference, reducing the inclusion of unchanged images labelled as defective. Removing it reduces accuracy to 76.66%.
These components build on established weighting, guidance and filtering principles. Their contribution lies in addressing the identified failure modes within the framework, supported by ablations. We will clarify this hierarchy while retaining reverse-to-forward supervision for few-shot mask-free editing as the central methodological contribution.