potentialpaper

Towards Explainable Industrial Anomaly Detection via Knowledge-Guided Latent Reasoning

Peng Chen, Wenqiang Wang, Yunkang Cao, Chengliang Liu, Wei Wang, Mingbo Yang, Li Shen, Wenqi Ren, Xiaochun Cao, Chao Huang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Industrial anomaly detection demands precise reasoning over fine-grained defect patterns. However, existing multimodal large language models (MLLMs), pretrained on general-domain data, often struggle to capture category-specific anomalies, thereby limiting both detection accuracy and interpretability. To address these limitations, we propose Reason-IAD, a knowledge-guided dynamic latent reasoning framework for explainable industrial anomaly detection. Reason-IAD comprises two core components. First, a retrieval-augmented knowledge module incorporates category-specific textual descriptions into the model input, enabling context-aware reasoning over domain-specific defects. Second, an entropy-driven latent reasoning mechanism conducts iterative exploration within a compact latent space using optimizable latent think tokens, guided by an entropy-based reward that encourages confident and stable predictions. Furthermore, a dynamic visual injection strategy selectively incorporates the most informative image patches into the latent sequence, directing the reasoning process toward regions critical for anomaly detection. Extensive experimental results demonstrate that Reason-IAD consistently outperforms state-of-the-art methods across multiple tasks. The code will be publicly available upon publication.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The manuscript introduces a knowledge-guided dynamic latent reasoning approach for explainable industrial anomaly detection. The proposed technique comprises a retrieval-augmented knowledge module, a dynamic visual injection scheme, and an entropy-driven latent reasoning mechanism to perform contextualized reasoning over industrial defects together with utilising visual evidence. The manuscript addresses an important application problem and is generally well-written. Reviewers raised several issues in the manuscript including, missing detailed failure case analysis, detailed analysis on the impact of hyper-parameters (e.g., effect of the noise scale), missing method details (e.g., questions related to text descriptions through similarity matching, top-k categories, use of fine-grained Defect Spectrum annotations). The AC believes most of the reviewers concerns to be reasonable and important to be addressed in the rebuttal.

Final justification

Authors presented the rebuttal to address the initially raised concerns of the reviewers, including failure-case analysis, hyper-parameter sensitivity, additional details and clarification on method-related details (e.g., similarity-based retrieval, top-k categories, defect spectrum annotations). All reviewers stated that their initially raised concerns are addressed in the rebuttal, keeping the positive score. Given all reviews and author's response, the recommendation is accept.

Area Chair amAA · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The manuscript introduces a knowledge-guided dynamic latent reasoning approach for explainable industrial anomaly detection. The proposed technique comprises a retrieval-augmented knowledge module, a dynamic visual injection scheme, and an entropy-driven latent reasoning mechanism to perform contextualized reasoning over industrial defects together with utilising visual evidence. The manuscript addresses an important application problem and is generally well-written. Reviewers raised several issues in the manuscript including, missing detailed failure case analysis, detailed analysis on the impact of hyper-parameters (e.g., effect of the noise scale), missing method details (e.g., questions related to text descriptions through similarity matching, top-k categories, use of fine-grained Defect Spectrum annotations). The AC believes most of the reviewers concerns to be reasonable and important to be addressed in the rebuttal.

Final justification

Authors presented the rebuttal to address the initially raised concerns of the reviewers, including failure-case analysis, hyper-parameter sensitivity, additional details and clarification on method-related details (e.g., similarity-based retrieval, top-k categories, defect spectrum annotations). All reviewers stated that their initially raised concerns are addressed in the rebuttal, keeping the positive score. Given all reviews and author's response, the recommendation is accept.

1 comment
Authors · CommentOpenReview ↗

We sincerely thank the AC for the positive assessment and for summarizing the reviewers’ key concerns. We agree that these issues are important for evaluating the reliability, reproducibility, and practical scope of Reason-IAD. We have addressed them in detail in our point-by-point rebuttal and summarize the main clarifications below.

1. Failure-case analysis.

We provide representative failure cases covering two major limitations: inaccurate localization when a defect occupies a large or spatially ambiguous region, and missed anomalies involving small objects in cluttered scenes. These examples show that complex spatial layouts and fine-grained small-object anomalies remain challenging, and we will include this analysis in the revised manuscript.

2. Hyper-parameter sensitivity.

We additionally evaluate the noise scale over 1%, 5%, 10%, 15%, and 20% across three model backbones. Performance remains relatively stable within a moderate range and consistently peaks at 10%. Smaller perturbations provide insufficient exploration, whereas excessively large perturbations destabilize latent optimization. This complements our existing analyses of the iteration number, latent-token number, and injected visual-patch number.

3. Similarity-based retrieval and Top-kk.

We clarify that the query image is matched with category names using a frozen CLIP model, rather than directly with full defect descriptions. The descriptions associated with the Top-kk retrieved categories are then incorporated as auxiliary context. Although category labels are available in the benchmark, we do not assume access to ground-truth category labels during inference. Averaged over MVTec and VisA, Top-2 achieves the best accuracy of 84.91%, compared with 84.33% for Top-1, 84.34% for Top-3, and 81.07% for Random-2. These results show that a small Top-kk set alleviates retrieval ambiguity, whereas irrelevant knowledge introduces interference.

