# DELTA: Deformable Elevation-Based Local Terrain Attention Encoder for Sparse-Terrain Quadrupedal Locomotion

Robotics.world

> Quadrupeds walking on sparse terrain must place each foot on a small, valid patch; a missed foothold ends the run immediately. Attention-based map encoding (AME) lets a reinforcement learning policy…

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

**Published**: 2026-08-22

**Authors**: Sanghyun Park, Moonkyu Jung, Jemin Hwangbo

## In plain words

Quadrupeds walking on sparse terrain must place each foot on a small, valid patch; a missed foothold ends the run immediately. Attention-based map encoding (AME) lets a reinforcement learning policy learn this implicit foothold reasoning, but it processes every cell of the elevation map as an attention candidate, so the compute cost grows with map resolution — exactly when finer maps are most needed.

## AI summary

## Overview

- **Research area:** Legged robotics / reinforcement learning for quadrupedal locomotion over sparse, discontinuous terrain (stepping stones, gaps, grid stones).
- **Technical level:** Advanced. The paper assumes familiarity with PPO-based locomotion training, elevation-map encoders, and transformer attention.
- **Scope:** Introduces DELTA, a terrain encoder that replaces dense attention over every map cell with a fixed number of learned, state-conditioned local terrain samples, and evaluates it in simulation and on the real RAIBO2 quadruped.

## What This Paper Is About

Quadrupeds walking on sparse terrain must place each foot on a small, valid patch; a missed foothold ends the run immediately. Attention-based map encoding (AME) lets a reinforcement learning policy learn this implicit foothold reasoning, but it processes every cell of the elevation map as an attention candidate, so the compute cost grows with map resolution — exactly when finer maps are most needed. DELTA addresses this by predicting a small, fixed set of where-to-look locations from the robot's own state and local geometry, encoding only those patches, and attending over them.

## Key Contributions

1. **A resolution-independent terrain encoder.** DELTA predicts proprioception-conditioned deformable sampling offsets, refines each location using a small "scout" patch, and encodes only a fixed number of local elevation patches as terrain evidence tokens. With fixed sampling and patch settings, encoder cost does not depend on map height and width.
2. **Demonstrated resolution scaling at no extra encoder cost.** At 26×16, DELTA matches AME's final traversal performance (96.4% vs 96.3% overall stage-10 success) while reaching a sustained 90% criterion in 75.1% fewer iterations. Under a fine-grained curriculum it reaches 95.9% stepping-stone success at 41×25 with the same 4.496 M encoder FLOPs.
3. **Strong generalization to unseen mixed courses.** On four unseen courses mixing continuous and discrete elements, DELTA averages 96.6% success rate and 98.4% mean progress versus 26.0% and 62.7% for AME.
4. **Sim-to-real transfer plus interpretability evidence.** The 41×25 policy deployed directly on RAIBO2 and completed 21 of 21 trials across seven courses, and analysis shows DELTA samples steppable regions (85.4% of final-layer samples) and attends to future touchdown locations (2.11× uniform attention) without any foothold labels or attention supervision.

## Main Findings

