# TACOS: Terrain-Aware COntact Supervision for Visual Footstep Planning

Robotics.world

> Derives footstep instability from legged state-estimation residuals, turning it into dense visual supervision and giving legged robots a principled way to anticipate terrain response.

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

**Published**: 2026-10-27

**Authors**: Jean-Michel Fortin, William Larrivée-Hardy, Gabriel Jeanson, Olivier Gamache, Daniele De Martini, François Pomerleau, Philippe Giguère

## In plain words

Legged robots must choose footholds whose behavior on contact — slipping, sinking, or collapsing — cannot be predicted from geometry alone, since mud, ice, and vegetation-covered roots look like ordinary surfaces.

## AI summary

## Overview

- **Research area:** Legged robotics — self-supervised terrain perception and footstep planning for quadruped robots (specifically ANYmal-D), intersecting legged state estimation, self-supervised visual learning, and locomotion control.
- **Technical level:** Advanced. The method assumes familiarity with factor-graph smoothing, IMU preintegration, Mahalanobis residuals, dense prediction networks (DPT/DINOv3), and Spearman/VUS ranking metrics.
- **Scope:** The paper proposes and validates TACOS, a self-supervised label-generation scheme that turns factor-graph contact residuals into per-footstep instability scores used to train a dense visual predictor for footstep planning in unstructured terrain.

## What This Paper Is About

Legged robots must choose footholds whose behavior on contact — slipping, sinking, or collapsing — cannot be predicted from geometry alone, since mud, ice, and vegetation-covered roots look like ordinary surfaces. Existing self-supervised approaches derive training signal from body-level quantities such as tracking error or motor current, which describe the whole robot rather than an individual foothold, and the choice of supervisory signal is usually made on intuition without being tested. TACOS solves this by defining a physically grounded, continuous per-footstep instability score from the residuals of a legged state-estimation factor graph, projecting it into images taken before touchdown, and using those sparse labels to train a dense visual predictor that can be deployed in closed-loop footstep planning.

## Key Contributions

1. **A continuous per-footstep instability score from factor graph residuals**, offered in two forms: a **hard** variant that reads residuals only after the fixed-lag window has been refined by later measurements (using hindsight, and treated as the reference label), and a **soft** variant that evaluates residuals causally as measurements arrive (available online). Both are validated against manually annotated unstable contacts.
2. **An analysis of how the supervisory metric and context conditioning affect visual instability learning** from sparse footstep labels, including a head-to-head comparison against WVN, GRS, ProNav, OCELOT, and other state-of-the-art alternatives, plus an ablation of camera attitude and instability history as context tokens.
3. **A dense visual predictor and closed-loop demonstration**, where a DPT decoder on a frozen DINOv3-Base encoder regresses per-pixel instability and feeds a foothold adaptation planner, shown on a 50 m forest trajectory where the robot avoids mud sinkage and steps around fallen branches.

## Main Findings

- **Best instability detection on human labels:** On 1716 manually annotated footholds (275 unstable, 16% of the dataset), the hard and soft scores reach AP of **0.96** and **0.93**, compared with **0.90** for the strongest baseline method ([17]). The hard variant holds near-perfect precision up to roughly **75% recall**, which the authors argue matters most because mislabeled footholds inject noise directly into training.
- **Best severity ranking:** Using VUS (the probability that one contact drawn from each severity level is ranked in the correct order), hard TACOS reaches **0.893** pooled versus **0.700** for [31] and **0.167** at random — a **28%** improvement over the strongest baseline. Per-scenario, hard leads on ice (**0.942**) while soft leads on logs (**0.880**), which the authors attribute to sustained sliding versus abrupt motion.
- **Detecting instability is not the same as grading it:** The baseline that was strongest at detection ([17], AP 0.90) falls behind [31] and [32] at ranking severity (VUS 0.566 vs 0.700 and 0.653).
- **Best visual predictor on unseen outdoor runs:** On three withheld GrandTour runs (SBB-2, KAB-2, ALB-3), hard TACOS labels train the most accurate predictor at a median Spearman rank correlation of **ρ = 0.554** over five-fold cross-validation, **58%** above the strongest alternative; soft TACOS follows at **ρ = 0.449** and still beats every other metric. GRS stays close to no correlation.
- **Context conditioning helps, and history does most of the work:** Adding camera attitude alone raises pooled correlation by **4%**; adding instability history alone gains **25%** (pooled **0.694 ± 0.007** versus **0.557 ± 0.007** with images only); combining both adds only a marginal further gain. Attitude is therefore a cheap substitute when the residual cannot be computed onboard, since it comes directly from the IMU.
- **Two independent evaluations agree:** The severity ranking against human annotations and the visual prediction results share no data, labels, or procedure, yet produce the same ordering of methods — which the authors present as evidence that label consistency, not label scale, drives learnability.
- **Qualitative separation from body-level supervision:** WVN labels roughly **15 times more pixels per image** because its traction metric spans the traversed body path; GRS produces a blurry, indecisive costmap, while hard TACOS resolves finer structure such as wooden railway supports versus gravel and path versus adjacent vegetation.
- **Closed-loop benefit in forest terrain:** Over the same 50 m trajectory run twice, geometry alone sees a mudhole as smooth (causing foot sinkage) and treats traversable vegetation as an impassable barrier, whereas the TACOS costmap captures both and leads the robot to step around fallen branches.

