Abstract
Nonstationary phenomena, such as satiation effects in recommendations, have mostly been modeled using bandits with finitely many arms. However, the richer action space provided by linear bandits is often preferred in practice. In this work, we introduce a novel nonstationary linear bandit model, where current rewards are influenced by the learner's past actions in a fixed-size window. Our model, which recovers stationary linear bandits as a special case, leverages two parameters: the window size $m \ge 0$, and an exponent $\gamma$ that captures the rotting ($\gamma < 0$) or rising ($\gamma > 0$) nature of the phenomenon. When both $m$ and $\gamma$ are known, we propose and analyze a variant of OFUL which minimizes regret against cyclic policies. By choosing the cycle length so as to trade-off approximation and estimation errors, we then prove a bound of order $\sqrt{d}\,(m+1)^{\frac{1}{2}+\max\{\gamma,0\}}\,T^{3/4}$ (ignoring log factors) on the regret against the optimal sequence of actions, where $T$ is the horizon and $d$ is the dimension of the linear action space. Through a bandit model selection approach, our results are then extended to the case where both $m$ and $\gamma$ are unknown. Finally, we complement our theoretical results with experiments comparing our approach to natural baselines.
Introduction
In the classical multi-armed bandit problem, a learner seeks to maximize cumulative rewards by repeatedly selecting actions from a fixed set. Linear bandits extend this framework to high-dimensional action spaces where rewards are linear functions of action vectors. However, standard linear bandit models typically assume stationarity: the reward for a specific action remains constant over time.
In real-world applications, this assumption often fails. For instance, in recommendation systems, a user might experience satiation (rotting rewards) if shown the same content repeatedly. Conversely, in computational tasks, repeated use of a specific resource might lead to caching benefits (rising rewards). While nonstationarity has been studied for finite-armed bandits, extending these concepts to continuous linear action spaces introduces significant challenges, particularly due to cross-arm dependencies where playing one action affects the rewards of similar actions.
The Linear Bandits with Memory (LBM) Model
This paper introduces the Linear Bandits with Memory (LBM) model to address these nonstationary effects. In LBM, the reward at time $t$ depends not only on the current action $a_t$ but also on a memory matrix $A_{t-1}$ representing the last $m$ actions. The nature of the memory effect is governed by an exponent $\gamma$:
- Rotting ($\gamma < 0$): Repeatedly choosing similar actions decreases future rewards (satiation).
- Rising ($\gamma > 0$): Repeatedly choosing similar actions increases future rewards (learning/caching).
- Stationary ($\gamma = 0$): The model recovers the standard linear bandit setting.
Algorithmic Framework: O3M and Cyclic Policies
Because current actions influence future rewards, the optimal strategy is no longer a single "best" action but a sequence of actions. The authors focus on cyclic policies, which repeat a block of actions to maximize long-term average reward.
To learn in this environment, the authors propose O3M (Over-Optimistic OFUL-Memory). O3M is a block-based adaptation of the Optimism in the Face of Uncertainty Linear (OFUL) algorithm. It treats a sequence of actions as a single decision unit and employs a refined estimation technique to maintain computational efficiency despite the memory window.
Handling Unknown Parameters
In practice, the memory window $m$ and the exponent $\gamma$ are rarely known. The authors address this through a Bandit Model Selection approach. They employ a "Master" algorithm (a bandit combiner) that runs multiple instances of O3M with different parameter hypotheses, learning to favor the instance that best matches the environment's true dynamics.
Key Insights
- Avoiding the Greedy Trap: A purely "greedy" strategy that maximizes immediate reward can lead to linear regret. By ignoring how current choices degrade or enhance future rewards, greedy agents fail to reach the long-term optimum.
- Cross-Arm Dependencies: LBM naturally captures how actions in a vector space interact. For example, playing a "Rock" song might slightly rot the reward for other "Rock" songs while leaving "Jazz" songs unaffected, a relationship modeled via the covariance of action vectors.
- Computational Efficiency: The authors developed a method to "refine" the estimation process, ensuring that the complexity of the algorithm does not scale poorly with the memory window size $m$.
Results and Discussion
Theoretically, the authors establish a regret bound of $\tilde{O}(\sqrt{d}(m+1)^{1/2+\max\{\gamma,0\}} T^{3/4})$. While this rate is slower than the $T^{1/2}$ rate typical of stationary bandits, it represents a significant advancement for models incorporating long-term memory effects in continuous spaces.
Empirically, O3M consistently outperforms baseline algorithms like vanilla OFUL and "Oracle Greedy" strategies in both rotting and rising scenarios. The model selection framework also proves robust, successfully identifying the correct environment parameters without prior knowledge.
Future Directions
Future work may explore proving lower bounds to determine if the $T^{3/4}$ rate is optimal. Additionally, the current model uses a fixed memory window; extending this to "soft" memory (e.g., exponentially decaying weights) could better model human behavior or physical systems. Finally, improving the optimization of action blocks—currently handled via gradient ascent—remains an area for further refinement.
Summary updated