Estimating Maximum Expected Value through Gaussian Approximation

Carlo D'Eramo, Marcello Restelli, Alessandro Nuara

TL;DR

This paper introduces the Weighted Estimator (WE), a novel method for estimating the maximum expected value of multiple random variables. By using Gaussian approximations to weight sample means, WE provides a robust "middle ground" that avoids the chronic overestimation of standard methods and the high variance of cross-validation approaches. This leads to significantly better performance in applications like Reinforcement Learning (RL) and auction design.

The Problem: The Optimizer's Curse

In many decision-making scenarios—such as choosing which ad to show a user or which move to make in a game—we must estimate the Maximum Expected Value (MEV) of several options based on noisy, limited data.

The standard approach is the Maximum Estimator (ME), which simply takes the maximum of the observed sample means. However, ME suffers from the "Optimizer’s Curse": it is systematically biased toward overestimation because it is highly likely to pick an option that performed well due to statistical noise rather than actual underlying quality. In Reinforcement Learning algorithms like Q-Learning, these overestimation errors propagate through the system and can lead to highly sub-optimal policies.

Existing alternatives, such as the Double Estimator (DE) used in Double Q-Learning, attempt to fix this by splitting data into two sets to "cross-validate" the maximum. While this successfully removes the positive bias, it often results in significant underestimation and higher variance because it effectively halves the data used for each estimate.

The Solution: The Weighted Estimator (WE)

The authors propose the Weighted Estimator (WE). Instead of picking just one "winner" or splitting the dataset, WE calculates a weighted average of all sample means using the following steps:

  1. Gaussian Approximation: Leveraging the Central Limit Theorem, the authors assume that the distribution of each sample mean can be approximated by a Gaussian (normal) distribution, parameterized by the observed sample mean and variance.
  2. Probability Weighting: For each variable, the method calculates the probability that it is actually the one with the highest true expected value.
  3. Weighted Average: These probabilities become the weights. If one variable is clearly the best, it gets a weight near 1 (behaving similarly to ME). If several variables are close in performance, they all contribute to the estimate, which smooths out the noise.

Theoretical analysis proves that WE’s bias is bounded by the bias of the Maximum Estimator and generally sits comfortably between the overestimation of ME and the underestimation of DE.

Key Insights and Innovations

  • The "Middle Path": WE acts as a bridge between ME and DE. It is more robust than ME when noise is high and far more data-efficient than DE.
  • Consistency: WE is a "consistent" estimator. As more data is collected, the weights for sub-optimal variables naturally drop to zero, and the estimate converges to the true maximum.
  • Incentive Compatibility: In sponsored search auctions, using ME often creates a "utility gain" for bidders who lie about their true values. WE significantly reduces this incentive, making the auction more stable and fair.
  • Natural Exploration (W-policy): In RL, the weights generated by WE can be used to define a "Weighted Policy." Instead of just picking the best action or a random one (like in $\epsilon$-greedy strategies), the agent picks actions proportional to the probability that they are the best. This leads to highly purposeful, efficient exploration.

Experimental Results

The authors evaluated their estimator across four distinct domains: synthetic variables, Internet Ads (Multi-armed Bandits), Sponsored Search Auctions, Grid World (MDPs), and real-world Foreign Exchange (Forex) markets.

  • Lower Error (MSE): In the Internet Ads simulation, WE consistently achieved the lowest Mean Squared Error compared to ME and DE, especially when the number of available ads was large.
  • Faster Learning: In the Grid World task, "Weighted Q-Learning" reached the optimal policy faster than standard Q-Learning and showed much less bias in its value function estimates.
  • Real-World Generalization: The Forex dataset (historical GBP/USD exchange rates) tested performance in a highly volatile, non-stationary environment. While standard Q-Learning often overestimates its own success during training, Weighted Q-Learning—particularly when utilizing its probability-based W-policy—achieved the highest cumulative profit on the test set.
Cumulative profit on the Forex dataset comparing Q-Learning variants.

Limitations and Future Work

While highly effective, the Weighted Estimator has a few limitations:

  • Gaussian Assumption: Because it relies on the Central Limit Theorem, the estimator might be less accurate for very small sample sizes or extremely heavy-tailed distributions where the mean hasn't yet converged to a normal distribution.
  • Tabular Limitation: The current implementation is designed for "tabular" problems (where every state and action can be explicitly listed). Extending WE to work with function approximators like Deep Neural Networks (e.g., Deep Q-Networks) is a primary direction for future research.
  • Computational Complexity: Calculating the weights involves integrals of Gaussian products. While manageable for a few dozen actions, it may require optimization or approximation techniques for environments with vast or continuous action spaces.

Summary updated

BibTeX
@inproceedings{deramo2016estimating,
  author = {Carlo D'Eramo and Marcello Restelli and Alessandro Nuara},
  title = {{Estimating Maximum Expected Value through Gaussian Approximation}},
  booktitle = {International Conference on Machine Learning},
  year = {2016},
}
Figure