Skip to main content
QUICK REVIEW

[Paper Review] trajdata: A Unified Interface to Multiple Human Trajectory Datasets

Boris Ivanovic, Guanyu Song|arXiv (Cornell University)|Jul 26, 2023
Traffic Prediction and Management TechniquesEngineering6 citations
TL;DR

This paper introduces trajdata, a unified, permissively licensed software framework that standardizes access to 8 diverse human trajectory datasets—spanning autonomous vehicles and pedestrians—by converting them into a consistent, efficient, and extensible tabular format with a uniform API. The key contribution is enabling seamless multi-dataset benchmarking, which reveals critical insights into annotation quality, autolabeling performance, and data biases, ultimately guiding future dataset design.

ABSTRACT

The field of trajectory forecasting has grown significantly in recent years, partially owing to the release of numerous large-scale, real-world human trajectory datasets for autonomous vehicles (AVs) and pedestrian motion tracking. While such datasets have been a boon for the community, they each use custom and unique data formats and APIs, making it cumbersome for researchers to train and evaluate methods across multiple datasets. To remedy this, we present trajdata: a unified interface to multiple human trajectory datasets. At its core, trajdata provides a simple, uniform, and efficient representation and API for trajectory and map data. As a demonstration of its capabilities, in this work we conduct a comprehensive empirical evaluation of existing trajectory datasets, providing users with a rich understanding of the data underpinning much of current pedestrian and AV motion forecasting research, and proposing suggestions for future datasets from these insights. trajdata is permissively licensed (Apache 2.0) and can be accessed online at https://github.com/NVlabs/trajdata

Motivation & Objective

  • To address the growing challenge of fragmented data formats and APIs across major human trajectory datasets used in autonomous vehicle and pedestrian motion forecasting research.
  • To reduce the engineering burden of integrating multiple datasets by providing a single, consistent, and extensible data interface.
  • To enable comprehensive, cross-dataset empirical evaluation of trajectory data quality, annotation consistency, and model generalization potential.
  • To identify systemic biases and limitations in current datasets—such as restricted labeling ranges and map coverage issues—and provide actionable recommendations for future data collection.

Proposed method

  • Trajdata standardizes trajectory and map data by extracting core agent dynamics (position, velocity, acceleration, heading, extent) in SI units, using finite differences and linear interpolation to derive missing or inconsistent data.
  • The framework converts heterogeneous native formats (e.g., TFRecords, Zarr, JSON) into a uniform tabular data structure, enabling efficient indexing, filtering, and grouping operations.
  • It supports a wide range of datasets, including Waymo, nuScenes, Lyft Level 5, INTERACTION, and SDD, with full support for map data and agent-level metadata.
  • The system natively integrates with deep learning frameworks like PyTorch, enabling direct use in training and evaluation pipelines.
  • It includes automated data quality checks, such as collision detection and map alignment validation, to flag inconsistencies in annotations.
  • The framework is extensible, allowing for future integration of new datasets and modalities, including sensor data and geometric map elements.

Experimental results

Research questions

  • RQ1How do the annotation quality and self-consistency of different trajectory datasets compare, especially across data collection methods like drones versus ground-based AVs?
  • RQ2To what extent do modern autolabeling pipelines approach the accuracy of human-annotated data, and where do they still fall short?
  • RQ3What are the key biases and limitations in current large-scale trajectory datasets, such as restricted labeling ranges or poor map coverage?
  • RQ4How do different datasets perform in terms of detecting rare or complex behaviors like harsh acceleration or agent collisions?
  • RQ5What design principles should guide future dataset releases to improve generalization, diversity, and robustness in motion forecasting research?

Key findings

  • Drone-based data collection, such as in the INTERACTION dataset, produces significantly more accurate bounding box annotations than ground-based AV perception systems, even with LiDDR, due to superior perspective and reduced occlusion.
  • Modern autolabeling pipelines achieve near-human-level annotation quality in terms of collision detection rates, though performance still lags in complex, close-proximity pedestrian interactions.
  • Datasets like Waymo, Lyft, and nuScenes exhibit the highest incidence of harsh acceleration events (over 1% of vehicles), consistent with their long-tailed acceleration distributions.
  • nuScenes suffers from poor map coverage outside main roads, while Lyft exhibits high false positive detections near roads, particularly for the 'Unknown' class.
  • Smaller-scale pedestrian datasets like SDD remain valuable for high-density, socially interactive scenarios despite their limited scale.
  • There is a strong bias toward straight-line driving in current datasets, and many datasets fail to adequately represent diverse geographic regions, including those with different socioeconomic or transportation access profiles.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.