NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ShortcutBreaker: Low-Rank Noisy Bottleneck with Global Perturbation Attention for Multi-Class Unsupervised Anomaly Detection

Peng Tang, Xiaoxiao Yan, Xiaobin Hu, Yuning Cui, Donghao Luo, Jiangning Zhang, Pengcheng Xu, Jinlong Peng, Qingdong He, Feiyue Huang, Song Xue, Tobias Lasser · DOI

Abstract

Multi-class Unsupervised Anomaly Detection (MUAD) aims to identify defects across diverse object categories using a single model trained only on normal data. However, powerful reconstruction-based models often learn "identity shortcuts," simply copying inputs to outputs and failing to distinguish anomalies. We present ShortcutBreaker, a framework that employs a Low-Rank Noisy Bottleneck (LRNB) and Global Perturbation Attention (GPA) to mathematically prevent these shortcuts. Our approach forces the model to learn generalized patterns of normal data, achieving state-of-the-art results on MVTec-AD (99.8% AUROC), Real-IAD (90.6%), and Universal Medical (87.8%) benchmarks.

Introduction

In Multi-class Unsupervised Anomaly Detection, the goal is to train a single model capable of detecting defects across many different types of objects—from industrial parts like bottles and transistors to complex medical scans—without ever seeing an "abnormal" sample during training.

The standard approach is reconstruction: the model learns to rebuild normal images. At test time, if it encounters an anomaly, it should fail to reconstruct it accurately, with the resulting "reconstruction error" serving as the anomaly score. However, modern architectures like Vision Transformers (ViTs) are often too effective. They fall into the trap of identity shortcuts, learning to simply copy input pixels to the output. If a model can perfectly reconstruct anything (including a crack or a tumor), it loses the ability to distinguish between "normal" and "abnormal."

Methods

ShortcutBreaker introduces two primary innovations to "break" these shortcuts and force the model to learn the underlying essence of normal data:

  1. Low-Rank Noisy Bottleneck (LRNB): Drawing on matrix rank theory, the authors designed a bottleneck that projects high-dimensional features into a lower-rank latent space. Mathematical proof using Jacobian matrices shows that if the rank of this bottleneck is lower than the feature dimension, a perfect identity mapping is physically impossible for the network to learn. This creates a structural "speed limit" that prevents 1:1 copying.
  2. Global Perturbation Attention (GPA): Standard Transformers use a Softmax function in their attention mechanism, which tends to focus heavily on specific, dominant local features—essentially a local copy-paste shortcut. ShortcutBreaker replaces this with a Sigmoid function (Global Redistributing) to spread attention more broadly. It also adds Global-Self Masking, which prevents tokens from "looking at themselves," forcing the decoder to reconstruct parts of the image using information from distant regions.
The ShortcutBreaker architecture, detailing the Low-Rank Noisy Bottleneck (LRNB) and Global Perturbation Attention (GPA) mechanisms.

Key Results

ShortcutBreaker set new State-of-the-Art (SOTA) records across four major benchmarks. The model's performance is particularly notable in the Universal Medical dataset, which features high natural diversity across Brain MRI, Liver CT, and Retinal CT modalities. In these cases, "normal" looks different for every patient, yet ShortcutBreaker successfully learned to identify anomalies without falling back on identity mappings.

  • MVTec-AD: Achieved a near-perfect 99.8% Image-level AUROC.
  • Real-IAD: Reached 90.6% AUROC, significantly outperforming previous unified models like Dinomaly and UniAD.
  • Universal Medical: Achieved 87.8% AUROC.
Comparison of Image-AUC (%) performance across MVTec-AD, ViSA, Universal Medical, and Real-IAD datasets.

Discussion and Limitations

While ShortcutBreaker demonstrates excellent results, the authors note a few areas for future exploration. The method currently relies on a DINO-pretrained ViT backbone; performance might vary with different pre-training strategies or smaller architectures. Additionally, while the low-rank bottleneck is efficient, the global attention perturbations add some computational complexity. Future work could explore the trade-offs between these shortcut-breaking mechanisms and the inference speeds required for high-speed industrial assembly lines.

Summary updated

BibTeX
@misc{tang2025shortcutbreaker,
  author = {Peng Tang and Xiaoxiao Yan and Xiaobin Hu and Yuning Cui and Donghao Luo and Jiangning Zhang and Pengcheng Xu and Jinlong Peng and Qingdong He and Feiyue Huang and Song Xue and Tobias Lasser},
  title = {{ShortcutBreaker: Low-Rank Noisy Bottleneck with Global Perturbation Attention for Multi-Class Unsupervised Anomaly Detection}},
  year = {2025},
  eprint = {2510.18342},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.18342},
}
Figure