Efficient and Robust High-Dimensional Linear Contextual Bandits

Cheng Chen, Luo Luo, Weinan Zhang, Yong Yu, Yijiang Lian

Introduction

Linear contextual bandits are a cornerstone of modern decision-making systems, powering applications from personalized advertising to clinical trials. However, the standard algorithm, LinUCB, faces a significant scalability hurdle in high-dimensional settings. Because it requires maintaining and inverting a $d \times d$ covariance matrix, its per-step computational complexity is $O(d^2)$. In real-world scenarios where feature dimensions ($d$) reach the thousands, this quadratic cost becomes prohibitive for real-time deployment.

While matrix sketching techniques have been proposed to mitigate this, they often compromise positive definite monotonicity. This property ensures that as more data is observed, the algorithm's confidence estimates remain mathematically consistent. Breaking this monotonicity leads to loose theoretical regret bounds and unstable performance.

Methodology: CBSCFD

To address these challenges, this work introduces CBSCFD (Contextual Bandits via Spectral Compensation Frequent Directions). The core innovation is a two-fold approach:

  1. Spectral Compensation Frequent Directions (SCFD): Unlike standard sketching methods that simply discard information, SCFD tracks the "mass" removed from the matrix spectrum during compression. It adds this mass back as a diagonal compensation matrix ($\alpha_t I_d$), ensuring the sketched matrix remains a "safe" upper bound of the true covariance in a positive semi-definite (PSD) sense.
  2. Efficient Updates: By leveraging the Woodbury Matrix Identity, CBSCFD reduces the per-step complexity from $O(d^2)$ to $O(md)$, where $m$ is a small sketch size. This allows for near-instantaneous updates even in high-dimensional feature spaces.

Experimental Evaluation

The authors evaluated CBSCFD against state-of-the-art methods, including LinUCB, SOFUL, and CBRAP, using synthetic data, MNIST, and CIFAR-10 datasets.

Comparison of cumulative regret and running time across different methods.

As shown in the results, CBSCFD achieves a dramatic reduction in running time—orders of magnitude faster than LinUCB—while maintaining cumulative regret levels that are nearly identical to the gold-standard LinUCB. In contrast, other sketching methods like SOFUL and CBRAP exhibit significantly higher regret in high-dimensional environments.

Robustness and Key Insights

A critical finding of this research is the robustness of CBSCFD to the regularization parameter $\lambda$. Most bandit algorithms require careful tuning of $\lambda$ to balance exploration and exploitation. Because SCFD adaptively adjusts its compensation based on the incoming data stream, it maintains high performance across a vast range of initial $\lambda$ values.

Sensitivity of mistakes to the regularization parameter $\lambda$.

The theoretical analysis further supports these empirical findings. The authors improved the regret bound dependency on the "spectral tail" (the discarded information) from $O(\epsilon^{3/2})$ in previous work to $O(\epsilon^{1/2})$, providing a tighter guarantee of performance.

Conclusion and Future Work

CBSCFD offers a practical solution for high-dimensional contextual bandits by combining the speed of matrix sketching with the theoretical rigor of spectral compensation. While the current model assumes linear rewards, future research could explore extending these sketching techniques to non-linear models or distributed/federated learning environments. Additionally, automating the selection of the sketch size $m$ based on the data's intrinsic rank remains an open challenge.

Summary updated

BibTeX
@inproceedings{chen2020efficient,
  author = {Cheng Chen and Luo Luo and Weinan Zhang and Yong Yu and Yijiang Lian},
  title = {{Efficient and Robust High-Dimensional Linear Contextual Bandits}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.24963/ijcai.2020/588},
}
Figure