All models

Dinomaly

A pure Transformer, reconstruction-based model for multi-class unsupervised anomaly detection.

Segmentation · 571 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (22 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
148M
Operations
571
Framework
PyTorch
Recurrent
No
Published
CVPR 2025
Cited by
126 (as of 27 October 2026)
Authors
Jia Guo, Shuai Lu, Weihang Zhang and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16151
Graph hash
4fb27f65e023a9623323df6189ce71ce497863919d43b001d3040a3bfcbf04f6
Skeleton hash
947972e7f10850f9ff39a8a22dea088faadaf960a24b3ae1bc519c6b8893df60
Architecture hash
8ea35518fea3f73d13c5298860a7e457275a60492c1f80a85325a7d92e69cb49
Diagram SHA-256
fa4687d858016c1cb815e19997000c9ef7cea62f2d21507cb0c006eef6d2db71
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Dinomaly is a reconstruction-based anomaly detection framework that uses pure Transformer architectures. It addresses multi-class unsupervised anomaly detection, where one unified model covers images of many classes and, the paper says, detection performance lagged far behind class-separated models.

The framework consists only of attention and MLP layers, and the authors name four components as essential, the first being Foundation Transformers that extract universal and discriminative features. The second is a Noisy Bottleneck, in which the Dropouts already present do the noise injection. The third is Linear Attention, chosen because, in the authors' words, it "naturally cannot focus". The fourth is Loose Reconstruction, which does not force layer-to-layer and point-by-point reconstruction.

The paper reports image-level AUROC of 99.6%, 98.7% and 89.3% on the MVTec-AD, VisA and Real-IAD benchmarks. The authors' repository notes that Dinomaly has been integrated in the Anomalib library in v2.1.0.

Key idea. Dinomaly is a minimalistic reconstruction-based framework that uses pure Transformer architectures for multi-class unsupervised anomaly detection.

  • Dinomaly
  • unsupervised anomaly detection
  • multi-class anomaly detection
  • UAD
  • reconstruction-based anomaly detection
  • industrial anomaly detection
  • MVTec-AD
  • VisA
  • Real-IAD
  • linear attention

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{guo2025dinomalyphilosophymulticlassunsupervised,
      title={Dinomaly: The Less Is More Philosophy in Multi-Class Unsupervised Anomaly Detection}, 
      author={Jia Guo and Shuai Lu and Weihang Zhang and Fang Chen and Huiqi Li and Hongen Liao},
      year={2025},
      eprint={2405.14325},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2405.14325}, 
}