ReTTT-AD: Test-Time Training Neighborhood Prediction for Zero-Shot Anomaly Detection

Zero-shot anomaly detection (ZSAD) aims to identify anomalies in unseen categories without target-category training samples. Dominant methods learn normal and anomalous prototypes on an auxiliary dataset and detect anomalies via feature matching. However, this prototype-matching paradigm faces two key limitations: (i) heavy reliance on seen anomaly priors, which restricts generalization under unknown anomalies or domain shifts; and (ii) the neglect of intra-image local contextual relationships. To move beyond this paradigm, we conceptualize anomalies as spatial inconsistencies violating local contextual patterns and propose \textbf{ReTTT-AD}, establishing image-adaptive neighborhood prediction as the basis for anomaly discrimination. Specifically, our core Residual Local-TTT Block (RL-TTT) adapts a spatially shared predictor via a single-step Test-Time Training (TTT) update using neighborhood-to-center signals from the test image itself, modeling image-specific local regularities and capturing anomalies through prediction residuals. Furthermore, Normal-Tail Regularization (NTR) suppresses high-residual responses in complex normal regions, while a Global Anomaly Readout (GAR) module provides complementary image-level evidence. Extensive experiments across 14 benchmarks demonstrate that ReTTT-AD significantly outperforms state-of-the-art methods on both industrial and medical anomaly localization tasks.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-11-30
DOI
https://doi.org/10.48550/arxiv.2611.41558
Primary Topic
Anomaly Detection Techniques and Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

ReTTT-AD: Test-Time Training Neighborhood Prediction for Zero-Shot Anomaly Detection

Minghan Fan, Peiyuan Li, Jianfeng Qiu, Yanning Hou et al.
arXiv
Anomaly Detection Techniques and Applications
preprint

ReTTT-AD: Test-Time Training Neighborhood Prediction for Zero-Shot Anomaly Detection

Minghan Fan, Peiyuan Li, Jianfeng Qiu, Yanning Hou, Ke Xu
preprint en

Abstract

Zero-shot anomaly detection (ZSAD) aims to identify anomalies in unseen categories without target-category training samples. Dominant methods learn normal and anomalous prototypes on an auxiliary dataset and detect anomalies via feature matching. However, this prototype-matching paradigm faces two key limitations: (i) heavy reliance on seen anomaly priors, which restricts generalization under unknown anomalies or domain shifts; and (ii) the neglect of intra-image local contextual relationships. To move beyond this paradigm, we conceptualize anomalies as spatial inconsistencies violating local contextual patterns and propose \textbf{ReTTT-AD}, establishing image-adaptive neighborhood prediction as the basis for anomaly discrimination. Specifically, our core Residual Local-TTT Block (RL-TTT) adapts a spatially shared predictor via a single-step Test-Time Training (TTT) update using neighborhood-to-center signals from the test image itself, modeling image-specific local regularities and capturing anomalies through prediction residuals. Furthermore, Normal-Tail Regularization (NTR) suppresses high-residual responses in complex normal regions, while a Global Anomaly Readout (GAR) module provides complementary image-level evidence. Extensive experiments across 14 benchmarks demonstrate that ReTTT-AD significantly outperforms state-of-the-art methods on both industrial and medical anomaly localization tasks.

arXiv
Anhui University (CN), National University of Defense Technology (CN)
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
ReTTT-AD: Test-Time Training Neighborhood Prediction for Zero-Shot Anomaly Detection — Minghan Fan, Peiyuan Li, et al. · arXiv (2026) | TGRS Research Map | TGRS