TL;DR
Policy churn is the surprisingly rapid and often unnecessary switching of greedy actions in deep reinforcement learning (RL) agents. This paper reveals that churn is a massive, overlooked driver of implicit exploration, potentially making traditional methods like $\epsilon$-greedy less critical than previously believed.
What Problem Does This Paper Address?
In value-based reinforcement learning, we expect agents to gradually refine their policies toward an optimal one. However, the authors identify a phenomenon they call policy churn: the greedy policy changes at a breakneck pace, often switching the "best" action in a large fraction of states after just a single gradient update.
This matters because most RL theory and practitioner intuition assumes policy changes are relatively slow and directed toward improvement. The authors found that even expert researchers underestimated the speed of these changes by three orders of magnitude. By studying churn, the paper aims to understand why it happens, whether it's harmful, and how it fundamentally changes our understanding of how RL agents explore their environments.
Methods
The researchers quantified policy change using the Total Variation Distance ($W$), which measures the "moved probability mass" between two policies. For greedy policies, this simply represents the fraction of states where the preferred action changed.
To isolate the causes of churn, they performed extensive ablation studies across:
- Architectures: Comparing standard DQN (DoubleDQN) and recurrent agents (R2D2).
- Function Approximation: Testing the difference between deep neural networks and linear models.
- Data/Target Stability: Using a "forked tandem" setup where a "passive" learner is trained on a fixed data distribution to see if non-stationarity drives churn.
- Algorithmic Variants: Testing "Advantage Learning" (which widens the gap between action values) and different optimizers (SGD, RMSProp, Adam).
Datasets
The study primarily utilizes standard RL benchmarks and toy problems:
- Atari 2600 (ALE): A representative subset of 15 games (e.g., Pong, Breakout, Asterix).
- CATCH: A toy environment used for a detailed case study because it allows for ground-truth dynamic programming comparisons.
- DM-Lab: A suite of 3D environments to verify the phenomenon in more complex visual settings.
- MNIST: Used as a supervised learning baseline to compare policy change in classification vs. reinforcement learning.
Key Insights and Ideas
- Churn is Ubiquitous and Fast: In a typical DQN run on Atari, the greedy policy changes in roughly 10% of all states after every single gradient update. Over a full training run, an agent might change its mind about the best action in a state a million times.
- The "Expert Gap": A survey of 50 deep RL practitioners revealed a median guess of 1,000 updates to see a 10% policy change. The empirical reality is just 1 update.
- Implicit Exploration: Churn acts as a powerful, temporally correlated form of exploration. Unlike $\epsilon$-greedy, which adds high-frequency random noise, churn-induced exploration is "consistent" over short periods, which helps agents perform "deeper" exploration.
- The Recipe for Churn: Churn isn't caused by any single factor like bootstrapping or non-stationary data. Instead, it is the symptom of high-variance updates applied to a global, non-linear function approximator (like a deep neural network). Linear models exhibit significantly less churn.
- Policy Null-Spaces: Much of this churn happens in "null-spaces"—states where multiple actions have similar values. This allows the agent to "change its mind" constantly without necessarily hurting its overall performance.
Key Results
- Exploration Collapse: As shown in Figure 2, removing both explicit noise ($\epsilon=0$) and churn (by acting with a laggy target network) causes performance to collapse in most games. However, keeping churn while setting $\epsilon=0$ (gold curves) often results in successful learning, proving churn is a viable driver of exploration.
- Linear vs. Deep: Freezing all but the top layer of a network (making it a linear model) reduces churn by nearly an order of magnitude, as seen in the left side of Figure 3.
- Advantage Learning (AL): Algorithms that explicitly increase the "action gap" (the value difference between the best and second-best action) significantly reduce churn, as shown in the right side of Figure 3.
Limitations and Future Work
The authors acknowledge that while they have characterized churn in value-based RL, its prevalence in actor-critic and model-based algorithms remains less explored (though preliminary results suggest it exists there too).
A major future direction is the development of explicit and controllable churn. Currently, churn is an "accidental" byproduct of noisy deep learning. If researchers can decouple this exploration effect from the learning dynamics, they could potentially design agents that explore more efficiently without the instability that often accompanies high-variance updates. The paper also suggests that our current off-policy correction methods might be overly conservative because they don't account for the fact that many rapid policy changes occur within a "null-space" that doesn't affect performance.
Summary updated