Autoregressive Bandits

Francesco Bacchiocchi, Gianmarco Genalti, Davide Maran, Marco Mussi, Marcello Restelli, Nicola Gatti, Alberto Maria Metelli

Introduction

Classic multi-armed bandit (MAB) models typically assume that rewards are independent and identically distributed (i.i.d.) over time. However, many real-world applications—ranging from financial markets to retail sales—exhibit significant temporal dependencies. In these scenarios, an action taken today can influence the trajectory of future rewards. This paper, presented at AISTATS 2024, introduces the Autoregressive Bandits (ARB) framework to bridge the gap between simple bandits and complex Reinforcement Learning (RL).

Problem Formulation

The authors model rewards as an action-dependent autoregressive process of order $k$. Specifically, the reward $x_t$ at time $t$ is defined as: $$x_t = \gamma_0(a_t) + \sum_{i=1}^k \gamma_i(a_t)x_{t-i} + \xi_t$$ where $a_t$ is the action chosen at time $t$, $\gamma_i(a_t)$ are action-dependent coefficients, and $\xi_t$ is zero-mean noise. This formulation captures "memory" in the environment without the full complexity of continuous-state Markov Decision Processes (MDPs).

The AR-UCB Algorithm

To address this problem, the paper proposes the AutoRegressive Upper Confidence Bound (AR-UCB) algorithm. AR-UCB maintains estimates of the parameter vectors $\gamma$ for each action using Ridge-regularized least squares. It follows the principle of "optimism in the face of uncertainty" by selecting the action that maximizes an upper confidence bound of the expected reward, which includes a confidence bonus based on the current state (past rewards) and estimation uncertainty.

A significant theoretical finding is that when AR coefficients are non-negative, the optimal policy is myopic. This implies that the action maximizing the immediate expected reward also maximizes long-term cumulative reward, greatly simplifying the learning process.

Key Results and Empirical Evaluation

The authors prove that AR-UCB achieves sublinear regret of order $\tilde{O}(\sqrt{T})$. In empirical tests across various synthetic environments (Settings A, B, and C), AR-UCB consistently outperforms standard bandit baselines.

Cumulative regret of AR-UCB compared to standard bandit baselines across three different settings.

As shown in the figure above, traditional algorithms like UCB1 and EXP3 often exhibit linear regret in these settings because they fail to account for higher-order temporal dependencies. In contrast, AR-UCB effectively learns the underlying AR process.

Robustness and Limitations

The algorithm demonstrates robustness to misspecification of the AR order $k$. Even when the assumed order $\bar{k}$ is larger than the true order, the algorithm maintains sublinear regret, albeit with a slightly slower learning rate.

Sensitivity of AR-UCB performance to the assumed autoregressive order k-bar.

While powerful, the current framework relies on the non-negativity of coefficients to guarantee myopic optimality. Future work may explore oscillatory dynamics where coefficients can be negative, as well as extending the model to continuous action spaces.

Conclusion

Autoregressive Bandits provide a principled way to handle temporal correlation in online learning. By leveraging the structure of AR processes, AR-UCB achieves state-of-the-art performance in environments where traditional bandits struggle, offering a practical "sweet spot" between simplicity and expressive power.

Summary updated

BibTeX
@inproceedings{bacchiocchi2024autoregressive,
  author = {Francesco Bacchiocchi and Gianmarco Genalti and Davide Maran and Marco Mussi and Marcello Restelli and Nicola Gatti and Alberto Maria Metelli},
  title = {{Autoregressive Bandits}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
}
Figure