Learning Unified Reference Representation for Unsupervised Multi-class Anomaly Detection

Liren He, Zhengkai Jiang, Jinlong Peng, Liang Liu, Qiangang Du +5 more
2/14/2026

No official code found. Best implementation: hlr7999/RLR (19 stars, last commit 2024-09-01).

Abstract

In the field of multi-class anomaly detection, reconstruction-based methods derived from single-class anomaly detection face the well-known challenge of"learning shortcuts", wherein the model fails to learn the patterns of normal samples as it should, opting instead for shortcuts such as identity mapping or artificial noise elimination. Consequently, the model becomes unable to reconstruct genuine anomalies as normal instances, resulting in a failure of anomaly detection. To counter this issue, we present a novel unified feature reconstruction-based anomaly detection framework termed RLR (Reconstruct features from a Learnable Reference representation). Unlike previous methods, RLR utilizes learnable reference representations to compel the model to learn normal feature patterns explicitly, thereby prevents the model from succumbing to the"learning shortcuts"issue. Additionally, RLR incorporates locality constraints into the learnable reference to facilitate more effective normal pattern capture and utilizes a masked learnable key attention mechanism to enhance robustness. Evaluation of RLR on the 15-category MVTec-AD dataset and the 12-category VisA dataset shows superior performance compared to state-of-the-art methods under the unified setting. The code of RLR will be publicly available.

View on arXivView PDF

Code Implementations(1)

hlr7999/RLRCommunity63%

[ECCV 2024] Learning Unified Reference Representation for Unsupervised Multi-class Anomaly Detection

190PythonJul 7, 20242 years ago

Similar Papers

Cite this paper

@article{he2026learning,
  title  = {Learning Unified Reference Representation for Unsupervised Multi-class Anomaly Detection},
  author = {Liren He and Zhengkai Jiang and Jinlong Peng and Liang Liu and Qiangang Du and Xiaobin Hu and Wenbing Zhu and Mingmin Chi and Yabiao Wang and Chengjie Wang},
  year   = {2026},
  eprint = {2403.11561},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2403.11561},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.11561.svg)](https://codeofpaper.com/paper/2403.11561)

Discussion