[Paper Review] A metric for sets of trajectories that is practical and mathematically consistent
This paper proposes a novel, mathematically consistent metric for sets of trajectories that is both computationally efficient and optimal in handling trajectory identity confusion. By formulating the association problem as a convex optimization problem, the method achieves polynomial-time computation while satisfying all metric axioms, outperforming existing approaches like OSPA-ST and CLEAR MOT in both theoretical consistency and practical performance on synthetic benchmarks.
Metrics on the space of sets of trajectories are important for scientists in the field of computer vision, machine learning, robotics, and general artificial intelligence. However, existing notions of closeness between sets of trajectories are either mathematically inconsistent or of limited practical use. In this paper, we outline the limitations in the current mathematically-consistent metrics, which are based on OSPA (Schuhmacher et al. 2008); and the inconsistencies in the heuristic notions of closeness used in practice, whose main ideas are common to the CLEAR MOT measures (Keni and Rainer 2008) widely used in computer vision. In two steps, we then propose a new intuitive metric between sets of trajectories and address these limitations. First, we explain a solution that leads to a metric that is hard to compute. Then we modify this formulation to obtain a metric that is easy to compute while keeping the useful properties of the previous metric. Our notion of closeness is the first demonstrating the following three features: the metric 1) can be quickly computed, 2) incorporates confusion of trajectories' identity in an optimal way, and 3) is a metric in the mathematical sense.
Motivation & Objective
- To address the lack of a mathematically consistent, practical metric for comparing sets of trajectories in computer vision and machine learning.
- To resolve the limitations of existing metrics—such as CLEAR MOT and OSPA-ST—that either violate metric axioms or restrict associations in ways that produce counter-intuitive results.
- To develop a metric that allows time-varying associations between trajectories, enabling optimal handling of identity switches while maintaining computational feasibility.
- To ensure the proposed metric satisfies all mathematical metric properties (non-negativity, identity of indiscernibles, symmetry, triangle inequality) while being efficiently computable.
Proposed method
- Formulate the trajectory similarity problem as a convex optimization problem that jointly minimizes distance cost and switching cost over time-varying associations.
- Introduce a two-step approach: first, define a theoretically optimal but computationally hard metric using a full assignment problem across all frames; second, relax this into a tractable, polynomial-time version.
- Use a weighted combination of distance cost (average trajectory deviation) and switching cost (penalty for identity changes) as the objective function.
- Apply a relaxation technique to transform the discrete assignment problem into a continuous convex program, enabling efficient solution via standard optimization solvers.
- Define the final metric, denoted $\mathcal{D}_{\text{comp}}$, as the optimal value of this convex program, ensuring mathematical consistency and practical efficiency.
Experimental results
Research questions
- RQ1Can a metric for sets of trajectories be both mathematically consistent and efficiently computable, without sacrificing optimality in handling identity confusion?
- RQ2Why do existing widely used metrics like CLEAR MOT and OSPA-ST fail to satisfy metric axioms, and what are the practical consequences of these failures?
- RQ3How can time-varying associations between trajectories be modeled in a way that globally optimizes both distance and switching costs?
- RQ4Is it possible to design a metric that allows for dynamic re-identification of trajectories across time while preserving the triangle inequality and other metric properties?
Key findings
- The proposed metric $\mathcal{D}_{\text{comp}}$ is the first to simultaneously satisfy all mathematical metric axioms while allowing time-dependent associations between trajectories.
- On synthetic data with 2400 distinct configurations, $\mathcal{D}_{\text{comp}}$ consistently achieved lower AUC (area under the tradeoff curve) than MOTP, indicating superior ability to detect similarity despite noise, fragmentation, and identity switches.
- The AUC of $\mathcal{D}_{\text{comp}}$ was significantly smaller than that of MOTP across all tested knobs (noise amplitude, deletion probability, fragmenting probability, switching distance), demonstrating its robustness and sensitivity to true similarity.
- The metric outperforms both heuristic measures (like CLEAR MOT) and mathematically consistent but restrictive metrics (like OSPA-ST) by balancing distance and switching costs in a globally optimal, convex framework.
- The computational complexity of $\mathcal{D}_{\text{comp}}$ is polynomial, making it scalable and practical for real-world applications in tracking, clustering, and retrieval.
- The method’s general framework of using convex programs to define metrics for sets of trajectories is extensible to uncertainty modeling and richer comparison tasks in future work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.