Towards Robust Zero-Shot Reinforcement Learning

Kexin Zheng, Lauriane Teyssier, Yinan Zheng, Yu Luo, Xianyuan Zhan

TL;DR

BREEZE upgrades the Forward-Backward (FB) representation framework for zero-shot reinforcement learning by introducing behavioral regularization, a task-conditioned diffusion policy, and attention-based representation networks. This combination successfully mitigates out-of-distribution extrapolation errors and significantly enhances learning stability and policy expressivity across diverse, complex tasks.

What Problem Does This Paper Address?

Zero-shot reinforcement learning (RL) aims to pre-train a generalist agent on reward-free data so that it can instantly adapt to any downstream task during inference, given only the task's reward function. A popular and mathematically elegant framework for this is Forward-Backward (FB) representations, which factorize the environment's "successor measure" (the expected future state occupancy).

However, the authors identify a critical pitfall in existing FB methods: during offline pre-training, evaluating unseen, out-of-distribution (OOD) actions introduces severe extrapolation errors. This causes the learned representations to become highly biased, leading to mathematically impossible value estimates—such as negative successor measures and massive scale inflation. These distorted representations ultimately lead to suboptimal downstream policy performance.

Figure 1: Visualization of the empirical M πz and Qz distributions during evaluation stage. We conduct experiments on FB-based methods on two Walker tasks using ExORL [70] RND [5] dataset. We use the learned F, B representations to recover the task vector z and compute M πz = F ⊤B and Qz = F ⊤z. Both the vanilla FB [58] and MCFB [26] result in a proportion of error scaling values.

Methods

To resolve these issues, the authors introduce BREEZE (Behavior-REgularizEd Zero-shot RL with Expressivity enhancement), which incorporates three core components:

  1. Behavior-Regularized Guidance: Instead of evaluating potentially unstable, policy-generated actions during representation updates, BREEZE leverages expectile regression (similar to Implicit Q-Learning) to learn an implicit, in-sample state-value function ($V$). This stabilizes the training of the forward representation ($F$) and avoids OOD extrapolation.
  2. Task-Conditioned Diffusion Policy: To extract high-quality, multimodal action distributions required for arbitrary downstream tasks, BREEZE replaces standard Gaussian policies with a conditional diffusion model trained via weighted regression. It also utilizes a value-based rejection sampling mechanism during deployment to select the best action from generated candidates.
  3. Attention-Based Architectures: Moving away from standard Multi-Layer Perceptrons (MLPs), BREEZE uses self-attention and multi-head attention blocks within the forward ($F$) and backward ($B$) networks to capture the complex, bidirectional dependencies between environmental dynamics and task conditions.

Datasets

The framework was evaluated on two major benchmarks:

  • ExORL Benchmark: Spans 3 domains (Walker, Jaco, and Quadruped) across 48 complex state-based tasks, utilizing datasets collected by 4 unsupervised exploration algorithms (RND, APS, PROTO, and DIAYN).
  • D4RL Franka Kitchen: A challenging multi-stage manipulation environment requiring long-horizon sequential control, evaluated on both "mixed" and "partial" datasets.
  • Small-Sample Regime: To test robustness under limited data coverage, the authors also evaluated performance on uniformly subsampled 100,000-transition subsets of the ExORL datasets.

Key Insights and Ideas

  • The Illusion of Scale: Prior FB methods fail to preserve the mathematical positivity and proper scaling of successor measures. BREEZE's in-sample regularization successfully constrains these values to a realistic, theoretically sound range.
  • Capacity Alone Isn't Enough: Simply scaling up the parameter count of standard MLP networks does not fix the expressivity bottleneck in zero-shot RL. The structural shift to attention-based architectures is what unlocks higher performance ceilings by enabling bidirectional feature refinement.
  • In-Sample Stability Over Explicit Constraints: Instead of using heavy, explicit value penalties (like CQL) that can overly conservative the policy, transforming policy optimization into an in-sample weighted regression paradigm naturally avoids OOD pitfalls while maintaining high policy fidelity.

Key Results

  • ExORL Benchmark: BREEZE consistently achieves the best or near-the-best Interquartile Mean (IQM) performance across almost all domains and exploration datasets. For instance, on the Jaco domain with the APS dataset, BREEZE achieves an IQM of 132 ± 16 compared to vanilla FB's 22 ± 14.
  • Long-Horizon Tasks: In the D4RL Kitchen environment, where vanilla FB completely struggles due to the complexity of sequential manipulation, BREEZE achieves significantly higher normalized returns, demonstrating strong compositionality.
  • Data Efficiency: In the highly restricted 100k small-sample data regime, BREEZE maintains a pronounced advantage over prior constraint-based methods (MCFB/VCFB), highlighting its superior robustness against limited data coverage.

Limitations and Future Work

The primary limitation of BREEZE is its increased computational cost. Utilizing an iterative diffusion model for policy sampling requires more wall-clock time during both training and inference compared to simpler Gaussian policies.

As a direction for future work, the authors suggest exploring framework-level optimizations, such as replacing the diffusion model with more computationally efficient generative paradigms like flow-matching or consistency models, to reduce overhead without sacrificing expressivity.

Summary updated

BibTeX
@inproceedings{zheng2025towards,
  author = {Kexin Zheng and Lauriane Teyssier and Yinan Zheng and Yu Luo and Xianyuan Zhan},
  title = {{Towards Robust Zero-Shot Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=vbFZlM7nRK},
}
Figure