arXiv:2610.37215cs.ROOct 2026

Manuscript Offprint

arXiv:2610.37215

Retrieve to Act: Motion Primitive Graph Retrieval for Robust VLA Execution

Pham Tri Quang, Bao-Ngoc Dao, Minh Duc Nguyen, Duc-Duy Nguyen, Hung T. Ho, Linh Dang Le, Trong-Bao Ho, Thien-Loc Ha, Tan Q. Nguyen, Tuan Dam, Vu N. Duong, Daniel Sonntag, Ngan Le, Khoa D. Doan, Jan Peters, An Thai Le, Duy M. H. Nguyen, Vien Anh Ngo

Pham Tri Quang 1∗^{1*}, Bao-Ngoc Dao 1∗^{1*}, Minh Duc Nguyen 1,2^{1,2}, Duc-Duy Nguyen 1^{1}, Hung T. Ho 2^{2}, Linh Dang Le 2^{2}, Trong-Bao Ho 2^{2}, Thien-Loc Ha 2^{2}, Tan Q. Nguyen 2^{2}, Tuan Dam 3^{3}, Vu N. Duong 1^{1}, Daniel Sonntag 4,5^{4,5}, Ngan Le 6^{6}, Khoa D Doan 1^{1}, Jan Peters 4,7^{4,7}, An Thai Le 1,2,7^{1,2,7}, Duy M. H. Nguyen 4,8,9†^{4,8,9\dagger}, Vien Anh Ngo 1,2†^{1,2\dagger}

1^{1}Center for AI Research, VinUniversity 2^{2}VinRobotics 3^{3}Hanoi University of Science and Technology

4^{4}German Research Center for Artificial Intelligence (DFKI) 5^{5}University of Oldenburg

6^{6}University of Arkansas 7^{7}Technische Universität Darmstadt 8^{8}Universität Stuttgart

9^{9}Max Planck Research School for Intelligent Systems (IMPRS-IS)

∗^{*}Equal Contributors †^{\dagger}Project Leads

ABSTRACT

Vision-Language-Action (VLA) policies demonstrate remarkable semantic generalization, yet remain highly vulnerable to out-of-distribution (OOD) visual shifts during execution. While existing test-time methods attempt to suppress spurious visual cues, they fundamentally overlook the rich, uncorrupted kinematic priors embedded in the policy's own training experience. We introduce RETRIEVE TO ACT (R2A), a test-time scaling framework that formulates OOD robustness purely as a geometric motion primitive retrieval problem. R2A bypasses fragile visual features by structuring successful training demonstrations into an offline spatiotemporal motion primitive graph. During inference, a query-dependent Graph Neural Network dynamically localizes the robot's ongoing execution within this graph, retrieving structurally compatible future motion primitives. These retrieved geometric priors are then seamlessly harmonized with the frozen VLA's predicted actions via a learned, dimension-wise gating mechanism, adaptively rectifying erroneous spatial trajectories while preserving the policy's local reactivity. Extensive experiments across three state-of-the-art VLA architectures, GR00T N1.7, π0.5\pi_{0.5}, and StableVLA, demonstrate that R2A consistently and significantly enhances robustness against diverse contextual perturbations. R2A achieves absolute success rate improvements of up to +12% in simulation benchmarks (LIBERO-Plus, RoboTwin2.0-Plus) and +40% in real-world deployments, without requiring any finetuning of the base policies.

Project page: https://retrieve2act.github.io/r2a/

1 INTRODUCTION

Vision-Language-Action (VLA) models pretrained on large-scale datasets demonstrate remarkable semantic generalization, seamlessly interpreting novel instructions and adapting to diverse tasks (Black et al., 2024; Physical Intelligence et al., 2025; Bjorck et al., 2025). However, this semantic capability often masks a severe kinematic fragility: even minor out-of-distribution (OOD) visual shifts, such as an altered camera angle, a novel background texture, or changed lighting, can cause catastrophic execution failures (Fei et al., 2025; Zhou et al., 2025; Wang et al., 2025). Under these conditions, the underlying task semantics remain identical, yet the policy's action generation diverges wildly from safe trajectories. This reveals a critical bottleneck for real-world deployment: while pretrained VLAs know what to achieve, their over-reliance on perturbation-sensitive visual features causes them to easily lose track of how to physically execute the task.

