Abstract
Reinforcement learning (RL) agents trained on diverse scenes of a single task often encounter high variance in value estimation. Standard approaches typically compute a unimodal average value across all scenes, leading to suboptimal policy updates. We introduce Dynamic Value Estimation (DVE), a method that models the value function as a multi-modal distribution. DVE utilizes a sparse attention mechanism to dynamically select the most appropriate value "mode" for a given scene based on the agent's trajectory. Our evaluation on the OpenAI ProcGen and AI2-THOR benchmarks shows that DVE significantly enhances performance and navigation efficiency, achieving up to a 409% improvement in reward-per-step in complex environments.
Introduction
A primary goal in Reinforcement Learning is to develop agents capable of generalizing across varied environments. In multi-scene training, agents are exposed to numerous layouts of the same task to encourage robustness. However, this diversity introduces a "blurry" value estimation problem: visually similar states across different scenes may have vastly different expected future rewards. Standard algorithms like PPO, which rely on a unimodal value function, struggle to resolve this ambiguity, resulting in high sample variance and inefficient training.
Dynamic Value Estimation (DVE)
The proposed Dynamic Value Estimation (DVE) framework replaces the traditional single-value critic with a multi-modal estimator. The network predicts $N_b$ distinct value hypotheses simultaneously.
Sparse Attention and Loss
To navigate these hypotheses, DVE employs an LSTM-based attention mechanism that leverages temporal context to identify the correct value mode for the current scene. A critical component is the Confusion-Contribution Loss ($L^{CC}$), which enforces sparsity. This ensures the agent commits to a single, specialized value mode rather than averaging across multiple hypotheses.
As illustrated in Figure 1, the true value function in multi-scene settings is inherently multi-modal (middle column). Standard estimators (right column) fail to capture this complexity, whereas DVE's multi-modal approach allows for precise, scene-specific value estimation.
Experimental Results
We benchmarked DVE against standard PPO and non-sparse dynamic baselines using the OpenAI ProcGen suite and AI2-THOR navigation tasks.
Performance Gains
DVE demonstrated superior performance across various metrics. In the FruitBot environment, the sparse DVE model achieved a 215.1% increase in total reward over the baseline. Furthermore, navigation efficiency—the reward earned per timestep—increased by 409.1% in CaveFlyer.
Figure 3 shows that DVE (Sparse Dynamic) consistently reaches higher reward plateaus while significantly reducing episode lengths. This reduction in episode length indicates that the agent performs more purposeful navigation and avoids the aimless exploration characteristic of unimodal baselines.
Unsupervised Skill Decomposition
Empirical analysis revealed that the learned value clusters correspond to distinct behavioral skills. For instance, in platformer games, different modes specialize in tasks like "enemy avoidance" or "precision climbing." This decomposition emerges naturally without human labeling, suggesting that DVE implicitly learns a hierarchical structure of the task.
Conclusion
Dynamic Value Estimation addresses the variance bottleneck in multi-scene RL by modeling value functions as multi-modal distributions. By combining sparse attention with a specialized loss function, DVE enables agents to resolve scene-specific ambiguities, leading to dramatic improvements in sample efficiency and final performance. Future research will investigate the utility of these learned value modes for explicit hierarchical reinforcement learning.
Summary updated