Abstract
We propose a new policy representation based on score-based diffusion models (SDMs). We apply our new policy representation in the domain of Goal-Conditioned Imitation Learning (GCIL) to learn general-purpose goal-specified policies from large uncurated datasets without rewards. Our new goal-conditioned policy architecture “BEhavior generation with ScOre-based Diffusion Policies” (BESO) leverages a generative, score-based diffusion model as its policy. BESO decouples the learning of the score model from the inference sampling process, and, hence allows for fast sampling strategies to generate goal-specified behavior in just 3 inference steps, compared to 30+ inference steps of other diffusion based policies. Furthermore, BESO is highly expressive and can effectively capture multi-modality present in the solution space of the play data. Unlike previous methods such as Latent Plans or C-Bet, BESO does not rely on complex hierarchical policies or additional clustering for effective goal-conditioned behavior learning. Finally, we show how BESO can even be used to learn a goal-independent policy from play-data using classifier-free guidance. To the best of our knowledge this is the first work that a) represents a behavior policy based on such a decoupled SDM b) learns an SDM based policy in the domain of GCIL and c) provides a way to simultaneously learn a goal-dependent and a goal-independent policy from play-data. We evaluate BESO through detailed simulation and show that it consistently outperforms several state-of-the-art goal-conditioned imitation learning methods on challenging benchmarks.
Introduction
Teaching robots to perform a wide variety of tasks usually requires Goal-Conditioned Imitation Learning (GCIL). However, traditional GCIL relies on expensive, manually labeled expert demonstrations. A more scalable alternative is Learning from Play (LfP), where a robot learns from unstructured, teleoperated interaction data. The primary challenge with play data is its inherent multimodality; a human interacting with a kitchen environment might perform the same task in numerous ways. Standard neural networks, such as Multi-Layer Perceptrons (MLPs), often struggle with this by attempting to average these behaviors, leading to ineffective, "blurry" movements. While generative models like Variational Autoencoders (VAEs) or standard Diffusion Policies can handle multimodality, they are often computationally expensive or require complex hierarchical architectures.
The BESO Framework
BESO (BEhavior generation with ScOre-based Diffusion Policies) represents the robot's policy as a Score-based Diffusion Model (SDM). Instead of predicting an action directly, the model learns the score function—the gradient of the log-density of the data. During inference, the robot starts with random noise and iteratively refines it to find a high-probability action.
A key innovation in BESO is the decoupling of training from inference. By treating the denoising process as solving a Probability Flow ODE, BESO can utilize advanced numerical solvers like DPM++. This allows the model to generate precise actions in just 3 denoising steps, making it over 10x faster than previous diffusion-based policies. The internal architecture utilizes a Transformer backbone with causal masking to process sequences of past observations and actions alongside the target goal state, ensuring temporal consistency.
Experimental Setup
BESO was evaluated on three major robotic manipulation benchmarks:
- Multi-Modal Block-Push: Requires a robot to push blocks into target areas using diverse strategies.
- Relay Kitchen: A complex environment involving a stove, oven, kettle, and lights, necessitating long-horizon planning.
- CALVIN: A massive benchmark for language and goal-conditioned behavior, featuring 6 hours of unstructured play data across 13 distinct tasks.
Results and Discussion
BESO consistently outperformed state-of-the-art baselines, including Conditional Behavior Transformer (C-BeT) and Latent Motor Plans (LMP). On the Relay Kitchen benchmark, BESO achieved success rates significantly higher than competing methods across both single and multi-task scenarios.
Beyond accuracy, BESO demonstrates exceptional inference speed, predicting actions in approximately 0.012 seconds on a standard desktop—a 10x improvement over the Diffusion-X baseline. Furthermore, the model showed robust generalization in the CALVIN environment, successfully reaching goal images even when the robot's starting configuration differed significantly from the goal state. The integration of Classifier-Free Guidance (CFG) also allows BESO to learn both goal-conditioned and goal-independent policies simultaneously, providing a trade-off between goal-following and exploration.
Conclusion
BESO demonstrates that score-based diffusion models can be both highly expressive and efficient for real-time robotic control. By leveraging fast ODE solvers and a Transformer backbone, BESO overcomes the speed limitations typically associated with diffusion models while maintaining superior performance on multimodal play data. Future work will explore extending BESO to natural language guidance and integrating it as a low-level primitive generator within larger hierarchical frameworks.
Summary updated