## Methodology in Plain English

**Step 1 — Find the stances.** The robot's existing contact detector (foot kinematics plus ground reaction force) marks when each foot is on the ground. The authors clean this signal with a debounce filter: throw away contacts shorter than 100 ms, bridge gaps shorter than 25 ms, and trim the unloaded tail of each stance by searching backward within 150 ms before liftoff for the last sample above 50 N.

**Step 2 — Score each footstep from the state estimator's disagreement.** The robot's leg odometry assumes a stance foot stays fixed on the ground. When a foot actually slips or sinks, that assumption breaks, and the breakage shows up as a residual in the factor graph's contact constraint. The authors take the residual, normalize it (σ_ct = 8 cm, Huber kernel δ = 1.345, touchdown prior σ_f = 0.5 m), and summarize it over the whole stance — the maximum for the hard score, the 95th percentile for the soft score. The hard score waits until the stance leaves the fixed-lag window so later measurements can refine it; the soft score allows the foothold to drift via a random walk (σ_rw² = 0.04 m²/s) so it can be computed immediately.

**Step 3 — Paint the score into earlier images.** Each footstep's touchdown location is placed in the world using exteroceptive odometry (FAST-LIVO2, chosen because foot slip cannot corrupt it) and forward kinematics, then projected into camera frames captured up to 10 s earlier, at 0.5–3 m in front of the camera. Each foothold is rasterized as a 6 cm circle — the foot's diameter — and overlapping footholds have their scores averaged.

**Step 4 — Train a dense predictor on sparse labels.** A DPT decoder on a frozen DINOv3-Base encoder regresses one continuous value per pixel. Because the labels are long-tailed, they are log-transformed, and a masked Huber loss is applied only at pixels covered by projected footsteps. Camera roll/pitch and a short history of recent instability (separately for front and hind feet) enter as tokens through gated cross-attention at each of the four decoder stages, with gates initialized at zero and their learning rate scaled by ten so they open within the training budget.

**Step 5 — Plan with it.** Predictions are fused into a 5 m, 4 cm-resolution costmap on a plane fitted to recent touchdowns (the camera has no depth). At each swing, the planner picks the cell minimizing predicted cost plus a penalty on distance from the nominal foothold, searching within 25 cm and constraining the choice to the leg workspace and observed cells. The onboard policy of [1] tracks the commanded contacts at 50 Hz.

**Evaluation design.** A controlled dataset (ice rink partly covered with carpet, a pile of wood logs, a slippery 45° slope) with 1716 two-annotator labels supports the metric study; GrandTour supplies 23 outdoor runs and 7543 images (TierIV HDR feed, one sample per second, upper half cropped), split into temporal segments with 10% for validation and five cross-validation folds; training uses AdamW at 3×10⁻⁵, weight decay 0.01, batch size 252, up to 100 epochs, 512×704 crops.

## Why This Matters

**Impact on research.** The paper shifts attention from "how do we get labels" to "which label is worth learning from," and shows that the quality of a self-supervised signal can be measured twice over — against human judgment and against generalization to unseen terrain — with consistent conclusions. It also bridges two literatures that rarely talk to each other: contact-aware legged state estimation, which treats residuals as nuisances to be down-weighted, and terrain perception, which needs exactly those residuals as signal. Because the method requires no foot force-torque sensors, it is usable on commercial platforms.

