# Predict Before You Step: Auditable Occupancy Forecasting for Dynamic Obstacle Avoidance under Sparse Guidance

Robotics.world

> Legged robots following sparse waypoint guidance must dodge moving obstacles using only partial, rapidly changing LiDAR scans — and LiDAR never observes obstacle velocity directly.

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

**Published**: 2026-09-22

**Authors**: Yuhui Mao, Fen Liu, Shenghai Yuan, Tianxin Hu, Ruimeng Liu, Rong Su

## In plain words

Legged robots following sparse waypoint guidance must dodge moving obstacles using only partial, rapidly changing LiDAR scans — and LiDAR never observes obstacle velocity directly. The paper asks whether explicitly predicting future occupancy a second ahead actually helps the controller, and whether that help can be measured separately from other differences in network capacity or training.

## AI summary

## Overview

**Research area:** Legged robotics / local motion planning and dynamic obstacle avoidance (embodied AI, reinforcement learning, occupancy forecasting).

**Technical level:** Advanced. The paper assumes familiarity with PPO, recurrent networks (LSTMs), bird's-eye-view (BEV) occupancy grids, and Isaac Lab simulation.

**Scope:** A single paper presenting LOOP, a 50 Hz learned local-avoidance adapter that forecasts future LiDAR occupancy maps and routes those forecasts through an auditable map-space interface into a frozen locomotion controller for a Unitree Go2.

## What This Paper Is About

Legged robots following sparse waypoint guidance must dodge moving obstacles using only partial, rapidly changing LiDAR scans — and LiDAR never observes obstacle velocity directly. The paper asks whether explicitly predicting future occupancy a second ahead actually helps the controller, and whether that help can be measured separately from other differences in network capacity or training. LOOP answers both: a small recurrent module warps the current sensor map forward in time, and those predicted maps are the *only* channel through which prediction reaches the decision, so they can be swapped for zeros or ground truth at test time on a fixed checkpoint.

## Key Contributions

1. **A recurrent LiDAR occupancy forecaster with learned flow and visibility gates**, trained under sensor-consistent supervision (targets rendered through the same LiDAR model, quantisation and dilation, including occlusion), running in 14.5 ms per step onboard and beating a persistence baseline on the cells that actually change.
2. **An auditable map-space interface**: predicted maps reach control only as attention tokens plus a parameter-free risk vector (45 values from 9 candidate commands × 5 horizons). Substituting predicted, zeroed, and ground-truth futures on a fixed checkpoint measures, without retraining, what the policy loses if the predictor fails and what a better one would gain.
3. **An encounter-synchronised evaluation protocol** with matched-seed ablations that removes the confound where faster obstacles silently become *easier* (a fast crosser clears the path before the robot arrives), plus a finer timing sweep that controls *when* the crossing falls inside the 1 s forecast horizon.
4. **A full simulation and hardware study** comparing against a retrained REASAN-style reactive baseline, an ABS-style reach–avoid shield, the released REASAN checkpoint, and privileged APF/VO planners with ground-truth obstacle states — with deployment on a Unitree Go2.

## Main Findings