4. Knowledge construction and Defect Spectrum annotations.

We use GPT-5 to consolidate and standardize the raw MMAD descriptions into a category-level knowledge repository, followed by manual verification. Averaged over MVTec and VisA, the structured repository achieves 84.91%, outperforming raw MMAD descriptions at 84.02% and category names alone at 82.87%. Fine-grained Defect Spectrum annotations are used only for offline category-level knowledge construction; no test-instance annotations or ground-truth answers are accessed during inference.

We will revise the manuscript to explicitly include these experimental results, implementation details, failure analyses, and data-usage clarifications. We thank the AC and reviewers again for helping us improve the completeness and clarity of the work.

Reviewer Ay3dOpenReview ↗
Rating
5/6
Confidence
5/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose a MLLM-based anomaly detection reasoning framework. Recognizing that existing MLLMs often struggle with domain-specific defect patterns , the authors design a latent reasoning pipeline. This framework consists of CLIP-based Retrieval-Augmented Knowledge Integration, entropy-driven latent reasoning that optimizes latent "think tokens" via a reinforce-based policy gradient, and dynamic visual injection that selectively attends to informative image patches during the iterative reasoning process. The method is evaluated on the MMAD benchmark across one-shot and zero-shot settings.

Strengths and weaknesses

Strengths

  1. Moving away from explicit textual CoT to continuous latent reasoning for IAD is a highly promising and timely direction. It mitigates the inefficiency and context-length explosion associated with generating long reasoning paths.
  2. The proposed RAKI and EDLR are reasonable, and the ablation also confirms the effectiveness of the proposed method.
  3. Good writing and paper is easy to follow.

Weaknesses

  1. The construction of the knowledge repository (like source, authorship, size, example entries) is not disclosed, which limits reproducibility.
  2. Appendix A.2 states that fine-grained Defect Spectrum annotations are used for MVTec-AD. If the category descriptions are derived from the benchmarks' own defect taxonomies, the prompt may contain near-answer information for some subtasks. Consistent with this concern, gains are largest on defect classification (+12.7 on Qwen3-VL-8B, Table 1; +15.1 zero-shot, Table 2), and Table 3 attributes 3.22 of the ~4.35-point overall gain to RAKI alone.
  3. EDLR appears closely related to [38], which also performs test-time, instance-level policy-gradient optimization in latent space; the paper should clarify how it differs. The "first … training-free" claim (L63–64) also seems contestable given the paper's own references [2, 26].
  4. A small suggestion. since no baseline (e.g., GPT-4o or the base models) receives the same retrieved knowledge, it may weaken the contribution of retrieval augmentation. Releasing the repository and reporting knowledge-matched baselines in the future would help address this.
Questions

Eq. (3) defines Z′ as a noise-perturbed state, while Eq. (7) and Algorithm 1 (line 11) reuse Z′ as the gradient update, leaving the actual update rule unclear. Can you explain it?

Limitations

Please see weaknesses

Final justification

After rebuttal, my concerns have been solved. I recommend accepting (5: Accept) this work.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the careful reading, positive assessment, and constructive feedback. We have carefully considered all the comments and provide point-by-point responses below.


W1: Construction and reproducibility of the knowledge repository

Thank you for pointing out this omission. The repository is primarily constructed from the category information, annotations, and defect descriptions provided by the MMAD benchmark and its constituent datasets. It contains 38 category-level entries corresponding to the 38 object categories in MMAD and covers 244 defect types. Based on these materials, we organize the knowledge associated with each category into three components: normal appearance, structural and functional characteristics, and representative defect patterns.

We use GPT-5 to consolidate and standardize the collected materials into a unified and structured format. All entries are subsequently manually inspected by the authors. During this process, we remove unsupported content, correct inaccurate descriptions, and verify the consistency of each entry with the original MMAD materials. We will release the full repository and the corresponding construction files together with the code to facilitate reproducibility.


W2: Potential near-answer information from Defect Spectrum annotations

Thank you for raising this concern. The fine-grained annotations are intended to supplement the domain-specific anomaly knowledge that general-purpose MLLMs may lack, rather than to provide instance-level answer cues. To examine whether the gains mainly come from retrieved defect descriptions, we additionally evaluate Reason-IAD with the knowledge module removed while retaining EDLR and dynamic visual injection.

Model Anomaly Discrimination Defect Classification Average over AD and DC Improvement over Base
Qwen3-VL-8B 73.08 62.33 67.71 –
Reason-IAD (without knowledge) 73.98 67.15 70.57 +2.86
Reason-IAD 75.24 75.07 75.16 +7.45

Without external knowledge, Reason-IAD still improves defect classification by 4.82 percentage points and the two-task average by 2.86 percentage points over the base model. This shows that the gains are not solely attributable to the retrieved defect descriptions; latent reasoning and dynamic visual injection also contribute substantially.

Moreover, the retrieved knowledge provides only category-level priors and does not contain test-image-specific annotations or ground-truth labels. The model must therefore still identify the relevant visual evidence and determine whether a defect is present and, if so, its specific type.


W3: Relation to LatentSeek [38] and the training-free claim

