Foresee then Evaluate: Decomposing Value Estimation with Latent Future Prediction

Hongyao Tang, Zhaopeng Meng, Guangyong Chen, Pengfei Chen 0003, Chen Chen 0077, Yaodong Yang, Luo Zhang, Wulong Liu, Jianye Hao

Introduction

Standard reinforcement learning (RL) agents often struggle to disentangle environmental dynamics from reward signals. This paper introduces Value Decomposition with Future Prediction (VDFP), a novel approach that separates value estimation into two distinct phases: predicting a latent representation of the future trajectory and then evaluating its return. This "foresee then evaluate" paradigm significantly enhances performance and robustness, particularly in environments with sparse or delayed rewards.

The Problem of Entanglement

In model-free RL, agents typically estimate the value of a state-action pair—the expected cumulative reward—using Temporal Difference (TD) or Monte Carlo (MC) methods. However, these methods entangle the world's dynamics (how states transition) with reward signals (the quality of those transitions). When rewards are delayed or noisy, credit assignment becomes difficult. VDFP draws inspiration from the human "Prospective Brain," which mentally simulates future sequences before judging their utility.

The VDFP Framework

The core innovation is the analytical decomposition of the Q-function: $$Q^\pi(s, a) \approx U(P^\pi(s, a))$$ Where $P^\pi(s, a)$ predicts the expected latent representation of the future trajectory, and $U$ is a policy-independent function mapping that representation to a discounted cumulative reward.

The VDFP architecture consists of a Representation Model (CNN), a Trajectory Return Model, and a Conditional VAE for future prediction.

The architecture employs three primary components:

  1. CNN-based Trajectory Representation: This module encodes state-action sequences into a compact latent space. The authors found CNNs to be more effective and faster than LSTMs for scanning trajectory features.
  2. Conditional VAE (cVAE): This component models the distribution of future trajectories. During inference, a "clipped noise" trick is used to estimate the expected future from this generative model.
  3. Trajectory Return Model: A linear or convex model (such as an Input Convex Neural Network) serves as the return function $U$, mapping latent trajectories to rewards.

Experimental Evaluation

The authors evaluated VDFP (integrated into DDPG and PPO as VD-DDPG and VD-PPO) on standard continuous control benchmarks from OpenAI Gym, including LunarLander-v2 and several MuJoCo environments.

Performance comparison of VD-DDPG against standard RL baselines across various continuous control tasks.

Key Results

  • Superior Performance: VD-DDPG consistently matched or outperformed standard DDPG and PPO across all standard MuJoCo tasks.
  • Robustness to Delay: In settings where rewards were delayed by up to 64 steps, VDFP remained stable while standard algorithms' performance collapsed. In some cases, VD-DDPG achieved 2x to 4x higher returns.
  • Efficiency: In discrete tasks like LunarLander, VD-DQN learned approximately twice as fast as vanilla DQN.

Key Insights

  • Disentanglement is Power: By separating "what will happen" from "how good is it," the agent can learn environmental dynamics even when rewards are missing or delayed.
  • Successor Representation (SR) as a Special Case: The authors demonstrate that the well-known SR is a linear, state-based version of their more general trajectory-based decomposition.
  • The "Clipped Noise" Trick: Clipping latent noise during generation effectively narrows the gap between a single sample and the true mean of the future distribution, enabling the VAE to function as a predictive model for expectations.

Conclusion and Future Work

VDFP offers a powerful way to decouple environmental dynamics from reward evaluation. While challenges remain regarding off-policy distribution shifts in VAE training and scaling to high-dimensional pixel inputs, the policy-independent nature of the return model opens exciting avenues for transfer learning across different tasks within the same environment.

Summary updated

BibTeX
@inproceedings{tang2021foresee,
  author = {Hongyao Tang and Zhaopeng Meng and Guangyong Chen and Pengfei Chen and Chen Chen and Yaodong Yang and Luo Zhang and Wulong Liu and Jianye Hao},
  title = {{Foresee then Evaluate: Decomposing Value Estimation with Latent Future Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i11.17182},
}
Figure