- **Head-on gains grow with speed extrapolation.** LOOP holds 59.9 → 57.2 → 57.1% success across std/fast/vfast tiers (0.9–1.9, 1.9–2.5, 2.5–3.2 m/s), while the retrained ray-based baseline drops 54.7 → 48.6 → 48.9%. The margin grows from +5.2 pp at training speeds to +8.6 and +8.2 pp beyond them (Welch t = 2.75 and 3.55). At vfast, LOOP reaches 57.1% head-on, exceeding the retrained reactive baseline by 8.2 percentage points.
- **Consistency across training seeds improves.** LOOP's head-on standard deviation shrinks from 7.0 to 1.6 pp as speed extrapolates, versus 5.5 pp on average for ray-based systems. At the vfast tier the rollout-free ablation's spread is 4.6 pp against LOOP's 1.6 pp.
- **The rollout helps everywhere but is not the head-on hero.** Removing the entire prediction machinery (no rollout, no supervision, no future tokens, zero risk vector) lowers success in all nine family–tier cells (mean +1.9 pp for the full model) and lowers collision rate in all nine. The largest reliable effect is on curved crossings at fast speeds (+2.0 pp, t = 5.01). On head-on encounters the mean difference is +2.6 pp but within seed noise (t ≤ 1.35), so head-on robustness is carried mainly by the shared temporal LiDAR-BEV representation.
- **The forecast pays off when the conflict is still at or beyond the horizon edge.** In the timing sweep, for cells at 1.6 m/s and above, LOOP beats the retrained baseline by a mean +9.7 pp (mean t = 2.26) — the only cells in the study passing both a |Δ| ≥ 5 pp and |t| ≥ 2 threshold in favour of the full model. Against its own ablation the same cells are +4.8 pp at mean t = 0.95, and +2.1 pp across the 34 cells above 1.4 m/s (positive in 30 of them), so the timing structure sharpens the comparison against ray inputs more than it isolates the rollout.
- **Collision rates move the same way.** Above 1.4 m/s LOOP collides less than the rollout-free ablation in 31 of 34 cells (median ratio 1.5×, and 1.6× against the retrained baseline). Head-on collision rate is lower than the retrained baseline in every tier (38.7/42.4/42.8% vs 44.7/51.3/51.0%).
- **The prediction channel is safety-critical, not decorative.** Zeroing the maps at inference on fixed full-model checkpoints removes 31.1 percentage points on average across three training seeds (sd 6.1) — a policy trained with prediction does not degrade gracefully into a reactive one. Disconnecting only the analytic risk-pooling branch costs little at 1.8–2.0 m/s (−0.6 pp head-on).
- **The representation matters as much as the predictor.** Replacing the deployable LiDAR front end with a privileged god-view raster costs 10.4 pp head-on.
- **The ABS-style shield hurts the policy it protects.** Head-on success falls 54.7% → 50.3% because the reach–avoid value is fit on the training distribution and misfires on out-of-distribution closing geometry. The released REASAN checkpoint collapses to 21.4% head-on at the common 2.0 m/s command speed while its retrained counterpart is competitive — a 33-point swing attributable to training distribution rather than architecture.
- **Privileged reference points.** With ground-truth obstacle positions and velocities, VO reaches 98.6% head-on and APF 81.5%; the authors treat these as references for what perfect state estimation affords, not as attribution of the gap.
- **Hardware feasibility.** On a Unitree Go2 with an onboard Mid-360 LiDAR and Jetson AGX Orin, one control step costs 14.5 ms (4.9 + 0.7 + 8.9 ms, p95 14.7 ms over 500 steps), inside the 20 ms budget with a 1.4× margin; the frozen locomotion policy adds 0.4 ms. All 16 real-world crossing trials (walking person or carried box) reached the goal with no collisions — the authors call this a feasibility check, not a comparison.
- **Not reported in the available text:** the ground-truth-futures upper bound from the inference-time audit and the remainder of Section V-D, since the paper content is truncated mid-sentence.

## Methodology in Plain English

The system sits as a thin adapter between two things the authors deliberately leave untouched: a sparse waypoint (updated at 1 Hz or less) and a frozen locomotion controller that turns body-velocity commands into leg motion at 50 Hz. LOOP's only job is to pick one of 27 discrete velocity modes (3 forward × 3 lateral × 3 yaw, with |v_x| ≤ 2 m/s and |v_y| ≤ 0.8 m/s) every 20 ms.

**Seeing.** Each LiDAR scan becomes a 32×32 top-down occupancy map covering ±4 m, built by a fixed, parameter-free pipeline that runs identically in simulation and on the robot — points between 0.05 and 1.0 m height are quantised to a 0.26 m grid and blurred with a σ = 0.35 m Gaussian. The result looks like what the sensor sees (a crescent, with occlusions), not a privileged footprint.

**Remembering.** Twelve such maps plus matching ego-velocities are encoded and summarised by a history LSTM into a 128-dimensional state.

**Predicting.** A second LSTM is rolled forward five times on its own state, once per 0.2 s, covering a 1 s horizon. At each step it outputs a flow field (bounded to 2.5 m) and a visibility gate, which together re-warp the *current* map into a predicted future map. Because every horizon warps the current map rather than the previous prediction, chained-prediction error does not accumulate; because it is a gated resampling, it cannot invent obstacles that were never seen. The heads are zero-initialised with a positive gate bias, so training starts exactly at "assume nothing moves."

**Deciding.** The future maps reach the decision by exactly two routes: re-encoded as attention tokens alongside the history summary and the goal heading, and passed through a parameter-free probe that averages predicted occupancy over the 0.45 m disc the robot would occupy under each of 9 candidate commands at each of 5 horizons (a 45-number risk vector). Both feed a small fusion MLP that emits the velocity-mode logits.

**Training.** Prediction targets are not privileged footprints — the simulator advances the obstacles, re-renders them through the same LiDAR model from the robot's pose, and applies the same quantisation and dilation. The prediction loss is an occupancy-weighted squared error (a fully occupied cell weighs four times an empty one, β = 3) with gradients flowing into the policy, so predictor and policy co-adapt. PPO trains the whole adapter with 0.94 M parameters (0.30 M of which is the rollout) over 1024 parallel Isaac Lab environments for 10⁴ iterations, about 15 hours on one RTX 3090.

**Measuring fairly.** The evaluation protocol is the paper's quiet methodological contribution: at spawn, the system computes when the obstacle would reach the conflict point, holds it frozen and hidden for a capped wait (τ = 6 s), then releases it — so faster obstacles no longer become accidentally easier. A finer timing sweep jitters the release so the conflict lands before, at the far edge of, or beyond the 1 s horizon. Every cell aggregates at least 3,000 episodes over three evaluation seeds, and every learned system uses five training seeds with Welch's t-tests over seeds.

