Generative Actor Critic

Aoyang Qin, Deqian Kong, Wei Wang, Ying Nian Wu, Song-Chun Zhu, Sirui Xie

TL;DR

Generative Actor Critic (GAC) shifts the reinforcement learning paradigm from estimating expected values to learning the complete joint distribution of trajectories and returns. By framing policy evaluation as generative modeling and policy improvement as latent-space inference, GAC achieves state-of-the-art offline-to-online performance using only trajectory-level rewards.

What Problem Does This Paper Address?

Traditional Reinforcement Learning (RL) algorithms are expectation-centric, relying heavily on Temporal Difference (TD) learning and Bellman equations to estimate expected future returns. While highly effective for purely online settings, this paradigm struggles in modern offline-to-online RL pipelines, where an agent pre-trained on a static dataset is fine-tuned via online environment interactions. During this transition, the action distribution mismatch frequently causes value-based critics to become highly unreliable.

Furthermore, existing sequence-modeling approaches (like Decision Transformers) that bypass TD learning suffer from "optimism bias" when conditioned on unachievable high returns, and they lack scalable mechanisms for targeted exploration. This challenge is magnified in realistic scenarios where granular, step-wise rewards are missing, leaving only a single total return at the end of a trajectory.

Methods

GAC completely decouples decision-modeling into two distinct phases: train-time generative modeling and test-time inference.

  1. Generative Modeling: GAC treats policy evaluation as learning the joint distribution of trajectories ($\tau$) and returns ($y$). It instantiates this via a latent variable model: $$p_\theta(\tau, y, z) = \rho(s_0) p_\alpha(z|s_0) p_\beta(\tau|s_0, z) p_\gamma(y|z)$$ Here, a continuous latent plan vector ($z$) acts as an information bottleneck, abstracting high-dimensional trajectories around their low-dimensional returns. The framework utilizes a Transformer encoder for the prior and a causal Transformer decoder for trajectory generation, optimized via a bi-level Evidence Lower Bound (ELBO) scheme.

  2. Test-Time Inference: Policy improvement is reframed as an inference query on the learned model. GAC introduces two distinct strategies:

  3. Exploitation: Maximizes the expected return $\mathbb{E}[y|z]$ by performing gradient ascent directly within the continuous latent plan space, regularized by a KL-divergence term to keep plans grounded within the learned behavior manifold.
  4. Exploration: Samples latent plans from the posterior distribution conditioned on dynamically adjusted, optimistic target returns ($y^+$) sampled from a prioritized replay buffer.
Figure 1: Conceptual illustration of exploitation and exploration. After modeling the data distribution (gray), GAC supports distinct test-time inference queries for various decision-making objectives. For exploitation (blue), the objective is to maximize the expected return, leading to a focused, low-variance policy that targets high-certainty outcomes. For exploration (green), the generative model is conditioned on a target distribution shifted towards higher returns, guiding the search for novel and potentially superior trajectories.

Datasets

The authors evaluated GAC on standard offline and offline-to-online RL benchmarks from the D4RL dataset:

  • Gym-MuJoCo suite (Halfcheetah, Hopper, and Walker2D)
  • Maze2D navigation tasks (Umaze, Medium, Large)

Crucially, all baselines and evaluations were adapted to a strict trajectory-return-only setting, meaning the agents had no access to step-wise reward signals and had to learn purely from the final trajectory outcome.

Key Insights and Ideas

  • Bypassing Credit Assignment: By modeling the holistic joint distribution $p(\tau, y)$, GAC entirely avoids explicit per-step credit assignment. This makes the framework uniquely robust to sparse or absent step-wise rewards.
  • Bounded Optimism via KL Anchoring: When driving exploration with out-of-distribution (OOD) target returns, the KL-divergence term in the ELBO acts as a robust "soft bound." This anchors the posterior to the feasible prior manifold, preventing the model from hallucinating unrealistic returns.
  • Emergent Cognitive Maps: Without any explicit spatial priors, GAC’s latent space self-organizes into distinct clusters that map directly to coherent physical regions in the environment. This behavior is strikingly analogous to hippocampal place cells, providing a structured foundation for long-horizon planning.
  • Internalized World Models: During online fine-tuning in Maze2D, GAC successfully discovered and executed efficient diagonal shortcuts that were entirely absent from the suboptimal, axis-aligned training data, proving it internalized an implicit model of environmental dynamics and rewards.

Key Results

  • Offline Pre-training: GAC consistently outperformed state-of-the-art baselines (including IQL, CQL, and Decision Transformer) across almost all environments. On the sparse-reward maze2d-medium task, GAC achieved an offline score of 74.5, vastly outperforming LPT (20.6) and DT (-2.4).
  • Online Fine-tuning: GAC demonstrated massive performance leaps during online fine-tuning. For example, its score on maze2d-medium skyrocketed from 74.5 to 166.1 (a gain of +91.6). On hopper-medium, it improved from 60.2 to 93.3 (+33.1).
  • Distributional Progression: The optimistic targeting strategy successfully shifted the empirical return distribution of the replay buffer upward across sequential fine-tuning stages, demonstrating highly effective guided exploration.
Figure 2: Illustration of return distributions in Mujoco. The left column displays the return distributions achieved by various inference objectives after offline pre-training, highlighting the explorative and exploitative behavior. The middle column presents a split violinplot for the inference objectives of GAC-Erys and GAC- ppy`q, showing the progressive performance gains and the explorative and exploitative behaviors at three sequential fine-tuning stages. The right column visualizes the progressive improvement in the datasets’ quality, as evidenced by the upward shift of the dataset’s return distribution over the fine-tuning stages.

Limitations and Future Work

  • Manual Exploration Hyperparameters: The exploration increment ($\Delta y$) used to generate optimistic targets is currently a manually tuned hyperparameter. The authors note that developing adaptive mechanisms to automate this tuning is an important next step.
  • Lack of Autonomous Replanning: While proof-of-concept experiments showed that mid-trajectory closed-loop replanning significantly improves success rates in long-range navigation, this process currently relies on manual triggers. Developing a principled, autonomous trigger for replanning is essential to close the remaining performance gap with methods that enjoy access to dense, step-wise rewards.

Summary updated

BibTeX
@inproceedings{qin2025generative,
  author = {Aoyang Qin and Deqian Kong and Wei Wang and Ying Nian Wu and Song-Chun Zhu and Sirui Xie},
  title = {{Generative Actor Critic}},
  booktitle = {SPIGM @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=kKitaBBXnI},
}
Figure