A UCB Bandit Algorithm for General ML-Based Estimators
Yajing Liu, Erkao Bao, Linqi Song
TL;DR
ML-UCB introduces a generalized UCB framework that integrates arbitrary machine learning estimators by calibrating exploration to the estimator's learning curve. By modeling the Mean Squared Error as $\text{MSE}(n) = C n^{-s}$ and using a learning-curve–driven $\psi$-UCB bound, the approach achieves sublinear regret under a generalized $\psi$-decay with rate $s$ and provides a model-agnostic way to combine ML with bandits. Theoretical guarantees are complemented by experiments on online matrix factorization for collaborative filtering, showing superior regret performance to LinUCB across settings and demonstrating robust exploration with varying $s$. This framework enables principled, adaptive integration of diverse ML models into sequential decision problems, with practical impact in recommender systems and beyond.
Abstract
We present ML-UCB, a generalized upper confidence bound algorithm that integrates arbitrary machine learning models into multi-armed bandit frameworks. A fundamental challenge in deploying sophisticated ML models for sequential decision-making is the lack of tractable concentration inequalities required for principled exploration. We overcome this limitation by directly modeling the learning curve behavior of the underlying estimator. Specifically, assuming the Mean Squared Error decreases as a power law in the number of training samples, we derive a generalized concentration inequality and prove that ML-UCB achieves sublinear regret. This framework enables the principled integration of any ML model whose learning curve can be empirically characterized, eliminating the need for model-specific theoretical analysis. We validate our approach through experiments on a collaborative filtering recommendation system using online matrix factorization with synthetic data designed to simulate a simplified two-tower model, demonstrating substantial improvements over LinUCB