## Why This Matters

**Impact on research.** The paper makes a methodological argument as much as a technical one: claims that "prediction helps" are only credible if prediction has a surgical interface and if difficulty is held constant across speed. The zero/ground-truth substitution trick on a fixed checkpoint is a reusable template for auditing any auxiliary prediction head in a learned controller — and the finding that zeroing the maps costs 31.1 points shows that such heads can become load-bearing in ways that ablating them at training time would not reveal.

**Real-world applications:**

- Warehouse and hospital delivery robots sharing floors with people and carts, where a pedestrian can invalidate a planned path within a second.
- Inspection and assistance legged robots in human-shared indoor spaces, where sparse waypoint guidance comes from a high-level planner or a language model that updates slowly.
- Last-metre navigation on quadrupeds where onboard compute (a Jetson-class module) is the binding constraint.
- Safety auditing and certification: the map-space interface lets an engineer inspect or override the exact representation the controller acted on, which matters for regulated deployments.

**Industry relevance.** The results speak directly to the practical question of where to spend a 20 ms budget on a legged platform. A 0.30 M-parameter rollout that fits in 8.9 ms of a 14.5 ms step is a cheap addition, and knowing that its benefit concentrates in the "conflict at the horizon edge, obstacle fast" regime tells a deployment engineer exactly when to enable it — and that a reactive fallback is not a graceful degradation path.

## Future Directions

- **Conflicts already unfolding at decision time** (τ < 0.7 s, discussed in Section VI of the paper) are flagged as a regime where the forecast may not help; extending the method to handle them — possibly via a reaction-time or latency-aware mechanism — is the obvious next step.
- **Isolating the future tokens from the risk vector.** The paper explicitly notes that the w/o-rollout ablation removes rollout, supervision, future tokens and risk vector jointly, so "no variant isolates T from K" — a factorial ablation is left open.
- **Handling objects that are not yet visible.** The advection decoder cannot represent obstacles absent from the current map, and resampling does not conserve occupied area, so occluded-yet-approaching hazards remain out of reach.
- **Head-on performance and seed variance.** Head-on success stays at roughly 57–60% with large across-seed spread (7.0 pp at std), and the paper localises low-speed failures to the prediction head — a signal for where a designer should gate or retrain it.

## Target Audience

Graduate students and researchers in legged robotics, safe reinforcement learning, and embodied navigation who care about dynamic obstacle avoidance under partial observability; robot engineers deploying learned avoidance on compute-constrained quadruped platforms; and methodologists interested in rigorous ablation and evaluation protocols for auxiliary prediction modules. Readers without a background in PPO, LSTMs, and BEV occupancy representations will find the formalism dense, though the central question — does forecasting actually help, and how would you know — is accessible.

## Authors’ abstract

Legged robots under sparse waypoint guidance must avoid moving obstacles using partial, rapidly changing LiDAR observations. We present LOOP (Latent-recurrent Occupancy rollOut Policy), a local avoidance policy that connects sparse waypoint guidance to a frozen locomotion controller at 50 Hz. From occupancy and ego-velocity histories, a recurrent predictor forecasts future occupancy over a 1 s horizon by warping the current map with learned flow and visibility gates. These…

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

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

## Related papers

- [Learning-Based Dynamic Obstacle Avoidance for a UAV Using Only Three Range Sensors](https://robotics.world/paper/learning-based-dynamic-obstacle-avoidance-for-a-uav-using-only-three-2609.14426) 2026-09-13 · cs.RO · Key terms of the title in common
- [MASkillBlender: Decentralized Whole-Body Coordination for Multi-Humanoid Loco-Manipulation via Skill Blending](https://robotics.world/paper/maskillblender-decentralized-whole-body-coordination-for-multi-humanoid-2610.01102) 2026-10-01 · cs.RO · Also by Rong Su
- [ReForesight: Occlusion-Robust Re-Identification and Future Occupancy Forecasting for Dynamic Semantic Mapping](https://robotics.world/paper/reforesight-occlusion-robust-re-identification-and-future-occupancy-2610.17279) 2026-10-12 · cs.RO · Key terms of the title in common
- [TransNav: Transformer-Based End-to-End Navigation Method for Static and Dynamic Quadrotor Obstacle Avoidance](https://robotics.world/paper/transnav-transformer-based-end-to-end-navigation-method-for-static-and-2610.23635) 2026-10-16 · cs.RO · Key terms of the title in common
- [Humanoid Dodgeball: Learning Fast Dynamic Obstacle Avoidance Motions for Humanoids](https://robotics.world/paper/humanoid-dodgeball-learning-fast-dynamic-obstacle-avoidance-motions-for-2610.40003) 2026-10-29 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/predict-before-you-step-auditable-occupancy-forecasting-for-dynamic-2609.25969
