On the convergence of the MLE as an estimator of the learning rate in the Exp3 algorithm

Julien Aubert, Luc Lehéricy, Patricia Reynaud-Bouret

Introduction

In cognitive science and behavioral economics, researchers frequently attempt to fit mathematical models to the choices made by subjects to understand their internal learning processes. The "gold standard" for recovering these hidden parameters is the Maximum Likelihood Estimator (MLE).

However, there is a theoretical catch: the data generated by a learning agent is highly dependent (the next choice depends on the last reward) and non-stationary (the agent’s strategy changes as they learn). This paper investigates a fundamental question: Does the MLE actually converge to the true parameters under these conditions? Specifically, the authors examine the Exp3 algorithm (Exponential weights for Exploration and Exploitation)—a cornerstone of reinforcement learning—and attempt to recover its "learning rate," the parameter dictating how aggressively the agent updates its beliefs based on new rewards.

The findings reveal a stark dichotomy: if the agent uses a constant learning rate, standard statistical methods fail miserably. However, if the learning rate decreases over time, the parameters can be recovered with polynomial efficiency.

Methodology and Synthetic Data

To test the MLE's capabilities, the authors employ a mix of rigorous mathematical proofs and numerical simulations. Because real-world behavioral datasets introduce confounding variables, the study relies on synthetic data generated by simulating the Exp3 algorithm under various conditions (primarily 2-arm and 4-arm setups with fixed losses). They tested both constant learning rates (e.g., $\eta = 0.3$) and decreasing learning rates ($\eta_n \propto n^{-1/2}$).

The theoretical analysis introduces two key concepts:

  1. Tetration Analysis: The authors analyze the "tetration" (iterated exponentiation) behavior of the Exp3 algorithm. They show that if the learning rate is constant, the probability of the agent making an "error" (pulling a suboptimal arm) decreases at an incredibly fast, tetration-like rate.
  2. Truncated MLE: Because probabilities of suboptimal choices can become so small they hit "machine epsilon" (numerical zero), standard MLE suffers from numerical explosion (log-likelihoods plummeting to $-\infty$). To combat this, the authors introduce a Truncated MLE, which stops evaluating observations once the probability of choosing any arm falls below a certain threshold ($\epsilon$).

Key Insight: The "Data Desert" Problem

The most striking insight from the paper is the fundamental trade-off between an algorithm's performance and its interpretability. If an agent learns "too well" (using a constant learning rate), they quickly calibrate and almost never pull the "wrong" arm.

By ceasing to make errors, the agent stops providing useful behavioral variance to the statistician. Without these exploratory "errors," the MLE enters a "data desert" and has no information to distinguish between a high learning rate and an even higher one. An optimal learner effectively becomes a black box.

Results: Constant vs. Decreasing Learning Rates

The Logarithmic Failure of Constant Rates

For a constant learning rate, the authors prove that the estimation error decreases slower than logarithmically. This means that even with billions of observations, the estimate of the learning rate remains poor. Certain parameters become mathematically "hard to distinguish."

Estimation error across increasing sample sizes for a constant learning rate. The flat trend indicates standard MLE fails to converge.

Simulations confirm this theoretical bound: as the number of observations ($n$) increases, the estimation error does not decrease significantly, leaving the statistician unable to reliably reverse-engineer the agent's learning parameter.

The Polynomial Success of Decreasing Rates

Conversely, by allowing the learning rate to decay over time (e.g., $n^{-\alpha}$), the agent is forced to continue "exploring" just enough for the MLE to catch up.

Estimation error across increasing sample sizes for a decreasing learning rate. The error successfully decreases at a polynomial rate.

Under this decreasing regime, the authors use martingale concentration inequalities to prove upper bounds on both prediction and estimation errors. The prediction error is proven to decrease at a rate of $O(n^{-\alpha/2})$. Furthermore, in a specific 2-arm case, they proved the estimation error decreases at $O(n^{-\alpha/4})$, demonstrating polynomial convergence.

Limitations and Future Directions

While the paper provides strong foundational proofs, it acknowledges several limitations. First, the proof for the convergence of the actual parameter value (estimation error) is currently limited to a specific 2-arm case where one arm has zero loss. Extending this to a general $K$-arm case remains a primary target for future work.

Additionally, while Exp3 is a standard in machine learning, cognitive scientists often use more complex models, such as Q-learning with a "softmax" temperature parameter. The authors suggest that the "tetration" phenomenon likely exists in those models as well, though it has yet to be formally proven. Finally, the authors suspect their logarithmic lower bounds for constant learning rates might actually be pessimistic, implying that recovering parameters from optimal learners in practice could be even harder than the math suggests.

Summary updated

BibTeX
@inproceedings{aubert2023convergence,
  author = {Julien Aubert and Luc Lehéricy and Patricia Reynaud-Bouret},
  title = {{On the convergence of the MLE as an estimator of the learning rate in the Exp3 algorithm}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=YvrxWGWg9E},
}
Figure