All models

BN-WVAD

A weakly supervised video anomaly detector that scores snippets by their divergence from BatchNorm mean vectors.

Video · 134 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 (7 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
5.8M
Operations
134
Framework
PyTorch
Recurrent
No
Published
IEEE Transactions on Circuits and Systems for Video Technology (arXiv 2023)
Cited by
75 (as of 29 October 2026)
Authors
Yixuan Zhou, Yi Qu, Xing Xu and others
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
m14862
Graph hash
6852c5abfc4c45c8844380b19636bd65fc6defd0dff13e60d2e4cd5376c4fb0d
Skeleton hash
19fbd8120cb2b85027e15842a5184d078c12d290f2c35ddea2363f610f828427
Architecture hash
928c085f6e12ffe40496fa34517b9253181a7a59a3a3ab4adf37ea2e4aae4671
Diagram SHA-256
386868e5131adad222b4e3cca175a55651ab11fb1a305ac3b670600e7a910436
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

BN-WVAD is a weakly supervised video anomaly detection (WVAD) model that brings BatchNorm statistics into the scoring of video snippets. In this setting only video-level labels indicating the presence or absence of abnormal events are available. The method starts from the statistical insight that temporal features of abnormal events often exhibit outlier characteristics.

BN-WVAD uses the Divergence of Feature from Mean vector (DFM) of BatchNorm as an abnormality criterion, measured with the Mahalanobis distance. BN-WVAD uses the Divergence of Feature from Mean vector (DFM) of BatchNorm as an abnormality criterion, measured with the Mahalanobis distance. Snippet features come from a frozen I3D network and pass through a Transformer-based enhancer with an output dimension of 512. Two Conv1d layers with a kernel size of 1, each followed by BatchNorm and ReLU, then produce hidden features with output dimensions of 32 and 16. The DFM values of the two hidden features are summed, and the final anomaly score aggregates the DFM scores with the prediction of the anomaly classifier by element-wise multiplication.

This model takes I3D snippet features for videos interpolated to a standardized length of 200 snippets and returns one anomaly score per snippet. For training, the paper adds an MPP loss that gathers normal features and a sample-batch selection strategy for abnormal snippets. The paper reports an AUC of 87.24% on UCF-Crime and an AP of up to 84.93% on XD-Violence.

Key idea. BN-WVAD treats the divergence of a snippet's features from the BatchNorm mean vector as an abnormality criterion and combines it with the anomaly classifier's prediction.

  • bn-wvad
  • weakly supervised video anomaly detection
  • video anomaly detection
  • wvad
  • divergence of feature from mean
  • dfm
  • batchnorm
  • ucf-crime
  • xd-violence

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

Cite the paper

@misc{zhou2023batchnormbasedweaklysupervisedvideo,
      title={BatchNorm-based Weakly Supervised Video Anomaly Detection}, 
      author={Yixuan Zhou and Yi Qu and Xing Xu and Fumin Shen and Jingkuan Song and Hengtao Shen},
      year={2023},
      eprint={2311.15367},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2311.15367}, 
}