VD-DeepStack: Bridging Visual Comparison and Language Reasoning for Few-Shot Anomaly Detection

Few-shot visual anomaly detection is fundamentally a visual comparison task, requiring fine-grained inspection of a query against normal references. Many recent methods based on large vision-language models (LVLMs) emphasize comparative reasoning through language chain-of-thought. Yet discrete, abstract descriptions may underrepresent dense, fine-grained visual differences, leaving a gap between visual comparison and its expression in language. To address this gap, we propose Visual Difference DeepStack (VD-DeepStack), which explicitly conditions language reasoning on query-reference visual differences. Specifically, we fuse DINO features with the LVLM visual hierarchy to strengthen fine-grained representations, then construct dense difference evidence from residuals between query features and softly matched reference features. The difference-evidence path injects spatially weighted difference vectors into query-image states at multiple decoder depths, while an auxiliary visual-context path provides fine-grained appearance information to support their interpretation. Experiments on 4 industrial and 2 medical anomaly benchmarks demonstrate substantial improvements in few-shot anomaly detection over baselines relying on textual comparative reasoning. These results support mitigating the visual comparison-reasoning gap through the joint design of comparison representations and their integration into the decoder. Code will be released upon acceptance.

Link
https://www.semanticscholar.org/paper/718aa36f9abd23ce4dcf59cb59e02a19d171aaab
Found by
Semantic Scholar
Authors
Meng-Yang Zhao, Zhuo-Lin He, Hai-Yang Yu, Yuxuan Liang, Yi-Fang Xu, Yu-Chuan Wu, Xiao-Lei Chen, Zheng-Tao Yao, Fan Shi, Yang Liu, Bin Li, Xiang-Yang Xue
Categories
benchmark
Published
2026-09-28
Last seen by the radar
2026-09-30
Citations
0
Influential citations
0
Radar score
26.75 / 100 (how it is scored)
Why it scored so
Matched: benchmark; Primary record: Semantic Scholar
Related links
https://arxiv.org/abs/2609.34949
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar