# Adaptive-MHE : A Sampling-Based Adaptive MPC for Legged Loco-Manipulation via Moving Horizon Estimation

Robotics.world

> Legged robots can walk over varied terrain, but making them push or manipulate objects is hard because the robot does not know key physical properties of the world — how heavy a box is, how much…

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

**Published**: 2026-09-15

**Authors**: Hossein Keshavarz, Alejandro Ramirez-Serrano, Majid Khadiv

## In plain words

Legged robots can walk over varied terrain, but making them push or manipulate objects is hard because the robot does not know key physical properties of the world — how heavy a box is, how much friction the floor has, or how those properties change mid-task. Controllers built on a fixed, offline-estimated model fail when reality diverges from that model, producing slipping, stalling, or excessive force.

## AI summary

## Overview

**Research area:** Legged robotics — whole-body loco-manipulation control, online system identification, and sampling-based model predictive control (MPC).

**Technical level:** Advanced. The paper assumes familiarity with model predictive control, MPPI/CMA-ES-style sampling optimizers, moving horizon estimation, and contact-rich legged dynamics.

**Scope (one sentence):** The paper introduces Adaptive-MHE, an online sampling-based system identification framework built on moving horizon estimation that estimates object mass, inertia, and terrain friction during task execution and feeds those estimates to a sampling-based whole-body MPC, evaluated on a Unitree Go1 in simulation and on hardware.

## What This Paper Is About

Legged robots can walk over varied terrain, but making them push or manipulate objects is hard because the robot does not know key physical properties of the world — how heavy a box is, how much friction the floor has, or how those properties change mid-task. Controllers built on a fixed, offline-estimated model fail when reality diverges from that model, producing slipping, stalling, or excessive force. The paper's goal is a controller that continuously infers these unknown parameters from its own recent interaction data and adapts its behavior online, without needing a differentiable simulator, force/torque sensors, or retraining.

## Key Contributions

