Classical online learning algorithms typically assume "perfect recall," maintaining an internal state that summarizes the entire history of rewards from the very first round. However, in many modern applications, this assumption is neither realistic nor desirable. This paper investigates the bounded recall setting, where an algorithm can only make decisions based on the most recent $M$ rounds of information, and explores the theoretical limits and algorithmic possibilities of learning with a "short memory."
Why Bounded Recall?
The authors identify three primary motivations for studying online learning under bounded recall:
- Human Behavior: Humans naturally exhibit "recency bias," prioritizing recent events over distant ones. Bounded recall models this cognitive constraint more accurately than infinite-memory models.
- Sequence Models: Modern Large Language Models (LLMs) operate on a fixed context window. Understanding how these models perform as online learners inherently requires a bounded-recall framework.
- Privacy Regulations: Laws like the GDPR enforce a "right to be forgotten," meaning organizations must eventually delete old user data. Algorithms must function effectively while actively excluding stale information.
The core challenge in this setting is determining whether an algorithm can achieve "no-regret" (performing as well as the best fixed action in hindsight) if it is strictly limited to observing the last $M$ rewards.
The Failure of Standard Approaches
Standard "mean-based" learning algorithms, such as Hedge or Follow-The-Regularized-Leader (FTRL), are the workhorses of online learning. However, the authors prove that these algorithms fail miserably in the bounded recall setting, incurring constant regret.
Most popular algorithms are "symmetric"—if you permute the order of the last $M$ rewards, the output remains the same. The authors prove a fundamental limitation: any symmetric bounded-recall algorithm must incur constant regret. To succeed with limited memory, the learner must care about the chronological order of events. Mean-based algorithms treat all $M$ rounds equally, allowing an adversary to craft a sequence that looks optimal "on average" over the window but is actually a poor choice for the current round.
The Average Restart Algorithm
To overcome these limitations, the paper defines an $M$-bounded-recall algorithm as one where the output at time $t$ is a fixed function of the rewards from the previous $M$ rounds. They distinguish between two approaches:
- Periodic Restart: An algorithm that runs a standard learner for $M$ rounds, wipes its memory, and starts over. While effective, this is "non-stationary" because the decision rule changes depending on the current position in the $M$-round cycle.
- Stationary Bounded-Recall: The decision rule is a fixed function of the last $M$ rewards, regardless of the current time $t$.
The primary algorithmic contribution of the paper is the AVERAGERESTART algorithm. Instead of relying on a single sliding window, it conceptually averages the outputs of multiple learners, each of which "restarted" at a different offset within the recent memory window.
By averaging these restarted learners, the algorithm breaks symmetry and becomes asymmetric. It inherently places more weight on recent rewards (e.g., 1 round ago) than older rewards (e.g., $M$ rounds ago), even though both fall within the recall window.
Key Results and Performance
The authors provide strong theoretical guarantees for their approach:
- Lower Bound: They prove that any $M$-bounded recall algorithm must incur at least $\Omega(\sqrt{\log d / M})$ regret per round.
- Optimal Regret: The
AVERAGERESTARTalgorithm achieves a per-round regret of $O(\sqrt{\log d / M})$, perfectly matching the lower bound. This proves that limited memory only penalizes the learner by a factor related to the window size $M$. - Simulation Performance: In environments with "Periodic Drifting Rewards" (where the best action changes over time), bounded-recall algorithms actually outperform standard full-horizon algorithms because they adapt faster and avoid getting bogged down by irrelevant historical data.
Limitations and Future Work
While this paper establishes a strong foundation for bounded-recall learning, several open challenges remain:
- Bandit Feedback: This work assumes a "full information" setting where the learner sees the rewards for all possible actions every round. Extending these guarantees to the Bandit setting (where only the chosen action's reward is observed) is an open problem.
- Computational Complexity:
AVERAGERESTARTis more computationally expensive than a simple sliding window, as it requires simulating multiple learning processes simultaneously. - Adaptive Adversaries: The current theoretical results hold for "oblivious" adversaries who pick rewards in advance. Further study is needed to understand performance against "adaptive" adversaries who react to the learner's previous decisions.
Summary updated