All models

Jigsaw-VAD

A video anomaly detector trained by solving decoupled spatial and temporal jigsaw puzzles.

Video · 34 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 (41 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
1.6M
Operations
34
Framework
PyTorch
Recurrent
No
Published
ECCV 2022
Cited by
118 (as of 30 October 2026)
Authors
Guodong Wang, Yunhong Wang, Jie Qin and others
License
GPL-3.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
m17631
Graph hash
3916667e4dc05ab0430acafe387da8351a4440cae01b402f2a81dc3d9f1ce53a
Skeleton hash
00335e89f861ca3ad0f7bbd0ddfa52bf133bfeb64b9e16b9262ec2534ebf599e
Architecture hash
c1dc00db6070e3807a0ad1b394a9fa1afbe0c1e9add5e6988c008b6630bee2ed
Diagram SHA-256
43220ee896bdb34de79abb07698957b318ef92f36449bd9253eebf9e9d2bad1a
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

Jigsaw-VAD detects anomalies in video by training a network on a self-supervised pretext task: solving spatio-temporal jigsaw puzzles. The paper casts the puzzle as a multi-label fine-grained classification problem. The puzzles are decoupled into spatial and temporal dimensions, which the paper says capture appearance and motion features respectively.

Full permutations are used, giving puzzles across various difficulty levels, so that the network learns to distinguish subtle spatio-temporal differences between normal and abnormal events. The task is trained end to end and does not rely on any pre-trained models. The paper reports results above the methods it compares with on three public benchmarks, and a large margin over reconstruction and prediction-based methods on ShanghaiTech Campus.

The official code is run on ShanghaiTech, Avenue and Ped2 with a sample number of 9, 7 and 7 respectively. The README's data table lists 145766 training patches and 130361 test patches for Shanghaitech, taking 119G of storage.

Key idea. The paper addresses video anomaly detection by solving spatio-temporal jigsaw puzzles, a self-supervised pretext task cast as multi-label fine-grained classification.

  • Jigsaw-VAD
  • video anomaly detection
  • VAD
  • spatio-temporal jigsaw puzzles
  • decoupled jigsaw puzzles
  • self-supervised learning
  • pretext task
  • anomaly detection
  • ShanghaiTech

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

Cite the paper

@misc{wang2022videoanomalydetectionsolving,
      title={Video Anomaly Detection by Solving Decoupled Spatio-Temporal Jigsaw Puzzles}, 
      author={Guodong Wang and Yunhong Wang and Jie Qin and Dongming Zhang and Xiuguo Bao and Di Huang},
      year={2022},
      eprint={2207.10172},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2207.10172}, 
}