Dynamics Modeling using Visual Terrain Features for High-Speed Autonomous Off-Road Driving

Jason Gibson, Anoushka Alavilli, Erica Tevere, Evangelos Theodorou, Patrick Spieler

TL;DR

High-speed autonomous off-road driving requires predicting sudden changes in vehicle dynamics—such as wheel slip, traction loss, and rolling resistance—before the vehicle hits treacherous terrain. This paper introduces a hybrid dynamics model that extracts visual features from the DINOv2 visual foundation model and compresses them via a custom, distance-independent encoder trained end-to-end with the vehicle's terradynamics. The resulting compact representation integrates seamlessly into real-time Model Predictive Control (MPC), improving 5-second trajectory predictions by roughly 10% over vision-free baselines.

What Problem Does This Paper Address?

When a vehicle drives aggressively off-road, terrain properties vary dramatically: hard-packed dirt transitions into loose sand, tall grass, or muddy ruts. Traditional approaches either classify terrain into a few coarse discrete categories (e.g., "rock" vs. "soil") or rely on reactive corrections after the vehicle has already begun slipping.

To safely plan aggressive maneuvers at hardware limits, an autonomy stack must anticipate terradynamic shifts continuous meters ahead. While pre-trained Visual Foundation Models (VFMs) like DINOv2 capture fine-grained scene semantics, directly incorporating their high-dimensional embeddings into online spatial maps is computationally intractable. Furthermore, visual embeddings shift significantly depending on camera distance, lighting, and occlusions, causing standard learned models to fail when looking ahead into the distance.

Methods

The authors build a perception-to-control pipeline designed for GPU-accelerated Model Predictive Path Integral (MPPI) control:

Camera ──> DINOv2 (ViT-S/14) ──> PCA (40-dim) ──> Feature Encoder (4-dim) ──> 3D/2D Elevation & Feature Map ──> Hybrid Dynamics Model (Bicycle + LSTM) in MPPI
  • Visual Embedding & Offline PCA: Rectified images from four surround cameras are processed by DINOv2 (ViT-S/14, 384-dimensional features). For offline dataset generation, features are linearly reduced via PCA to 40 dimensions.
  • End-to-End Feature Encoder ($\zeta_E$): A lightweight fully connected network ($[64, 32]$ hidden units) compresses the 40-dimensional PCA features down to a compact vector (e.g., 4 to 8 dimensions) per wheel. Crucially, it is trained end-to-end with the downstream dynamics model, discarding lighting and depth cues while preserving dynamics-relevant properties.
  • Runtime Efficiency: At runtime, the feature encoder runs in 2D image space before LiDAR point cloud projection and 3D voxel accumulation, keeping the mapping pipeline lightweight and real-time capable.
  • Hybrid Vehicle Dynamics: The vehicle's forward, lateral, and yaw dynamics are modeled with a physics-based parametric bicycle model (with Pacejka tire slip formulations), while an LSTM network predicts additive compensation forces to correct the parametric outputs based on past states, controls, and wheel-queried visual terrain features.
  • Distance-Independent Training: Because DINOv2 features drift across observation distances, the model is trained by uniformly sampling terrain features across 7 distance buckets (from $-20\text{ m}$ to $40\text{ m}$ in 10-meter increments), accompanied by a missing-data indicator flag $\{-1, 1\}$.

Datasets

The model was trained and evaluated on an extensive real-world off-road dataset comprising ~2 million 5-second trajectories (~250k test trajectories) representing hundreds of kilometers of aggressive driving across four rugged environments:

  1. Helendale, CA (Mojave Desert, 64%): Loose sand and compressible creosote bushes.
  2. Paso Robles, CA (Halter Ranch, 28%): Tall dry grass (1–2 ft), oak woodland, and steep slopes up to $40^\circ$.
  3. Oceanside, CA – Dunes (4%): Coastal sand dunes.
  4. Oceanside, CA – Scrub (4%): Dense coastal sage scrub.

Key Insights and Ideas

  • Task-Driven Compression Over General Embeddings: VFMs encode broad environmental information, but vehicle dynamics care primarily about stiffness, traction, and compressibility. Training the encoder jointly with dynamics forces the bottleneck to discard lighting or depth variations.
  • Hindsight Models Suffer Severe Distribution Shift: Training dynamics models solely on "hindsight" maps (data aggregated after the vehicle drives over terrain) completely breaks when testing on forward-facing, lookahead features ($>10\text{ m}$ ahead), often yielding unstable, nonsensical trajectories.
  • Compression Acts as Regularization: The compressed feature space proved markedly more resilient to distance artifacts than directly feeding raw VFM embeddings, demonstrating that the learned bottleneck smooths out distance-dependent perception noise.

Key Results

  • Accuracy Improvement: Using compressed terrain features reduces mean trajectory prediction error at a 5-second horizon by ~10% compared to a featureless baseline.
  • Velocity Tracking: Most of this gain stems from an ~8% reduction in longitudinal velocity ($v_x$) error, which directly improves yaw estimation in high-speed corners.
  • Lookahead Stability: On realistic lookahead distances ($0\text{–}30\text{ m}$), the distance-independent model (DC) maintains low error (e.g., $\sim 1.90\text{ m}$ at $20\text{ m}$ lookahead), whereas naive hindsight models degrade significantly to $2.87\text{–}3.27\text{ m}$.
  • Dimensionality Invariance: Compressing features down to just 4 dimensions per wheel matched the accuracy of higher dimensions, proving high-dimensional VFM features can be radically compressed without losing dynamical utility.

Limitations and Future Work

  • Degradation Beyond 30–40 Meters: Beyond $40\text{ m}$, LiDAR beam sparsity and terrain occlusions cause severe data dropouts (up to 79% missing data), limiting predictive benefits far ahead of the vehicle.
  • Ground-Plane Estimation in Tall Vegetation: Tall grass (1–2 ft) and brush obscure the true ground plane, occasionally mapping foliage features into the terrain layer rather than the ground surface beneath.
  • Future Work: The authors plan to investigate explicit occlusion-reasoning mechanisms, dedicated ground-plane filtering in dense vegetation, and adaptive distance-dependent feature normalization.

Summary updated

BibTeX
@inproceedings{gibson2025dynamics,
  author = {Jason Gibson and Anoushka Alavilli and Erica Tevere and Evangelos Theodorou and Patrick Spieler},
  title = {{Dynamics Modeling using Visual Terrain Features for High-Speed Autonomous Off-Road Driving}},
  booktitle = {ROAR @ RSS},
  year = {2025},
  url = {https://openreview.net/forum?id=sCt111eEqY},
}
Figure