Thank you for highlighting this related work. While EDLR shares the paradigm of test-time latent policy-gradient optimization with LatentSeek [38], it differs from [38] in terms of optimization target, reasoning mechanism, and task setting.

LatentSeek [38] initializes token-level latent representations from explicit CoT sequences, optimizes selected latent representations, and decodes them into textual reasoning traces during each iteration. In contrast, EDLR directly introduces a small set of dedicated latent think tokens into the multimodal input, without requiring CoT initialization or iterative decoding of intermediate reasoning traces.

Furthermore, LatentSeek evaluates generated reasoning trajectories using model-based self-rewards, whereas EDLR adopts a task-specific, label-free entropy reward derived from the answer distribution and explores the latent space through Gaussian perturbations. Beyond latent optimization, EDLR is specifically designed for multimodal industrial anomaly reasoning by jointly integrating retrieved category knowledge and dynamically selected visual evidence, while LatentSeek focuses on language-based mathematical reasoning without visual inputs or external domain knowledge. We will revise the related-work section to better clarify these distinctions while acknowledging the shared test-time latent optimization paradigm.

Regarding the “first training-free” statement, we agree that the original wording was too broad. Our intention was to emphasize that Reason-IAD introduces training-free latent reasoning optimization for industrial anomaly understanding under the MMAD benchmark. We will revise this claim to avoid overstatement and clarify its scope. Compared with [2] and [26], which focus on structural/logical anomaly detection or anomaly reasoning with specialized models, Reason-IAD targets general-purpose MLLMs and performs instance-level latent reasoning optimization without model fine-tuning.


W4: Knowledge-matched baselines and repository release

Thank you for this constructive suggestion. Our current ablation study already partially isolates the contribution of RAKI by comparing the same backbone with and without retrieved knowledge under an identical evaluation setting. Nevertheless, we agree that knowledge-matched comparisons with other MLLMs equipped with the same retrieved knowledge would provide a more comprehensive evaluation of the retrieval augmentation component.

We will clarify this limitation in the revised manuscript and release the knowledge repository and retrieval configurations together with the code to facilitate reproducibility and future knowledge-matched comparisons.


Q1: Clarification of the latent token update rule

Thank you for the question. The notation Z′Z' in Eq. (3) denotes the perturbed latent state used for stochastic exploration, while Eq. (7) describes the subsequent optimization of the latent think tokens.

Specifically, Eq. (3) defines the stochastic exploration process, where Gaussian noise is added to the current latent tokens to obtain a perturbed state:

Z′(n)=Z(n)+ξ(n),ξ(n)∼N(0,σ2I).Z'^{(n)} = Z^{(n)}+\xi^{(n)}, \quad \xi^{(n)}\sim\mathcal{N}(0,\sigma^2I).

These perturbed latent states are sampled to estimate the expected reward gradient through the policy gradient formulation in Eq. (8). Based on the estimated gradient direction, Eq. (7) updates the latent think tokens:

Z(n+1)=Z(n)+η∇Z(n)J(Z(n)).Z^{(n+1)}=Z^{(n)}+\eta\nabla_{Z^{(n)}}J(Z^{(n)}).

Therefore, the latent reasoning optimization consists of two steps: (1) stochastic exploration of latent states through Gaussian perturbations, and (2) reward-guided refinement of the latent think tokens using the estimated policy gradient. In the revised manuscript, we will further clarify the notation by explicitly distinguishing the perturbed latent state from the updated latent tokens in Eq. (3), Eq. (7), and Algorithm 1.


We sincerely appreciate the reviewer’s valuable comments and suggestions. We look forward to further discussion during the next phase.

Reviewer Ay3d · CommentOpenReview ↗

Thank you for the authors’ response. I think my concerns have been solved, and I will maintain my score of 5 (Accept). I hope the authors can incorporate the content of the rebuttal into the main paper.

Authors · CommentOpenReview ↗

Thank you for your positive assessment and for confirming that your concerns have been addressed. We sincerely appreciate your constructive feedback. We will incorporate the relevant clarifications, analyses, and additional results from the rebuttal into the revised manuscript.

Reviewer DNV4OpenReview ↗
Rating
4/6
Confidence
5/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Reason-IAD, a knowledge-guided dynamic latent reasoning framework for explainable industrial anomaly detection. Reason-IAD consists of three modules: a retrieval-augmented knowledge module, an entropy-driven latent reasoning mechanism, and a dynamic visual injection strategy. Reason-IAD can facilitate context-aware, iterative reasoning over fine-grained industrial defects while effectively leveraging critical visual evidence.

Strengths and weaknesses

Paper Strengths:

  1. This paper is easy to read. The method description is very clear.

  2. In the proposed method, the Entropy-Guided Reward Optimization and Dynamic Visual Injection have a certain degree of innovation.

  3. Extensive experiments demonstrate that Reason-IAD consistently outperforms state-of-the-art methods, achieving high detection accuracy and interpretable reasoning.

