Incremental Optimal Assignment for Real-Time Crowd Tracking
Abstract
Multi-object tracking in dense crowds requires solving a bipartite assignment problem between detections and trajectories at every video frame. The classical Hungarian algorithm solves this in time, which becomes a bottleneck for large scenes with hundreds of people. We propose an \emph{incremental} assignment algorithm that exploits the block-sparse structure of crowd tracking cost matrices --- dense within each crowd cluster, near-zero between clusters. We compute the exact same optimal assignment as the Hungarian algorithm, but via an incremental strategy: we add one person at a time, exploiting the fact that after step the dual potentials are \emph{exactly optimal} for the subproblem --- a strictly stronger condition than the intermediate feasibility maintained by the Hungarian algorithm during its outer iterations. Each new step therefore requires only a single augmenting path search from a certified optimal starting point. This avoids repeated full-matrix scans while guaranteeing an identical globally optimal result. A diagonal-reordering invariant keeps the data structure compact and cache-friendly. On realistic crowd benchmarks with people organised into dense clusters, our algorithm achieves \textbf{3.7--6.5 speedup} over the Hungarian baseline while producing provably optimal matchings identical to those of Hungarian. The speedup grows with and remains stable beyond , making the method especially attractive for large-scale crowd scenes such as stadium exits and mass public events.
Cite
@article{arxiv.2607.21368,
title = {Incremental Optimal Assignment for Real-Time Crowd Tracking},
author = {Ismail H. Toroslu},
journal= {arXiv preprint arXiv:2607.21368},
year = {2026}
}