# NeSAM: Neuro-Symbolic Kinodynamics with Soil Adaptation for Off-Road Mobility

Robotics.world

> When a wheeled robot drives on deformable ground such as sand or loose dirt, the soil sinks under the wheels, shears, and slips, so the vehicle does not move the way a simple planar kinematic model…

**arXiv**: 2608.21330 · Preprint · not peer-reviewed

**Published**: 2026-08-21

**Authors**: Chenhui Pan, Tong Xu, Francesco Cancelliere, Xuesu Xiao

## In plain words

When a wheeled robot drives on deformable ground such as sand or loose dirt, the soil sinks under the wheels, shears, and slips, so the vehicle does not move the way a simple planar kinematic model predicts — and its roll and pitch shift as well.

## AI summary

## Overview

**Research area:** Off-road robotics / field robotics — learning-based kinodynamic modeling and control for ground vehicles on deformable terrain.

**Technical level:** Advanced. The paper assumes familiarity with terramechanics (Bekker–Wong pressure-sinkage and Janosi–Hanamoto shear models), Transformer sequence models, Newton–Euler rigid-body dynamics, extended Kalman filters, and sampling-based model-predictive control (MPPI).

**Scope (one sentence):** NeSAM is a neuro-symbolic vehicle model that fuses differentiable Bekker–Wong terramechanics, learned terrain encoders, a Transformer residual model, and EKF-based online soil-parameter adaptation to predict six-degree-of-freedom off-road motion and to improve closed-loop trajectory tracking.

## What This Paper Is About

When a wheeled robot drives on deformable ground such as sand or loose dirt, the soil sinks under the wheels, shears, and slips, so the vehicle does not move the way a simple planar kinematic model predicts — and its roll and pitch shift as well. Existing learned models can imitate this behavior from data, but they treat the ground as a rigid surface, cannot expose physically meaningful soil properties, and cannot be corrected when the soil turns out to be different from what was seen in training. NeSAM's goal is to keep the physical structure of terramechanics (so the model stays interpretable and can be tuned online) while using learned components to supply the quantities classical terramechanics cannot easily provide — wheel sinkage, terrain context, and the residual errors left over from chassis and suspension effects.

## Key Contributions

1. **A neuro-symbolic kinodynamics framework** that combines differentiable Bekker–Wong terramechanics, learned elevation and semantic terrain representations, and a Transformer-based residual model into a single transition function for long-horizon, six-degree-of-freedom vehicle motion prediction over deformable terrain.
2. **An EKF-based online soil adaptation method** that treats a six-dimensional, physically interpretable soil-parameter vector as the only thing updated at deployment time, refining it from the discrepancy between predicted and measured vehicle velocities while every learned component stays frozen.
3. **Long-horizon autoregressive evaluation** (K = 32 steps, 3.2 s at 10 Hz) in the Chrono-based Verti-Bench simulator and on real Verti-4-Wheeler trajectories, against a pure end-to-end Transformer and against Terrain-Attentive Learning (TAL) variants conditioned on elevation, semantics, or both.
4. **Closed-loop validation of the adaptation mechanism**, integrating NeSAM with an MPPI controller in simulation under out-of-distribution soil and on a physical Verti-Arena testbed that includes a grass-to-sand transition.

## Main Findings

