In reinforcement learning (RL), practitioners often face a trade-off between dynamics models and value functions. Dynamics models predict the future step-by-step but suffer from compounding errors. Value functions estimate long-term rewards directly but are tied to specific reward functions. Michael Janner and colleagues from UC Berkeley and Google Brain propose a hybrid: the γ-model, which uses generative modeling and Temporal Difference (TD) learning to predict the entire discounted future in a single forward pass.
The Challenge of Long-Term Prediction
Standard model-based RL relies on single-step models that predict $s_{t+1}$ from $s_t$. To look further ahead, these models must be rolled out iteratively ($s_{t+2}, s_{t+3}, \dots$), a process that is computationally expensive and prone to accumulating errors. Conversely, model-free RL uses value functions to look into the infinite future, but these functions entangle the environment's physics with specific task rewards. If a goal moves, the value function must be relearned. The γ-model aims to predict the long-term future of the environment's state independently of any specific reward.
The γ-Model Approach
The core innovation is Generative Temporal Difference Learning. Instead of predicting the next discrete state, the γ-model predicts the "discounted occupancy"—a probability distribution over all future states where states further in the future are weighted by a discount factor $γ$.
Just as a Q-function uses the Bellman equation to update itself ($Q \approx r + \gamma Q'$), the γ-model uses a recursive target distribution: $$p_{targ} \approx (1-\gamma)(\text{immediate next state}) + \gamma(\text{model's own future prediction})$$
The authors implement this using two generative frameworks: Generative Adversarial Networks (GANs), trained via a minimax game, and Normalizing Flows, which allow for exact likelihood evaluation by regressing on log-densities.
Key Insights: Constant-Time Prediction and Reweighting
A standard model takes $O(n)$ time to predict $n$ steps into the future. In contrast, a γ-model takes $O(1)$ time; a single feedforward pass yields the entire discounted future. This makes it a continuous-space version of the "Successor Representation" (SR), scaling a concept previously limited to discrete grids to complex continuous physics.
Furthermore, the authors introduce a "reweighting trick." They prove that γ-models can be chained to simulate different horizons. For instance, a model trained with $γ=0.95$ can be used to predict what a $\tilde{\gamma}=0.99$ model would see by reweighting multiple samples, as shown in the distribution mixture above.
Results and Performance
The γ-model was evaluated on continuous-control benchmarks like Acrobot, Pendulum, and MountainCar. Visualizations using Normalizing Flows demonstrated that the model accurately captures complex, multi-modal "clouds" of future states.
In terms of control, the authors introduced γ-MVE (γ-Model-Based Value Expansion), a hybrid estimator combining short-term γ-model rollouts with a terminal value function. This approach converged significantly faster than model-free baselines like Soft Actor-Critic (SAC) and matched the sample efficiency of state-of-the-art model-based methods (like MBPO) without requiring heavy multi-step rollouts during policy updates.
Limitations and Future Directions
While promising, the γ-model currently faces challenges in high-dimensional state spaces, such as raw images, as experiments were limited to low-dimensional (up to 11D) inputs. Additionally, GAN-based implementations showed some instability at high discount factors. Future work may explore these models for hierarchical RL, where the γ-model could serve as a "jumpy" simulator for high-level planning.
Summary updated