Abstract
Standard Reinforcement Learning (RL) agents are typically designed to make a decision at every time step. However, many real-world tasks contain long sequences of non-critical states. We present Lazy-MDPs, a framework that introduces a "lazy action" allowing agents to defer control to a default policy. By penalizing active control with a cost $\eta$, the agent learns to intervene only in critical states. This approach provides inherent interpretability and enhances performance in hard-exploration tasks by focusing learning on pivotal decision points.
Introduction
In standard RL, an agent must determine the optimal action for every state to maximize cumulative reward. This assumption often leads to over-complex policies and makes it difficult to interpret which states are truly critical for success. For instance, in a game like Bowling, the initial aim is crucial, but the subsequent movement of the ball is largely deterministic or handled by the game engine.
The core motivation behind Lazy-MDPs is that deciding when to act is as fundamental as deciding how to act. By allowing an agent to be "lazy," we can identify the minimal set of states where human-like or high-precision control is necessary.
Methodology: The Lazy-MDP Framework
The authors extend the standard Markov Decision Process (MDP) into a Lazy-MDP by introducing two primary components:
- The Lazy Action ($\bar{a}$): The agent's action space is augmented. Choosing $\bar{a}$ defers the decision to a default policy $\pi_0$. This default policy can be a simple heuristic, a random policy, or a previously trained model.
- The Control Penalty ($\eta$): To prevent the agent from taking control unnecessarily, every non-lazy action incurs a penalty $\eta$.
The decision to take control is governed by the lazy-gap, defined as the difference between the value of the best specific action and the expected value of the default policy. Theoretically, an optimal agent in a Lazy-MDP will only act when the lazy-gap exceeds $\eta$. This mechanism naturally partitions the state space into "critical" and "non-critical" regions.
Experimental Setup
The framework was evaluated on:
- Gridworlds: Specifically "Rivers and Bridges" and "Key-Door-Treasure" (KDT), designed to test selective control and long-term planning.
- Atari 2600: A comprehensive suite of 60 games from the Arcade Learning Environment, ranging from reactive games like Pong to hard-exploration challenges like Frostbite and Ms. Pacman.
Key Insights
Interpretability by Construction
Unlike post-hoc saliency maps, Lazy-MDPs offer "interpretability by construction." The states where the agent chooses to act are explicitly those where the default policy is insufficient. In Breakout, for example, the agent only intervenes when the ball is near the paddle, effectively creating a heatmap of task importance.
The Lazy Exploration Bonus
Counter-intuitively, laziness can improve exploration. When the default policy is random, the agent is forced to explore stochastically in non-critical areas. This prevents the agent from being lured into "distractor" rewards—small, local rewards that require active control to maintain but lead to dead ends—because the cost $\eta$ of staying in those states outweighs the minor rewards.
Stability in Policy Improvement
When improving upon an existing policy, Lazy-MDPs outperform standard "warm restarts." Instead of fine-tuning the entire policy (which can be unstable), the Lazy-MDP agent learns to surgically override the old policy only in states where it performs poorly.
Results
- Efficiency: In many Atari environments, agents maintained near-baseline performance while taking control in only 10% to 30% of states.
- Exploration Breakthroughs: In Frostbite, a notoriously difficult exploration game, the Lazy-MDP agent achieved 200% of the score of a standard DQN. In PrivateEye, it outperformed the baseline while acting only 20% of the time.
- Superior State Partitioning: The lazy-gap proved to be a more precise measure of state importance than traditional metrics like the action-gap, which often highlight entire optimal trajectories rather than specific decision points.
Conclusion and Future Work
Lazy-MDPs provide a robust framework for learning efficient and interpretable policies. The main challenge remains the sensitivity of the penalty parameter $\eta$. Future research aims to automate the selection of $\eta$, potentially through a "control budget" or dynamic adjustment based on learning progress. Extending this framework to continuous control domains, such as robotics, also represents a promising direction for creating more autonomous and understandable systems.
Summary updated