Introduction
In the standard stochastic multi-armed bandit (MAB) problem, an agent must navigate the exploration-exploitation trade-off to maximize cumulative rewards without any prior knowledge. However, real-world scenarios—such as refining search engine rankings or resuming clinical trials—often provide "historic data" from previous interactions. This paper explores how to optimally leverage this pre-existing, often unevenly distributed data to improve online learning performance.
The Challenge of Historic Data
A common pitfall in handling historic data is the "Naive" approach: simply selecting the arm with the highest historic mean and ceasing further exploration. The authors demonstrate that this strategy is fundamentally flawed. Because historic samples are finite, there is a non-zero probability that the observed mean is misleading. Consequently, a naive strategy can lead to regret that grows polynomially over time, failing to converge to the optimal arm.
Proposed Historic Bandit Algorithms
To address these challenges, the authors introduce three algorithms that integrate historic observations into well-established MAB frameworks:
- HUCB1 (Historic UCB1): This variant of the Upper Confidence Bound algorithm adjusts the exploration radius by incorporating $H_j$, the number of historic pulls for arm $j$. By tightening bounds based on the total evidence (historic + online), HUCB1 ensures more efficient exploration.
- HUCB3 (Historic UCB3): Based on the $\epsilon$-greedy UCB3, this algorithm employs a per-arm exploration rate $\epsilon_n^j$. This rate decays more rapidly for arms with extensive history, allowing the algorithm to focus resources on less-understood options.
- HUCBV (Historic UCB-Variance): Building on UCBV, this algorithm utilizes both the empirical mean and variance of historic rewards. This additional information allows for even tighter confidence bounds, particularly when reward distributions have low variance.
Empirical Evaluation: Malicious URL Classification
The proposed algorithms were tested using a real-world dataset of ~2.4 million URLs. The task was framed as a bandit problem where five SVM classifiers, pre-trained with different hyperparameters, served as the "arms." The reward was binary, based on the correct classification of a URL as malicious or benign. This setup simulates a scenario where multiple models are available, and the system must learn which one performs best on a stream of new data, given some initial performance history.
Results and Discussion
The empirical results confirm the superiority of the historic algorithms. As shown in the performance comparison below, HUCB1, HUCB3, and HUCBV all significantly outperform their standard counterparts and the naive strategy across various time horizons.
Among the proposed methods, HUCBV consistently achieved the lowest regret, highlighting the value of incorporating variance information. While HUCB1 showed some sensitivity to unbalanced historic data (where the optimal arm has few samples), it still maintained a clear advantage over non-historic methods.
The Power of Historic Data
A pivotal insight of this research is the relationship between the volume of history and the resulting regret. Theoretically, the authors prove that if the amount of historic data scales logarithmically with the time horizon, the regret of the HUCB algorithms drops from logarithmic to constant.
The chart above illustrates this effect: as the number of historic observations for the optimal arm ($H^*$) increases, the normalized regret decreases sharply. This confirms that even a relatively small amount of prior knowledge can fundamentally change the complexity of the learning task.
Conclusion
This work demonstrates that historic data, when integrated through principled exploration bounds, can drastically reduce regret in multi-armed bandit problems. By moving beyond naive exploitation and utilizing per-arm history, the HUCB family of algorithms provides a robust framework for "warm-starting" online learning systems. Future research may extend these techniques to more complex bandit settings, such as those involving continuous arm spaces or dueling feedback.
Summary updated