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 · Submission to ICLR 2026 · Withdrawn

TL;DR

ShortcutBreaker tackles the persistent "identity shortcut" problem in Multi-Class Unsupervised Anomaly Detection (MUAD), where reconstruction models simply copy anomalous inputs rather than exposing them. By combining a mathematically grounded Low-Rank Noisy Bottleneck (LRNB) with a Global Perturbation Attention (GPA) mechanism in the decoder, it achieves new state-of-the-art detection on both industrial and complex medical benchmarks.

What Problem Does This Paper Address?

In unsupervised anomaly detection, models train exclusively on normal images under the assumption that they will successfully reconstruct normal patterns but fail when encountering abnormal regions. In a unified Multi-Class Unsupervised Anomaly Detection (MUAD) setting—where one model handles diverse classes—Vision Transformers (ViTs) frequently suffer from identity shortcuts: they learn a trivial identity mapping that faithfully replicates any input into the output. When abnormal inputs are accurately reconstructed, the reconstruction error gap between normal and anomalous samples collapses, severely undermining detection.

Existing fixes (such as simple noise injection or CNN-specific neighbor-masking attention) struggle in diverse, high-entropy domains (like medical scans or multi-view industrial settings) and do not suit the global attention mechanics of ViTs.

Methods

ShortcutBreaker adopts a feature-reconstruction paradigm built on a frozen DINO-pretrained ViT encoder, a specialized bottleneck, and a ViT-based decoder:

[Frozen DINO ViT] ──> [Low-Rank Noisy Bottleneck] ──> [GPA Decoder] ──> Reconstructed Features
                                                            │
Input Features ─────────────────────────────────────────────┴─────────> 1 - Cosine Similarity

1. Low-Rank Noisy Bottleneck (LRNB)

Instead of relying solely on feature jittering, LRNB enforces a structural constraint. By projecting high-dimensional features ($d$) down to a bottleneck rank $k < d$ using multi-layer perceptrons (MLPs) with non-linear activations:

  • Theoretical Guarantee: The authors use Jacobian rank inequalities ($r(J_g \cdot J_f) \le k < d$) to prove that exact identity reconstruction is mathematically impossible across the entire feature space.
  • Specialized Reconstruction: Because the bottleneck is optimized solely on normal training samples, it preserves fidelity for normal structures while failing to represent out-of-distribution anomalous features. Dropout is incorporated to add feature-level perturbations.

2. Global Perturbation Attention (GPA)

To stop the ViT decoder from passing shortcut information between tokens, the authors redesign the self-attention layer:

  • Global Redistribution (GRD): Standard Softmax produces sharp, concentrated attention spikes on dominant activations, facilitating identity copying. ShortcutBreaker replaces Softmax with a Sigmoid activation, smoothing attention weights across the entire token sequence and forcing the model to rely on broader context.
  • Global-Self Masking (GSM): GPA zeros out the diagonal elements of the attention matrix (preventing tokens from attending to their own identities) and applies random attention dropout to disrupt long-range sequence replication.

Datasets

The authors evaluated their method across four major anomaly detection benchmarks:

  1. MVTec-AD: 15 industrial categories (3,629 normal train, 2,480 test images).
  2. ViSA: 12 complex industrial categories (8,659 normal train, 2,162 test images).
  3. Real-IAD: A large-scale, multi-view benchmark with 30 categories and 5 camera angles (36,645 train, 114,585 test images) exhibiting significant intra-class variation.
  4. Universal Medical: 3 medical imaging modalities (Brain MRI, Liver CT, and Retinal CT scans) with high natural anatomic variation (13,339 train, 7,013 test images).

No new datasets were introduced.

Key Insights and Ideas

  • Rank constraints outmatch noise injection: Simple Gaussian noise or feature jittering can be overcome when networks are trained on large, diverse datasets (models simply develop noise robustness). Hard low-rank dimensionality reduction mathematically guarantees that shortcut identity mapping cannot occur.
  • Softmax vs. Sigmoid in anomaly decoding: Softmax concentrates probability mass onto focal points, creating narrow information pipelines that leak identity. Sigmoid flattens this distribution, compelling the decoder to reconstruct patches using distributed contextual clues rather than localized copies.
  • ViT attention needs global masking: CNN-based neighbor masking assumes local correlation. In ViTs, sequence tokens share pervasive global context; preventing shortcuts requires explicitly blanking self-attention (diagonal masking) paired with stochastic dropout across the entire sequence.

Key Results

ShortcutBreaker achieves state-of-the-art results across all four benchmarks, displaying particular dominance on complex datasets:

  • Universal Medical: Reaches 87.8% Image-AUC (+2.7% over previous SOTA Dinomaly / +2.9% over DiAD) and 97.1% Pixel-AUC with an AUPRO of 87.1%.
  • Real-IAD: Achieves 90.6% Image-AUC (outperforming Dinomaly's 89.3% and InvAD's 89.0%) and 99.1% Pixel-AUC.
  • MVTec-AD & ViSA: Achieves 99.8% and 98.9% Image-AUC, respectively, effectively saturating both industrial benchmarks.
  • Ablations: In component isolation experiments on Universal Medical, adding LRNB alone elevated Image-AUC from 79.28% (baseline) to 86.38%, while combining LRNB with both GRD and GSM yielded the top score of 87.81%.

Limitations and Future Work

  • Dedicated Discussion: The authors do not include an explicit limitations or future work section in the main paper.
  • Implicit Considerations:
  • The rank constraint parameter ($k$) and the number of LRNB layers required manual tuning depending on dataset complexity (2 layers for MVTec/ViSA vs. 3 layers for Real-IAD/Universal Medical).
  • While the framework prevents identity mapping, training a multi-class ViT decoder still demands significant compute iterations (up to 50,000 steps on large benchmarks like Real-IAD).

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