# A metric for sets of trajectories that is practical and mathematically consistent

arXiv: https://arxiv.org/abs/1601.03094 · HTML: https://mlsanity.com/paper/1601.03094/

## Key facts

- Cited by 7 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 12 Jan 2016.

## Built on by (most cited first, 7 of 7)

- [A time-weighted metric for sets of trajectories to assess multi-object tracking algorithms](https://mlsanity.com/paper/2110.13444/) (2021)
- [Graph GOSPA metric: a metric to measure the discrepancy between graphs of different sizes](https://mlsanity.com/paper/2311.07596/) (2023)
- [TGOSPA Metric Parameters Selection and Evaluation for Visual Multi-object Tracking](https://mlsanity.com/paper/2412.08321/) (2024)
- [From Target Tracking to Targeting Track -- Part I: A Metric for Spatio-Temporal Trajectory Evaluation](https://mlsanity.com/paper/2502.15842/) (2025)
- [Deep MDP: A Modular Framework for Multi-Object Tracking](https://mlsanity.com/paper/2310.14294/) (2023)
- [A family of graph GOSPA metrics for graphs with different sizes](https://mlsanity.com/paper/2506.17316/) (2025)
- [GOSPA and T-GOSPA quasi-metrics for evaluation of multi-object tracking algorithms](https://mlsanity.com/paper/2507.13706/) (2025)

## Abstract (arXiv)

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.