A natural approach to improving robustness is to finetune pretrained policies with augmented datasets that explicitly expose the models to perturbed conditions (Xu et al., 2026a; Guo et al., 2026). However, exhaustively curating data and finetuning across the infinite long-tail of real-world environmental variations is both costly and practically impossible. Meanwhile, recent test-time scaling methods attempt to improve robustness without modifying model parameters by emphasizing task-relevant visual cues (Hancock et al., 2025; Zhang et al., 2026a), adapting via in-context information (Jang et al., 2026; Sridhar et al., 2025), or steering action generation away from undesirable behaviors (Liu et al., 2026b; Nguyen et al., 2026a). While these approaches help mitigate the influence of visual noise or steer policies away from failure states, they fundamentally ignore a powerful asset: the policy's own successful training experience. The precise motion patterns, spatial relationships, and temporal transitions required to solve the task are already embedded in the training demonstrations. The challenge is that contextual perturbations obscure the correspondence between the current OOD observation and these learned motion primitives, preventing the policy from reusing its own prior successes.

Retrieval offers a natural mechanism to recall this prior experience, but applying flat retrieval to robotic trajectories is notoriously difficult. Prior robot-learning methods often retrieve demonstrations based on affordance similarity (Kuang et al., 2024), motion correspondence (Lin et al., 2024a), or trajectory conditioning (Park et al., 2026). However, demonstrations are not isolated visual snapshots; they are highly structured spatiotemporal executions (Xu et al., 2026b). Standard retrieval methods that match visual embeddings fail to capture this sequential geometry, conflating two distinct problems: where does the current execution lie within the trajectory space, and what specific motion primitive should follow? To recover from an OOD-induced error, a retrieval mechanism must dynamically align the robot's ongoing geometric context with the underlying structure of prior demonstrations, entirely independent of visual noise.

To bridge this gap, we introduce R2A (Retrieve to Act), a test-time scaling framework that formulates OOD robustness purely as a geometric experience retrieval problem. R2A bypasses fragile visual features by organizing successful training demonstrations into an offline motion primitive graph. Nodes encode the pure kinematic geometry of past executions (poses, states, and frame-wise changes), while edges capture the spatiotemporal transitions across and within tasks. At the onset of an episode, a diffusion-based rectification module first projects any out-of-distribution initial robot states back into the established training manifold. During continuous execution, R2A then utilizes a query-dependent Graph Neural Network (GNN) to dynamically propagate the VLA's current kinematic trajectory through the graph. This explicitly localizes the robot's current progress and retrieves the most structurally compatible future motion primitives. A learned harmonization module then adaptively weight-fuses this retrieved geometric prior with the VLA's predicted actions. By doing so, R2A seamlessly rectifies erroneous trajectories caused by visual OOD shifts, restoring successful motion patterns without altering the frozen VLA parameters.

We evaluate R2A across three diverse VLA architectures, including GR00T N1.7 (Bjorck et al., 2025), π0.5\pi_{0.5} (Physical Intelligence et al., 2025), and StableVLA (Fu et al., 2026), under seven types of systematic perturbations in LIBERO-Plus (Fei et al., 2025). R2A consistently improves the robustness of all three policies, achieving gains of up to +12% in success rate. We further evaluate π0.5\pi_{0.5} on the challenging RoboTwin2.0-Plus benchmark (Zhang et al., 2026c) where R2A improves the success rate from 56.8% to 66.2%. On a real-world task with Aloha embodiment, R2A similarly achieves up to a 40% improvement in success rate over the corresponding base policies, demonstrating substantial gains in physical deployment.