- **Parity at standard resolution, large gain in learning speed.** At 26×16, overall average success rate was 96.4% (DELTA) vs 96.3% (AME) vs 81.3% (MLP map encoder). DELTA hit three consecutive evaluations averaging ≥90% stage-10 success at iteration 2,210 ± 160, versus 8,890 ± 1,475 for AME; the MLP encoder never reached the criterion within 30,000 iterations.
- **Fine-grained terrain favors DELTA and favors resolution.** With the fine-grained curriculum (half the standard stone radius), DELTA reached 84.0% fine-grained stepping-stone success at 26×16 versus 65.7% for AME. At 41×25, DELTA reached 95.9% versus 68.0% for AME within the same 30,000-iteration budget. The authors attribute this to grid spacing: roughly 8 cm at 26×16 versus 5 cm at 41×25.
- **Encoder cost stays flat while AME's grows.** Encoder FLOPs: DELTA 4.496 M at both 26×16 and 41×25; AME 27.570 M at 26×16 and 67.910 M at 41×25 as its candidate count grows from 416 to 1,025. This is an 83.7% reduction at standard resolution and 93.4% at the higher resolution.
- **Wall-clock training speedups.** Mean iteration time was 8.239 s for DELTA and 20.262 s for AME at 26×16 (relative training speed 2.46×), and 10.541 s versus 46.558 s at 41×25 (relative 1.92×); the text reports these as 2.46× and 4.42× speedups at the two resolutions. DELTA required 5.06 ± 0.33 h to reach the sustained 90% criterion, a 9.9× speedup over AME.
- **The generalization gap is the headline result.** On four unseen mixed courses, DELTA averaged 96.6% SR / 98.4% progress against AME's 26.0% / 62.7% and MLP's 3.5% / 61.4% — a 70.6-percentage-point SR gap, despite near-identical scores on the individually evaluated training terrains. Failures concentrated at transitions between terrain types, and were worst in Courses 3 and 4, which contain evaluation-only geometries.
- **Ablations separate the two mechanisms.** Removing Scout-guided refinement dropped steppable-surface ratio from 85.4 ± 1.0% to 68.7 ± 1.8% and mixed-course SR to 75.0%. Removing Adaptive patch encoding left stepping-stone SR at 97.3% but collapsed mixed-course SR to 56.1%, implicating it mainly in generalization. Fixed Sampling (no deformable offsets) was worst on mixed courses at 28.2% SR and placed only 31.6 ± 6.2% of samples on steppable surfaces.
- **Real-robot validation.** Using only Intel RealSense D430 depth cameras (front and rear), a 41×25 map over a 2.0×1.2 m region, and TensorRT inference at 100 Hz on a Jetson AGX Orin, the high-resolution policy completed all 21 trials (three per course, 100% SR) across seven courses. No real-world training, policy adaptation, foothold planner, or online trajectory optimization was used; only NaN filling and sensor-spike removal were applied to the map.
- **Caveat embedded in the cost claim.** The paper explicitly defines "encoder cost" as the fixed-size operations only, excluding full-map preprocessing and data movement from its accounting.

## Methodology in Plain English

The robot gets two inputs: its own proprioception (gravity direction, base velocities, joint state, previous target, velocity command) and a small robot-centered elevation map with three channels storing base-frame x, y, z coordinates. DELTA turns the proprioceptive vector into an initial query vector through a small MLP and layer normalization.

Then it runs three identical-looking attention layers. In each layer, every attention head proposes eight locations on the map, chosen both from the query and from the previous layer's refined position, and clipped so they stay in valid patch-center territory. For each proposed spot, the encoder reads a tiny 3×3 patch of heights and feeds it, along with the 3D coordinate of the spot, into a small MLP. That produces a "scout" token describing what is actually there. A second MLP sees the query plus the scout token and nudges the location — this is what pulls samples from arbitrary points onto real steppable surfaces.

Once the location is settled, a patch around it becomes a terrain evidence token. In the first two layers this is another 3×3 patch, encoded the same way as the scout. The final layer uses a wider 9×9 patch, but splits it into a 3×3 center and the surrounding context, learns a scalar gate in (0,1) from both, and adds only a gated amount of context to the center feature. This keeps the geometry directly under the foot from being diluted by irrelevant surroundings. The three coordinate channels are appended to make a 64-dimensional token.

Each layer then performs single-query multi-head cross-attention: four heads, eight tokens each (32 tokens total), with root-mean-square normalization applied to the values so a low-attention token cannot dominate through a large value norm. The attended output is added to the query through a residual path with layer normalization and a feed-forward network. After three layers the query itself is the terrain representation, concatenated with proprioception and fed to actor and critic MLPs. Actions are joint-position offsets around a nominal pose, tracked by a PD controller with torques clipped at 71.5 Nm.

Training uses PPO in RaiSim with 200 parallel environments, 400 Hz simulation, 100 Hz control, 4.0 s maximum episodes, and 30,000 iterations, with the actor encoding noisy observations and the critic encoding clean ones, plus joint-friction and slip randomization. A ten-stage curriculum promotes after two consecutive successes and demotes after three consecutive failures. Rewards are composed as positive terms multiplied by an exponential of the summed negative terms, with a −50 terminal penalty. Baselines (MLP encoder, AME reimplemented from prior work) share identical downstream actor and critic networks.

## Why This Matters