Paper Weaknesses:

  1. In Retrieval-Augmented Knowledge Integration, why do we need to obtain text descriptions through similarity matching? There are category labels in anomaly detection datasets, so we can simply get the corresponding text description from the repository based on the category labels. By matching in this way, if the matching is wrong, it instead introduce incorrect text descriptions, becoming interference. The paper also did not discuss the experimental analysis of the impact of matching errors on the results.

  2. Why use top-k categories? Doesn't it must introduce k-1 other category text descriptions? Shouldn't these other text descriptions from other categories be interference?

  3. How are the text descriptions obtained? Since it is a RAG module, the key is how to construct the RAG text contents, rather than a simple image-text matching. This paper uses MMAD dataset. It seems that the text descriptions are directly provided by MMAD dataset. In this case, there is no innovation in this module.

  4. This paper mentions multiple times that it is a training-free framework, but Latent Think Tokens are learnable and need optimization, so how can the framework be considered training-free? Additionally, it is unclear how these tokens are optimized. First optimizing these tokens on a dataset and then testing them on a test set? Or testing directly on the test set, these tokens are stream optimized during the testing process? Only the latter can be considered training-free.

  5. Why build rewards based on entropy? Anomaly detection focuses on whether the final detection result is correct, and based on whether the detection result is correct, a reward can be directly constructed. However, the value of entropy is not directly related to the final detection result.

  6. The experimental results also do not demonstrate the effectiveness of the method. The true focus of anomaly detection is on anomaly discrimination and defect localization, but on qwen3-vl-2b and qwen2.5-vl-7b, these two indicators instead decrease. It is impossible to say that based on your method, the reasoning ability has been enhanced, but the final judgment result has decreased.

  7. Why are there no commercial model results in Table 2?

  8. The title of the paper is “Towards Explainable Industrial Anomaly Detection”, but the entire paper basically does not effectively reflect where interpretability is manifested. The metrics used in the ablation experiments are all accuracy, which does not reflect how the proposed method increases the interpretability of anomaly detection.

  9. Which metric is used in Table 3? I calculated the average value to be 78.85, which does not correspond to the values under any of the metrics in Table 1.

Questions

Please see the comments in Weakness.

Limitations

yes

Final justification

After rebuttal, I believe that if the mentioned issues can be addressed and discussed in the revised paper, this paper is acceptable.

Formatting concerns

no

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the careful reading and constructive feedback. We address these concerns below and will revise the manuscript accordingly.


1. Necessity of similarity-based knowledge retrieval

Thank you for this valuable comment. Although category annotations are available as dataset metadata, they are not provided as model inputs during inference. Directly retrieving knowledge using ground-truth category labels would rely on oracle metadata and limit the method to scenarios where such labels are available. In contrast, similarity-based retrieval enables the model to access category-relevant knowledge directly from the query image, supporting practical deployment without predefined category labels.

The retrieved knowledge serves as an auxiliary semantic prior describing category-level normal characteristics and defect patterns, rather than a hard constraint. The final prediction remains grounded in visual evidence and MLLM reasoning. Nevertheless, we agree that incorrect retrieval may introduce interference. We therefore jointly analyze the impact of retrieval errors and the choice of k in Response 2.


2. Motivation of using top-kk category retrieval

We use a small Top-kk retrieval set to alleviate ambiguity in visual evidence-to-knowledge matching. When Top-1 retrieval fails due to visual similarity between categories, additional candidates increase the chance of retrieving relevant knowledge. The retrieved descriptions serve as auxiliary context rather than ground-truth labels. We further analyze the impact of kk and retrieval errors using different retrieval strategies:

Retrieval strategy MVTec VisA Average
w/o RAKI 87.03 76.88 81.96
Top-1 89.91 78.74 84.33
Top-2 90.36 79.46 84.91
Top-3 89.72 78.96 84.34
Random-2 86.41 75.73 81.07

Top-2 achieves the best performance, improving Top-1 by 0.58 percentage points and w/o RAKI by 2.95 percentage points. Increasing kk to 3 slightly reduces performance, suggesting that excessive retrieved knowledge may introduce irrelevant information. Meanwhile, Random-2 performs worse than w/o RAKI, indicating that unrelated knowledge may interfere with anomaly reasoning.


3. Construction of the Knowledge Repository

The MMAD descriptions are used only as an initial information source. We reorganize them into standardized category-level entries covering normal characteristics, representative defect patterns, and discriminative visual cues. Specifically, redundant information is merged, terminology is normalized, and speculative or dataset-specific statements are removed. We further compare different knowledge contents under the same inference setting:

Knowledge content MVTec VisA Average Gain over w/o RAKI
w/o RAKI 87.03 76.88 81.96 –
Category name only 88.16 77.58 82.87 +0.91
Raw MMAD descriptions 89.42 78.61 84.02 +2.06
Structured repository (ours) 90.36 79.46 84.91 +2.95

The structured repository consistently outperforms category names and raw MMAD descriptions, demonstrating that the improvement does not come from directly copying benchmark text. Instead, RAKI benefits from organizing knowledge into a structured, visually grounded representation and integrating it with latent reasoning.


4. Training-free setting and optimization of latent think tokens

We agree that describing latent think tokens as “learnable” may cause ambiguity. More precisely, they are optimized independently for each test instance rather than learned from a training dataset. During inference, all parameters of the MLLM, visual encoder, and text encoder remain frozen. The latent tokens are initialized and updated using only the model prediction distribution and the entropy-based reward, without training samples, ground-truth labels, or correctness signals.

