[Paper Review] Video Vision Transformers for Violence Detection
This paper proposes a Video Vision Transformer (ViViT)-based end-to-end framework for automated violence detection in video sequences, leveraging spatial-temporal attention and data augmentation to improve performance on limited datasets. It achieves state-of-the-art accuracy of 97.14% on the Hockey Fight dataset and 98.46% on the Crowd Fight dataset, demonstrating superior generalization and computational efficiency over prior CNN-based methods.
Law enforcement and city safety are significantly impacted by detecting violent incidents in surveillance systems. Although modern (smart) cameras are widely available and affordable, such technological solutions are impotent in most instances. Furthermore, personnel monitoring CCTV recordings frequently show a belated reaction, resulting in the potential cause of catastrophe to people and property. Thus automated detection of violence for swift actions is very crucial. The proposed solution uses a novel end-to-end deep learning-based video vision transformer (ViViT) that can proficiently discern fights, hostile movements, and violent events in video sequences. The study presents utilizing a data augmentation strategy to overcome the downside of weaker inductive biasness while training vision transformers on a smaller training datasets. The evaluated results can be subsequently sent to local concerned authority, and the captured video can be analyzed. In comparison to state-of-theart (SOTA) approaches the proposed method achieved auspicious performance on some of the challenging benchmark datasets.
Motivation & Objective
- To develop an end-to-end deep learning framework for real-time violence detection in surveillance videos.
- To address the challenge of limited training data in video vision transformers by applying effective data augmentation strategies.
- To improve generalization across diverse violence scenarios, including person-to-person fights and crowd conflicts.
- To achieve higher accuracy and computational efficiency than existing CNN-based approaches in violence detection.
- To enable swift automated alerts for law enforcement and public safety systems through real-time video analysis.
Proposed method
- The model uses a Video Vision Transformer (ViViT) architecture that processes video clips as sequences of spatio-temporal patches.
- Input video clips are divided into 3D patches of size (8,8,8), which are linearly embedded and positional encoding is applied.
- Spatio-temporal tokens are fed into a stack of transformer encoder layers with multi-head self-attention to capture long-range dependencies across space and time.
- A data augmentation strategy is applied to enhance robustness and mitigate the weak inductive bias of ViT on small datasets.
- The final classification head outputs a binary prediction (violent or non-violent) using a learned classifier head on the [CLS] token representation.
- Hyperparameters such as patch size, learning rate, weight decay, and number of layers are tuned via iterative validation to optimize performance.
Experimental results
Research questions
- RQ1Can a Video Vision Transformer (ViViT) architecture achieve superior performance in violence detection compared to existing CNN-based models?
- RQ2How effective is data augmentation in improving ViT performance on small-scale violence detection datasets?
- RQ3Can the proposed model generalize across different types of violent events, including person-to-person and crowd-based violence?
- RQ4What is the impact of architectural components like multi-head self-attention and patch-based processing on spatio-temporal feature learning in video classification?
- RQ5How does the model’s accuracy and training stability compare to state-of-the-art methods on benchmark datasets?
Key findings
- The proposed ViViT-based model achieved a training accuracy of 96.57% and validation accuracy of 97.14% on the Hockey Fight dataset.
- On the Crowd Fight dataset, the model reached 98.73% training accuracy and 98.46% validation accuracy, outperforming prior SOTA methods.
- The model demonstrated stable learning curves with minimal gap between training and validation loss, indicating good generalization and no significant overfitting.
- Precision, recall, and F1-score metrics were consistently high across both datasets, confirming robust classifier performance beyond overall accuracy.
- The model outperformed all listed SOTA methods, including 3D-CNN, CNN+LSTM, and ensemble models, on both benchmark datasets.
- The architecture showed computational efficiency and scalability, suitable for real-time deployment in surveillance systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.