Abstract
Efficient exploration remains a fundamental challenge in Reinforcement Learning (RL), particularly in environments where rewards are sparse or absent. Traditional exploration strategies often rely on Markovian policies, which determine actions based solely on the current state, leading to redundant pathing and inefficient state-space coverage. This paper introduces $\eta\psi$-Learning, a novel framework that enables agents to maximize state visitation entropy within a single trajectory. By integrating Predecessor Representations (tracking past visitation) with Successor Representations (predicting future visitation), the agent learns a non-Markovian policy that systematically "sweeps" through an environment. Experimental results across discrete grid worlds and continuous robotic control tasks demonstrate that $\eta\psi$-Learning achieves significantly higher entropy and faster coverage than state-of-the-art Markovian and Meta-RL baselines.
1. Introduction
In many real-world scenarios, an agent must explore its environment thoroughly before a specific goal is even identified. Consider the task of searching a house for a lost object; an efficient searcher remembers which rooms have already been inspected and prioritizes those that have not. However, most standard RL exploration algorithms are Markovian—they lack a functional memory of the current episode's history. This often results in agents revisiting the same states repeatedly, trapped in "local loops" because their current state alone does not signal that the surrounding area has already been exhausted.
This research addresses the challenge of maximizing state coverage (entropy) within a finite, single trajectory. The authors propose moving beyond the Markovian constraint by conditioning the agent's policy on its entire past experience within an episode, allowing for strategic, non-redundant exploration.
2. Methodology: $\eta\psi$-Learning
The core of the proposed method is the $\eta\psi$-Learning framework, which decomposes the total state visitation distribution of a trajectory into two distinct components:
- Predecessor Representation ($\eta$): A vector that maintains a count or frequency of states visited so far in the current trajectory. This serves as the agent's internal "search history."
- Successor Representation ($\psi$): A predictive model that estimates the discounted future state visitations, given the agent's current policy and state.
By combining these two representations, the agent can estimate the total visitation distribution for an entire trajectory. The utility function, $Q_{expl}$, is defined as the Shannon entropy of this combined distribution.
Unlike traditional Maximum Entropy (MaxEnt) methods that aim for uniform visitation over an infinite number of trials, $\eta\psi$-Learning seeks to make the visitation of a single trial as uniform as possible. This objective encourages the agent to move toward "novel" future paths that minimize overlap with its own predecessor history. The framework is versatile, supporting both finite action spaces (via Q-learning updates) and infinite action spaces (via Deterministic Policy Gradient approaches).
3. Experimental Setup
The researchers evaluated $\eta\psi$-Learning against a suite of challenging environments designed to test navigation and coverage efficiency:
- Discrete MDPs: Including ChainMDP, RiverSwim (testing stochasticity), and complex layouts like TwoRooms and FourRooms, where narrow passages and walls impede uniform coverage.
- Continuous Control: Reacher and Pusher tasks involving multi-joint robotic arms. In these settings, the objective was to maximize the entropy of the robotic fingertip's coordinates in 3D space.
4. Key Insights and Results
4.1. Non-Markovianity as a Strength
The study demonstrates that for efficient exploration, agents must reason over long interaction sequences. By conditioning the policy on trajectory history, $\eta\psi$-Learning expresses complex "sweeping" behaviors—systematically moving from one area to another—that are mathematically impossible for a state-only Markovian policy to replicate.
4.2. Quantitative Performance
- Entropy Gains: $\eta\psi$-Learning consistently achieved 20-50% higher entropy than standard MaxEnt baselines across all tested environments.
- Coverage Efficiency: In the FourRooms environment, the agent reached nearly 90% state coverage within a single trajectory, while Markovian baselines plateaued near 60%.
- Comparison to Meta-RL: When compared to VariBAD, a state-of-the-art Meta-RL method, $\eta\psi$-Learning identified hidden goals significantly faster. This suggests that maximizing coverage is often a more effective meta-strategy for search than attempting to infer a specific task.
4.3. Deterministic Exploration
A notable advantage of this framework is its ability to learn a deterministic exploration policy. While many methods rely on stochastic noise (like $\epsilon$-greedy) to stumble upon new states, $\eta\psi$-Learning moves strategically toward the least-visited predicted future, resulting in more purposeful and less erratic behavior.
5. Limitations and Future Work
While $\eta\psi$-Learning represents a significant step forward, several avenues for future research remain:
- High-Dimensional Scaling: The current reliance on one-hot state embeddings for entropy calculation limits scalability to pixel-based inputs (e.g., raw camera feeds).
- Partial Observability: Future iterations could extend the framework to POMDPs, where the agent must manage uncertainty regarding its own location alongside its visitation history.
- State Abstraction: Integrating the method with learned state abstractions would allow the entropy objective to function in complex, continuous feature spaces without requiring manual sub-selection of dimensions.
6. Conclusion
$\eta\psi$-Learning provides a robust framework for systematic exploration by explicitly accounting for where an agent has been and where it is likely to go. By maximizing single-trajectory state entropy, the method enables agents to cover environments with unprecedented efficiency, offering a powerful alternative to traditional Markovian exploration strategies.
Summary updated