The optimized tokens are discarded after each instance and are neither shared nor accumulated across test samples. Therefore, Reason-IAD performs instance-level test-time optimization without dataset-level training or updating any pretrained parameters. Specifically, Gaussian perturbations are applied to the latent tokens at each iteration, and the entropy-derived reward is used with a policy-gradient estimator (Eqs. (3)–(8)) to update the tokens. The final prediction is generated after a fixed number of test-time iterations.


5. Rationale for the entropy-based reward

We agree that entropy is not equivalent to correctness, as a model can be confidently wrong. However, a correctness-based reward requires ground-truth answers during inference, which introduces label leakage. Therefore, we use predictive entropy as a label-free uncertainty signal for test-time optimization.

Reward strategy MVTec VisA Average
w/o latent optimization 88.49 77.83 83.16
Random reward 88.12 77.46 82.79
Maximum-probability reward 89.71 78.83 84.27
Entropy-based reward (ours) 90.36 79.46 84.91

Random reward provides no improvement, while both probability-based rewards improve performance. The entropy-based reward achieves the best results because it considers the uncertainty of the entire candidate-answer distribution rather than only the highest-probability prediction. We will clarify that entropy is used as an uncertainty proxy instead of a direct correctness signal.


6. Effectiveness on core anomaly detection tasks

We agree that anomaly discrimination and defect localization are fundamental objectives of industrial anomaly detection. Reason-IAD improves overall anomaly reasoning, although it does not guarantee gains on every subtask for all backbones. As shown below, it improves all seven subtasks on Qwen3-VL-4B and Qwen3-VL-8B, six on Qwen3-VL-2B, and five on Qwen2.5-VL-7B, achieving average improvements of 4.24–4.92 points. Notably, defect localization on Qwen3-VL-2B improves by 5.28 points.

Backbone Anomaly Discrimination Defect Classification Defect Localization Defect Description Defect Analysis Object Classification Object Analysis Average
Qwen3-VL-2B -8.39 +19.78 +5.28 +6.82 +1.83 +3.14 +1.18 +4.24
Qwen3-VL-4B +1.03 +14.47 +3.74 +6.74 +3.11 +2.43 +0.82 +4.62
Qwen2.5-VL-7B -1.05 +12.74 -8.15 +8.24 +3.72 +4.62 +0.33 +4.35
Qwen3-VL-8B +2.16 +12.74 +2.44 +7.23 +5.49 +3.78 +0.61 +4.92

We acknowledge the slight decreases in anomaly discrimination for Qwen3-VL-2B/Qwen2.5-VL-7B and localization for Qwen2.5-VL-7B. These results suggest that the task-agnostic entropy objective improves overall anomaly reasoning, while task-specific optimization may be further explored for more consistent improvements across individual subtasks.


7. Commercial models in Table 2

Thank you for pointing this out. Following previous MMAD studies [r1][r2], we focus on open-source models in the zero-shot evaluation to ensure fair and reproducible comparisons. Evaluating commercial models across the full benchmark would introduce additional costs and potential variations due to model updates. Since commercial models are already included as reference baselines in Table 1, Table 2 mainly investigates the zero-shot effectiveness of Reason-IAD across different open-source backbones.

[r1] Judo: A juxtaposed domain-oriented multimodal reasoner for industrial anomaly QA, ICLR 2026.

[r2] AD-FM: Multimodal LLMs for Anomaly Detection via Multi-Stage Reasoning and Fine-Grained Reward Optimization, AAAI 2026.


8. Explainability of Reason-IAD

We agree that the accuracy-based ablation study evaluates task performance rather than interpretability itself. In this work, “explainability” specifically refers to the model’s ability to provide defect-oriented textual explanations grounded in visual observations, rather than the direct interpretability of latent think tokens.

This capability is partially evaluated by the defect description and defect analysis subtasks in MMAD, which assess whether the model can correctly describe defect attributes and explain their potential effects. Reason-IAD consistently improves these two explanation-oriented tasks across all four backbones. We also provide qualitative examples in Figures 5 and 7–15, including both successful and failure cases, to show how the model identifies relevant defect characteristics and supports its final decisions.


9. Metric and experimental setting of Table 3

The reviewer is correct that the macro-average of the four dataset-level results in the originally submitted Table 3 is 78.85%. Each dataset-level value in Table 3 represents the average accuracy over the seven MMAD subtasks.

RAKI EDLR VpatchV_{patch} MVTec VisA MVTec-LOCO GoodsAD Avg
85.75 75.44 67.45 69.38 74.51
✓ 88.49 77.83 70.76 73.83 77.73
✓ ✓ 90.03 79.13 71.95 75.29 79.10
✓ ✓ ✓ 90.36 79.46 72.29 75.61 79.43

The discrepancy was caused by an unclear iteration setting in the original manuscript. The EDLR variants in the ablation study were evaluated with 5 reasoning iterations for efficiency, while the main results used the default 10 iterations. We have rerun the EDLR variants with 10 iterations for a fair comparison, while non-EDLR variants remain unchanged. The updated complete model achieves 79.43% macro-average accuracy, consistent with Table 1.


