Abstract: The rapid advancement of autonomous vehicle (AV) technology has led to a proliferation of large-scale driving datasets. However, these datasets often exist in "silos"—incompatible formats and varying sensor configurations that hinder cross-dataset research and scenario-based searching. This paper proposes a novel framework to unify heterogeneous driving databases by decomposing raw sensor data into fundamental "traffic primitives." Using an unsupervised Bayesian learning approach, specifically the Sticky Hierarchical Dirichlet Process-Hidden Markov Model (Sticky HDP-HMM), the system automatically segments and labels driving maneuvers without manual intervention. Experimental results on a real-world research platform demonstrate the framework's ability to accurately identify distinct driving behaviors, paving the way for a searchable, universal database of driving scenarios.
Introduction
The autonomous driving industry is currently "data-rich but information-poor." While massive amounts of naturalistic driving data are publicly available through benchmarks like KITTI, Ford Campus, and Udacity, this data is inherently heterogeneous. Differences in data formats (e.g., ROSBAG, .mat, .txt), sensor suites (varying combinations of Lidar, Radar, and cameras), and the lack of semantic labels make it extremely difficult for researchers to find specific edge cases or maneuvers across different sources. Currently, manual labeling is the primary solution, but it is prohibitively expensive and time-consuming, with one hour of driving data often requiring up to 800 hours of human labor. To address this "data silo" problem, we propose a framework that automatically unifies and indexes diverse datasets using traffic primitives.
The Proposed Framework
The core of our approach is a four-stage pipeline designed to transform raw, unstructured sensor data into a searchable relational database.
- Preprocessing: Raw multidimensional data from various sensors is converted into standardized time series. This step ensures that all data points are aligned to universal timestamps, regardless of their original source format.
- Integrating: The standardized data is stored in a Relational Database Management System (RDBMS). To handle the heterogeneity of sensor suites, we employ a flexible "one-to-many" schema. This allows the database to accommodate different vehicle configurations without creating sparse, inefficient tables filled with null values.
- Auto-Recognizing: This is the central innovation of the framework. We utilize a Sticky Hierarchical Dirichlet Process-Hidden Markov Model (Sticky HDP-HMM) to segment time-series data into "primitives"—the basic building blocks of driving, such as "accelerating," "turning," or "braking." As a nonparametric Bayesian method, it discovers the number and nature of these primitives automatically, without requiring pre-defined labels. The "sticky" parameter ensures that identified states are persistent and physically meaningful, preventing the model from jittering between states.
- Unification: Once primitives are identified, they are indexed and clustered. Complex driving behaviors, such as overtaking or navigating an intersection, can then be defined and queried as specific sequences of these primitives.
Experimental Setup and Datasets
To validate the framework, we utilized the OpenCAV platform, a Lincoln MKZ research vehicle equipped with a comprehensive suite of sensors, including Velodyne Lidar, Delphi Radar, DSRC, and high-precision GPS/IMU.
Testing was conducted at Mcity, a dedicated 32-acre test facility at the University of Michigan that simulates complex urban and suburban environments. For the initial evaluation, we analyzed a 34-second ROSBAG containing 1,180 frames of driving data, encompassing five distinct real-world scenarios: starting/turning left, accelerating, lane changing, driving straight, and slowing/turning right.
Results and Discussion
The unsupervised model successfully partitioned the test trip into eight distinct primitives. Qualitative analysis, performed by comparing the model's output against synchronized video logs, showed high accuracy. For instance, "Primitive #1" consistently identified the initial low-speed left turn, while "Primitive #4" accurately captured sustained straight-line driving.
The primary advantage of this approach is the creation of a "common denominator" for driving data. By focusing on the statistical signatures of maneuvers in time-series data, the framework becomes largely agnostic to the specific hardware used. Whether a deceleration event is captured by a high-end Lidar or a simple mobile camera, its primitive representation remains consistent. This enables query-oriented access: a researcher can now search for "all left turns" across multiple datasets simultaneously, significantly reducing the time spent on data curation.
Conclusion and Future Work
This research presents a scalable solution to the data silo problem in AV research. By automating the extraction of semantic primitives, we can transform massive, unorganized datasets into structured, searchable resources. While the current validation was performed on a relatively small sample, future work will focus on scaling the system to multi-hour datasets and integrating existing large-scale public benchmarks like KITTI into the unified architecture. Ultimately, this framework aims to provide a universal language for driving data, accelerating the development and safety validation of autonomous systems.
Summary updated