Learning a Neural Solver for Multiple Object Tracking

Guillem Brasó, Laura Leal-Taixé

Abstract: Graphs offer a natural way to formulate Multiple Object Tracking (MOT) within the tracking-by-detection paradigm. However, they also introduce a major challenge for learning methods, as defining a model that can operate on such structured domain is not trivial. As a consequence, most learning-based work has been devoted to learning better features for MOT and then using these with well-established optimization frameworks. In this work, we exploit the classical network flow formulation of MOT to define a fully differentiable framework based on Message Passing Networks (MPNs). By operating directly on the graph domain, our method can reason globally over an entire set of detections and predict final solutions. Hence, we show that learning in MOT does not need to be restricted to feature extraction, but it can also be applied to the data association step. We show a significant improvement in both MOTA and IDF1 on three publicly available benchmarks.

Introduction

Multiple Object Tracking (MOT) is a fundamental computer vision task that involves identifying and following multiple objects, such as pedestrians or vehicles, throughout a video sequence. The prevailing strategy for MOT is the "tracking-by-detection" paradigm. In this approach, an object detector is first applied to each frame independently to generate a set of bounding boxes. The challenge then lies in the "data association" step: linking these detections across time to form coherent trajectories.

Traditionally, data association is framed as a graph partitioning or network flow problem. While deep learning has revolutionized the feature extraction part of this process—learning robust appearance descriptors to distinguish between individuals—the actual optimization or "solving" of the graph has largely remained the domain of classical, non-differentiable combinatorial algorithms. This creates a bottleneck where the feature extractor cannot be directly optimized for the final tracking objective. This paper introduces a "neural solver" that bridges this gap, making the entire tracking pipeline, including the optimization step, fully differentiable.

Methods

The core of the proposed approach is a Message Passing Network (MPN) designed to operate directly on the MOT graph. The process follows several key stages:

  1. Graph Construction and Feature Encoding: The tracking problem is represented as a graph where each node corresponds to a detection. Edges are created between detections in different frames that could potentially belong to the same trajectory. To initialize the graph, a CNN (specifically ResNet50) extracts appearance features for each node. Simultaneously, an MLP encodes geometric features for the edges, capturing relative spatial information like position, size differences, and temporal distance.
Overview of the proposed neural solver pipeline: (b) graph construction and feature encoding, (c) neural message passing, and (d) final edge classification.
  1. Time-Aware Message Passing: The primary innovation is the "Time-Aware" update rule within the MPN. Unlike standard MPNs that aggregate neighbor information uniformly, this model distinguishes between "past" and "future" neighbors. This temporal inductive bias forces the network to respect the flow of time and implicitly learn "flow conservation" constraints—the physical reality that an object entering a frame must either exit or continue into the next.
  2. Neural Optimization and Edge Classification: Through multiple iterations of message passing, the network performs global reasoning. Each node and edge embedding is updated based on its neighborhood, effectively allowing the model to "see" beyond local pairwise matches. After several iterations, a final classifier is applied to the edge embeddings to predict whether each edge is "active" (part of a track) or "inactive."

Key Insights and Ideas

  • The Solver is the Network: By embedding the optimization logic within the neural network architecture, the model learns to solve the association problem directly from data.
  • Global Reasoning via Depth: The number of message-passing steps acts like the receptive field in a CNN. With sufficient iterations, the model can resolve complex occlusions by considering detections that are far apart in time and space.
  • Temporal Inductive Bias: Simply splitting the message passing into past and future directions improved the model's ability to satisfy physical constraints (like not having one person turn into two) from 82.1% to 98.8% without any explicit hard-coding.

Key Results

The neural solver was evaluated on the MOTChallenge benchmarks (MOT15, MOT16, and MOT17). It achieved state-of-the-art performance, notably improving the IDF1 score (which measures identity consistency) by 6.6 points over strong baselines like "Tracktor" on MOT17.

Visual results of the neural solver on a tracking sequence, demonstrating consistent identity assignment across frames.

Beyond accuracy, the neural solver is highly efficient. It is up to an order of magnitude faster than traditional combinatorial solvers, which often face exponential complexity as the number of detections grows. The model's ability to combine appearance and geometry through a differentiable framework proves to be a powerful alternative to decoupled tracking systems.

Conclusion

This work demonstrates that the data association step in MOT can be effectively handled by a differentiable neural solver. By treating the tracking graph as a domain for message passing, the model learns to perform global optimization, leading to more robust and accurate trajectories. While the current system operates on batches of frames and requires a minor rounding step for perfect physical consistency, it paves the way for future end-to-end tracking systems that could potentially integrate detection and association into a single, unified framework.

Summary updated

BibTeX
@inproceedings{braso2020learning,
  author = {Guillem Brasó and Laura Leal-Taixé},
  title = {{Learning a Neural Solver for Multiple Object Tracking}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=oylQesHxcg6},
}
Figure