We sincerely appreciate the reviewer’s valuable comments and suggestions. We look forward to further discussion during the next phase.

Reviewer DNV4 · CommentOpenReview ↗
  1. For semantic matching, I still think it is not necessary as your method is based on category matching. Basically, all AD datasets will have category labels, even in actual scenarios, different products will be distinguished by different category labels. Therefore, matching directly based on category labels is sufficient. However, adding semantic matching is not a big problem, and your experiments also showed that the top-1 matching is also good.

  2. For the results in your response 2, I don't understand why top-2 and top-3 can bring improvement, because your knowledge repository is built on the category basis, not on the sample basis. This means that top-2 and top-3 will inevitably introduce knowledge from other categories that are different from the current sample, which is entirely noise. Why do they still bring performance improvement. In addition, your random-2 introduces noise completely, but the result shows very little reduction compared to w/o RAKI, which is also difficult to understand. Does this not mean that the knowledge introduced is actually useless? Even if it is introduced incorrectly, it has not had a significant impact on the model.

  3. In response 3, you mentioned that your knowledge repository has been improved compared to MMAD, but the description of how to improve it is not very clear. If you have really made improvements, why isn't it mentioned anywhere in the paper? This is an important implementation detail in your work. Therefore, it is also hard to believe whether improvements have really been made. However, this is not very important and does not affect the overall quality of the paper.

  4. For response 4, this introduces an issue where your method requires multiple inferences for each sample in order to generate the final response; I have read the paper that the iteration number is set to 10. Using LLM for one detection is already costly, and your method requires running the model forward 10 times for each sample. The performance improvement achieved with such a high cost is basically unacceptable.

  5. For response 6, I think emphasizing the average results is meaningless. There are some metrics in the MMAD dataset that I think have nothing to do with anomaly detection and are purely used to raise the average metrics. If the metrics for anomaly detection and localization both decrease, while other metrics improve, the average metric also increases. Does this make any sense for an anomaly detection model. The key is that your method showed a significant decrease in Qwen3-VL-2B and Qwen2.5-VL-7B (-8.39, -8.15), which is not very reasonable. The small decrease is understandable.

Overall, I previously gave reject because I believed that the gimmick of this paper outweighed its actual value. Interpretability is a fundamental ability that any LLM can achieve, as it can generate textual explanations. However, the most important thing is that the experiments showed an improvement in anomaly analysis metrics, but a decrease in anomaly detection metrics. This suggests that the model may not have truly judged the anomalies, but rather the generated text and the validation text provided in the MMAD may have covered more, but in addition, the model also generated many illusions, resulting in the final judgment being incorrect.

I also appreciate your careful responses, and I think the previous rejection may have been too strict. After discussing with other reviewers, my overall rating may also be changed.

Authors · CommentOpenReview ↗

Thank you for the thoughtful follow-up and for reconsidering your assessment. We provide further clarification below and refine our claims accordingly.

1. Semantic Matching and Category Lookup

We agree that when reliable category labels are available, directly retrieving the corresponding repository entry is simpler and preferable to semantic matching.

Semantic matching serves as an optional fallback for category-agnostic inference, where the model receives only the query image and question without external category metadata. In practical scenarios where product categories are known, it can be directly replaced by category-label lookup without changing the remaining inference pipeline.

2. Top-kk Retrieval and Random Knowledge

Since the repository is category-level, knowledge from non-ground-truth categories should be regarded as distractor information rather than useful complementary knowledge. Top-kk retrieval is not intended to exploit unrelated categories, but to balance retrieval recall against the distraction introduced by additional entries. For example, when Top-1 matching is incorrect but the true category appears among the next candidates, Top-2 may still include the relevant knowledge.

Top-2 improves the average accuracy from 84.33% to 84.91%, whereas Top-3 achieves 84.34%. Therefore, we do not interpret unrelated categories as beneficial. Instead, one additional candidate may provide limited robustness to ranking errors, while further increasing kk introduces distraction without additional benefit. Random-2 achieves 81.07%, which is 0.89 points below w/o RAKI and 3.84 points below similarity-based Top-2. The modest degradation suggests some robustness to irrelevant context, while the gap from Top-2 indicates that retrieval relevance remains important.

3. Construction of the Knowledge Repository

MMAD provides domain snippets associated with object categories and defect types, but these snippets are heterogeneous in organization, granularity, and terminology. Our processing does not introduce any external knowledge. For each category, we collect the available normal, category-level, and defect-specific snippets and use a source-grounded GPT prompt to reorganize them into three components:

  1. Normal appearance, describing defect-free visual characteristics;
  2. Structural characteristics, describing major components and their relationships;
  3. Representative defect patterns, summarizing visually observable defects.

All generated statements must be supported by the original snippets. We further merge redundant content, normalize terminology, remove overly task-specific expressions, and manually verify each entry against its source. We will release the structured repository with the code upon publication.

4. Inference Cost and Test-Time Compute

We agree that iterative latent optimization introduces additional overhead compared with single-pass MLLM inference. Reason-IAD follows the test-time compute scaling paradigm [r1, r2], allocating extra inference computation to improve reasoning without updating the pretrained model.

