Abstract
We consider the problem of computing the probability of maximality (PoM) of a Gaussian random vector, i.e., the probability for each dimension to be maximal. This is a key challenge in applications ranging from Bayesian optimization to reinforcement learning, where the PoM not only helps with finding an optimal action, but yields a fine-grained analysis of the action domain, crucial in tasks such as drug discovery. Existing techniques are costly, scaling polynomially in computation and memory with the vector size. We introduce LITE, the first approach for estimating Gaussian PoM with almost-linear time and memory complexity. LITE achieves SOTA accuracy on a number of tasks, while being in practice several orders of magnitude faster than the baselines. This also translates to a better performance on downstream tasks such as entropy estimation and optimal control of bandits. Theoretically, we cast LITE as entropy-regularized UCB and connect it to prior PoM estimators.
Introduction
In decision-making under uncertainty, such as drug discovery or robotics, rewards are often modeled as a Gaussian random vector. A fundamental quantity in these domains is the Probability of Maximality (PoM): the probability that a specific action or dimension is the best among all alternatives. PoM is the core mechanism for Thompson Sampling and information-theoretic Bayesian Optimization.
However, calculating PoM is computationally intensive. Standard Monte Carlo (TS-MC) methods converge slowly and scale poorly, typically requiring $O(|X|^3)$ or $O(|X|^4)$ operations relative to the number of actions $|X|$. As action spaces grow into the millions, these methods become infeasible, forcing a reliance on crude heuristics that often miss the optimal choice.
The LITE Framework
We propose LITE (Linear-Time Independence-based Estimators), the first framework to estimate Gaussian PoM with nearly linear time and memory complexity. LITE relies on two key approximations:
- Independence Assumption: By adopting a mean-field approximation and treating reward vector entries as independent, we reduce a high-dimensional integral into a tractable one-dimensional integral.
- Variational Approximation: We approximate the resulting integrand using a Gaussian Cumulative Distribution Function (CDF), avoiding the linear scaling of numerical integration.
We develop two variants: F-LITE, a fast version using a shared normalizing threshold found via binary search (theoretically linked to entropy-regularized UCB), and A-LITE, which uses nested binary search for higher fidelity.
Empirical Evaluation
LITE was evaluated across synthetic distributions, Gaussian Process (GP) posteriors, and high-dimensional control tasks like quadcopter stabilization.
Computational Efficiency
LITE provides a massive leap in efficiency. On large-scale tasks, LITE can reduce computation time from weeks to seconds. For instance, on an NVIDIA A100 GPU, LITE completed a task in 30 seconds that would take the standard Independence Assumption baseline approximately 21 days. As shown in the runtime analysis, LITE maintains near-linear scaling as the domain size increases, whereas traditional Monte Carlo methods scale exponentially in time.
Estimation Accuracy
Despite the independence assumption, LITE maintains high accuracy. It consistently outperforms existing efficient estimators like EST and VAPOR in Total Variation (TV) distance to the ground truth across various scenarios, including those with strong dependencies like GPs.
Downstream Applications and Insights
- Entropy Estimation: LITE provides stable and accurate entropy estimates for the maximizer, outperforming Thompson Sampling which often underestimates entropy without massive sample sizes.
- Differentiability: LITE offers closed-form derivatives, enabling its use in gradient-based optimization pipelines like Inverse Reinforcement Learning.
- Optimization Performance: In practical tasks like quadcopter control, LITE-based candidate selection improves recall for the true optimal action compared to simple mean-reward heuristics.
Conclusion
LITE enables the use of PoM in large-scale applications where it was previously computationally prohibitive. By combining an independence assumption with variational techniques, it achieves orders-of-magnitude speedups without sacrificing accuracy. Future work includes extending LITE to heteroscedastic models and high-dimensional RLHF.
Summary updated