Learning Weakly Supervised Audio-Visual Violence Detection in Hyperbolic Space

Xiaogang Peng, Hao Wen, Yikai Luo, Xiaofang Zhou, Keyang Yu, Yigang Wang, Zizhao WuarXiv 2023 · DOI

Abstract

In recent years, the task of weakly supervised audio-visual violence detection has gained considerable attention. The goal of this task is to identify violent segments within multimodal data based on video-level labels. Despite advances in this field, traditional Euclidean neural networks, which have been used in prior research, encounter difficulties in capturing highly discriminative representations due to limitations of the feature space. To overcome this, we propose HyperVD, a novel framework that learns snippet embeddings in hyperbolic space to improve model discrimination. Our framework comprises a detour fusion module for multimodal fusion, effectively alleviating modality inconsistency between audio and visual signals. Additionally, we contribute two branches of fully hyperbolic graph convolutional networks that excavate feature similarities and temporal relationships among snippets in hyperbolic space. By learning snippet representations in this space, the framework effectively learns semantic discrepancies between violent and normal events. Extensive experiments on the XD-Violence benchmark demonstrate that our method outperforms state-of-the-art methods by a sizable margin.

Introduction

Automated violence detection is a critical component for modern security systems and content moderation platforms. However, developing effective models faces two primary challenges. First, label scarcity makes frame-level annotation prohibitively expensive, necessitating weakly supervised approaches like Multiple Instance Learning (MIL) where only video-level labels are available. Second, geometric limitations of standard Euclidean space hinder the representation of complex data. Video sequences often contain implicit hierarchical structures—for instance, specific violent acts like "fighting" or "explosions" are sub-categories of general violence, which is semantically distant from "normal" daily activities.

Conceptual comparison between Euclidean and Hyperbolic spaces for modeling implicit hierarchies in violence detection.

As shown in Figure 1, Euclidean space struggles to capture these hierarchical "cliffs." In contrast, hyperbolic space, characterized by its negative curvature, provides an "exponential room" where the volume grows exponentially with the radius. This property allows for the embedding of tree-like structures with minimal distortion, enabling the model to push violent and normal embeddings significantly further apart than is possible in a "flat" Euclidean manifold.

Methodology: The HyperVD Framework

To leverage these geometric advantages, we introduce HyperVD, a framework designed to operate entirely within the Lorentz model of hyperbolic geometry.

The HyperVD framework architecture, featuring Detour Fusion and dual-branch Fully Hyperbolic Graph Convolutional Networks (FHGCN).

Detour Fusion

A common issue in multimodal violence detection is modality inconsistency, where noisy audio signals can degrade the performance of visual-based detection. HyperVD employs a Detour Fusion module. Instead of simple concatenation, visual features are processed through a "detour" of additional layers to increase their representational weight before being combined with audio features. This ensures the visual stream acts as a stable anchor, preventing environmental noise in the audio from overwhelming the signal.

Fully Hyperbolic Graph Convolutional Networks (FHGCN)

The core of HyperVD consists of two parallel FHGCN branches that process fused features:

  1. Hyperbolic Feature Similarity Graph Branch: This branch captures global context by modeling similarities between snippets across the entire video duration, regardless of their temporal position.
  2. Hyperbolic Temporal Relation Graph Branch: This branch focuses on local temporal dynamics, modeling how a snippet relates to its immediate neighbors in time.

These branches utilize hyperbolic exponential and logarithmic maps to perform linear transformations and neighborhood aggregations directly on the manifold, preserving the structural integrity of the hyperbolic space throughout the learning process.

Experimental Results

The HyperVD model was evaluated on the XD-Violence dataset, the largest and most diverse benchmark for audio-visual violence detection, comprising 4,754 untrimmed videos.

Quantitative Performance

HyperVD achieved a state-of-the-art 85.67% Average Precision (AP), representing a 2.27% improvement over previous leading methods such as MACIL-SD. Notably, the model is highly efficient, containing only 0.607 million parameters. This makes it significantly more lightweight than many Euclidean-based competitors, some of which require over 12 million parameters to achieve lower performance.

Qualitative Insights

Visualizations of the feature space indicate that HyperVD produces much tighter and more distinct clusters for violent versus normal snippets. By mapping data to the hyperbolic manifold, the model effectively captures the sharp semantic gaps between events, leading to more accurate temporal localization of violent segments.

Conclusion

HyperVD demonstrates that moving beyond Euclidean geometry can yield significant gains in multimodal video understanding. By leveraging the unique properties of hyperbolic space, the framework better represents the hierarchical and semantic complexities of violence detection. Future work will explore the application of hyperbolic manifolds to other anomaly detection tasks and investigate ways to optimize the computational cost of hyperbolic operations.

Summary updated

BibTeX
@misc{peng2023learning,
  author = {Xiaogang Peng and Hao Wen and Yikai Luo and Xiaofang Zhou and Keyang Yu and Yigang Wang and Zizhao Wu},
  title = {{Learning Weakly Supervised Audio-Visual Violence Detection in Hyperbolic Space}},
  year = {2023},
  eprint = {2305.18797},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.18797},
}
Figure