arXiv:2610.20318cs.ROOct 2026

Manuscript Offprint

arXiv:2610.20318

Efficient Test-Time Adaptation For Robot Policies

Motasem Alfarra, Pietro Mazzaglia, Markus Peschl, Daniel Dijkman, Christos Louizos

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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 self-supervised during execution, without access to rewards. Our starting point is a lightweight baseline that updates only the actor using a frozen pretrained critic as a deployment-time performance surrogate. Building on this, we introduce TEMPO, a test-time entropy-regularized, memory-guided policy optimization method that stabilizes critic-driven updates under severe shift. TEMPO combines (i) an entropy-promoting regularizer on the critic's predictive distribution to mitigate overconfident extrapolation, and (ii) a score-based memory, inspired by prioritized replay, that prioritizes low-value ("hard") observations and applies importance sampling to focus limited computation on the most informative deployment conditions. Across Go1, Go2, and G1 in MuJoCo Playground under four representative shifts and multiple architectures, TEMPO yields consistent gains, reaching up to 80% improvement in a single-device setting. We further validate on a physical Unitree Go2 with an added calf payload, where fully on-device adaptation improves performance over the non-adapted baseline across real-world episodes.

1 Introduction

Robots deployed in the real world must contend with operating conditions that can diverge sharply from those encountered during training [Kumar et al., 2021]. These discrepancies arise from multiple sources: terrain variability (e.g., rocks, low-friction surfaces) [Sun et al., 2025], hardware changes (e.g., localized payloads or partial actuator degradation) [Pouroullis et al., 2025], emergent situations (e.g., a weight stuck on one arm/calf) [Zhang et al., 2025, Chen et al., 2023], and the broader sim-to-real gap between simulated and physical environments [Peng et al., 2018]. In practice, such factors rarely occur in isolation: a deployed robot may simultaneously experience altered contact dynamics, sensor noise, actuator wear, and previously unseen environmental configurations. These distribution shifts can substantially degrade policies that perform well under nominal conditions (refer to Figure 1 left), making online adaptation central to robust autonomy.

A common response to combat this problem is to apply large-scale domain randomization during reinforcement learning to improve zero-shot generalization [Tobin et al., 2017, Peng et al., 2018]. While effective in some cases, this approach is fundamentally constrained by what can be specified in advance: it presumes one can enumerate relevant sources of variability, model them with sufficient fidelity in simulation, and collect enough data to cover their interactions. When robots encounter truly novel conditions, adaptation is performed offline. This interrupts operation to gather new data and fine-tune from scratch, which is misaligned with real-time, on-device compute and reliability.

Qualcomm AI Research is an initiative of Qualcomm Technologies, Inc

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure

Figure 1: Motivation and pipeline. Left: Pretrained locomotion policies degrade as shift severity increases. Middle: Off-the-shelf TTA and prior RL adaptation baselines fail under a rocky-terrain shift. Right: TEMPO loop: execute πθt\pi_{\theta_t}, update memory B\mathcal{B}, and periodically adapt via Eq. (2).

constraints. Architectural add-ons for adaptation can help but often increase system complexity and reduce portability across tasks, embodiments, and deployment settings [Kumar et al., 2021].

We study Test-Time Adaptation (TTA) [Wang et al., 2020, Sun et al., 2020] as a practical alternative for robotic control under distribution shift. TTA is well-suited for tackling this problem as it adapts the pretrained model at test time in an online and self-supervised manner, alleviating the need to disrupt the inference stream for retraining and requiring no labeled data. Thus, our starting point is a simple, general baseline: we update only the actor (policy) parameters at deployment while freezing the critic, using a compact on-device memory of recent observations. At periodic intervals during execution, the actor is adapted by maximizing the critic's estimated action value on stored observations—treating the critic as a learned performance surrogate and requiring no online rewards. Unlike standard deployments where the critic is used primarily for training and often discarded at inference, here we actively leverage the pretrained critic during runtime. While distribution shift also affects the critic, we find it still provides a sufficiently informative signal to guide test-time actor updates [Chen et al., 2023]; nonetheless, naive value maximization can overfit to spurious, overconfident estimates [Kumar et al., 2020] and under-explore the loss landscape.

In this work, and to address these limitations, we introduce an enhanced framework with two complementary elements. First, we add an entropy-promoting regularizer on the critic's predictive distribution during adaptation, which tempers overconfidence under shift and biases updates toward regions that are simultaneously high-value and high-uncertainty. This yields more informative gradients due to the stability and exploration benefits of maximum-entropy objectives in RL [Eysenbach and Levine, 2021], which we adapt to the critic's uncertainty at test time. Second, and in the spirit of prioritized experience replay [Schaul et al., 2016], we employ a score-based memory that prioritizes observations inversely proportional to the critic's predicted value, coupled with importance sampling to focus updates on the most informative deployment conditions under tight memory and latency budgets. We evaluate on Go1, Go2, and G1 in Mujoco Playground simulation [Zakka et al., 2025], spanning quadruped and humanoid morphologies under four representative shifts (mass on torso, mass on calf, rocky terrain, slippery terrain) and three different architectures, and observe up to 50% performance gains very efficiently in a single-device setting. We further validate our approach on a physical Unitree Go2 robot by attaching a {3,2}\{3, 2\} kg calf payload and performing fully on-device TTA, observing trends consistent with simulation. We can summarize our contributions in four folds:

• A lightweight, on-device TTA framework for RL control. We adapt only the actor parameters while freezing the critic, maintain a compact memory of recent observations, and perform periodic, self-supervised updates that fit strict control-loop latency and compute budgets.

• Entropy-regularized critic-driven adaptation. We introduce an objective that maximizes the critic’s estimated action value while promoting higher-entropy critic outputs during test-time updates—mitigating overconfident value extrapolation and preserving local action coverage; the procedure is architecture-agnostic and supervision-free.

• Score-based memory with importance sampling. We propose a memory mechanism that assigns each observation a score inversely proportional to the critic’s predicted value, stores harder samples, and employs importance sampling to focus on more informative samples under memory constraints.

• Comprehensive validation in simulation and on-device. We show consistent gains on Go1/Go2/G1 embodiments and on four deployment shifts, and confirm the same trends on a physical Unitree Go2 via fully on-device adaptation with a {3,2}\{3, 2\} kg calf payload.

References (64)