Abstract
Traditional crowd surveillance systems often struggle with high computational latency, heavy reliance on pre-labeled training data, and privacy concerns. This paper presents a real-time framework for unsupervised anomaly detection in dense crowds. By integrating online multi-person tracking with non-linear motion models derived from crowd simulation (Reciprocal Velocity Obstacles), the system identifies atypical behaviors by comparing individual trajectories against global crowd movement. Experimental results on standard benchmarks demonstrate that the framework achieves high accuracy (AUC up to 0.91) while maintaining extremely low processing times (0.001–0.006s per frame), enabling interactive, privacy-conscious monitoring.
Introduction
Monitoring dense crowds for safety and security is a critical task for urban infrastructure. However, current state-of-the-art methods face significant hurdles. High-accuracy algorithms often require offline processing, making them unsuitable for real-time intervention. Furthermore, many systems depend on extensive "normal" training data specific to each scene, which is difficult to collect and label. Finally, the use of facial recognition and other visual identifiers raises substantial privacy and ethical concerns.
This research addresses these challenges by proposing an interactive, unsupervised system that focuses on anonymous trajectory data. By learning behavior on the fly, the system avoids the need for massive pre-labeled datasets and operates at frame rates sufficient for live surveillance.
Methodology
The proposed framework utilizes a three-stage pipeline to extract and analyze pedestrian behavior in real-time.
Real-time Tracking and State Estimation
The system first employs a multi-person tracker to obtain 2D coordinates for all agents in the scene. To mitigate noise and handle occlusions, Bayesian inference is used to estimate a state vector for each pedestrian, encompassing their position, current velocity, and an inferred "intermediate goal."
Non-Linear Motion Modeling
A key innovation is the application of Reciprocal Velocity Obstacles (RVO), a model originally developed for crowd simulation and robotics. RVO provides a mathematical baseline for how humans navigate to avoid collisions. By using these simulation principles to analyze real-world video, the system can predict "rational" navigation behavior without requiring a neural network to learn it from scratch.
Local vs. Global Feature Comparison
Anomaly detection is performed by comparing "local" features (an individual's specific movement) against "global" features (the average flow of the surrounding crowd).
As shown in the figure above, the system identifies individuals whose movement deviates significantly from the group norm. An anomaly is flagged if the Euclidean distance between the local behavior and the global crowd behavior exceeds a user-tunable threshold. This approach allows the system to detect contextual anomalies—actions that are spatially or temporally uncommon relative to the group, such as a person walking against the flow or a sudden U-turn.
Results and Discussion
The framework was evaluated on several benchmarks, including PETS ARENA and UCSD Ped1.
Performance and Speed
One of the most significant results is the system's efficiency. The "Behavior Learning Time" (BLT) was measured between 0.001 and 0.006 seconds per frame on a single CPU core. This performance level ensures that the system can operate interactively in real-world scenarios.
Accuracy
Despite being an online, zero-training method, the system achieved an Area Under ROC Curve (AUC) of 0.873 on the UCSD dataset and 0.91 on the ARENA dataset. These metrics are comparable to complex offline methods that require extensive pre-training. Qualitatively, the system successfully identified diverse anomalies such as "push and run" events and individuals moving against dense pedestrian flows.
Limitations and Future Work
While effective, the system has limitations. It is optimized for low-to-medium density crowds; in extremely high-density "crush" conditions, tracking individual trajectories becomes difficult, potentially degrading performance. Additionally, the system relies on a user-tunable threshold, which requires careful calibration to balance sensitivity and false alarm rates. Future work will focus on improving robustness to long-term occlusions and adapting the system for higher-density environments.
Summary updated