Skip to content
Robotics.world

Research

Kernel-Based Metrics Learning for Uncertain Opponent Vehicle Trajectory Prediction in Autonomous Racing

In autonomous racing, an ego vehicle (EV) must overtake an opponent vehicle (OV) whose driving style is unknown and possibly adversarial — the OV may ignore the EV entirely or actively block it.

The paper’s first page · arXiv:2609.17147
arXiv
2609.17147
Published
2026-09-15
Authors
Hojin Lee, Youngim Nam, Sanghun Lee, Cheolhyeon Kwon

In plain words

In autonomous racing, an ego vehicle (EV) must overtake an opponent vehicle (OV) whose driving style is unknown and possibly adversarial — the OV may ignore the EV entirely or actively block it. The authors' goal is to learn a prediction model that clusters similar driving policies and separates dissimilar ones without any policy labels, then outputs a probabilistic multi-step trajectory rather than a single guess.

AI summary

Overview

Research area: Robotics — autonomous racing, trajectory prediction under uncertainty, and integrated planning and learning (indexed by the authors as Planning under Uncertainty, Integrated Planning and Learning, and Machine Learning for Robot Control).

Technical level: Advanced. The paper assumes familiarity with Gaussian Processes, deep kernel learning, kernel lengthscales, and Model Predictive Contouring Control.

Scope (one sentence): The paper proposes heterogeneous kernel-based metrics for Deep Kernel Learning so that an ego racecar can infer an opponent's unknown driving policy from observed vehicle-to-vehicle interactions, predict the opponent's future trajectory with calibrated uncertainty, and overtake safely using MPC.

What This Paper Is About

In autonomous racing, an ego vehicle (EV) must overtake an opponent vehicle (OV) whose driving style is unknown and possibly adversarial — the OV may ignore the EV entirely or actively block it. The authors' goal is to learn a prediction model that clusters similar driving policies and separates dissimilar ones without any policy labels, then outputs a probabilistic multi-step trajectory rather than a single guess. Those predicted means and variances are then fed as dynamic obstacle constraints into the EV's MPC planner so it can overtake aggressively but safely.

Key Contributions

  1. Kernel-based metrics learning framework for DKL: Two new loss terms — a distance-matching loss (aligning pairwise kernel similarities in the latent policy space with pairwise kernel similarities in the output space) and a sensitivity loss (adjusting the ratio of kernel lengthscales between the output and latent spaces) — are added to the standard negative log marginal likelihood objective. This shapes the latent space so similar driving policies cluster and dissimilar ones spread apart, unsupervised.
  2. Probabilistic multi-step OV trajectory prediction: The one-step DKL predictor is rolled out recursively with a sampling-based scheme (Q = 25 samples) to produce a mean and covariance at every future step, intended to give calibrated uncertainty for both trained and untrained driving policies.
  3. MPC integration: The predicted distribution is embedded into a Model Predictive Contouring Control formulation as collision-avoidance constraints, where the OV's elliptical safety margin is resized in proportion to the predicted variance.
  4. Real hardware validation: Racing experiments on a 1/10th scale racecar platform against OVs running aggressive (blocking) and passive driving policies, compared against five baselines.

Main Findings

  • Best overtaking and safety record in head-to-head racing: The proposed KM-DKL achieved an overtaking rate per race of 0.95 and a major collision rate of 0.00, versus 0.65/0.30 for the DKL ablation, 0.35/0.55 for GPR, 0.65/0.25 for DNN, 0.55/0.30 for CAV, and 0.85/0.10 for NMPC (GT).
  • Lowest lateral prediction error among learned methods: Lateral MSE was 0.139 ± 0.08 for KM-DKL, compared with 0.261 ± 0.17 (DKL), 0.219 ± 0.14 (GPR), 0.377 ± 0.15 (DNN), 0.584 ± 0.35 (CAV), and 0.217 ± 0.14 for NMPC (GT).
  • Longitudinal error improved but not best-in-class: Longitudinal MSE was 0.244 ± 0.09 for KM-DKL, better than DKL (0.256 ± 0.193), GPR (0.290 ± 0.15), DNN (0.839 ± 0.12), and CAV (0.746 ± 0.307), but higher than the planning-based NMPC (GT) baseline at 0.178 ± 0.11.
  • Minor collisions reduced relative to the DKL ablation: Minor collision rate per race was 0.30 for KM-DKL versus 0.50 (DKL), 0.40 (GPR), 0.85 (DNN), 0.45 (CAV), and 0.30 (NMPC GT).
  • Highest computation time of the compared methods: Average computation time was 98 ms for KM-DKL, against 97 ms (DKL), 84 ms (GPR), 39 ms (DNN), 12 ms (NMPC GT), and 6 ms (CAV) — the authors nonetheless describe the method as computationally efficient for onboard computing units.
  • Latent-space alignment matters: The paper argues qualitatively (Fig. 3) that without alignment the latent policy features are disorganized, increasing overfitting risk, while aligned features make the GP's learned mapping robust to input variation.
  • Loss terms are treated as interdependent: The authors explicitly state that no individual ablation of the distance-matching and sensitivity losses was performed, on the grounds that the two terms complement each other.
  • Not reported: The number of races, the size of the collected datasets (𝒟_aggr and 𝒟_pass), and any explicit statistical significance tests are not given in the provided content.

