Expert-LaSTS: Expert-Knowledge Guided Latent Space for Traffic Scenarios

Jonas Wurst, Lakshman Balasubramanian, Michael Botsch, Wolfgang Utschick · DOI

Introduction

The validation of Autonomous Vehicles (AVs) requires testing against an exhaustive library of driving scenarios. However, managing and organizing thousands of hours of driving data presents significant challenges. Engineers must be able to cluster similar scenarios to create representative test cases and identify "novel" edge cases that differ fundamentally from existing data. Standard unsupervised methods often fail to capture the high-level semantic meaning of traffic scenes, frequently grouping scenarios based on superficial visual similarities rather than functional driving characteristics.

Methodology: Expert-Knowledge Guidance

To bridge the gap between raw data and semantic understanding, we introduce Expert-LaSTS, a framework that constructs a structured latent space guided by human expert intuition.

Input Representation and Architecture

The model processes two primary inputs for each scenario: Infrastructure ($I$), a grayscale bird's-eye view image of the road topology, and Trajectory ($T$), the ego-vehicle's path and dynamics over time. As shown in the architecture overview, these inputs are processed through specialized encoders ($f_I, f_T$) and fused into a joint latent vector ($z$).

The Expert-LaSTS architecture integrates infrastructure and trajectory data through a metric learning network to produce a structured latent space.

Expert Constraints and Automatic Mining

The latent space is shaped by five expert-defined rules that dictate the relative distances between scenarios based on road similarity and driving actions. To scale this without manual labeling, the framework employs Graph Isomorphism. Road networks are converted into mathematical graphs; scenarios with identical graph structures are automatically treated as similar, allowing the model to learn from over 70,000 scenarios autonomously.

Experimental Results

The framework was evaluated using a massive synthetic dataset derived from OpenStreetMap (OSM) and simulated via SUMO (Simulation of Urban MObility), encompassing 70,000 scenarios across 8 broad categories.

Performance Metrics

Expert-LaSTS significantly outperformed baseline methods in key validation tasks:

  • Novelty Detection: Achieved an AUC of 0.991 for broad categories, compared to 0.786 for standard Autoencoders.
  • Clustering Accuracy: Reached 90% accuracy in identifying specific road types, whereas standard classifiers and PCA achieved only ~30-34%.

Latent Space Analysis

Visualization of the latent space demonstrates that Expert-LaSTS creates a well-organized representation. The space exhibits smooth gradients for physical properties such as velocity and orientation, indicating that the learned features are stable and physically meaningful.

UMAP visualizations of the latent space show clear clustering by scenario categories and smooth gradients for physical features like velocity (v) and orientation (psi).

Conclusion

Expert-LaSTS demonstrates that incorporating expert knowledge into deep learning architectures can produce highly structured and useful latent spaces for traffic scenario analysis. By moving beyond purely unsupervised learning, the framework enables more effective clustering and robust novelty detection for AV validation. Future work will focus on multi-agent dynamics to account for interactions between multiple vehicles and pedestrians.

Summary updated

BibTeX
@inproceedings{wurst2022expert,
  author = {Jonas Wurst and Lakshman Balasubramanian and Michael Botsch and Wolfgang Utschick},
  title = {{Expert-LaSTS: Expert-Knowledge Guided Latent Space for Traffic Scenarios}},
  booktitle = {IV},
  year = {2022},
  doi = {10.1109/iv51971.2022.9827187},
}
Figure