arXiv:2610.22020cs.ROOct 2026

Manuscript Offprint

arXiv:2610.22020

DemoStream: Batched Task-and-Motion-Plan Optimization for Automated Learning from Demonstration

Caelan Garrett, Neel Jawale, Fabio Ramos

Caelan Garrett 1^{1}, Neel Jawale 1^{1}, Fabio Ramos 1,2^{1,2}

Abstract—Learning from demonstration is an effective strategy for endowing robots with manipulation capabilities but requires training on datasets comprised of massive amounts of demonstrations. Existing demonstration collection approaches either require constant human involvement, for example, via teleoperation or are specialized for a single task. Task and Motion Planning (TAMP) systems are able to autonomously solve and therefore generate demonstrations for general-purpose tasks; however, learning from their demonstrations has proven difficult due to multi-modality in their solutions. In this work, we build on recent work leveraging GPU acceleration for TAMP and propose DemoStream, a TAMP system that optimizes demonstration quality in order to improve behavior cloning success rates. First, we introduce batched TAMP sampling operations along with a new TAMP algorithm that correspondingly performs batched constraint satisfaction in order to explore many solutions in parallel. We conduct simulation experiments ablating different action spaces, cost functions, and batch sizes to analyze the effect of these choices on downstream policy success rates. Finally, we show that we can leverage the safety guarantees of TAMP to directly collect real-world demonstrations at an average rate of 66 demos per hour. See our website for policy rollout videos: demostream.github.io.

I. INTRODUCTION

Foundation models such as Vision-Language-Action Models (VLAs) [1] show incredible promise for robot control but require vast amounts of robot data, which is not easily obtainable. Teleoperation is a simple strategy for collecting robot data in the form of demonstrations but incurs a large human cost per task, making it difficult to scale. To reduce the amount of human effort, recent work developed semi-automated demonstration generation systems that adapt a handful of human-teleoperated demonstrations to new initial states [2]. However, these approaches still require annotated human demonstrations per task, preventing them from scaling autonomously to new tasks, and are typically deployed only in simulation because they produce unsafe behaviors.

Task and Motion Planning (TAMP) [3] systems are able to autonomously solve new tasks using the same planning model. Prior work has used TAMP to generate demonstrations for imitation learning [4], [5], but due to the stochastic nature of prior TAMP algorithms, the resulting demonstrations have been difficult to learn from due to their suboptimality and multi-modality. Recent work on TAMP leverages hardware acceleration, for example, on Graphics Processing Units (GPUs), to more efficiently solve problems [6], [7], [8]. We directly investigate the impact of GPU acceleration not only on producing demonstrations quickly but also on optimizing them so that they are easier to learn from.

Figure

Fig. 1: Real-World Policy Evaluation. DemoStream collected 75 real-world demonstrations and trained visuomotor policies with a success rate of 67%. Left: stack the red block on the blue block (Stack-Two). Center: drop the banana into the trash bin (Banana-Bin). Right: pack the apple and lime on the plate (Apple-Lime).

Our approach, DemoStream, first makes novel TAMP contributions in the form of batched streams, conditional samplers that generate constraint-satisfying outputs for a batch of input values, and batched computation graph optimization algorithms that compose multiple batched streams and cost functions in order to explore thousands of TAMP solutions in parallel. These representation and algorithmic innovations give us the flexibility to explore multiple TAMP cost functions and analyze their effect on demonstration success rate, demonstration length, and downstream policy success rate. Notably, we find that without solution optimization, TAMP systems still have high demonstration generation success rates but train policies with success rates of zero (Table I). Additionally, the choice of cost function matters; we find that it is easier to learn from demonstrations that minimize task-space rather than joint-space costs, both during TAMP and motion planning, likely because these costs minimize the motion of wrist-mounted cameras, shrinking the distribution of encountered observations. DemoStream is able to train successful visuomotor policies on a variety of tasks including multi-robot (Figure 5), long-horizon (Figure 6), agentic open-world (Figure 7), and real-world (Figure 1) tasks.

The contributions of this paper are:

• New TAMP batched samplers and computation graph optimizers for GPU-accelerated plan optimization;

• Automated demonstration generation via agentic, batched TAMP for end-to-end imitation learning;

• Analysis on the effect of action space, cost function, and batch size on policy learning success rates;

• Simulation experiments demonstrating long-horizon, multi-robot, and open-world DemoStream capabilities;

• Safe automated real-world demonstration collection.

1^{1}NVIDIA, 2^{2}University of Sydney, cgarrett@nvidia.com

References (29)