Manuscript Offprint

arXiv:2611.26438

Risk-Controlled Test-Time Adaptation for Vision-Language-Action Models

Zixuan Liu, Hashem Haghbayan, Zizhan Zheng, Siavash Khajavi

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

Abstract

Retrieval-augmented vision-language-action (VLA) models enable efficient test-time adaptation by leveraging expert demonstrations as additional context without updating model parameters. However, even when retrieved demonstrations are relevant to the current task, the VLA may fail to effectively utilize the retrieved information, ultimately leading to task failure. To address this challenge, we propose R2-VLA, a risk-controlled retrieval-augmented VLA framework that enables reliable test-time adaptation by satisfying a user-specified task success rate requirement with minimal expert assistance. Specifically, R2-VLA learns an uncertainty predictor that estimates the uncertainty of the VLA’s predicted actions given the retrieved demonstrations, guiding when to act autonomously or request expert assistance. We further introduce a task-level risk-control procedure that calibrates the uncertainty threshold to satisfy a user-specified task-failure risk requirement. Moreover, R2-VLA continually incorporates expert corrections into its retrieval memory to improve future adaptation while preserving the prescribed task-level risk guarantee. Experiments across three VLA backbones and four LIBERO benchmark suites demonstrate that R2-VLA improves average task success by 9.2–11.2 percentage points, achieving the desired target with fewer expert requests. These results highlight the effectiveness of connecting the usefulness of retrieved demonstrations with task-level risk control to enable successful robotic manipulation.

1 Introduction

Figure

Figure 1: Qualitative comparison of RICL and R2-VLA on the LIBERO-Goal task “Put the bowl on top of the cabinet” using π0\pi_{0}-FAST. (a) RICL retrieves behaviorally relevant demonstrations from the same task, yet still produces an incorrect action at step 85: instead of moving the bowl toward the cabinet, the policy moves it away from the target. This error leads to continued execution in the wrong direction and ultimately task failure. (b) R2-VLA detects such uncertain actions using its learned uncertainty predictor and requests expert assistance when the predicted uncertainty exceeds the threshold λ^\hat{\lambda}, enabling successful task completion.

Recent advances in vision-language-action (VLA) models [7, 22, 32, 38, 8, 9, 40, 37] have enabled a single policy to perform a broad range of robotic manipulation tasks, highlighting their potential as general-purpose robotic control policies. However, even strong pre-trained VLAs often require substantial fine-tuning or retraining to maintain reliable performance under distribution shifts, such as new environments, unseen objects, or novel task instructions [45], limiting their ability to rapidly adapt at deployment time. In contrast, Large Language Models (LLMs) can adapt to new tasks at inference time through in-context learning (ICL): given only a small number of input-output demonstrations as context, an LLM can adjust its behavior without updating its model parameters [10, 15, 28]. Inspired by this paradigm, recent work such as RICL [36] introduces in-context adaptation to pre-trained VLAs. Specifically, RICL maintains a compact retrieval buffer of expert demonstrations and, at each decision step, retrieves demonstrations relevant to the current observation as additional context for the VLA policy, enabling effective adaptation to previously unseen deployment conditions without parameter updates.

The effectiveness of retrieval-based in-context adaptation depends critically on which demonstrations are retrieved, since these examples determine what task-specific information is provided to the VLA at deployment. Prior work [36, 45], including RICL, relies on visual similarity between the current observation and observations in the retrieval buffer to select relevant demonstrations. Recent approaches have explored improved retrieval mechanisms [21, 44, 25], such as incorporating task instructions and learning embeddings that better capture behavioral relevance. However, improving retrieval quality does not necessarily guarantee successful task execution [26]. Even when the retrieved demonstrations are relevant to the current task, the VLA may still fail to translate the retrieved information into appropriate actions for its current state. As illustrated in Fig. 1(a), RICL retrieves behaviorally relevant demonstrations but nevertheless moves the bowl in the wrong direction, ultimately leading to task failure. This suggests the usefulness of retrieved demonstrations depends not solely on their relevance to the current task, but ultimately on whether they enable the VLA to successfully complete it.

In this work, we propose R2-VLA, a risk-controlled retrieval-augmented VLA framework that enables reliable test-time adaptation by satisfying a user-specified task success rate. As discussed above, retrieving relevant demonstrations alone is insufficient for successful task execution, as the VLA may still fail to effectively utilize the retrieved information. Therefore, R2-VLA enables the VLA to determine when it can act autonomously and when additional assistance is necessary to successfully complete the task. To this end, we augment the VLA with a learned uncertainty predictor that estimates how uncertain the VLA is about its predicted actions, given the current observation, retrieved demonstrations, and its own prior knowledge. When the predicted uncertainty is below a specified threshold, the VLA executes its own action autonomously (Act). Otherwise, it requests expert assistance (Ask) to avoid potentially incorrect actions, as illustrated in Fig. 1 (b). However, determining an appropriate uncertainty threshold is nontrivial, as the predicted uncertainty does not directly correspond to task-level success. We therefore introduce a risk-control procedure that calibrates the threshold to satisfy a user-specified task-failure risk requirement. In this way, R2-VLA directly connects the usefulness of retrieved demonstrations to their ability to support successful task completion.

To summarize, our contributions are as follows: 1. We propose R2-VLA, a risk-controlled retrieval-augmented VLA framework that learns to estimate the uncertainty of its predicted actions given retrieved demonstrations and determines when to Act or Ask to satisfy a user-specified task-level failure risk requirement. 2. We theoretically establish a connection between uncertainty prediction accuracy and task-level failure risk (Theorem 1). We further extend R2-VLA to continual adaptation by incorporating expert corrections into the retrieval buffer and theoretically establish that the prescribed task-level risk can be preserved throughout adaptation (Theorem 2). 3. We conduct extensive experiments across three VLA backbones and four LIBERO benchmark suites, demonstrating consistent improvements of 9.29.2–11.211.2 percentage points in average task success over RICL, while meeting the desired target in most settings with minimal expert assistance.

References (42)