- **Simulation prediction accuracy:** NeSAM gives the lowest error in all six reported state dimensions in Verti-Bench. Against the Transformer baseline it reduces x, y, and z errors from 0.89, 0.90, and 0.09 m to 0.80, 0.78, and 0.06 m, and yaw error from 6.76° to 4.18°. The TAL variants are worse in translation (for example, TAL Elev.+Sem. at 1.19 m in x, TAL Sem. at 1.34 m in x), which the authors read as evidence that terrain conditioning alone does not capture deformation-dependent interaction over long rollouts.
- **Both neuro-symbolic components matter (simulation):** Removing the state-residual branch raises x and y error from 0.80 and 0.78 m to 0.99 and 0.98 m. Suppressing wheel sinkage (Sinkage = 0) gives 0.86, 0.84, and 0.07 m; full NeSAM reduces x, y, and z error by approximately 7.1%, 7.8%, and 18.3% relative to that variant.
- **Real-world prediction transfers:** On physical test trajectories NeSAM is best in five of six dimensions (all three positions, roll, yaw); TAL Elev.+Sem. has the lowest pitch error at 3.61°. Against the Transformer, x, y, z errors drop from 0.082, 0.070, and 0.019 m to 0.068, 0.059, and 0.012 m (reductions of 17.1%, 15.7%, and 36.8%), and roll, pitch, yaw drop from 3.78°, 5.21°, 7.05° to 3.15°, 4.18°, 5.79°.
- **The residual matters more on hardware:** On the physical platform, NeSAM without the state residual degrades sharply to 0.177, 0.151, and 0.031 m in x, y, z — worse than the Transformer baseline — showing that the analytical terramechanics branch alone does not cover real chassis and suspension effects.
- **Headline accuracy claim (as stated in the abstract):** up to 30% improvement in simulation and 29% on real-world data relative to the strongest compared baselines; the abstract does not specify which individual metric each percentage refers to.
- **Online soil adaptation rescues closed-loop tracking under OOD soil:** in Verti-Bench with soil parameters drawn outside the training distributions, the adapted configuration completes 4/5 runs while the fixed-soil configuration completes 0/5. Hausdorff distance to the reference trajectory falls from 6.87 ± 3.12 m to 2.10 ± 1.25 m, a 69.4% reduction. Roll (4.56° ± 5.77° vs 6.72° ± 5.17°) and pitch (6.59° ± 8.26° vs 8.03° ± 9.23°) also decrease. Traversal time is 100.0 ± 6.5 s for the adapted runs and is not comparable for fixed soil, since no fixed-soil trial finishes.
- **Physical closed-loop results:** the provided text is truncated before the physical trajectory-tracking results (Section V-B2) and the physical sinkage-ablation percentages are cut off mid-sentence, so those numbers are not reported in the available content. The protocol is stated as five trials per configuration with the same trained predictor and MPPI controller.

## Methodology in Plain English

The model is built as a chain with a physical spine and learned modules wrapped around it.

- **Seeing the terrain:** two separately pretrained U-Net autoencoders compress a 128×128 vehicle-aligned elevation patch and a matching RGB semantic patch into an 18×16×16 feature map each. These encoders are frozen after pretraining; only their compressed representations are used downstream.
- **Guessing the soil:** a small convolutional network plus a multilayer perceptron (28,262 trainable parameters) reads the semantic features and outputs six nominal soil parameters — a "first guess" at how soft, cohesive, and frictional the ground is, inferred from what the terrain looks like.
- **Encoding history:** recent states, controls, and terrain context are concatenated into interaction tokens and fed to a causal Transformer (128-dimensional, two attention blocks, four heads, 32-token effective history = 3.2 s). History matters because sinkage depends on what the wheels have already done to the ground, not just on the current camera view.
- **Predicting the hidden physics:** one head of the Transformer predicts wheel sinkage for each of the four wheels; another predicts a single 12-dimensional chassis-level correction. Neither is directly supervised — sinkage is only learned implicitly through the final state-prediction loss.
- **Applying physics:** predicted sinkage, measured wheel angular velocities, vehicle state, elevation, and the current soil estimate are fed into a differentiable Bekker–Wong model that computes a 3D contact force per wheel. Those forces are summed with gravity and turned into linear and angular accelerations through Newton–Euler equations with the vehicle's inertia tensor, then integrated over Δt = 0.1 s.
- **Correcting the physics:** the learned residual is added to the integrated physics increment, giving the next state — the physics provides structure, the network absorbs what the physics misses.
- **Training:** fully autoregressive 32-step rollouts, where each predicted state becomes the next input with no ground truth, using mean-squared state error, 40 epochs, Adam, learning rate 1e-4, batch size 32, 250 mini-batches per epoch. Gradients flow through the soil predictor, Transformer, terramechanics, and Newton–Euler integration.
- **Adapting online:** at deployment the network weights are frozen. The system collects a non-overlapping buffer of transitions, predicts what velocities the model expected under the current soil correction, compares them to measured velocities, computes the Jacobian of predicted velocity with respect to the soil parameters, and performs one EKF update on the soil correction. The correction is clipped to physically admissible bounds, and the semantic prior always supplies the nominal value to which the correction is added.

## Why This Matters

The work argues for a middle path between purely analytical terramechanics, which is interpretable but cannot represent suspension and tire effects and is awkward for real-time predictive control, and purely learned models, which are accurate but opaque, data-hungry, and brittle when the soil changes. Because the only quantity adapted online is a small, physically meaningful soil vector, the model can be corrected at deployment without retraining and without discarding what it learned — a practical property for robots that cannot afford to collect new data for every new field site.

**Real-world applications:**

