TL;DR
Standard exploration techniques that maximize state entropy often fail in supervised reinforcement learning because they inadvertently push agents away from high-value regions toward low-value ones. This paper introduces Value-Conditional State Entropy (VCSE), a novel exploration method that partitions the state space by value estimates and encourages diversity within those partitions. This simple shift prevents exploration from being biased toward "boring" low-value areas, significantly accelerating learning across MiniGrid, DeepMind Control Suite, and Meta-World benchmarks.
The Problem with Standard State Entropy
In Reinforcement Learning (RL), "exploration" is the art of visiting new states to find rewards. A popular strategy is to maximize state entropy—essentially rewarding the agent for visiting states it hasn't seen much, aiming for a uniform distribution over the environment.
While this works wonders in unsupervised settings (where there are no rewards), it hits a wall in supervised RL (where the agent has a specific task). In these tasks, agents naturally prefer high-value states that lead to rewards. However, a global entropy bonus sees this preference as an "imbalance." To make the distribution uniform again, the entropy bonus pushes the agent back toward low-value regions. If the path to a goal is narrow or difficult, the agent might spend all its time "exploring" the starting area rather than refining its path to the goal.
Value-Conditional State Entropy (VCSE)
To resolve this, the authors propose Value-Conditional State Entropy (VCSE). Instead of calculating entropy across all visited states, they calculate the entropy of states conditioned on their estimated values ($H(S|V)$).
Key Technical Components
- KSG Estimator: To estimate this conditional entropy without knowing the underlying probability distribution, the authors use the Kraskov-Stögbauer-Grassberger (KSG) estimator.
- Joint Space Distance: Instead of just looking at how far apart states are ($||s_i - s_j||$), the method looks at the maximum distance in a joint state-value space: $\max(||s_i - s_j||, ||v_i - v_j||)$.
- Value Partitioning: This distance metric effectively ensures that when the agent looks for its "nearest neighbors" to calculate an exploration bonus, it only considers states with similar expected returns.
- Intrinsic Reward: The agent is given a total reward $r_t = r^{extrinsic}_t + \beta \cdot r^{VCSE}_t$. The VCSE bonus encourages the agent to find diverse states within its current value bracket.
Key Insights
- "Apples-to-Apples" Exploration: By conditioning on value, VCSE prevents the distribution of low-value states from "washing out" the exploration signal in high-value regions. It encourages the agent to be curious about different ways to achieve the same level of success.
- Value vs. Reward: A key ablation study showed that conditioning on Value (long-term discounted return) is far superior to conditioning on Reward (immediate one-step feedback). Value provides a much richer signal for partitioning the state space into meaningful functional regions.
- Stability without Decay: Unlike many exploration methods that require a complex "decay schedule" for the exploration bonus ($\beta$), VCSE is remarkably stable with a fixed $\beta$. Because it doesn't over-explore low-value regions once they are diverse, it naturally focuses on high-value regions as the agent improves.
Experimental Results
The authors evaluated VCSE across three diverse and challenging benchmarks: MiniGrid (partially observable 2D grid worlds), DeepMind Control Suite (DMC) (continuous control tasks), and Meta-World (complex robotic manipulation). VCSE consistently outperformed standard state entropy (SE) and vanilla RL algorithms.
- MiniGrid: In the
LavaGapS7task, VCSE reached an ~89% success rate, while the standard SE baseline struggled at ~14%. - Meta-World: On the
Door Opentask, VCSE achieved an 85% success rate within 100k steps, whereas the state-of-the-art DrQv2 baseline (without VCSE) failed to achieve any success at all. - DMC: VCSE accelerated learning even in dense reward tasks like
Walker Walk, where standard entropy methods actually degraded performance by distracting the agent from the reward.
Limitations and Future Work
- Theoretical Gap: While empirically strong, the paper lacks a formal theoretical proof of why value-conditional entropy is the optimal objective for supervised exploration.
- Cold Start Phase: Until the agent receives its first reward, all states have the same estimated value (zero). In this initial phase, VCSE behaves exactly like standard state entropy.
- Computational Overhead: The method relies on k-nearest neighbor (k-NN) searches in a replay buffer. While manageable for the tested batch sizes, this could become a bottleneck for extremely large-scale applications. Learning-based entropy estimators could be a promising future direction to mitigate this.
Summary updated