Papers › Template-guided Hierarchical Feature Restoration for Anomaly Detection
Template-guided Hierarchical Feature Restoration for Anomaly Detection
Hewei Guo, Liping Ren, Jingjing Fu, Yuwang Wang, Zhizheng Zhang, Cuiling Lan, Haoqian Wang, Xinwen Hou
Targeting for detecting anomalies of various sizes for complicated normal patterns, we propose a Template-guided Hierarchical Feature Restoration method, which introduces two key techniques, bottleneck compression and template-guided compensation, for anomaly-free feature restoration. Specially, our framework compresses hierarchical features of an image by bottleneck structure to preserve the most crucial features shared among normal samples. We design template-guided compensation to restore the distorted features towards anomaly-free features. Particularly, we choose the most similar normal sample as the template and leverage hierarchical features from the template to compensate the distorted features. The bottleneck could partially filter out anomaly features, while the compensation further converts the reminding anomaly features towards normal with template guidance. Finally, anomalies are detected in terms of the cosine distance between the pre-trained features of an inference image and the corresponding restored anomaly-free features. Experimental results demonstrate the effectiveness of our approach, which achieves the state-of-the-art performance on the MVTec LOCO AD dataset.
Code
No code repository is listed for this paper in the archive or in Syntology's graph.
Code Syntology ran Syntology
Not run by Syntology. Nothing on this page verifies that the listed code works.
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Anomaly Detection | MVTec AD | THFR | Detection AUROC | 99.2 | #42 of 148 | Archive leaderboard | report |
| Anomaly Detection | MVTec AD | THFR | Segmentation AUPRO | 95.0 | #42 of 148 | Archive leaderboard | report |
| Anomaly Detection | MVTec AD | THFR | Segmentation AUROC | 98.2 | #42 of 148 | Archive leaderboard | report |
| Anomaly Detection | MVTec LOCO AD | THFR | Avg. Detection AUROC | 86.0 | #18 of 40 | Archive leaderboard | report |
| Anomaly Detection | MVTec LOCO AD | THFR | Detection AUROC (only logical) | 85.2 | #18 of 40 | Archive leaderboard | report |
| Anomaly Detection | MVTec LOCO AD | THFR | Detection AUROC (only structural) | 86.7 | #18 of 40 | Archive leaderboard | report |
| Anomaly Detection | MVTec LOCO AD | THFR | Segmentation AU-sPRO (until FPR 5%) | 74.1 | #18 of 40 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections