# Accelerating Visual Policy Learning with Sampling-Based Model Predictive Control

Robotics.world

> Training visual policies for legged locomotion and manipulation is expensive, and gradient-based methods that backpropagate through a differentiable simulator can settle into unintended contact…

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

**Published**: 2026-09-17

**Authors**: Yilang Liu, Haoxiang You, Qian Wang, Daniel Rakita, Ian Abraham

## In plain words

Training visual policies for legged locomotion and manipulation is expensive, and gradient-based methods that backpropagate through a differentiable simulator can settle into unintended contact patterns — for example, a shuffle instead of a trot — when the reward does not distinguish gaits.

## AI summary

## Overview

- **Research area:** Robot learning for legged locomotion and whole-body manipulation — specifically visual policy learning that combines sampling-based model predictive control (MPC) with differentiable simulation and first-order policy gradients.
- **Technical level:** Advanced. The paper assumes familiarity with reinforcement learning, differentiable simulators, behavior cloning, and sampling-based MPC (MPPI / DIAL-MPC style).
- **Scope (one sentence):** The paper introduces Sampling-Guided Policy Search (SGPS), a training framework that repeatedly uses sampling-based MPC to generate action targets that supervise a policy alongside decoupled first-order policy gradients, enabling direct training of depth-based visual policies on a single GPU and zero-shot transfer of a distilled multi-skill policy to a real Unitree Go2.

## What This Paper Is About

Training visual policies for legged locomotion and manipulation is expensive, and gradient-based methods that backpropagate through a differentiable simulator can settle into unintended contact patterns — for example, a shuffle instead of a trot — when the reward does not distinguish gaits. Sampling-based MPC produces dynamically feasible, contact-appropriate trajectories but requires online optimization and state estimation at deployment, so it cannot simply be run on the robot. SGPS bridges the two: it uses sampling MPC to supply both an initialization and a stream of fresh action targets that guide local gradient updates, then distills the resulting specialists into a single visual policy that runs onboard without MPC or reference trajectories.

## Key Contributions

1. **SGPS framework:** A policy-learning method that couples *recurring* sampling-based action-target refinement with decoupled first-order policy gradients, refreshing action targets every training block while keeping the tracking reference trajectory fixed.
2. **Teacher-free visual policy training:** Direct training of visual policies from depth using sampling-based supervision, avoiding the standard two-stage pipeline in which a privileged state-policy teacher supervises a visual student.
3. **Zero-shot hardware deployment:** Distillation of Go2 trot, crawl, and hurdle specialists into one unified visual policy that transfers zero-shot to a real Go2 and autonomously switches between behaviors using onboard depth and a velocity command as the only user input.
4. **A supporting theoretical observation:** Proposition 1 ("search-target distillation") shows that, at the generating parameters, fitting fixed action targets reproduces the deterministic decoupled FoPG direction — placing sampling targets and gradient targets in the same target-fitting family, while noting the equivalence does not extend to subsequent finite steps.

## Main Findings

- **Learning efficiency versus PPO:** For state-based Go2 trot, SGPS reaches a higher return than FoPG from scratch over the reported budgets, while PPO uses **196 times** as many environment interactions as SGPS.
- **Visual learning without a teacher:** SGPS trains visual policies directly after behavior-cloning initialization, whereas the DAgger baseline first requires a separately trained state expert.
- **Refinement helps, and helps visual policies more:** On visual Go2 trot, near **4.1 M** interactions full SGPS reaches approximately **16,000** return versus about **11,000** for the variant with initialization and tracking but no recurring refinement; a comparable gap appears around **30 minutes** of training time including search.
- **Refinement helps on humanoid carrying too:** On G1 visual carrying, near **6 M** interactions SGPS reaches approximately **26,500** versus about **20,500** without refinement; at roughly **100 minutes** the two variants reach approximately **26,500** and **21,000**.
- **Modest gain on state-based trot:** Both SGPS variants reach high returns for state-based trot, with only a modest gain from refinement — most of the efficiency relative to PPO comes from sampled-reference initialization and tracking alone.
- **Gait quality:** Mean diagonal-pair foot-contact correlation is **+0.86** for the sampling MPC reference, **+0.78** for SGPS, and **+0.21** for a gait-blind FoPG policy trained from scratch with the joint-angle tracking weight set to zero (a weakly coordinated shuffle).
- **Carrying beats the DAgger student:** Within one hour including refinement search, SGPS reaches approximately **25,000** return and performs the task; it approaches the state expert's final return within about **4.1 M** interactions and then exceeds it, while the DAgger student improves later and stays below its teacher over the displayed range.
- **Obstacle behaviors learned directly from depth:** Crawl (under a beam spanning x ∈ [1.85, 2.15] m with a 0.30 m underside) and hurdle (a 0.10 m bar at x = 2.0 m) are trained as visual specialists without a state-policy teacher.
- **Onboard deployment figures:** On a Go2 EDU with an onboard Jetson Orin (8 GB shared memory) and a RealSense D435i, the control loop runs at **50 Hz** with the recurrent depth encoder at **10 Hz**; depth is captured at **848 × 480** and **30 Hz**, clipped at **2 m**, and resized to **58 × 87**. Onboard TorchScript inference averages **2.7 ms** (**4.3 ms** at the 99th percentile), and the complete control step averages **11 ms**.
- **Qualitative hardware result:** The paper reports zero-shot transfer and autonomous crawl–trot–hurdle transitions on hardware, but does not report quantitative hardware success rates or trial counts.

## Methodology in Plain English

The pipeline has three stages.

**1. Get a good reference trajectory.** A sampling-based MPC routine in the style of DIAL-MPC proposes many candidate action sequences, scores them by forward simulation, and keeps a weighted average of the best ones. Actions are represented compactly by a handful of spline nodes so the search space stays small, and the sampling noise is annealed over iterations and toward the start of the horizon. The resulting trajectory is only accepted as a reference if it passes a task-level success test fixed before training. This stage needs no derivatives — the task reward can be anything.

**2. Initialize the policy by imitation.** The policy is trained to copy the reference actions, using the clean reference states plus **eight** noisy copies of each state so the policy sees a wider range of observations. Actions are converted into finite pre-squash targets so the tanh output layer can actually represent them.

**3. Alternate search and gradient updates.** Training is split into **J = 25** blocks. Each block begins with a refinement step: from **N_g = 16** current training states, sampling MPC searches for improved **26-transition** segments using **six** spline nodes, **two** iterations, and **N_s = 64** candidates at an initial noise scale of **0.1**. A returned segment is kept only if its mean tracking score on the nominal model beats both a minimum threshold and the seed plan by a margin. Accepted segments become a fixed buffer of observation-to-action-target pairs. Then **B = 80** actor–critic epochs run, mixing gradient-based tracking with behavior cloning on that buffer; the cloning weight decays linearly from **λ₀ = 1** across blocks. The tracking reference itself never changes — only the action targets do.

**Visual policies.** Depth images are rendered from detached simulator states while physics stays differentiable, so the visual encoder and actor train without differentiating the renderer — the "decoupled" FoPG formulation. Depth-based specialists receive three **64 × 64** egocentric depth frames fused with a tracking vector (**53** dimensions for Go2, **106** for G1 pushing, **118** for G1 carrying). Because noisy copies of a state can share the same clean depth image, the policy could latch onto image identity rather than proprioception; the authors mitigate this by randomly zeroing the depth stack for a fraction of the initialization batch.

**Deployment.** The Go2 specialists are merged with DAgger into one policy that sees only deployment observations — depth, proprioception, observation history, learned state estimates, and a velocity command — with no reference trajectory or phase input. Base linear velocity is predicted by a learned estimator, orientation comes from onboard IMU fusion, and the actor outputs twelve joint-position offsets. The training critic is discarded.

**Experimental setup.** Simulation uses MuJoCo MJX on a single NVIDIA RTX 4080 GPU, with **h = 32**-step gradient windows in **64** parallel environments, randomized dynamics, and perturbed reference-state resets, for a standard budget of **2000** epochs (**4.096 M** FoPG rollout interactions plus search rollouts). Baselines are BC only, FoPG from scratch, PPO, and state-to-vision DAgger. G1 tasks use **three** seeds each; trot also uses **three** seeds.

## Why This Matters

**Impact on research.** The paper offers a concrete alternative to the dominant teacher–student recipe for visual locomotion: instead of first solving a task with privileged state and then distilling, it uses a derivative-free planner as an ongoing source of supervision during gradient training. It also sharpens the diagnosis of *why* first-order policy gradients fail on contact tasks — the gait-blind ablation (+0.21 correlation versus +0.78) isolates reward ambiguity rather than optimization instability as the failure mode. The Proposition 1 connection places sampling targets and return-gradient targets in a single target-fitting view, which is a useful conceptual bridge between trajectory optimization, imitation, and differentiable-simulation RL.

**Real-world applications:**

- **Warehouse and logistics robots** that must trot in open aisles, lower their bodies under conveyors or shelving, and step over cables or pallets — the exact crawl/trot/hurdle composition demonstrated here.
- **Search-and-rescue and inspection platforms** operating in cluttered or damaged structures where the terrain class changes without warning and only onboard depth is available.
- **Humanoid material handling** — pushing heavy crates and carrying boxes at chest height, the two G1 tasks studied — in settings where a single policy must coordinate locomotion with arm contact.
- **Edge-deployed field robotics**, since the distilled policy runs at 50 Hz with an 11 ms average control step on an 8 GB Jetson module and needs no motion capture, external localization, or lidar odometry.

**Industry relevance.** The practical pitch is cost: one GPU, no separate teacher policy, no online MPC at inference, and no mocap. Refinement rollouts are counted in both the interaction and wall-clock comparisons, which makes the efficiency claims auditable rather than hiding search cost. The reliance on differentiable dynamics and task-specific reward engineering, however, means adoption currently requires a simulation model good enough to differentiate through — a real constraint for firms with proprietary or poorly identified hardware.

## Future Directions

- **More realistic object interaction:** The authors explicitly flag that the humanoid tasks simplify object motion and hand–object interactions (a crate constrained to slide along one axis, soft wrist-to-box constraints standing in for a grasp), and that complex manipulation is unexplored.
- **Long-horizon manipulation:** Extending SGPS from short reference windows to multi-stage tasks where the reference itself must be re-planned rather than held fixed.
- **Humanoid hardware deployment:** All hardware results are on the Go2; the G1 pushing and carrying policies are simulation-only in this paper.
- **Removing the remaining dependencies:** SGPS still assumes differentiable dynamics, a sampling search that succeeds in finding acceptable references, and task-specific objectives — each a candidate target for relaxation, and the paper's own stated limitation list.

## Target Audience

Robotics graduate students and researchers working on legged locomotion, differentiable simulation, or learning-based control; practitioners who need perception-driven policies deployable on onboard compute without motion capture; and engineers evaluating whether sampling-based planning or end-to-end gradient learning is the better fit for a contact-rich task. Readers without a background in policy gradients or MPPI-style planning will find the method sections dense, but the experimental comparisons and the failure-mode analysis in Figure 4 are accessible on their own.

## Authors’ abstract

Learning visual policies for locomotion and manipulation requires coordinating contact with the environment and can incur substantial computation and GPU memory costs. First-order policy gradients (FoPG) reduce training cost through differentiable simulation, but local optimization can converge to unintended contact patterns. To address this shortfall, we propose Sampling-Guided Policy Search (SGPS), which couples recurring action-target refinement by sampling-based…

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

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

## Related papers

- [EmbodiedSWE: Coding Agents for Long Horizon Dexterous Robotics](https://robotics.world/paper/embodiedswe-coding-agents-for-long-horizon-dexterous-robotics-2609.27308) 2026-09-23 · cs.RO · Also by Haoxiang You, Ian Abraham +1
- [I2CD: Direct Image-to-Convex Decomposition for Simulation-Ready Collision Geometry](https://robotics.world/paper/i2cd-direct-image-to-convex-decomposition-for-simulation-ready-2610.03453) 2026-10-02 · cs.RO · Also by Daniel Rakita, Qian Wang
- [VAMPS: Visual and Motor Policies from Sampling-Based Planning](https://robotics.world/paper/vamps-visual-and-motor-policies-from-sampling-based-planning-2610.05331) 2026-10-04 · cs.RO · Key terms of the title in common
- [Sampling-based Model Predictive Control as Sequential Monte Carlo Inference](https://robotics.world/paper/sampling-based-model-predictive-control-as-sequential-monte-carlo-2611.10877) 2026-11-07 · cs.RO · Key terms of the title in common
- [Underwater Visual Target Tracking with Target-Specific Depth Estimation and Adaptive Model-Fusion Predictive Control](https://robotics.world/paper/underwater-visual-target-tracking-with-target-specific-depth-estimation-2609.20731) 2026-09-17 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/accelerating-visual-policy-learning-with-sampling-based-model-2609.20575
