- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes TED (Text-Axis Evidence Decomposition) for prompted anomaly localization. The paper starts from a simple observation. Existing CLIP-based anomaly detection methods can become more sensitive to defects. They usually achieve this through prompt learning or lightweight adaptation. However, stronger defect sensitivity does not always bring better localization. Under domain shift, true defects can receive high anomaly scores. At the same time, complex normal regions can also receive high scores. To address this issue, TED keeps the original model unchanged. It does not change the backbone, prompts, or host detector. Instead, TED rechecks each local anomaly response. It compares each query patch with two source evidence banks. One bank contains source defects. The other bank contains hard false-positive normal regions. Based on this design, T-TED uses the margin between defect evidence and hard-FP evidence. It treats this margin as a train-free local anomaly score. C-TED further adds a source-calibrated residual correction to the host score. The paper tests TED on several industrial anomaly localization datasets. It also uses multiple frozen VLM backbones and adapted CLIP-AD hosts.
Strengths and weaknesses
Strengths: 1.The paper focuses on an important and practical problem in CLIP-based anomaly localization. Stronger defect sensitivity does not always mean better separation. True defects and visually complex normal regions may still be confused. 2.The proposed method is also lightweight and easy to plug in. It does not need to change the visual backbone, prompts, or host detector. 3.The core idea is clear and intuitive. TED does not directly trust a high anomaly score. Instead, it checks which evidence better supports the response. The evidence can come from source defects or source hard false positives. 4.The paper also makes a useful distinction between T-TED and C-TED. T-TED is mainly used with frozen VLM backbones. C-TED is designed for adapted CLIP-AD hosts. It adds a bounded residual correction to the host score. 5.The paper provides several ablations and control experiments. These include hard-FP support ablation, residual rank ablation, label shuffle and swap tests, scalar readout controls, bank-size sensitivity, and recipe retuning diagnostics.
Weaknesses:
-
TED is related to several existing research directions. These include memory-bank scoring, hard negative mining, prototype matching, and nearest-neighbor re-ranking. The paper would be stronger if it explained the novelty more clearly.
-
The method depends on the quality of the source defect and hard-FP banks. The paper mentions this limitation, but I think it deserves a more direct analysis. The hard-FP bank is mined from source normal patches and these patches already receive high scores from the host detector. However, target-domain false positives may look different from these source-domain failure cases. In that case, the correction may become less reliable. An analysis of hard-FP bank transferability would also make the claim more convincing.
-
Some details of source-bank construction remain hard to infer. For example, it is not fully clear whether the 64/128/512 bank budgets are defined per host, per source dataset, or per category. Please also clarify how patches are sampled, whether categories are balanced, and whether the defect and hard-FP banks have matched or intentionally different sizes.
-
Several figures are hard to read in this paper. Figures 2 and 3 are the most obvious examples. Their axis labels, legends, annotations, and formula-related text are too small. Larger fonts would make the method overview easier to follow. They would also make the diagnostic results clearer.
-
The related work would benefit from a more complete discussion of recent knowledge-distillation-based industrial anomaly detection methods. The current discussion covers classical feature matching, reconstruction, flows, and several CLIP-based methods, but recent dense teacher-student/readout-style methods are only briefly covered. Adding a few recent 2024–2026 KD-based industrial AD works. Adding several recent KD-based industrial AD works, such as 10.1609/aaai.v39i6.32601, 10.1109/TII.2025.3574540, 10.1609/aaai.v39i12.33419, 10.1016/j.knosys.2026.115690, and 10.1145/3664647.3681669, would make the positioning of TED more complete.
-
The efficiency analysis is still limited. TED computes source-bank support for local patches. Therefore, its inference cost may grow with bank size, patch number, selected layers, and possibly category or host number. The bank-size sensitivity results are useful. Still, the paper should report wall-clock runtime, memory use, and retrieval-cost scaling. These results would make the practical cost clearer, especially for large-scale or multi-category use.
-
TED mainly improves pixel-level localization, while image-level detection gains appear smaller and sometimes mixed. I understand that the method targets local maps, but image-level screening remains important in industrial anomaly detection. The limitations for image-level decision making should be discussed in more detail.
-
The residual learning procedure in C-TED also needs more detail. The paper says that the residual ranks source defect patches above source hard-FP patches. It also says that the method preserves already separated pairs. However, the exact loss is not clear enough. The pair sampling strategy and optimization details are also unclear. These details are important because C-TED is the learned version of TED.
Questions
-
What is the main difference between TED and existing ideas? These ideas include memory-bank scoring, hard negative mining, prototype matching, and nearest-neighbor re-ranking. I would be more convinced if the authors explained TED’s novelty more clearly. In particular, the authors should clarify what is new beyond source-bank or retrieval-based post-hoc re-scoring. My evaluation would increase if the rebuttal explains this difference at the method level.
-
How sensitive is TED to the quality of the source defect and hard-FP banks? The paper mentions this limitation, but it needs a more direct analysis. A lightweight cross-domain stress test would be useful. An analysis of the similarity between source hard-FPs and target hard-FPs would also help. These results could show whether the hard-FP bank transfers under larger source-target gaps. My evaluation would increase if TED remains stable under such gaps. It would also increase if the authors clearly explain when and why TED may fail.
-
Could the authors provide more details on source-bank construction and C-TED residual training?
-
What is the practical inference cost of TED as a function of bank size, number of patches, selected layers, and categories? Reporting wall-clock runtime, GPU memory, and retrieval-cost scaling would make the deployment cost clearer. My evaluation would increase if the authors show that the overhead is modest and scales reasonably in large-scale or multi-category settings.
-
TED mainly improves pixel-level localization, while image-level detection gains appear smaller or less consistent. Could the authors clarify when TED is expected to improve image-level screening and when it mainly helps localization? My evaluation would increase if the authors better characterize this limitation rather than only emphasizing pixel-level improvements.
Limitations
yes
Paper formatting concerns
The paper appears generally formatted appropriately, but several figures have small fonts and dense layouts. In particular, Figure 2 and Figure 3 should use larger fonts for axes, legends, annotations, and labels to improve readability. I did not identify major anonymity violations.
Final justification
The additional same-bank controls, source-bank transferability experiments, implementation clarifications, and efficiency analysis address most of my technical concerns. However, TED is technically solid and practically useful, but its conceptual novelty over existing memory-bank, prototype, retrieval-based post-hoc scoring remains moderate. Therefore, I will maintain my original score.
We thank the reviewer for the constructive feedback. Except for explicitly defined diagnostics, added experiments cover all target categories/images without target calibration or outcome filtering; values are percentage-point changes from the host.
We agree that TED shares bank lookup with memory-, prototype-, and NN-based methods; bank lookup itself is not our claimed novelty. The method-level distinctions are:
Appendices B.3, B.6, and B.8 already test this distinction: text-axis support outperforms Full-D support on all three frozen backbones; Full-D, scalar, and MLP alternatives remain weaker on adapted hosts. We add a same-bank control over all six AA-CLIP/FAPrompt/AdaCLIP transfers, fixing banks, hosts, targets, and aggregation while changing only the readout.
None of the Full-D readouts improves all three metrics, whereas C-TED does. A four-host audit including all AdaptCLIP settings gives C-TED -0.29/+2.44/+3.57, versus -29.70/-29.41/-20.06 for Full-D LogMeanExp, excluding a favorable-host explanation. In a separate patch audit, text-axis/Full-D AUC is 98.42/70.69 within 20 Full-D-score strata, and matched-pair accuracy is 98.13/49.52 over 662,708 near-equal pairs (102/108 matchable categories). Correct/random/swapped role AUC is 99.55, 47.79±18.04, and 0.45; text is higher in all 12 settings. Thus bank access or generic Full-D similarity alone cannot explain the gains; task-aligned roles and the text axis provide the key distinction.
Appendix B.7/Table 11 tests reduced budgets, and Appendix E states the representativeness limit. TED retains Full-D features and projects them per query; it assumes transferable relative role ordering, not equal scalar distributions. We stress-test this mismatch.
On a pre-specified AA-CLIP/AdaCLIP/FAPrompt grid covering MVTec→{BTAD, MPDD, VisA} and VisA→MVTec, full/random-50%/random-25% source-category coverage gives:
Across 84 pre-specified runs, every seed-averaged host--transfer setting improves P-PRO; removed categories are not replaced. Texture-only MVTec evidence transferred to all VisA PCB categories gives +0.02/+4.84/+1.82. In a separate shared-interface audit, all 15 source--target distributions differ (defect/HFP normalized Wasserstein-1 distances 0.57/0.91), yet the aggregate is -0.17/+0.79/+4.93. Thus equal absolute distributions are not required in these tests. Host-interface compatibility remains an applicability condition: standardized AdaptCLIP gives -3.36/-3.49/-1.00, whereas its submitted host-native protocol gives +0.08/+0.07/+0.34 over all 16 settings. We will distinguish these protocols explicitly.
Sec. 4.1 and Appendix A.1--A.2 define source-only candidates and target-free selection; we clarify budget units, cap order, balancing, and realized MVTec-source counts. All choices are fixed before target evaluation.
Candidate mining is host-specific but source-only: AA-CLIP uses top-1% HFPs and defect-overlapping top-25% patches; AdaCLIP uses top-1% HFPs and at most 64 defect patches/image; FAPrompt uses top-1% fused-score HFPs and defect-overlapping patches. FPS follows mining. Counts cover four layers for AA-CLIP/AdaCLIP and the pooled FAPrompt bank. AA-CLIP/FAPrompt cap categories before pooling; AdaCLIP caps images before layer-wise banks. These differences reflect host feature interfaces, not target tuning. Exhausted groups are neither duplicated nor forced to equal sizes. AdaptCLIP/BayesPFL compatibility tests use fixed source-only policies: up to 2/4 and 8/8 normal/anomalous images/category, followed by 512/branch and 1,024/layer caps.
In Table 9, AA-CLIP budgets 64/128/512 are per category/layer/bank; FAPrompt budgets are per category/bank before a pooled 2B cap ("Retained" sums both banks). Without retuning, HFP fractions 0.5%--5% yield ranges +0.96--+0.99/+4.61--+6.24/+5.38--+5.40. FPS/random is nearly identical: +1.82/+5.15/+8.37 versus +1.78/+5.19/+8.30 over both hosts and every MVTec-source transfer.
Sec. 3.4 and Appendix A.1 give the principle; here we provide the exact training procedure. The implementation realizes Eq. (5)'s bounded correction through a source rank-r basis formed by orthonormalizing the text axis, source mean defect-minus-HFP direction, and leading PCs of centered pair differences. For host/corrected margins m0/m, we optimize
\mathcal L_{\rm pre}=\frac{\sum w[m_0-m]_+}{\sum w},$$ $$\mathcal L=\mathcal L_{\rm rank}+\beta\mathcal L_{\rm pre}+\rho(\eta^2+\gamma^2).$$ Here $w=\sigma((m_0-\mu)/T)$, $\mu=T=0.05$, $\beta=1$, and $\rho=0.001$. Each unit uses at most half of its sampled source points as pairs: 75% hard and 25% random, with HFPs permuted each epoch. The host is frozen and training is source-only. The submitted target-independent recipes are AA-CLIP rank 8/20 epochs/8,192 points, AdaCLIP rank 8/30/2,048, and FAPrompt rank 4/30/2,048; AdaptCLIP/BayesPFL are separately labeled compatibility variants. We additionally reran all 18 host--transfer cells with one shared recipe: rank 4, 30 epochs, at most 1,024 source points/512 pairs and 512 entries/bank/unit, Adam LR 0.02, and $\eta_{\max}=\gamma_{\max}=0.2$. Only the insertion point follows each host's score interface. | Shared recipe | ΔP-AUC | ΔP-PRO | ΔP-AP | |---|---:|---:|---:| | AA-CLIP (six transfers) | +0.30 | +2.47 | +1.98 | | AdaCLIP (six transfers) | -0.14 | +4.33 | -0.39 | | FAPrompt (six transfers) | +2.20 | +5.21 | +12.34 | | **Overall (18 transfers)** | **+0.79** | **+4.00** | **+4.64** | The shared recipe improves all metrics overall and P-PRO in 15/18 settings; AdaCLIP's small P-AUC/P-AP trade-off is reported without retuning. Thus host-specific rank/epoch/budget choices do not explain the aggregate gain. Table 3 also shows ranks 2/4/8 improving all AA-CLIP metrics on BTAD. Across all three hosts on MVTec→BTAD/MPDD, full/no-preservation/random-pair training gives +1.42/+7.69/+6.24, +1.42/+7.65/+6.23, and +1.42/+7.49/+6.23; 4× strength gives -2.62/+6.55/-3.13, supporting the bound. Maximum three-seed BTAD SD is 0.82. > **W6 & Q4. Runtime, memory, and scaling** We add paired synchronized-GPU profiles on one RTX 6000 Ada over all 733 BTAD images after eight warm-ups per host: | Host | Host ms | Host+TED ms | Added ms | Added % | Added MB | |---|---:|---:|---:|---:|---:| | AA-CLIP | 15.93 | 21.90 | 5.97 | 37.47 | 19.46 | | FAPrompt | 136.50 | 155.91 | 19.41 | 14.22 | 28.07 | | AdaCLIP | 183.26 | 190.10 | 6.84 | 3.73 | 8.25 | Added cost is 5.97--19.41 ms/image and 8.25--28.07 MB; AA-CLIP's percentage is high because its host is fast. For 1,369 patches/four layers, T-/C-TED at 128/512/2,048/8,192 entries costs 0.98/1.72, 0.99/1.70, 1.76/2.49, and 6.23/7.11 ms. At 512 entries, the axis cache/full bank/rank-8 basis uses 0.016/12/0.094 MB. Cached-axis complexity is $O(LN(d+B))$ for T-TED and $O(LN(d+B+dr))$ for C-TED; a changing axis adds $O(LBd)$ bank reprojection. > **W7 & Q5. Pixel- versus image-level scope** Sec. 4.1 and Appendix E already state pixel localization as primary and I-AUC as secondary; we now quantify that scope. Across 76 settings, I-AUC averages +1.25 and improves in 41, while P-PRO and P-AP improve jointly in 48. Of these 48 localization wins, 23 do not improve I-AUC; the respective gain correlations are 0.029/-0.006. This is expected because TED re-ranks patches, preserves the global branch, and affects image ranking only through tail aggregation. We will retain the positive image-level results while clarifying that the primary claim is localization, not universal screening improvement. > **W4--W5. Figures and related work** We thank the reviewer for these suggestions. We will enlarge Figs. 2--3, correct Fig. 1(a), move secondary diagnostics to the appendix, and add all five suggested KD works while distinguishing their teacher--student objectives from TED's evidence readout.