Abstract
Robust representation learning of temporal dynamic interactions is an important problem in robotic learning in general and automated unsupervised learning in particular. Temporal dynamic interactions can be described by (multiple) geometric trajectories in a suitable space over which unsupervised learning techniques may be applied to extract useful features from raw and high-dimensional data measurements. Taking a geometric approach to robust representation learning for temporal dynamic interactions, it is necessary to develop suitable metrics and a systematic methodology for comparison and for assessing the stability of an unsupervised learning method with respect to its tuning parameters. Such metrics must account for the (geometric) constraints in the physical world as well as the uncertainty associated with the learned patterns. In this paper we introduce a model-free metric based on the Procrustes distance for robust representation learning of interactions, and an optimal transport based distance metric for comparing between distributions of interaction primitives. These distance metrics can serve as an objective for assessing the stability of an interaction learning algorithm. They are also used for comparing the outcomes produced by different algorithms. Moreover, they may also be adopted as an objective function to obtain clusters and representative interaction primitives. These concepts and techniques will be introduced, along with mathematical properties, while their usefulness will be demonstrated in unsupervised learning of vehicle-to-vechicle interactions extracted from the Safety Pilot database, the world's largest database for connected vehicles.
Introduction
In the fields of robotics and autonomous driving, understanding how agents interact—such as two vehicles navigating a complex intersection—is a fundamental challenge. These interactions are typically captured as high-dimensional, noisy, and highly dynamic trajectory data. Traditional modeling approaches often rely on "strong modeling assumptions," such as specific Markov processes, which can fail in unpredictable real-world environments.
This paper addresses the need for a stable, data-driven framework to represent and cluster these interactions without heavy modeling priors. The authors propose a geometric approach to identify "interaction primitives," which serve as the fundamental building blocks of agent-to-agent dynamics. By focusing on robust representation learning, the framework aims to provide a consistent way to interpret raw data across varying environmental conditions.
Geometric Distance Metrics
The core of the proposed framework is the development of a specific geometric "ruler" to measure the similarity between interactions.
Procrustes Distance for Trajectories
An interaction is defined as a pair of trajectories. To ensure the model focuses on relational dynamics rather than absolute positioning, the authors adapt the Procrustes distance. This metric is traditionally used in shape analysis and is modified here to be invariant to translation and rotation. Consequently, if two vehicles perform the same maneuver at different locations or facing different directions, the metric recognizes them as the same interaction primitive. This invariance is crucial for extracting meaningful patterns from physical-world data.
Wasserstein Distance for Distributions
To compare groups or sets of interactions, the framework utilizes optimal transport theory. Specifically, the Wasserstein distance is employed to measure the distance between distributions of interaction primitives. This allows researchers to compare the outputs of different learning algorithms or the characteristics of different datasets in a mathematically rigorous way.
Algorithmic Stability and Clustering
Unsupervised learning is often sensitive to "tuning knobs" or hyperparameters. If a slight change in parameters leads to a complete shift in clusters, the model lacks robustness. The authors argue that stability should be a primary metric for evaluating unsupervised methods. They introduce a "stability statistic" based on their distance metrics to assess how much learned clusters change when parameters, such as the number of clusters $k$, are adjusted.
Non-Euclidean K-Means
Clustering in a space defined by Procrustes distances is computationally expensive (NP-hard). To make the process tractable, the authors propose three approximation methods:
- Multidimensional Scaling (MDS): Projecting non-Euclidean distances into a lower-dimensional Euclidean space where standard k-means can be applied.
- Geometric Approximations: Utilizing the triangle inequality to provide upper bounds on distances, reducing the number of complex Singular Value Decomposition (SVD) calculations required.
Among these, the MDS-based approach proved to be the most effective and stable method for summarizing interaction distributions.
Experimental Validation
The framework was validated using the Safety Pilot Model Deployment (SPMD) database, one of the world’s largest datasets for connected vehicles. Collected in Ann Arbor, Michigan, the data includes approximately 3,500 vehicles. The researchers filtered a subset of 1,400 driving scenarios, segmenting them into thousands of basic vehicle-to-vehicle (V2V) interactions.
Key Results
- Clustering Quality: The MDS-based approach significantly outperformed standard baselines, including clustering based on raw spline coefficients or Dynamic Time Warping (DTW) matrices.
- Interpretability: The method successfully identified distinct and interpretable driving behaviors, such as vehicles following one another, cutting in front, or moving in opposite directions.
- Stability: The MDS approach demonstrated high stability for $k \ge 15$ clusters. In contrast, transferring primitives between different segmentation methods (e.g., from a sticky HDP-HMM to a spline approach) showed higher instability, highlighting the inherent difficulty of the task.
Conclusion and Future Work
By grounding interaction learning in geometric invariance and optimal transport, this research provides a robust foundation for understanding complex agent dynamics. The model-free nature of the framework allows it to adapt to various scenarios without the constraints of rigid modeling assumptions.
While the current work focuses on pairwise (two-agent) interactions, future research will aim to extend these metrics to multi-agent settings, such as busy four-way stops. Additionally, the authors seek to refine the computational efficiency of these metrics to make them more suitable for real-time robotic applications.
Summary updated