Abstract
Understanding crowd behavior in video is challenging for computer vision. There have been increasing attempts on modeling crowded scenes by introducing ever larger property ontologies (attributes) and annotating ever larger training datasets. However, in contrast to still images, manually annotating video attributes needs to consider spatiotemporal evolution which is inherently much harder and more costly. Critically, the most interesting crowd behaviors captured in surveillance videos (e.g., street fighting, flash mobs) are either rare, thus have few examples for model training, or unseen previously. Existing crowd analysis techniques are not readily scalable to recognize novel (unseen) crowd behaviors. To address this problem, we investigate and develop methods for recognizing visual crowd behavioral attributes without any training samples, i.e., zero-shot learning crowd behavior recognition. To that end, we relax the common assumption that each individual crowd video instance is only associated with a single crowd attribute. Instead, our model learns to jointly recognize multiple crowd behavioral attributes in each video instance by exploring multiattribute cooccurrence as contextual knowledge for optimizing individual crowd attribute recognition. Joint multilabel attribute prediction in zero-shot learning is inherently nontrivial because cooccurrence statistics does not exist for unseen attributes. To solve this problem, we learn to predict cross-attribute cooccurrence from both online text corpus and multilabel annotation of videos with known attributes. Our experiments show that this approach to modeling multiattribute context not only improves zero-shot crowd behavior recognition on the WWW crowd video dataset, but also generalizes to novel behavior (violence) detection cross-domain in the Violence Flow video dataset.
Introduction
Recognizing crowd behavior is a cornerstone of public safety and urban planning, yet it faces a significant "data wall." Unlike still images, manually annotating videos is expensive and complex, requiring the tracking of spatio-temporal changes. Furthermore, the most critical behaviors—such as street fights, flash mobs, or disasters—are inherently rare, making traditional supervised learning impractical due to the lack of training samples.
While Zero-Shot Learning (ZSL) has succeeded in object recognition, applying it to crowd videos is difficult due to scene complexity and the multi-label nature of events. A single crowd video often contains multiple overlapping attributes (e.g., "outdoor," "parade," and "protest"). This research aims to bridge this gap by using the "context" of known, common attributes to infer the presence of rare, unseen ones.
Methodology
The proposed Context-Aware Zero-Shot Learning (CAZSL) framework operates on the principle that recognizing common attributes can help predict novel ones through their relationships. The model explores two primary approaches:
- TexCAZSL (Text-based): Utilizes word-vector embeddings (e.g., Word2Vec) from massive text corpora. It assumes semantic proximity in language (e.g., "fight" and "violence") translates to visual relationship.
- CoCAZSL (Visual Co-occurrence): This innovation addresses the gap between linguistic similarity and visual reality. For instance, "indoor" and "outdoor" are semantically related but never co-occur. The model learns a bilinear mapping ($M$) to predict actual visual co-occurrence statistics from word vectors, correcting the linguistic model to fit the visual world.
Visual features are extracted using Improved Dense Trajectories (ITF) and Fisher Vector encoding, providing a high-dimensional representation of motion and texture.
Experimental Setup
The study utilizes two primary datasets to evaluate the framework:
- WWW Crowd Video Dataset: A collection of over 10,000 videos featuring 94 attributes across categories like location, participants, and activity.
- Violence Flow Dataset: Used for cross-domain transfer tasks. The model, trained on WWW (which lacks a "violence" label), is tested on its ability to detect violence in this separate dataset.
Results and Discussion
The CoCAZSL model achieved state-of-the-art performance on the WWW dataset, outperforming standard ZSL baselines with a Mean AUC of 0.69.
A key insight was the resolution of the "Indoor/Outdoor Paradox." By training the model to predict visual co-occurrence rather than just semantic similarity, false positives were significantly reduced. Furthermore, in the violence detection transfer task, the zero-shot model achieved an AUC of 87.22%, remarkably outperforming a fully supervised Linear SVM (85.00%). This suggests that well-modeled context can be more powerful than direct but limited training data.
Conclusion
This work demonstrates that crowd "context" serves as a universal language for behavior recognition. While successful, future improvements could involve integrating deep learning-based motion features and developing methods for spatio-temporal localization to pinpoint exactly where and when a behavior occurs within a video.
Summary updated