Abstract
Traditional multi-armed bandit (MAB) algorithms optimize for the expected reward (mean), which is highly susceptible to outliers and adversarial noise. This paper introduces a robust framework for "modal bandits," which evaluates arms based on the mode of their reward distributions. We provide the first theoretical robustness and privacy guarantees for nonparametric mode estimation using $k$-nearest neighbor ($k$-NN) density estimators. Our proposed Modal UCB algorithm demonstrates significant resilience against adversarial perturbations, offering a reliable alternative for decision-making in contaminated environments.
Introduction: The Case for Modal Bandits
In stochastic multi-armed bandits, an agent seeks to maximize cumulative rewards by identifying the best arm. Conventionally, "best" is defined by the highest mean reward. However, the empirical mean is notoriously sensitive to extreme values. A single outlier or a small amount of adversarial noise can drastically shift the mean, leading an agent to prefer suboptimal arms.
As illustrated in the figure above, a distribution with a heavy tail (Arm 1) might have a higher mean than a more concentrated distribution (Arm 2), even if the latter consistently yields a specific reward. By targeting the mode—the most probable value—we can develop algorithms that are naturally immune to distant outliers.
Robust and Private Mode Estimation
We utilize a $k$-nearest neighbor ($k$-NN) based density estimator to identify the primary mode of a reward distribution. We rigorously prove that this estimator is robust to adversarial data contamination: as long as the number of injected points $\ell$ is less than the neighborhood size $k$, an adversary cannot arbitrarily shift the estimated mode.
Furthermore, we extend this to a differentially private setting. By incorporating a Gaussian noise mechanism into the $k$-NN estimator, we provide formal privacy guarantees, ensuring that the inclusion or exclusion of a single data point does not significantly impact the output. This is crucial for applications involving sensitive user data.
The Modal Bandit Framework
We redefine the bandit problem to minimize "modal regret," which measures the difference between the mode of the chosen arm and the optimal mode. We introduce two primary algorithms:
- Modal UCB: An adaptation of the Upper Confidence Bound strategy. It calculates upper bounds based on the convergence rates of the $k$-NN mode estimator, allowing for efficient exploration-exploitation trade-offs.
- Uniform Sampling: A strategy for Probably Approximately Correct (PAC) identification of the $\epsilon$-optimal arm.
While mode estimation is statistically more demanding than mean estimation—requiring a sample complexity that scales with the dimensionality of the data—it provides a level of robustness that mean-based methods cannot match.
Empirical Validation and Key Results
The robustness of our mode estimator was tested against standard mean and median estimators using several OpenML benchmark datasets. We simulated data corruption by removing a small percentage of samples and injecting high-variance Gaussian noise.
The results, summarized in the table above, highlight the mode's inherent stability. For instance, in the Blood dataset, the mean estimator deviated by 5.82 under corruption, whereas the mode estimator's output remained unchanged (deviation of 0). In synthetic bandit simulations, Modal UCB successfully ignored adversarial noise sequences that completely misled traditional mean-based UCB algorithms.
Conclusion
This research establishes the first formal robustness and privacy guarantees for nonparametric mode estimation and demonstrates its practical utility in multi-armed bandits. While the statistical cost of mode estimation is higher, the resulting "modal bandits" offer a powerful solution for robust decision-making in the presence of outliers and adversarial interference. Future work will explore extensions to contextual settings and multi-modal reward structures.
Summary updated