NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Data-Driven Motion Pattern Segmentation in a Crowded Environments

Jana Trojanová, Karel Krehnác, François BrémondWorkshops @ ECCV 2016

Introduction

This research presents a fully unsupervised, data-driven framework for segmenting motion patterns in crowded environments. By analyzing short-term point trajectories (tracklets) and constructing a k-nearest neighbor (k-NN) graph, the method automatically determines an optimal segmentation threshold based on a "crowd collectiveness" criterion. This approach yields a significant performance improvement—exceeding 20%—over previous state-of-the-art techniques.

Problem Statement

Understanding crowd dynamics is a fundamental challenge in computer vision. Scenes often contain hundreds of individuals with varying behaviors: some move in coherent flows, others independently, and some in opposing directions within the same spatial area.

Existing approaches typically fall into two categories:

  1. Flow-field models: These treat crowds as fluids. While effective for high-density scenarios, they often struggle with lower densities and suffer from temporal inconsistency, where identified groups fluctuate rapidly between frames.
  2. Clustering models: These group similar motion features but often require processing the entire video sequence offline to learn probability models, making them unsuitable for real-time applications.

The proposed framework aims to bridge these gaps by providing a method that requires no training, adapts to various crowd densities, and maintains temporal consistency.

Methodology

The proposed pipeline operates on 15-frame windows and consists of several key stages, moving from raw tracklets to final motion patterns.

Overview of the proposed motion pattern segmentation pipeline, from input tracklets to final motion pattern output.
  • Feature Extraction: Instead of raw optical flow, the system utilizes "tracklets"—short-term trajectories of points—which provide a more discriminative signal of individual motion intent.
  • Graph Construction: The scene is represented as an oriented k-NN graph. Each node corresponds to an averaged tracklet (position and velocity). To handle "mixed motion" where different groups overlap, the parameter $k$ is set to 20, allowing the graph to capture multiple overlapping patterns.
  • Data-Driven Segmentation: A "collectiveness criterion" is used to determine the optimal segmentation threshold. By analyzing how "collective" the motion is across various thresholds, the system selects the value that maximizes the balance between the number of groups and their internal consistency.
  • Recursive Clustering: A recursive search merges nodes into larger motion patterns. If a "parent" node and its "children" in the graph meet the correlation threshold, they are unified into a single cluster.

Dataset and Evaluation

The primary benchmark is the CUHK Crowd Dataset, comprising 300 video segments of diverse scenes like marathons and shopping malls.

A significant contribution of this work is the re-annotation of the dataset. The authors identified inconsistencies in over 50% of the original annotations, such as merging groups moving in opposite directions. Consequently, they re-annotated a subset of 50 videos (1,500 frames) to establish a more rigorous ground truth for evaluation.

Results and Discussion

The method was evaluated against major benchmarks, including Shao et al. and Brox et al.

Qualitative comparison of the proposed method against state-of-the-art techniques (Zhou, Shao, Brox) on the CUHK dataset across multiple frames.
  • Accuracy: In simple scenarios, the proposed method achieved an F1-measure of approximately 82%, significantly outperforming competitors (47% and 56%).
  • Complex Scenarios: In high-overlap scenes, it maintained a high F1-measure of ~76%, while competitors remained below 48%.
  • Weighted Performance: When weighting clusters by size to emphasize main crowd flows, the F1-measure reached 92% in simple scenes.

Qualitative results demonstrate that while other methods often merge opposing flows into a single "blob," this framework correctly separates them into distinct motion patterns, maintaining clarity across frames.

Conclusion and Future Work

The framework demonstrates the power of using collectiveness as a temporal tool for unsupervised, data-driven segmentation. By handling overlapping motions through high-degree k-NN graphs, it achieves superior temporal consistency and accuracy.

Future work will address current limitations, such as the hardcoded 15-frame window size, which should ideally be adaptive. Additionally, the authors aim to refine the recursive clustering logic using multi-resolution approaches to further reduce over-segmentation and better handle the inherent subjectivity of motion pattern boundaries.

Summary updated

BibTeX
@inproceedings{trojanova2016data,
  author = {Jana Trojanová and Karel Krehnác and François Brémond},
  title = {{Data-Driven Motion Pattern Segmentation in a Crowded Environments}},
  booktitle = {Workshops @ ECCV},
  year = {2016},
  doi = {10.1007/978-3-319-48881-3\_53},
}
Figure