**Real-world applications:**

- **Search and rescue** in rubble, forest, and landslide terrain where surfaces hide voids, roots, and loose debris.
- **Forest monitoring and field robotics**, the setting of the paper's own 50 m demonstration, where mud, vegetation, and fallen branches are common.
- **Planetary exploration**, where a rover or legged explorer must judge regolith and rock without prior maps or human intervention.
- **Winter and industrial inspection**, using the same reasoning the paper tests on an ice rink and a 45° slope — sustained sliding is exactly where the hard variant performed best (VUS 0.942).

**Industry relevance.** The pipeline runs onboard at 10 Hz on an NVIDIA Jetson AGX Thor, uses a commodity camera and the robot's existing state estimator, and needs no force-torque feet — a realistic bill of materials for commercial quadruped deployments in inspection, construction, and logistics. The finding that IMU-derived attitude recovers a meaningful fraction of the gain without computing residuals onboard also offers a low-cost deployment path.

## Future Directions

- **Fusing depth and geometry into the predictor**, so that the plane-fit approximation used for the costmap is replaced by actual terrain structure.
- **Probabilistic learning formulations such as adaptive binning**, which could represent the long-tailed, subjective nature of instability better than a single regressed scalar plus a log transform.
- **Continual learning across deployments**, letting the predictor improve as the robot accumulates footsteps in new environments rather than freezing after one training run.
- **Reducing the pipeline's fragility**: the authors list dependence on accurate contact detection, state estimation, and timing synchronization as the main limitation, which raises the open question of how the label degrades — and how gracefully — when those upstream components are wrong.

## Target Audience

Roboticists working on legged locomotion, terrain perception, and self-supervised learning for field robots; researchers in state estimation interested in reusing contact residuals as supervision rather than as noise to be rejected; and practitioners deploying quadrupeds in unstructured outdoor environments who need foothold selection that goes beyond geometric elevation maps. Readers without a background in factor graphs or dense prediction networks will find the high-level argument accessible but the methodology section demanding.

## Authors’ abstract

Humans navigate their environment based on their vision system, anticipating how the ground will respond before committing to a step. Self-supervised learning could provide legged robots the same ability, but the supervisory signal is typically chosen on intuition, and its effect on what the model learns is rarely examined. We present Terrain-Aware COntact Supervision (TACOS), which proposes a meaningful and consistent footstep instability score, based on the residual of a…

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

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

## Related papers

- [Bracketing Shows the Way: Adaptive Multi-Exposure Policy as Input for Robust Visual SLAM](https://robotics.world/paper/bracketing-shows-the-way-adaptive-multi-exposure-policy-as-input-for-2610.33174) 2026-10-23 · cs.RO · Also by François Pomerleau, Jean-Michel Fortin +2
- [TravSUITE: Traversability via Self-Supervised, Uncertainty-Aware IRL and Terrain Estimation](https://robotics.world/paper/travsuite-traversability-via-self-supervised-uncertainty-aware-irl-and-2610.32130) 2026-10-23 · cs.RO · Key terms of the title in common
- [Pressure Drop: Gravity Vector Estimation from a Distributed Barometric Pressure Sensor Array](https://robotics.world/paper/pressure-drop-gravity-vector-estimation-from-a-distributed-barometric-2611.23120) 2026-11-17 · cs.RO · Also by François Pomerleau
- [TERRA: Terrain-Aware Reconstruction, Retargeting and Control for Musculoskeletal Locomotion](https://robotics.world/paper/terra-terrain-aware-reconstruction-retargeting-and-control-for-2609.38653) 2026-09-29 · cs.RO · Key terms of the title in common
- [InfraVLA: Extending Vision-Language-Action Navigation with Infrastructure Cameras](https://robotics.world/paper/infravla-extending-vision-language-action-navigation-with-2609.33647) 2026-09-27 · cs.RO · Also by Daniele De Martini

---

Canonical: https://robotics.world/paper/tacos-terrain-aware-contact-supervision-for-visual-footstep-planning-2610.37806