1. **An online sampling-based moving horizon estimation (MHE) mechanism** for system identification in legged loco-manipulation. It identifies the physical parameters that most affect controller performance from a sliding window of real-world interaction data, using only the robot's recorded states and applied control inputs — no differentiable dynamics and no specialized touch or force/torque sensing.
2. **The first sampling-based adaptive MPC formulation for legged loco-manipulation** (to the authors' knowledge), created by coupling the MHE module with the sampling-based whole-body controller MPOPI so that estimation and control share one parameterized dynamics model and one sampling-based solution strategy.
3. **A computational modification to MPOPI** that performs its multi-loop sampling-distribution refinement only when the contact/gait mode switches, reusing the previous distribution as a warm start between switches, reducing controller cost while preserving the sampling-based search.
4. **Simulation and hardware validation** across five loco-manipulation tasks (goal pushing, circular-path pushing, abrupt mass change, terrain friction change, single-leg pushing), showing performance close to a controller given ground-truth parameters and consistently better than a fixed offline-identified baseline.

## Main Findings

- **Simulation benchmark versus fixed beliefs (Table I, 15 random seeds):** With ground-truth parameters ("True"), success rate was 100.0 ± 0.0, final goal error 0.045 ± 0.02 m, controller cost 0.43 ± 0.03 (×10^5), and execution time 48.1 ± 0.2 s. The offline-identified "Baseline" succeeded on 13.33 ± 35.2 percent of seeds with goal error 0.58 ± 0.23 m, cost 0.62 ± 0.04, and execution time 77.4 ± 0.13 s. Adaptive-MHE reached 86.7 ± 35.2 percent success, 0.16 ± 0.24 m goal error, 0.51 ± 0.05 cost, and 56.3 ± 0.04 s.
- **The gap to ground truth is reduced but not closed.** Adaptive-MHE substantially improves every metric over the Baseline without ever accessing true parameters, yet does not fully match the True condition.
- **Velocity tracking across tasks (Table II, RMSE in m/s, True / Baseline / Adaptive-MHE):** T1 0.134 / 0.160 / 0.139; T2 0.108 / 0.119 / 0.104; T3 0.093 / 0.117 / 0.092; T4 0.095 / 0.099 / 0.097. In T2 and T3, Adaptive-MHE's RMSE is marginally lower than the True mode's.
- **Single-leg pushing (T5):** For a 0.5 m lateral push, final box error was 0.12 m (True), 0.42 m (Baseline), and 0.28 m (Adaptive-MHE); speed RMSE was 0.051, 0.149, and 0.052 m/s respectively.
- **Abrupt mass change (T3, simulation):** When the box mass switched from 4 to 6 kg at t = 10 s, Adaptive-MHE tracked the true mass and friction closely and re-converged shortly after the switch, while the Baseline deviated from the reference path.
- **Terrain friction change (T4):** Adaptive-MHE's mass estimate stayed near the true 4 kg value with only a brief transient, and its friction estimate converged toward the post-switch value within a few seconds of crossing x_b = 1.5 m, where friction changes from μ1 = 0.4 to μ2 = 0.8. However, the authors state that the benefit of online friction adaptation is "not strongly separable" from the fixed-parameter controller when judged by closed-loop velocity tracking alone (post-switch RMSE 0.095 vs 0.099 vs 0.097).
- **Hardware mass adaptation:** A basket starting at 3 kg had an additional 1.0 kg added mid-push, bringing it to 4.0 kg with no signal to the policy. The Baseline kept applying force calibrated to 3 kg and stalled short of the target; Adaptive-MHE detected the change, re-estimated the mass, increased pushing force, and reached the target.
- **Hardware friction adaptation:** Pushing a box from a low-friction concrete floor onto a high-friction turf mat, the Baseline under-drove the push and stalled, while Adaptive-MHE inferred the increased resistance and increased applied force to reach the target.
- **Hyperparameter sensitivity:** Seven estimator hyperparameters were ablated individually over a small grid with 15 seeds each, reporting final goal error, controller cost, success rate, and execution time; defaults were chosen as the lowest-mean-cost setting that preserved high success, favoring the most conservative stable configuration.

## Methodology in Plain English

The system has two parts that run at the same time on separate CPU threads.

**The estimator (Adaptive-MHE).** While the robot works, it continuously records what it observes — the robot base pose and velocities, the box pose and velocities, joint positions and velocities, and the control inputs it applied. Every Δt_update seconds it grabs only the most recent H of these measurements (a sliding window) and asks: which values of mass, inertia, and friction would best explain what I just saw? To answer, it draws a batch of B candidate parameter sets from a Gaussian distribution centered on its previous estimate, simulates each candidate forward over the window using the recorded control inputs, and scores it by how closely the simulated states match the recorded ones (plus a penalty for drifting too far from the previous estimate). Candidates with lower cost pull the distribution's mean and spread, repeated for up to L_MHE iterations or until the spread shrinks below a floor. This is a "sampling" approach: no gradients, no differentiable simulator, no contact-event detection.

**The controller (MPOPI).** This whole-body MPC samples many candidate action sequences in parallel each control cycle, evaluates them with the same dynamics model, and applies the first action of the best sequence. The twist here is that the model is instantiated with the estimator's current parameters, so as the estimate changes, the controller's predictions and chosen actions change too. To save compute, the expensive multi-loop refinement of the sampling distribution only happens when the gait/contact mode switches; between switches the previous distribution is reused as a warm start.

**Evaluation setup.** Experiments used a Unitree Go1 with a Python/ROS controller on an AMD Ryzen 9 7950X3D CPU with 64 GB of memory, commanded at 0.2 m/s (except T5, where the desired speed is zero). Three belief conditions were compared: True (ground-truth parameters, non-adaptive), Baseline (fixed offline SPI estimate, never updated), and Adaptive-MHE (initialized via an offline probing step, then re-identified online).

## Why This Matters

**Research impact.** The work shows that zero-order, sampling-based estimation can be made online and recursive (via moving horizon estimation) and tightly coupled to a sampling-based MPC. This sidesteps the two usual blockers for contact-rich identification — needing differentiable dynamics, and needing reliable contact-event detection — and it extends sampling-based identification from offline locomotion-only use to online loco-manipulation of objects.

**Real-world applications:**

- Warehouse and logistics robots that must push, drag, or reposition parcels and carts of unknown and varying weight.
- Field and inspection quadrupeds operating on mixed surfaces (concrete, gravel, grass, turf) where friction is unknown and changes abruptly.
- Search-and-rescue or construction robots clearing debris, where object mass and ground conditions cannot be measured in advance.
- Domestic or service robots nudging furniture, bins, or doors whose resistance differs from any training or calibration setting.

**Industry relevance.** Because the estimator runs on the CPU in a background thread rather than requiring a GPU, and because it needs no force/torque or tactile sensors, the approach is attractive for platforms with limited sensing and compute. The gain in execution time relative to the fixed baseline (56.3 s versus 77.4 s in the benchmark) matters for throughput, and the absence of any retraining requirement matters for deployment cost.

## Future Directions

- **Close the remaining gap to ground truth.** Adaptive-MHE reached 86.7 percent success versus 100.0 percent for True; what limits the residual error (estimator convergence, window length, or the controller) is left open.
- **Make friction adaptation more visibly useful.** The authors note the T4 velocity-tracking benefit was not clearly separable from the fixed-parameter controller despite a substantially more accurate friction estimate, raising the question of which metrics or tasks best expose the value of online friction identification.
- **Tune and adapt the estimator hyperparameters online.** The seven hyperparameters were ablated and fixed at conservative defaults; automatically scheduling window length, update period, or regularization weights could improve responsiveness.
- **Extend beyond pushing.** Only pushing-style loco-manipulation (whole-body and single-leg) was demonstrated; generalization to richer manipulation modes, additional parameter classes, and quantitative hardware benchmarking remains untested.

## Target Audience

Robotics researchers and graduate students working on legged locomotion, whole-body loco-manipulation, MPC, and system identification; control engineers interested in gradient-free, sampling-based estimation that can run alongside a real-time controller; and practitioners deploying quadrupeds in unstructured environments who need online adaptation without extra sensors or policy retraining. Readers without a background in sampling-based MPC and moving horizon estimation will find the formulation sections dense, though the task descriptions, tables, and hardware experiments are accessible on their own.

## Authors’ abstract

Legged robots have demonstrated a remarkable ability to traverse various terrains, yet generating effective loco-manipulation behaviors remains challenging. A key difficulty is that object and terrain parameters are typically unknown to the robot, and mismatches between these parameters and their simulated counterparts introduce a sim-to-real gap that degrades control performance. Classical system identification (Sys-ID) methods often assume differentiable dynamics, an…

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

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

## Related papers

- [DiPLO: Self-distilled Diffusion Planning for Loco-manipulation](https://robotics.world/paper/diplo-self-distilled-diffusion-planning-for-loco-manipulation-2610.24847) 2026-10-17 · cs.RO · Also by Majid Khadiv
- [Force-Aware Reinforcement Learning with Hybrid Sensorless Force Estimation for Wheeled-Legged Loco-Manipulation](https://robotics.world/paper/force-aware-reinforcement-learning-with-hybrid-sensorless-force-2609.13779) 2026-09-12 · cs.RO · Key terms of the title in common
- [Contact as a Decision Variable: Capability-Tradeoff Contact Selection for Legged Loco-Manipulation](https://robotics.world/paper/contact-as-a-decision-variable-capability-tradeoff-contact-selection-2609.30140) 2026-09-24 · cs.RO · Key terms of the title in common
- [A System for Fast, Resilient, and Adaptable Loco-Manipulation Behaviors on Humanoid Robots](https://robotics.world/paper/a-system-for-fast-resilient-and-adaptable-loco-manipulation-behaviors-2609.01518) 2026-09-01 · cs.RO · Key terms of the title in common
- [Humanoid Horizon: Extending Task Horizon in Whole-Body Loco-Manipulation via Parallel Training, Dynamic Starting, and Reward Gating](https://robotics.world/paper/humanoid-horizon-extending-task-horizon-in-whole-body-loco-manipulation-2610.08320) 2026-10-06 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/adaptive-mhe-a-sampling-based-adaptive-mpc-for-legged-loco-manipulation-2609.17832