The 10 iterations do not decode 10 complete responses. Instead, each iteration evaluates the predictive distribution and updates only a small set of latent think tokens; the final response is decoded once after optimization. Nevertheless, this process requires additional forward evaluations and is therefore more expensive than single-pass inference. The iteration count is configurable and represents the test-time computation budget. We use 10 iterations as an accuracy-oriented setting, while fewer iterations can reduce latency at the cost of some performance.

[r1] Scaling LLM Test-Time Compute Optimally Can Be More Effective than Scaling Parameters for Reasoning, ICLR 2025.

[r2] Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach, NeurIPS 2025.

5. Core Anomaly Detection Performance

We agree that the overall MMAD average should not be interpreted in isolation. Anomaly discrimination (AD) and defect localization (DL) deserve separate attention because they most directly reflect conventional anomaly detection performance.

Backbone AD Base AD Reason-IAD Δ\Delta DL Base DL Reason-IAD Δ\Delta
Qwen3-VL-2B 70.29 61.90 -8.39 49.35 54.63 +5.28
Qwen3-VL-4B 74.02 75.05 +1.03 62.74 66.48 +3.74
Qwen2.5-VL-7B 71.79 70.74 -1.05 68.97 60.82 -8.15
Qwen3-VL-8B 73.08 75.24 +2.16 60.34 62.78 +2.44

Reason-IAD improves both AD and DL on Qwen3-VL-4B and Qwen3-VL-8B. We also acknowledge the decreases in AD on Qwen3-VL-2B and DL on Qwen2.5-VL-7B. These results suggest that the effect of entropy-guided optimization varies across backbones and tasks.

We sincerely appreciate your valuable comments. We will revise the manuscript accordingly and incorporate these clarifications into the final version.

Reviewer md7rOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Reason-IAD, an explainable framework for industrial anomaly detection based on multimodal large language models. The method integrates retrieved domain-specific knowledge with latent-space iterative reasoning to support anomaly detection without explicitly generating chain-of-thought outputs. It introduces retrieved category-level knowledge, entropy-guided optimization of latent “thinking tokens,” and dynamic incorporation of informative visual patches during reasoning. Experiments on public anomaly detection datasets demonstrate improved one-shot and zero-shot performance over the base models.

Strengths and weaknesses

Strengths:

  1. The paper addresses industrial anomaly detection, an important application scenario where interpretability and domain-specific reasoning are particularly valuable.
  2. The combination of retrieval-augmented category knowledge with latent thinking tokens is a meaningful direction. This design has the potential to enhance domain-aware reasoning while reducing reliance on explicit chain-of-thought generation.
  3. The dynamic visual injection mechanism is an interesting design. By selectively focusing on informative visual patches based on reward signals, it helps incorporate fine-grained visual evidence into the latent reasoning process.
  4. This paper is well-organized and logically sound, making it easy to read and follow. Overall, it provides a comprehensive insight into Industrial Anomaly Detection from the perspective of knowledge embedding.

Weaknesses:

  1. The distinction between Reason-IAD and prior latent reasoning methods could be discussed more explicitly. A clearer comparison with related latent reasoning or test-time optimization methods would help better position the novelty of the work.
  2. The paper could be strengthened by providing a more detailed failure case analysis, as it remains unclear under which scenarios Reason-IAD becomes less effective or tends to fail.
  3. The paper could further analyze the effect of the noise scale on the performance of the proposed method, as this hyperparameter may influence the stability and diversity of the latent reasoning process.
Questions
  1. How does the noise scale affect the detection performance of the proposed method? Since this hyperparameter may influence the stability and diversity of latent reasoning, it would be helpful if the authors could discuss its impact under different noise scale values.

  2. How does the Retrieval-Augmented Knowledge Integration (RAKI) module ensure that the retrieved knowledge is accurate and relevant to the target category?

  3. The proposed method combines retrieved domain-specific knowledge with latent-space iterative reasoning. What are the key advantages of this design over existing anomaly detection methods, and which component contributes most to its effectiveness?

Limitations

Yes

Final justification

After reading the authors’ rebuttal, I believe that my concerns have been addressed. I will maintain my positive score.

Formatting concerns

I did not notice any major formatting or anonymity concerns.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the positive assessment of the quality, significance, and originality of our work, as well as for the constructive suggestions. We address the questions and concerns below.


Q1: Distinction from prior latent reasoning methods.

Thank you for this valuable suggestion. Prior latent reasoning methods typically focus on representing or refining intermediate reasoning states in continuous hidden spaces. In contrast, Reason-IAD is specifically designed for industrial anomaly reasoning and differs from these methods in three key aspects.

First, Reason-IAD incorporates category-specific external knowledge describing normal structures and typical defect patterns, thereby compensating for the limited industrial-domain knowledge of general-purpose MLLMs.

Second, it performs instance-level optimization of latent think tokens using predictive entropy as an intrinsic reward, enabling training-free exploration toward more confident and stable reasoning states for each test sample.

Third, Reason-IAD does not treat the visual context as fixed. Instead, informative image patches are dynamically selected and injected into the latent sequence, guided by the reward signal at each iteration. This allows the model to revisit fine-grained visual evidence throughout the reasoning process.

