HSTforU: Anomaly Detection in Aerial and Ground-based Videos with Hierarchical Spatio-Temporal Transformer for U-net

1Department of Computer Science and Engineering, Sejong University, Seoul, Korea,
2School of Big Data and Statistics, Anhui University, Hefei, China

Abstract

Anomaly detection is to identify abnormal events against normal ones within surveillance videos mainly collected in ground-based settings. Recently, the need for drone data processing is rapidly growing as drones find new applications. However, as most aerial videos collected by flying drones contain moving backgrounds and others, it is necessary to deal with their spatio-temporal features in detecting anomalies. This study presents a transformer-based video anomaly detection method whereby we investigate a challenging aerial dataset and three benchmark ground-based datasets. The encoder of our U-net has a four-stage pyramid transformer structure, and each stage has a link to a corresponding spatio-temporal transformer stage. Then, this transformer produces hierarchical feature maps that are conveyed to the decoder as skip connections. Extensive evaluations including several ablation studies suggest that this network outperforms the state-of-the-art on Drone-anomaly dataset and three benchmark datasets. We expect the proposed transformer for U-net can find diverse applications in the video processing area. Code and model are available at https://vt-le.github.io/HSTforU/.

Video

Ground-based Videos

CUHK Avenue Dataset

The future frame (middle column) and prediction error (right column) are generated corresponding with the input frame.


Interpolate start reference image.

Start Frame

Loading...
Interpolation end reference image.

End Frame

Aerial Videos

Highway

In this scene, a cow herd walking on the highway is anomalous.

Bike

Vehicles moving on the roundabout used for bikes is anomalous in this scene.

Anomaly score

For each video, we compare the anomaly score of the proposed method with and without Hierarchical Spatio-temporal Transfomrer.

Ground-based Datasets

Interpolation end reference image.

UCSD Ped2 Dataset

Interpolation end reference image.

CUHK Avenue Dataset

Interpolation end reference image.

ShanghaiTech Dataset

Drone-anomaly Dataset

Interpolation end reference image.

Bike roundabout

Interpolation end reference image.

Highway

Acknowledgements

This work was supported by the Institute of Information \& communications Technology Planning \& Evaluation (IITP), a grant funded by the Korean government (MSIT) (No.2019-0-00231), and by the Information Technology Research Center (ITRC) support program (IITP-2022-RS-2022-00156354) as well as by the Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education (2020R1A6A1A03038540).

BibTeX

@article{le2023hstforu,
  author    = {Le, Viet-Tuan and Jin, Hulin and Kim, Yong-Guk},
  title     = {HSTforU: Anomaly Detection in Aerial and Ground-based Videos with Hierarchical Spatio-Temporal Transformer for U-net},  
}