Methodology in Plain English

The ego car watches a short history of how it and the opponent have been moving relative to each other and to the track — relative progress along the centerline, lateral offsets, heading errors, longitudinal speeds, and upcoming track curvature. That 10-step interaction history is passed through a multi-scale convolutional neural network with causal 1D convolutions and multiple filter sizes, which compresses it into an 11-dimensional "fingerprint" of the opponent's driving policy. A Gaussian Process with a Matérn kernel then maps that fingerprint to the opponent's state change one time step ahead, producing both a mean and a variance.

The distinctive part is how the network is trained. Beyond the usual Gaussian Process fit, the authors add a term that forces the similarities between fingerprints to mirror the similarities between the actual state changes, plus a term that tunes kernel lengthscales — loosening sensitivity in fingerprint space so dissimilar policies spread out, and tightening it in output space so real differences are captured. This is done without labels; the training data are just unannotated samples pooled randomly from the aggressive and passive driving logs.

For multi-step prediction, the one-step model is run forward repeatedly: 25 sampled state transitions are drawn, each sample's input history is updated with the newly predicted states plus the ego car's planned future states, and the mean and covariance at each step are computed from the sample set. Those statistics define an ellipse around the opponent whose size grows with the predicted variance; the ego car's MPC then treats that growing ellipse as a soft, uncertainty-aware obstacle while maximizing progress along the track. Everything runs on Jetson hardware (AGX Orin on the ego car, Orin NX on the opponent), with control at 20 Hz and prediction at 10 Hz, on an L-shaped 1/10th scale track with speed limits of 1.9 m/s for the ego car and 1.6 m/s for the opponent, a planning horizon of N = 12, and a sample time of Ts = 0.1 s.

Why This Matters

Impact on research: The paper targets a recognized weakness in learning-based trajectory prediction — that models degrade when an encountered agent's policy falls outside the training distribution — and offers a training-time regularizer rather than a new architecture. It also positions kernel-metric learning as a way to inject non-stationarity handling into Deep Kernel Learning, a direction the authors note is difficult to train in general, and it demonstrates the idea on real racing hardware rather than only in simulation.

Real-world applications:

  • Autonomous racing series such as Roborace, Indy Autonomous Challenge, and F1TENTH, where head-to-head overtaking against unknown opponents is the core task.
  • Highway and urban driving where the intent of a neighboring human driver is unknown and must be inferred from interaction rather than assumed.
  • Mobile robots in shared spaces (warehouses, campuses) that must pass other agents with unknown and possibly obstructive behavior.
  • ADAS and safety layers that need calibrated uncertainty bounds, not just point predictions, to decide when a maneuver is safe.

Industry relevance: Because the authors emphasize onboard feasibility and deploy on Jetson-class embedded hardware with ROS, the pipeline is close to an implementable autonomy stack pattern: learned uncertainty-aware prediction feeding a nonlinear MPC planner with variance-scaled safety margins. The reported 98 ms average computation time, however, is close to the 100 ms period implied by 10 Hz prediction, so the practical headroom question matters for anyone considering deployment.

Future Directions

  • Computational headroom: With 98 ms average computation time at 10 Hz prediction, reducing latency (fewer samples than Q = 25, a smaller encoder, or a leaner GP) is a natural next step for faster or larger-scale vehicles.
  • Ablation and loss-weight sensitivity: The authors decline to ablate the distance-matching and sensitivity losses individually, citing their interdependence; isolating their effects, and studying sensitivity to w1 = 2, w2 = 1, w3 = 0.05 and to the threshold α, remains open.
  • Scale and generality of the policy set: Only two opponent policies (aggressive blocking and passive lap-time-focused) are studied on an L-shaped 1/10th scale track; whether the metrics generalize to many policy styles, multiple simultaneous opponents, and full-scale vehicles is untested.
  • Sensing assumptions and data scale: Opponent state estimates are exchanged over ROS topics rather than perceived by onboard sensors, and dataset sizes are not reported — moving to perception-based tracking and reporting data scale would clarify how much the method depends on clean, shared state information.

Target Audience

Robotics and autonomous-vehicle researchers working on planning under uncertainty, interactive trajectory prediction, and integrated planning-and-learning; practitioners of Gaussian Processes and Deep Kernel Learning who want a concrete regularization scheme for non-stationary data; and F1TENTH or 1/10th-scale racing teams looking for a deployable, code-released prediction-and-overtaking stack (code and video at the authors' HMCL-UNIST GitHub repository). Readers without background in GP kernels and MPC will find the method sections demanding.

Authors’ abstract

Autonomous racing confronts significant challenges in safely overtaking Opponent Vehicles (OVs) that exhibit uncertain trajectories, stemming from unknown driving policies. To address these challenges, this study proposes heterogeneous kernel metrics for Deep Kernel Learning (DKL), designed to robustly capture the diverse driving policies of OVs, and carry out precise trajectory predictions along with the associated uncertainties. A key virtue of the proposed kernel metrics…

The full abstract on arXiv
Read the original paper

Related papers