Reading Anomalies as Types: Adapting Pretrained Models for Industrial Anomaly Diagnosis
Anonymous authors
ICLR 2027
TL;DR. This study demonstrates that combining pretrained vision-language models with text-based prior knowledge enables industrial defect detection and diagnosis without requiring extensive defect data or task-specific model training.
Abstract. Scarce and diverse defect examples make product-specific inspection models costly to train. Detecting a deviation from normal is only part of the task: diagnosis also requires identifying which product-specific inspection criterion it violates. We study defect diagnosis with frozen visual and vision-language models, combining normal-reference localization, targeted views, and textual inspection criteria. The target setting requires no defect-image exemplars at diagnosis time. Our experiments use descriptions derived from held-out defect images as a proxy for inspector knowledge; direct image access is tested only in separate controls. On public industrial benchmarks and semiconductor data, descriptions improve defect typing with model weights and visual inputs fixed. Correctly aligned descriptions outperform descriptions assigned to the wrong labels, supporting the importance of matching inspection criteria to defect types. Across separate controlled comparisons, visual marking primarily recovers missed defects, while descriptions can also correct type errors. Detector misses and uneven per-type performance limit deployment claims. These results identify textual inspection criteria as a means of adapting frozen models to product-specific diagnoses.
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
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 16:45 UTC.
- Rating
- 1/4
- Confidence
- 4/4
- Soundness
- 1/3
- Presentation
- 1/3
- Informativeness
- 1/3
Read review
Summary
Contents In industrial environments, collecting sufficient defect datasets is costly and difficult. Therefore, this paper reports experimental results on whether frozen vision-language models (VLMs) can diagnose specific defect types by relying solely on textual descriptions and normal reference images, without using defect-image exemplars at diagnosis time.
Claimed Contributions
- Evaluation of textual inspection knowledge: The paper empirically demonstrates that providing concrete textual descriptions of defects improves defect-type classification accuracy over providing bare class names, and that matching descriptions to the correct labels outperforms randomly permuted (deranged) descriptions.
- Analysis of error patterns across text and spatial evidence: The authors report how different inputs change error types—specifically, that visual anomaly marking (via DINOv2) primarily recovers missed defects predicted as NORMAL, whereas textual descriptions also correct confusion between different defect types, while detector gating trades defect recall for lower false alarms.
- Normal-reference diagnosis pipeline: The paper presents a training-free configuration that combines DINOv2-based normal-reference patch comparison, cropped/enlarged visual views, and textual criteria to predict either a specific defect type or NORMAL.
Validation
- Instead of comparing against existing defect analysis or anomaly classification baselines, the authors validate their pipeline exclusively through internal ablations using two frozen VLMs (Gemma-4-26B-A4B and Qwen3.6-35B-A3B) and a frozen DINOv2 encoder.
- Experiments are conducted on selected subsets of two public benchmarks (MVTec AD with 5 categories and Real-IAD with 5 categories) and a private semiconductor BGA dataset (90 evaluation defects across 11 types and 12 normal images).
- To simulate human inspector knowledge, the authors use another VLM (gemma-4-31B-it) to generate textual descriptions from held-out defect images, and then evaluate type accuracy and false positive rates (using exact McNemar tests) by varying prompt conditions (e.g., class names only, generic definitions, region-derived descriptions, deranged labels, and direct image exemplars), visual markings, and detector gating thresholds.
Strengths
This paper provides a detailed empirical breakdown of how spatial anomaly marking and textual descriptions differently affect specific error types (recovering missed defects vs. resolving defect-type confusions), alongside an explicit analysis of the trade-off between defect recall and normal false positive rates.
Weaknesses
Lack of Comparisons
- The authors frame their setup around diagnosing defects without defect-image exemplars at diagnosis time. Since this is a very common scenario in industrial visual inspection, numerous existing works already address this kind of problem. Simply observing and reporting phenomena using two VLMs (Gemma4 and Qwen3.6) without comparing against existing defect analysis or classification baselines is insufficient. Furthermore, although Real-IAD contains many defect instances and categories, the authors evaluate on only MVTec AD and Real-IAD. Authors should have conducted broader experiments across additional public defect datasets beyond the two datasets presented in this paper (e.g., the Magnetic-tile defect dataset, NEU-DET, etc.).
Rambling & Unstructured Writing
-
There are abrupt logical leaps throughout the text. For example, in the first paragraph of the Introduction, the authors write: "...NaturalBench shows that strong VLMs can fail when answers depend on visual differences rather than language priors (Li et al., 2024). Industrial diagnosis therefore requires direct evaluation under the information constraints of inspection." Jumping directly from VLM failures on natural image pairs to the necessity of evaluating under specific industrial information constraints lacks intermediate logical grounding.
-
Overall, this manuscript reads like a fragmented collection of experimental logs rather than a cohesive scientific paper. The experimental setups in Sections 4 and 5 shift arbitrarily across different visual views, prompt conditions, and gating rules, making the narrative rambling and very difficult to follow.
Unclear Problem Formulation
- This paper primarily presents an empirical observation of specific model behaviors and failure modes, but it fails to clearly formulate a scientific problem or establish a concrete research objective beyond reporting these phenomena. Furthermore, this paper makes little effort to investigate how the identified failure modes (such as detector misses, high false-positive rates, or per-type failures) could be methodologically resolved or how model performance could be systematically improved. As a result, the contribution remains largely observational, leaving both the scientific motivation and the practical significance of this study unclear.
Unclear and Potentially Misleading Terminology
-
In Section 3.3, this paper introduces how the frozen VLM ingests the visual views, textual inspection knowledge , and defect taxonomy using only a high-level symbolic expression: . Even though the exact way these multi-modal signals and prompt structures are combined is critical to VLM performance, this paper omits concrete formulation details and exact prompt structures from both the main text and the Appendix.
-
Several terms are introduced without clear definitions or context, such as "General benchmark" and "NaturalBench" in the Introduction. Granted, a reader might infer their rough meaning from context, but academic writing still requires at least a one-line explanation or appropriate citations when introducing such benchmarks.
-
In Section 4, the term "single-image factorial" is introduced without definition and is potentially misleading. In experimental design, "factorial" refers to systematically evaluating all combinations of multiple discrete factors. However, the main text does not clearly specify which factors and levels constitute this design or how the setup qualifies as a factorial experiment when the term first appears. The authors should clarify the intended meaning of this term and justify its usage in main page.
-
The term "generic definition" (or "generic criteria") is also overly ambiguous. This paper does not clearly illustrate in the main text what level of information is included in a "generic definition" versus "concrete descriptions," leaving the distinction vague to the reader.
Description Mismatch
- In Section 5.1, while referring to Figure 2(a), the authors state that "Improvements extend across most product/model comparisons, but are not universal." However, Figure 2(a) only plots the aggregate gains across the four dataset/model pairs—all four of which are positive (+19.8, +16.9, +3.7, and +11.7 pp)—visually showing universal improvement at the plotted level. Making a claim about non-universal product-level behavior while citing a figure that only displays positive aggregate bars creates a confusing mismatch between the text and the referenced figure.
Questions for the authors
Q1. Why did you not conduct experiments on MMAD, even though you explicitly cite and refer to this benchmark in the very early page ?
- Rating
- 3/4
- Confidence
- 4/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper studies industrial defect diagnosis using frozen visual and vision-language models, without task-specific weight updates.
The pipeline combines normal-reference anomaly localization, selected query/reference views, and textual descriptions of possible defect types.
The authors evaluate two frozen vision-language models on selected MVTec AD and Real-IAD categories, as well as a semiconductor inspection cohort.
The descriptions improve defect-type prediction in several controlled comparisons, and correctly aligned descriptions outperform descriptions assigned to incorrect labels.
The paper analyzes defect-type errors, missed defects, false alarms, and detector-gating trade-offs, while acknowledging limitations in industrial validation.
Strengths
The paper evaluates defect diagnosis rather than treating anomaly localization as a sufficient measure of industrial inspection capability.
Holding model weights and relevant visual inputs fixed makes the textual-knowledge comparisons easier to interpret.
The aligned-versus-deranged description control directly tests whether the correspondence between defect criteria and labels matters.
The combination of public benchmarks and production-line semiconductor images provides evidence from both benchmark and industrial settings.
The analysis separates several error types and examines how anomaly marking and threshold-based gating change the diagnostic trade-off.
Weaknesses
The paper introduces no new model architecture or training algorithm, so its contribution depends heavily on the breadth and strength of the empirical evidence.
The inspection descriptions are partly derived from held-out defect images rather than independently authored expert specifications, limiting the realism of the proposed knowledge source.
The semiconductor evaluation contains only 90 defects and 12 normal images from one production line, and defect-lot independence cannot be established.
The benefit of textual descriptions varies across diagnostic models and datasets, and the results are sensitive to the description-authoring model.
The public four-view study and single-image follow-up use different visual inputs, normal-reference construction, and gating settings, making comparisons across these settings difficult to interpret directly.
Questions for the authors
Can the main findings be reproduced using inspection criteria independently written by domain experts without access to the held-out evaluation images?
How do the authors rule out residual leakage or label-specific visual cues in descriptions derived from held-out defect images?
Can the semiconductor results be validated on additional production lots or inspection lines, with uncertainty estimates for per-type performance?
Can the authors quantify the sensitivity of diagnosis accuracy to the description-authoring model, prompt design, and description content?
Can the public-benchmark results be compared under a single consistent protocol with disjoint normal-reference sets and matched visual inputs?
Ethics concerns
No specific human-subject or personal-data ethics concern is apparent from the manuscript. The restricted semiconductor dataset raises questions about reproducibility and data access, but the stated restriction alone does not establish an ethics violation.
- Rating
- 2/4
- Confidence
- 4/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper studies defect typing with frozen DINOv2 and vision-language models. Normal-reference patch comparisons select regions, and Gemma4 or Qwen3.6 receives query/reference views and textual defect criteria. Experiments use 649 public-benchmark defects and 90 semiconductor defects, with descriptions derived from held-out defect images as a proxy for inspector knowledge. Separate comparisons examine description content, anomaly marking, and detector gating.
Strengths
-
The fixed-view comparisons establish a substantial effect of exemplar-derived descriptions in some settings. On MVTec, combined descriptions raise Gemma4 accuracy from 46.70 to 66.48 percent and Qwen3.6 from 38.68 to 55.59 (Table 3).
-
Label permutations, authoring-model substitutions, and shortcut controls help delimit what these gains demonstrate. Reporting failures and false alarms makes the empirical evidence more informative than headline accuracy alone.
Weaknesses
-
The central contribution is a limited extension of established context adaptation to an industrial task. Section 2 already identifies normal-reference patch matching, textual descriptions, and visual evidence selection as existing capabilities. Their connection here does not introduce a new adaptation mechanism or solve a previously unsupported task formulation: a frozen VLM receives more informative class descriptions and localized views within a supplied taxonomy. An empirical paper need not propose a new algorithm, but it must then establish a consequential new finding. The strongest headline result, that correctly aligned exemplar-derived descriptions outperform class names or permuted descriptions, establishes that the model uses task-relevant information; it does not establish a distinctive principle beyond familiar context conditioning. The paper leaves unclear what researchers should now understand or do differently beyond supplying better descriptions and visual evidence.
-
The proposed distinction between semantic criteria and spatial evidence remains descriptive rather than explanatory. Appendix B.5 reports that descriptions correct 75 wrong types and recover 6 misses for Gemma4 on MVTec, versus 9 and 54 for Qwen3.6. Thus, the same intervention predominantly changes different errors across models. The paper acknowledges dependence on initial errors, but does not establish which properties of the criteria or models determine the outcome. Table 7 crosses generic criteria with marking, while the main description gains use exemplar-derived text in another configuration. These results do not yield a tested rule for choosing or combining the information sources. The error accounting is useful, but its scientific value is narrower than an explanation of how to adapt frozen models for diagnosis.
-
The practical advantage of the text-mediated approach is not established against simpler uses of the available supervision. The strongest descriptions are derived from labeled defect exemplars, whereas generic definitions yield no Holm-significant public gains (Table 5). In Table 12, changing the joint-description author from the primary model to Qwen3.6 reduces correct semiconductor diagnoses from 50 to 29 for Gemma4 and from 41 to 14 for Qwen3.6. This makes description construction central to the result, yet the study does not identify a reliable way to obtain effective criteria. Moreover, Gemma4 joint descriptions achieve macro-F1 of 34.1 versus 34.4 for DINO 1-NN, with 58.3 percent normal FPR; Qwen3.6 matches 1-NN's 45.6 percent type accuracy while missing 39 of 90 defects (Table 8). These are different operating points because retrieval always assigns a defect type, so they do not establish retrieval superiority either. They leave the claimed practical value unresolved: why prefer exemplar-to-text conversion and VLM inference over feature retrieval using comparable support information and matched rejection?
Questions for the authors
What finding changes existing understanding of context-based diagnosis beyond demonstrating gains from informative inputs? What explains the authoring-model sensitivity, and can effective criteria be identified independently of downstream evaluation?
1 comment
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for the additional analyses, which make the empirical study more careful. However, my central concern about the paper’s positioning remains. The revised response increasingly presents the work as a set of conditional observations: the advantage over retrieval depends on spatial evidence, the effect of information sources varies across models, and effective descriptions can only be identified through downstream evaluation. These are useful caveats, but they do not yet combine into a transferable finding or design principle that would justify the text-mediated approach as a contribution in its own right. I therefore maintain my original recommendation.