Introduction
In reinforcement learning (RL), the temporal credit-assignment problem asks: which past actions are responsible for a current reward? Since the inception of the field, researchers have leaned on the recency heuristic—the intuition that actions closer in time to a reward are more likely to have caused it. This principle is central to algorithms like TD($\lambda$), where "eligibility traces" cause credit to fade exponentially over time.
While biologically intuitive, the mathematical necessity of this heuristic has remained largely unproven. Could we improve learning by assigning credit to a specific "pulse" in the past, such as a fixed 10-step delay? This paper provides the first rigorous justification for the recency heuristic, demonstrating that it is a fundamental requirement for stable convergence in Temporal-Difference (TD) learning.
Defining the Recency Heuristic
The authors formalize the recency heuristic into two distinct categories based on how eligibility weights evolve over time:
- Weak Recency Heuristic: Eligibility weights are non-increasing over time.
- Strong Recency Heuristic: Eligibility weights are strictly decreasing over time.
By introducing a generalized return estimator, the researchers analyzed whether the resulting value-function operators remain "contractions." A contraction mapping is a mathematical property that guarantees an algorithm will converge to a unique fixed point (the correct value function) rather than diverging.
Theoretical Insights: Convexity and Stability
A primary contribution of this work is the "Convex Connection." The authors prove that any return estimator satisfying the weak recency heuristic is logically equivalent to a convex combination of $n$-step returns. This result unifies various return estimators under a single theoretical umbrella.
Crucially, violating the recency heuristic—for instance, by giving more credit to an action five steps ago than one two steps ago—often introduces "negative weights" into the underlying $n$-step returns. These negative weights increase the contraction modulus, making the learning process unstable. The paper shows that "smoothness" in the decay (like the exponential curve in TD($\lambda$)) is less important than the presence of an infinite tail. This tail allows for long-horizon credit assignment without the variance explosions associated with truncated estimators.
Empirical Evidence and Divergence
To validate these theories, the authors utilized a simple 2-state Markov Reward Process (MRP). They demonstrated that even a "benign" violation, such as a simple time delay, can cause the value function to diverge.
In larger-scale tests like the 19-state Random Walk, "long-tailed" estimators consistently outperformed truncated versions. This suggests that the empirical success of TD($\lambda$) stems not just from the recency of credit, but from its ability to integrate information over an infinite horizon safely.
Conclusion
This research transforms the recency heuristic from a biological intuition into a mathematical necessity for RL stability. While specific environments with fixed delays might theoretically benefit from non-recent credit assignment, current TD frameworks are not designed to handle them safely. Future work must rethink the formulation of reinforcement signals to allow for targeted credit assignment without sacrificing the convergence guarantees provided by the recency heuristic.
Summary updated