Efficient Two-Stream Network for Violence Detection Using Separable Convolutional LSTM

Zahidul Islam, Mohammad Rukonuzzaman, Raiyan Ahmed, Md. Hasanul Kabir, Moshiur Farazi

TL;DR

This paper introduces an efficient two-stream deep learning architecture for violence detection, combining a lightweight CNN (MobileNet) with a novel Separable Convolutional LSTM (SepConvLSTM). This approach achieves state-of-the-art accuracy on challenging datasets while significantly reducing computational cost, making it suitable for real-world deployment.

What Problem Does This Paper Address?

Automatically detecting violent activities in surveillance footage is a critical but challenging task. As surveillance systems become ubiquitous, manually reviewing footage is impractical. Existing deep learning methods for action recognition have shown promise, but many require substantial computational resources, limiting their deployment on edge devices or in real-time applications. Furthermore, violent actions are primarily characterized by body movements, making it crucial for models to effectively capture these dynamic features while potentially downplaying static background information.

Methods

The proposed method employs a two-stream architecture:

  • Stream 1 (Spatial/Appearance): This stream utilizes pre-trained MobileNetV2 (with a width multiplier of 0.35) to extract spatial features from background-suppressed frames. Background suppression is achieved by subtracting the average frame from each individual frame, effectively highlighting moving objects and reducing the influence of static backgrounds.
  • Stream 2 (Temporal/Motion): This stream processes the difference between adjacent frames. This simple yet effective pre-processing technique captures motion information without the computational overhead of optical flow.
  • SepConvLSTM: Both streams incorporate a novel Separable Convolutional LSTM (SepConvLSTM) module. This module replaces the standard convolution operations within the LSTM gates with depthwise separable convolutions. This significantly reduces the number of parameters and computational cost while retaining the ability to capture long-range spatio-temporal features.
  • Fusion: The feature maps from the two streams are fused using one of three strategies: concatenation (SepConvLSTM-C), element-wise multiplication (SepConvLSTM-M), or element-wise addition (SepConvLSTM-A).

Datasets

The models were evaluated on three standard benchmark datasets:

  • RWF-2000: A large and challenging dataset with 2000 real-life surveillance videos, known for its diverse backgrounds and lighting conditions.
  • Hockey: Contains 1000 videos of ice hockey, featuring similar backgrounds but with distinct violent actions.
  • Movies: A smaller dataset of 200 video clips from movies, with diverse content.

Key Insights and Ideas

  • Motion is Key: The research strongly suggests that motion patterns and body movements are more discriminative for violence detection than static appearance-based features. The stream processing frame differences significantly outperforms the stream using only background-suppressed frames.
  • Efficiency Through SepConvLSTM: Replacing standard convolutions with depthwise separable convolutions in ConvLSTM (SepConvLSTM) drastically reduces model parameters and computational load without sacrificing performance. This is a crucial step towards efficient real-time violence detection.
  • Strategic Pre-processing: Simple yet effective pre-processing techniques like background suppression and frame differencing are vital for highlighting relevant information (motion) and suppressing irrelevant information (background), thereby improving feature discriminability.
  • Fusion Matters: Different fusion strategies yield varying results, with element-wise multiplication (SepConvLSTM-M) achieving the best performance on the challenging RWF-2000 dataset, suggesting a more nuanced way of combining spatial and temporal information.

Key Results

  • The proposed SepConvLSTM-M model achieved over 2% higher accuracy on the RWF-2000 dataset compared to the previous best result.
  • The model matches state-of-the-art results on the smaller Hockey and Movies datasets.
  • The model is computationally efficient, requiring significantly fewer parameters and FLOPS compared to previous methods, making it suitable for deployment on resource-constrained devices. For instance, the one-stream variant with only the difference stream achieved 88.25% accuracy with only 0.186 million parameters.
  • Qualitative analysis showed that the model correctly identifies clear instances of violence but can struggle with ambiguous movements or poor video quality, as seen in failure cases.

Limitations and Future Work

  • Dataset Size: The authors acknowledge that smaller datasets like Hockey and Movies are prone to overfitting. Pre-training on larger action recognition datasets (e.g., Sports 1M, UCF-101) could improve generalization.
  • Ambiguous Movements & Video Quality: The model's performance can be affected by ambiguous body movements and low-quality surveillance footage, as demonstrated in the qualitative analysis.
  • Future Directions:
    • Implementing a violence detection system that can identify the likelihood of violence on a per-frame basis and localize the specific regions or objects contributing to the classification.
  • Exploring object-level features from object detection models (like YOLO or Faster R-CNN) as additional inputs.
  • Investigating the feasibility of stacking multiple SepConvLSTM layers with residual connections for potentially improved performance.

Summary updated

BibTeX
@inproceedings{islam2021efficient,
  author = {Zahidul Islam and Mohammad Rukonuzzaman and Raiyan Ahmed and Md. Hasanul Kabir and Moshiur Farazi},
  title = {{Efficient Two-Stream Network for Violence Detection Using Separable Convolutional LSTM}},
  booktitle = {IJCNN},
  year = {2021},
  url = {https://openreview.net/forum?id=w9cCT4QcJ-o},
}
Figure