Therefore, the novelty of Reason-IAD does not arise from latent optimization alone, but from the unified integration of domain-knowledge retrieval, uncertainty-guided latent exploration, and adaptive visual evidence acquisition within a training-free industrial anomaly reasoning framework. We will revise the Related Work and Method sections to make these distinctions more explicit and better position our contribution.


Q2: Failure cases.

Thank you for this constructive suggestion. We have provided two representative failure cases in Appendix C (Figs. 14–15) and will expand their analysis in the revised manuscript.

In the first case, a large broken region on a bottle spans both the bottom and right portions of the image. Reason-IAD correctly detects the defect but localizes it to the right side because it focuses on the most salient broken fragments without fully capturing the defect’s spatial extent. This suggests that localization can be challenging when an irregular defect overlaps multiple candidate regions.

In the second case, one pushpin is missing from a cluttered arrangement of small objects. Because this anomaly is defined by the absence of an expected component rather than an explicit appearance change, the model incorrectly classifies the sample as normal. This suggests that logical anomalies involving spatial comparison and missing-component reasoning remain challenging.


Q3 and W1: Effect of the noise scale.

Thank you for highlighting the importance of the noise scale. We evaluated noise scales of {1%, 5%, 10%, 15%, 20%} on Qwen3-VL-4B, Qwen2.5-VL-7B, and Qwen3-VL-8B under the standard one-shot setting of MMAD. We report the average accuracy across the seven evaluation subtasks.

Noise scale Qwen3-VL-4B Qwen2.5-VL-7B Qwen3-VL-8B
1% 78.57 76.21 79.08
5% 78.83 76.49 79.24
10% 79.10 76.73 79.43
15% 78.64 76.41 79.17
20% 78.29 75.96 78.42

The results exhibit a consistent inverted-U-shaped trend across the three backbones. A very small noise scale may provide insufficient exploration of alternative latent reasoning trajectories, whereas an excessively large scale may disrupt the semantic structure of the latent think tokens and destabilize the latent optimization process. A moderate noise scale of 10% achieves the best performance across all three backbones, suggesting a favorable balance between latent-space exploration and representation stability. We will include these quantitative results and the corresponding discussion in the revised manuscript.


W2: Accuracy and relevance of RAKI retrieval.

Thank you for raising this important question. We improve the reliability of RAKI from both repository construction and retrieval. First, the knowledge repository is organized by industrial category, with each entry describing the normal appearance and representative defect patterns of that category. All entries are manually verified to remove incorrect, ambiguous, or category-inconsistent information.

Second, retrieval relevance is determined through cross-modal semantic matching. Specifically, the query image and candidate category labels are encoded into a shared embedding space using frozen CLIP image and text encoders. We compute their cosine similarities and retrieve the descriptions associated with the top-2 most similar categories. Using the top-2 results helps mitigate occasional ambiguity between visually similar categories while keeping the retrieved context compact.

We acknowledge that retrieval cannot guarantee perfect category matching in every case. Therefore, the retrieved descriptions are used only as auxiliary guidance, while the final prediction remains jointly grounded in the query image, question, and visual evidence.


W3: Advantages and component contributions.

Our design integrates domain knowledge, uncertainty-aware latent optimization, and fine-grained visual grounding within a training-free framework. Compared with CLIP-based anomaly detection methods based largely on static feature matching, RAKI introduces category-specific priors on normal appearance and representative defect patterns, compensating for the MLLM’s limited industrial knowledge.

Unlike many MLLM-based approaches that require supervised fine-tuning or lengthy explicit reasoning chains, EDLR iteratively refines compact latent think tokens at inference time without additional model training. Dynamic visual injection further grounds the reasoning process in informative local evidence.

The following ablation study is conducted with Qwen3-VL-8B under the one-shot setting:

RAKI EDLR Visual injection MVTec VisA MVTec-LOCO GoodsAD Average Incremental gain
85.75 75.44 67.45 69.38 74.51 –
✓ 88.49 77.83 70.76 73.83 77.73 +3.22
✓ ✓ 89.52 78.58 71.33 74.69 78.53 +0.80
✓ ✓ ✓ 89.84 78.93 71.65 75.00 78.86 +0.33

Among the three components, RAKI yields the largest gain, improving average accuracy by 3.22 percentage points. EDLR and dynamic visual injection provide further gains of 0.80 and 0.33 points, respectively. These results indicate that domain knowledge is the primary contributor, while latent optimization and visual injection provide complementary benefits through reasoning refinement and visual grounding.


We thank the reviewer again for these valuable suggestions. We will revise the paper accordingly and we look forward to further discussion during the next phase.

Reviewer md7r · CommentOpenReview ↗

After reading the authors’ rebuttal, I believe that my concerns have been addressed. I will maintain my positive score.

Authors · CommentOpenReview ↗

Thank you for your positive assessment and for confirming that your concerns have been addressed. We sincerely appreciate your careful evaluation and constructive feedback.

Comments on the paper

1 comment
Area Chair amAA · CommentOpenReview ↗

Phase 2 (author + reviewer + AC discussion)

Dear Reviewers,

As we approach the completion of phase-2 discussion period, if you have not yet responded to the authors' latest rebuttal then please take a moment to do so. Your response is very important part of the discussion process and for the final decision.

Thanks,

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

Missing a submission?

Loading the discussion…