- Planetary and lunar rovers traversing regolith, where sinkage and slip are the dominant failure modes and where soil properties are only partly known in advance.
- Agricultural robots crossing tilled soil, mud, and grass, where soil state varies field to field and season to season.
- Search-and-rescue and disaster-response ground vehicles operating on debris, sand, and disturbed ground with no prior terrain map.
- Defense, construction, and mining vehicles on unprepared terrain, where predictive controllers need fast, repeated dynamics queries within each control cycle.

**Industry relevance:** the method is designed to be queried many times per control cycle inside a sampling-based planner (MPPI here), which matches how autonomy stacks in agriculture, mining, and planetary exploration actually consume dynamics models. The separation between frozen learned weights and a small adapted parameter set also maps onto fleet deployment, where a shipped model must handle new sites without a retraining pipeline.

## Future Directions

- **Restoring the missing physical channels:** wheel angular velocity is an input to the terramechanics model but is not predicted by the Transformer, so the model cannot fully roll out slip and traction behavior on its own; learning to predict it is a natural extension.
- **Beyond a scalar correction:** the current adaptation updates a six-dimensional global soil vector, which cannot represent spatially varying soil within a single traverse; making the estimate spatially resolved or per-wheel is an open question.
- **Robustness of the EKF layer:** the buffer size, process covariance Q_B, and measurement covariance R_B are fixed design choices, and the paper's evidence for adaptation is a 5-run comparison under one OOD soil setting and one reference trajectory — broader validation across soil types, speeds, and terrain transitions is needed.
- **Supervising the intermediate physics:** sinkage is currently learned only implicitly through the state loss and receives no direct supervision; adding physical or proprioceptive supervision for sinkage and contact forces could improve both accuracy and interpretability.
- **Combining with the cheap-surrogate line of work:** differentiable neural approximations of soil contact models and surrogate-based soil identification are discussed as related work but not combined with NeSAM; merging them could reduce the cost of the terramechanics evaluation inside the planner.

## Target Audience

Robotics researchers and graduate students working on off-road autonomy, learning-based dynamics models, differentiable simulation, and physics-informed machine learning. It is also relevant to practitioners building predictive controllers (MPPI or MPC) for vehicles that operate on soft or unprepared ground, and to terramechanics researchers interested in how classical soil models can be embedded inside a learned, real-time prediction stack. Readers without a background in vehicle dynamics or terramechanics will find the method sections dense, though the core idea — physics for structure, learning for the leftovers, and a small interpretable parameter set for online correction — is accessible at a conceptual level.

## Authors’ abstract

Accurate prediction of off-road vehicle motion over deformable terrain remains challenging because sinkage, slip, and traction vary with local soil conditions. Existing learning-based kinodynamic models directly approximate vehicle-terrain interactions from data but do not explicitly represent soil mechanics and offer limited physical interpretability. To address these limitations, we present NeSAM, a neuro-symbolic framework that combines differentiable Bekker-Wong…

[The full abstract on arXiv](https://arxiv.org/abs/2608.21330)

[Read the original paper](https://arxiv.org/abs/2608.21330)

## Related papers

- [Learning Scene-Aware Humanoid Locomotion through 3D Clutter from Immersive Human Demonstrations](https://robotics.world/paper/learning-scene-aware-humanoid-locomotion-through-3d-clutter-from-2609.21107) 2026-09-17 · cs.RO · Also by Tong Xu, Xuesu Xiao
- [Hydra: A Navigation World Action Model with Discrete Latent Planning and Continuous Flow-Matching Execution](https://robotics.world/paper/hydra-a-navigation-world-action-model-with-discrete-latent-planning-and-2608.28995) 2026-08-29 · cs.RO · Also by Xuesu Xiao
- [Failing Gracefully: Mitigating Impact of Inevitable Robot Failures](https://robotics.world/paper/failing-gracefully-mitigating-impact-of-inevitable-robot-failures-2608.05313) 2026-08-05 · cs.RO · Also by Xuesu Xiao
- [Demonstration Synthesis from a Single Scan via Gaussian Splatting for Visuomotor Policy Learning](https://robotics.world/paper/demonstration-synthesis-from-a-single-scan-via-gaussian-splatting-for-2609.21112) 2026-09-17 · cs.RO · Also by Xuesu Xiao
- [ACME: A Multi-Cultural, Multi-Embodiment Social-Navigation Dataset](https://robotics.world/paper/acme-a-multi-cultural-multi-embodiment-social-navigation-dataset-2607.21964) 2026-07-24 · cs.RO · Also by Xuesu Xiao

---

Canonical: https://robotics.world/paper/nesam-neuro-symbolic-kinodynamics-with-soil-adaptation-for-off-road-2608.21330
