# Efficient Test-Time Adaptation For Robot Policies

Robotics.world

> Reinforcement-learning locomotion policies trained in simulation often break down when the real robot meets conditions the training never covered — rough or slippery ground, an added payload…

**arXiv**: 2610.20318 · accepted · NEURIPS

**Published**: 2026-10-14

**Authors**: Motasem Alfarra, Pietro Mazzaglia, Markus Peschl, Daniel Dijkman, Christos Louizos

## In plain words

Reinforcement-learning locomotion policies trained in simulation often break down when the real robot meets conditions the training never covered — rough or slippery ground, an added payload, degraded sensing. Retraining or manual recalibration on the robot is usually impractical under tight latency and memory budgets.

## AI summary

## Overview

**Research area:** Robotics — reinforcement learning for legged locomotion, specifically test-time adaptation (TTA) under deployment-time distribution shift, with on-device compute and memory constraints.

**Technical level:** Intermediate. Readers should be comfortable with actor–critic RL, value functions, and the general idea of entropy regularization, but the paper's framing is accessible to anyone familiar with policy learning.

**Scope:** The paper proposes TEMPO, a reward-free, lightweight method for adapting a pretrained locomotion policy online during deployment by updating only the actor against a frozen, distributional critic, guided by an entropy regularizer and a score-based memory.

## What This Paper Is About

Reinforcement-learning locomotion policies trained in simulation often break down when the real robot meets conditions the training never covered — rough or slippery ground, an added payload, degraded sensing. Retraining or manual recalibration on the robot is usually impractical under tight latency and memory budgets. The paper asks whether a pretrained policy can instead adapt itself online, during execution, using only its own observations and a frozen critic — no rewards, no labels, no interruption of operation.

## Key Contributions

1. **A lightweight on-device TTA framework for RL control.** The authors adapt only the actor's parameters while freezing the pretrained critic, keep a small bounded memory of recent observations, and perform periodic self-supervised gradient updates designed to fit control-loop latency and compute budgets.
2. **Entropy-regularized critic-driven adaptation.** They add an entropy term on the critic's predictive distribution to the usual critic-maximization objective, which tempers overconfident value extrapolation under shift and preserves local action coverage. The procedure is architecture-agnostic and needs no supervision.
3. **Score-based memory with importance sampling.** Instead of a FIFO buffer, they score each observation inversely to the critic's predicted value, preferentially store low-value ("hard") observations, and sample adaptation minibatches proportionally to those scores.
4. **Validation in simulation and on hardware.** They report consistent gains on Go1, Go2, and G1 in MuJoCo Playground across four shift types and three policy architectures, plus a fully on-device demonstration on a physical Unitree Go2 carrying a calf payload.

## Main Findings

