All models

MNAD

A U-Net frame predictor with a small memory of normal patterns, used to detect anomalous events in video.

Video · 100 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 (19 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

Task
Video
Parameters
15.7M
Operations
100
Framework
PyTorch
Recurrent
No
Published
CVPR 2020
Cited by
996 (as of 29 October 2026)
Authors
Hyunjong Park, Jongyoun Noh, Bumsub Ham
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
m18179
Graph hash
19a75af8b54fbb32b2ae4b566dac8b3029036e72db929b802ab3809d51d74021
Skeleton hash
872b7db615428fb5cafc8fad1a6cb7a244acd8f394740942b392a04efd95056d
Architecture hash
ed1c57fa3a968072e2a5e97e38b6dc928f28cfb0ce88ab67bb6dc74bc5e8d2a2
Diagram SHA-256
e1f1aea72c964869749061e9c0b9c97404f850475afde251d074432daafaf187
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

MNAD detects anomalous events in a video sequence. CNN-based methods typically learn normality through a proxy task such as reconstructing input frames. The paper's objection is that they do not consider the diversity of normal patterns explicitly, and that the representation capacity of CNNs allows abnormal frames to be reconstructed as well.

The model has three parts: an encoder, a memory module and a decoder. The encoder extracts query features from a frame, which are used to retrieve prototypical normal patterns from the memory items and to update the memory. The decoder receives the query features together with the read memory items. Feature compactness and separateness losses train the memory, and the paper uses 10 items where MemAE uses 2,000. The memory is also updated at test time, with a weighted regular score that prevents abnormal frames from updating it.

The encoder and decoder follow the U-Net architecture, with skip connections removed for the reconstruction task and retained for predicting future frames. For the prediction task, four successive video frames are input to predict the fifth one. For the prediction model with memory, the paper reports an average AUC of 97.0% on UCSD Ped2 and 88.5% on CUHK Avenue.

Key idea. The paper adds a memory module whose items record prototypical patterns of normal data, trained with feature compactness and separateness losses, to an encoder-decoder for video anomaly detection.

  • MNAD
  • Learning Memory-guided Normality for Anomaly Detection
  • memory-guided normality
  • video anomaly detection
  • anomaly detection
  • memory module
  • future frame prediction
  • frame reconstruction
  • UCSD Ped2
  • CUHK Avenue

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

Cite the paper

@misc{park2020learningmemoryguidednormalityanomaly,
      title={Learning Memory-guided Normality for Anomaly Detection}, 
      author={Hyunjong Park and Jongyoun Noh and Bumsub Ham},
      year={2020},
      eprint={2003.13228},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2003.13228}, 
}