Bayesian optimization explains human active search

Ali Borji, Laurent IttiNeurIPS 2013

Humans are remarkably efficient at finding the "best" solution in unknown environments, often outperforming classic optimization algorithms. In the paper "Bayesian Optimization Explains Human Active Search," researchers Ali Borji and Laurent Itti explore the intersection of cognitive science and machine learning to understand how we solve complex search problems. Their findings demonstrate that human search behavior is best explained by Bayesian Optimization using Gaussian Processes, providing a unified mathematical framework for how we learn and search.

When we look for a "peak"—whether it's the optimal dosage for a new drug, the best tuning for a machine learning model, or the highest point on a hidden map—we face a fundamental challenge: every experiment or "click" is costly. We must decide where to sample next based on very little data.

Historically, it wasn't clear how humans navigated this. Do we use local strategies (like following a gradient), global strategies (like trying to map the whole shape), or a Bayesian approach that balances exploring unknowns with exploiting known highs? The authors tackled two main questions:

  1. How do humans compare to state-of-the-art optimization algorithms in terms of efficiency and behavior?
  2. Can a single mathematical model explain how we perform diverse tasks like interpolation, extrapolation, and active search?

Experimental Methods

To model human behavior, the researchers conducted experiments with 99 undergraduate subjects. The primary task involved finding the maximum of an invisible 1D function. Subjects clicked on a blank screen and were shown the value ($y$) at that location ($x$), trying to find the peak in as few clicks as possible. The study utilized several sets of 1D functions, ranging from polynomials and exponentials to functions directly sampled from a Gaussian Process.

The authors then compared human data against 24 baseline algorithms, including:

  • Local Search: Gradient Descent and its variants.
  • Global/Population-based: Genetic Algorithms (GA), Particle Swarm Optimization (PSO), and DIRECT.
  • Bayesian Optimization (BO): Using Gaussian Processes (GP) as a surrogate model. A GP acts as a "prior" over functions, providing a predicted value at every point along with a measure of uncertainty.

Human behavior in these tasks revealed several fascinating insights into our cognitive processes.

The Exploration-Exploitation Shift Human search isn't static. In the first few clicks, humans tend to sample high-uncertainty regions to understand the landscape (exploration). As they gain information, they transition to "exploiting" areas likely to contain the maximum.

Histogram of human clicks on a 1D function, illustrating the shift from broad exploration (first clicks) to targeted exploitation (all clicks).

GP as a Unified Theory The same Gaussian Process framework that predicts how humans find a maximum also explains how they interpolate (guess between points) and extrapolate (guess beyond points). This suggests the human brain maintains a probabilistic model of the world that naturally handles uncertainty. In "active interpolation" tasks, humans specifically chose to sample points where the GP predicted the highest variance, confirming that we are "uncertainty-seekers" when trying to learn a new environment.

Failure of Local Search Human behavior is poorly explained by local strategies like gradient descent. We are inherently "structural" searchers; we try to capture the overall shape of the function rather than blindly following the local slope.

Key Results: Humans vs. Machines

Perhaps the most striking finding of the study is that humans are elite optimizers. Non-math undergraduates consistently outperformed the 24 well-known optimization algorithms tested.

Performance comparison showing humans achieving a high hit rate with very few function calls compared to 24 baseline optimization algorithms.

In the main optimization task, humans achieved an average hit rate of 74% using only 12.8 clicks on average. While some algorithms (like DIRECT) could eventually find the peak more reliably, they required significantly more samples to do so.

When fitting models to the human data, Bayesian Optimization using GP with Upper Confidence Bound (UCB) or Maximum Expected Improvement (MEI) criteria provided the closest match to human click sequences and "regret" (the gap between the found maximum and the true maximum).

Limitations and Future Work

While the results are compelling, the authors acknowledge several areas for further exploration:

  • Dimensionality: The study is limited to 1D functions. Real-world problems are often high-dimensional, where the "curse of dimensionality" might change how humans (and GPs) perform.
  • Derivative Information: Humans might perform even better if provided with slope information (derivatives), which was not tested here.
  • Satisficing: The study used a fixed reward/penalty system. Future work could look deeper into "satisficing"—the cognitive process of deciding when a solution is "good enough" to stop searching entirely.

By showing that Gaussian Processes offer a general and unified theoretical account for human search, this paper bridges the gap between how we think and how we build optimal machines.

Summary updated

BibTeX
@inproceedings{borji2013bayesian,
  author = {Ali Borji and Laurent Itti},
  title = {{Bayesian optimization explains human active search}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2013},
}
Figure