- **Naive critic maximization already helps, but saturates.** The baseline QMax — updating only the actor to maximize the frozen critic on a FIFO buffer of recent observations — recovers a substantial part of the performance drop across a wide severity range, but tends to plateau under harder shifts.
- **TEMPO is best across all four simulated shift families.** On Go2 with episodic return and average forward linear velocity tracked, TEMPO is consistently best across slippery terrain, calf mass, rough terrain, and torso mass, with the clearest advantage at high severity; results are averaged over six seeds.
- **Gains are reported at two different magnitudes.** The abstract states up to 80% improvement in a single-device setting, while the introduction states up to 50% performance gains in a single-device setting. The paper does not reconcile these two figures in the provided text.
- **Off-the-shelf TTA and prior RL adaptation baselines fail here.** The authors report that standard TTA (e.g., Tent) and RL-based alternatives (e.g., OPEX) are ineffective in this single-environment, tightly budgeted, correlated-stream setting.
- **Mixed corruptions show the largest margins.** Across all 8 combinations of payload (2 kg calf or 5 kg torso) with terrain shift (slippery or rocky, two severities each), TEMPO is best in every condition, averaging 14.09 versus 12.48 for QMax and 11.18 for no adaptation (+26.1% over no adaptation, +12.9% over QMax). The hardest case — torso mass with rocky terrain at the highest severity — goes from 7.8 (no adaptation) and 10.5 (QMax) to 14.6 (+87.2% and +39.0% respectively).
- **Continual adaptation is more stable.** When shift severity increases progressively during deployment, TEMPO recovers faster and reaches a higher plateau than QMax, which improves initially then saturates.
- **No observed forgetting on the source domain.** When flat terrain is appended at the end of the continual sequence, both TEMPO and QMax recover source-domain performance immediately, matching the original policy with no transient degradation.
- **Both components contribute, and memory matters more.** Starting from QMax, adding entropy regularization gives +0.5 to +1.6 return across six shift settings; swapping FIFO for score-based memory gives +1.0 to +2.3; combining both gives +1.4 to +2.5 over QMax and +2.6 to +4.9 over no adaptation, with TEMPO best in every column.
- **TEMPO stacks on top of adaptation-aware architectures.** With RMA, native online adaptation beats a frozen RMA, and RMA + TEMPO beats both, indicating the method complements rather than replaces built-in adaptation mechanisms.
- **Real-robot results track simulation.** On a physical Unitree Go2 with weight plates mounted on both left calves, 4 minutes of fully on-device adaptation raised the mean velocity-tracking reward from 89.8 to 98.7 across five command settings, with the largest gain (15%) when walking backwards at medium speed, from 98.7 to 113.5.
- **Cost is small.** With 49-dimensional observations and a 16k buffer, the FIFO buffer occupies roughly 3 MiB and the score-based variant roughly 3.05 MiB.

## Methodology in Plain English

The researchers start from the observation that a pretrained actor–critic pair contains more than a policy — it contains a critic that already scores how good an action is in a given observation. Standard deployment throws the critic away. This work keeps it and treats it as a stand-in for performance feedback, since the real reward signal is unavailable at deployment.

The baseline, QMax, does the simplest thing possible with that idea: store the most recent observations in a small first-in-first-out buffer, and every so often nudge the actor's weights so that the frozen critic scores its actions higher on a batch drawn from that buffer. Only the actor changes, so the update is cheap.

TEMPO adds two fixes for what goes wrong when the shift is severe. First, because the critic can become overconfident on observations it never saw in training, pushing hard against it produces brittle, sharp policy updates. TEMPO therefore gives the critic a distributional head and adds the entropy of that distribution to the objective, rewarding updates that sit in high-value *and* comparatively uncertain regions. Second, because not every observation is equally informative — slip events and destabilizing contacts matter more than uneventful standing — TEMPO replaces the FIFO buffer with one that scores each observation as the inverse of the critic's predicted value, keeps the lowest-value ("hardest") observations, and samples batches proportionally to those scores so limited compute goes to the states actually causing degradation.

The evaluation deliberately trains all policies on flat terrain *without* domain randomization, so that measured robustness comes from adaptation rather than training-time regularization. Shifts are then applied at test time as a single severity scalar: terrain height variation, calf mass in kg, torso mass in kg, or ground friction set to 1 − δ. Adaptation uses Adam at a learning rate of 5×10⁻⁶, a 16k buffer, 2k batches, a single gradient step every 128 environment steps, and an entropy weight λ = 0.5; rewards are used only for offline scoring, never for updating.

## Why This Matters

**Impact on research.** The paper reframes the discarded critic as a deployment-time resource, which is a cheap and general idea that applies to any actor–critic policy regardless of architecture — the authors show this across Fast-TD3, SimbaV2, and RMA. It also imports TTA ideas from perception into closed-loop control, where correlated on-policy streams and stability requirements break standard assumptions, and it shows that buffer *design* (not just buffer *size*) is a first-order factor in adaptation quality.

**Real-world applications:**

