All models

DeepSAD

A deep semi-supervised anomaly detection method that uses a few labeled samples alongside unlabeled data.

11 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 (14 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
7.3K
Operations
11
Framework
PyTorch
Recurrent
No
Published
ICLR 2020
Cited by
388 (as of 27 October 2026)
Authors
Lukas Ruff, Robert A. Vandermeulen, Nico Görnitz and others
License
MIT
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
m16001
Graph hash
fd4368caec3c18df1f898e98a451c1de31de3316ae9f283178ec27fe8a342cc1
Skeleton hash
0da958b8cfb021116a1542631e383a778c296eae769a795043a18a3d3987a381
Architecture hash
0eac6b44c5d666591d77ad296544a7f802f33c992147f892d1d6c7c95858074a
Diagram SHA-256
2254e5c43a78ef975d3eedb5c825f75e16a8caec93d49a0787596a57dd4b8c61
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

Deep SAD is a deep method for general semi-supervised anomaly detection. Anomaly detection is typically treated as an unsupervised learning problem. The paper points out that in practice one may also have a small pool of labeled samples, such as a subset that a domain expert has verified as normal or anomalous. According to the paper, only a few methods take advantage of labeled anomalies, and the existing deep approaches among them are domain-specific.

The authors also introduce an information-theoretic framework for deep anomaly detection, based on the idea that the entropy of the latent distribution for normal data should be lower than the entropy of the anomalous distribution. They offer this framework as a theoretical interpretation of the method.

In experiments on MNIST, Fashion-MNIST and CIFAR-10, along with other anomaly detection benchmark datasets, the paper reports that the method is on par with or outperforms shallow, hybrid and deep competitors. The paper was published as a conference paper at ICLR 2020. The authors' PyTorch code implements the network architectures reported in the appendix of the paper.

Key idea. Deep SAD is an end-to-end deep method for general semi-supervised anomaly detection that can use a small pool of labeled normal and anomalous samples.

  • Deep SAD
  • DeepSAD
  • Deep Semi-Supervised Anomaly Detection
  • semi-supervised anomaly detection
  • anomaly detection
  • outlier detection
  • labeled anomalies

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

Cite the paper

@misc{ruff2020deepsemisupervisedanomalydetection,
      title={Deep Semi-Supervised Anomaly Detection}, 
      author={Lukas Ruff and Robert A. Vandermeulen and Nico Görnitz and Alexander Binder and Emmanuel Müller and Klaus-Robert Müller and Marius Kloft},
      year={2020},
      eprint={1906.02694},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1906.02694}, 
}