Introduction
In reinforcement learning, the Contextual Multi-Armed Bandit (MAB) framework is a cornerstone for sequential decision-making under uncertainty. A standard approach is the LINUCB algorithm, which balances exploration and exploitation using an upper confidence bound. However, the performance of LINUCB is highly sensitive to the hyperparameter $\alpha$, which determines the exploration magnitude. Traditionally, $\alpha$ is manually tuned—a process that is often impractical in dynamic or non-stationary environments where the optimal level of curiosity may shift over time.
This paper introduces two hierarchical bandit algorithms, OPLINUCB and DOPLINUCB, designed to automate the selection of $\alpha$. By treating hyperparameter tuning as a "meta-bandit" problem, these methods allow agents to learn the optimal exploration strategy online.
Methodology: Learning to Explore
The proposed approach utilizes a two-level hierarchy. Instead of relying on a fixed, human-selected $\alpha$, the agent maintains a set of candidate values and selects the most promising one at each time step.
OPLINUCB (Non-Parametric LINUCB)
OPLINUCB treats the choice of $\alpha$ as a stationary bandit problem. It employs a Thompson Sampling (TS) mechanism at the meta-level to select an $\alpha$ value based on its historical performance. This selected $\alpha$ is then passed to a standard LINUCB framework to choose the actual action (arm).
DOPLINUCB (Dynamic Non-Parametric LINUCB)
DOPLINUCB extends this concept by acknowledging that the ideal amount of exploration may be context-dependent. It uses a Conditional Inference Tree (CTree) to map the current context to the most effective $\alpha$. This allows the agent to be more "curious" in unfamiliar regions of the feature space while exploiting known regions with lower exploration.
Experimental Evaluation
The researchers evaluated these algorithms using the Adult Dataset from the UCI Machine Learning Repository, simulating a task to predict whether individuals earn over $50,000 based on demographic features. To test adaptability, the environment was made non-stationary by swapping the reward functions of different arms at fixed intervals (every 100, 1,000, or 10,000 iterations).
Key Results
In stationary environments, both OPLINUCB and DOPLINUCB performed competitively, often outperforming the average manually tuned model and eliminating the need for expert guesswork.
The true strength of the proposed methods emerged in non-stationary settings. As shown in the table below, DOPLINUCB significantly outperformed even the best-tuned fixed $\alpha$ models when the environment changed frequently. For instance, with a switch every 1,000 iterations, DOPLINUCB achieved a cumulative regret of 13,569, whereas the best fixed-parameter model (min) reached 15,331.
Discussion and Future Work
The "meta-bandit" approach represents a significant step toward fully autonomous reinforcement learning systems. By allowing the agent to "explore how to explore," DOPLINUCB provides robustness against concept drift without requiring manual intervention.
However, some limitations remain. The current implementation relies on a discrete set of candidate $\alpha$ values rather than searching a continuous space. Additionally, the hierarchical structure introduces computational overhead. Future research may focus on extending this meta-learning framework to other hyperparameters or more complex bandit architectures to further reduce the reliance on manual tuning.
Summary updated