- Legged delivery and logistics robots that pick up parcels mid-route, changing payload and inertial properties without warning.
- Inspection and search-and-rescue quadrupeds operating on rubble, gravel, or wet surfaces far outside their training envelope.
- Humanoid platforms in warehouses or labs where a tool or object becomes attached to a limb, altering contact dynamics.
- Consumer and embedded robots running on phone-class or robotic SoCs, where a several-MiB buffer and periodic single gradient steps are the only affordable form of adaptation.

**Industry relevance.** The method is explicitly designed for single-device, latency- and memory-bounded deployment, and the on-device Unitree Go2 demonstration plus the ~3 MiB memory footprint speak directly to commercial robotics constraints. The work comes from Qualcomm AI Research, so the framing around on-device compute budgets is not incidental.

## Future Directions

- **Reconciling the reported improvement figures.** The abstract cites up to 80% and the introduction up to 50% for the single-device setting; a clear accounting of which shifts, seeds, and metrics produce each number would strengthen the headline claim.
- **Reliance on the critic under severe shift.** The method assumes a frozen critic remains an informative surrogate even when it is itself out of distribution. Quantifying when that assumption breaks — and whether the entropy term alone is sufficient — is the central open question, especially for shifts far outside those tested.
- **Extending beyond proprioception-only policies.** The evaluated observations are proprioceptive and command-related. Whether the same critic-guided loop works for vision- or elevation-map-conditioned policies, where shift manifests differently, is untested in the provided text.
- **Broadening hardware and shift validation.** Real-robot evidence comes from one Unitree Go2 with a calf payload. Testing more embodiments, actuators with degradation, sensor noise, and longer non-stationary streams would test whether the "no observable forgetting" result holds over extended operation.
- **Deeper integration with adaptive architectures.** The RMA experiment shows stacking helps; whether TEMPO can be folded into the training of adaptation-aware backbones, rather than applied on top, is left open.

## Target Audience

Robotics and RL researchers working on sim-to-real transfer, legged locomotion, and deployment-time robustness; embedded and on-device ML engineers who need adaptation that fits real latency and memory budgets; and practitioners who already have trained locomotion policies and want a low-cost way to make them survive field conditions they were never trained for. Readers new to RL will find the problem framing clear but will need background in actor–critic methods and entropy-regularized objectives to follow the technical sections.

## Authors’ abstract

Reinforcement-learning policies for robot locomotion can fail at deployment when operating conditions shift (e.g., rough or slippery terrain, payload changes, sensing degradation), and retraining or manual recalibration is often infeasible under on-device latency and memory constraints. We study test-time adaptation (TTA) for robotic control: adapting a pretrained policy online and in a self-supervised manner during execution, without access to rewards. Our starting point is…

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

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

## Related papers

- [Test-Time Training as Residual Memory for Robot Policies](https://robotics.world/paper/test-time-training-as-residual-memory-for-robot-policies-2610.04701) 2026-10-03 · cs.RO · Key terms of the title in common
- [PreferenceFlow: Test-Time Guidance of Flow-Matching Robot Policies from Human Interventions](https://robotics.world/paper/preferenceflow-test-time-guidance-of-flow-matching-robot-policies-from-2609.36872) 2026-09-29 · cs.RO · Key terms of the title in common
- [Scouting the Dynamics Gap: Test-Time Policy Adaptation via Action-Outcome Feedback](https://robotics.world/paper/scouting-the-dynamics-gap-test-time-policy-adaptation-via-action-2609.36107) 2026-09-28 · cs.RO · Key terms of the title in common
- [Test-Time Adaptation of Manipulation Policies Under Actuator Degradation](https://robotics.world/paper/test-time-adaptation-of-manipulation-policies-under-actuator-degradation-2609.36182) 2026-09-28 · cs.RO · Key terms of the title in common
- [T2-z: Test-Time Optimization of Environment Latents for Robotic World Models](https://robotics.world/paper/t2-z-test-time-optimization-of-environment-latents-for-robotic-world-2610.22364) 2026-10-15 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/efficient-test-time-adaptation-for-robot-policies-2610.20318