- **Decouples terrain precision from computation.** Prior dense attention encoders tie map resolution to encoder cost, which shows up twice in training (rollout collection and policy updates). DELTA's flat 4.496 M encoder FLOPs means higher-resolution maps become affordable, and the fine-grained results (95.9% vs 68.0%) are direct evidence that this matters in practice.
- **Suggests a diagnosis for why dense attention fails at terrain transitions.** When a local map contains the outgoing terrain, boundaries, upcoming footholds, and irrelevant surroundings at once, dense candidate sets force attention to suppress heterogeneous cues. Refining locations before attention sidesteps this.
- **Interpretability without supervision.** The learned offsets and attention weights show sensible behavior — sampling steppable surfaces and looking ahead to future touchdowns — without foothold labels or attention supervision, which is useful for debugging and for trust in learned policies.

Real-world applications:

- **Inspection and maintenance robots** crossing broken flooring, rubble, or partially collapsed structures where valid footholds are sparse.
- **Search-and-rescue platforms** traversing debris fields and mixed stair/gap environments that no training course fully anticipated.
- **Construction and industrial sites** with scaffolding, trenches, and discontinuous walkable surfaces.
- **Planetary or remote-operation rovers** where onboard compute is limited and map resolution versus compute is a hard trade-off.

**Industry relevance:** the combination of a fixed encoder budget, 100 Hz TensorRT inference on an embedded Jetson AGX Orin, and 100% success over 21 real trials with no real-world fine-tuning is the profile that matters for deployment. The 9.9× wall-clock training speedup also lowers the cost of iterating on policies.

## Future Directions

- **Uncertainty-aware and multi-channel terrain representations.** The authors explicitly name extending DELTA to incorporate additional cues such as semantics and friction.
- **Accounting for preprocessing cost.** Since the resolution-independence claim excludes full-map preprocessing and data movement, an open question is how much of the total pipeline cost remains resolution-dependent outside the encoder.
- **Generalization beyond the four designed courses.** The 70.6-point gap comes from four hand-designed mixed courses with some evaluation-only geometries; broader or procedurally generated composition tests remain untested.
- **Closing the ablation gaps.** Removing Adaptive patch encoding costs roughly 40 points of mixed-course success while barely affecting stepping stones, and removing the scout drops steppable-surface sampling to 68.7% — better understanding and possibly replacing these components is a natural next step.

## Target Audience

Researchers and graduate students working on perceptive legged locomotion and RL-based control, particularly those who already use attention-based map encoders and are hitting compute ceilings when increasing map resolution. It is also relevant to robotics engineers evaluating whether a learned terrain encoder can replace an explicit foothold planner on embedded hardware, and to readers interested in sparse/deformable attention as a general pattern for reducing dense spatial computation.

## Authors’ abstract

Stable quadrupedal locomotion on sparse terrain requires selecting state-relevant terrain evidence for precise foot placement. Model-based foothold planners provide precise foothold selection but rely heavily on explicit model assumptions. Recent attention-based map encoding (AME) studies show that end-to-end reinforcement learning (RL) can learn implicit foothold guidance. However, the computational cost of dense AME encoding grows with map resolution, limiting its…

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

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

## Related papers

- [PolyMorph: Learning Locomotion Policy for Cross-Embodiment Adaptation](https://robotics.world/paper/polymorph-learning-locomotion-policy-for-cross-embodiment-adaptation-2610.19615) 2026-10-14 · cs.RO · Also by Jemin Hwangbo, Moonkyu Jung
- [TRACE: Learned Proprioceptive Odometry for Legged Robots under Unreliable Contact Conditions](https://robotics.world/paper/trace-learned-proprioceptive-odometry-for-legged-robots-under-2608.05975) 2026-08-06 · cs.RO · Also by Jemin Hwangbo
- [RAIWAY: A Large-Wheeled Bipedal Robot with Contact-Informed Blind Locomotion](https://robotics.world/paper/raiway-a-large-wheeled-bipedal-robot-with-contact-informed-blind-2610.33172) 2026-10-23 · cs.RO · Also by Jemin Hwangbo
- [RAIPAL: A Powerful and Agile Humanoid Arm for Human Tasks](https://robotics.world/paper/raipal-a-powerful-and-agile-humanoid-arm-for-human-tasks-2611.04334) 2026-11-03 · cs.RO · Also by Jemin Hwangbo
- [MILD: Tractable Terrain Modeling for Learning Improved Bipedal Locomotion on Deformable Surfaces](https://robotics.world/paper/mild-tractable-terrain-modeling-for-learning-improved-bipedal-2608.19955) 2026-08-20 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/delta-deformable-elevation-based-local-terrain-attention-encoder-for-2608.22033
