Abstract
In this paper, we tackle the problem of spatio-temporal tagging of self-driving scenes from raw sensor data. Our approach learns a universal embedding for all tags, enabling efficient tagging of massive amounts of data. By learning a shared spatio-temporal representation of sensor data and HD maps, our model can efficiently identify diverse behaviors and even learn new types of events with very little additional training.
Introduction
Self-driving vehicles (SDVs) generate an overwhelming volume of data during every test drive. For engineers, the challenge lies in navigating these "logs" to find specific, high-value scenarios—such as a vehicle making a dangerous lane change or a pedestrian crossing a busy street—to improve the system's performance.
Traditionally, this has been addressed through two primary methods: manual triage and heuristic reasoning. Human experts provide high accuracy but cannot scale to the petabytes of data generated. Heuristics, which rely on the outputs of existing perception systems (like bounding boxes), are often noisy, require manual engineering for every new scenario, and struggle to capture complex social interactions. Researchers from Uber ATG and the University of Toronto propose a third way: an end-to-end deep learning approach that "tags" raw LiDAR data and HD maps directly, creating a searchable, semantic index of driving sessions.
Methodology: The Universal Embedding Network
The core innovation of this work is the Universal Embedding. Rather than training separate neural networks for every possible behavior (e.g., one for "braking," another for "turning"), the authors developed a single "Log Embedding Network."
Architecture and Tagging
The model processes voxelized LiDAR (3D points converted into a grid) and rasterized HD maps through a fully convolutional backbone. This produces a dense tensor—the universal embedding—that represents the scene's features across space and time. Each specific tag is represented by a small, learned vector called an Attribute Embedding. To identify where a specific behavior occurs, the model performs a pointwise dot product between the universal embedding and the attribute vector, resulting in a spatial "heat map" of the behavior.
Compositional Logic
Because the outputs are spatio-temporal, the system allows for complex queries using simple logic. Users can combine tags—such as "Vehicles" AND "Braking" AND "In front of the SDV"—to identify specific traffic interactions without needing to retrain the model. To ensure the model learns rare but important events (like lane changes) among common ones (like driving straight), the researchers utilized Hard Negative Mining and Task Balancing during training.
The SDVScenes Dataset
To support this research, the authors introduced SDVScenes, a large-scale dataset comprising over 40 hours of driving data (approximately 1 million training frames). Unlike previous datasets that might only label the self-driving car itself, SDVScenes provides annotations for all actors in the scene across 15 different attributes, including actor density, actions (parked, stopped, braking), interactions (blocked-by), and map topology.
Results and Key Insights
- Joint Learning Benefits: The joint model significantly outperformed separate models. Forcing the model to learn a single representation for many tasks allows features from common actions (like "stopped") to improve the understanding of rare actions (like "lane changes").
- Continuous Learning: The system is highly extensible. New tags can be added by freezing the universal embedding and learning only a new attribute vector. This approach outperformed training standalone models from scratch by up to 45% in F1 score.
- Input Modality Importance: Ablation studies confirmed that LiDAR is essential for motion-based tags (speed, braking), while HD maps are critical for static tags (parked cars, intersection types).
- Log Retrieval: Qualitatively, the model successfully retrieved complex scenarios, such as gridlocked intersections, by combining tags for "blocked vehicles" and "4-way intersections."
Conclusion and Future Work
This universal embedding approach provides a scalable, efficient, and interpretable way to index self-driving logs. While currently focused on LiDAR and HD maps, future iterations could incorporate RGB camera data for better visual cues (like turn signals) or more advanced learned compositional functions to capture nuanced social interactions between drivers. This work represents a significant step toward making the massive datasets of autonomous driving truly searchable and actionable.
Summary updated