liveBook · Manning

Uncertainty

As explained in Bayesian Optimization in Action

Uncertainty is the lack of certainty about the value or behavior of an unknown quantity or function.

Uncertainty is the lack of certainty about an unknown quantity or function. In hyperparameter tuning, observed results do not determine how performance behaves at untested values, so uncertainty must guide the next experiment. section 1.1.1

Bayesian optimization represents uncertainty across a search space and uses it alongside predicted performance. A policy therefore balances exploration of regions with uncertain predictions against exploitation of regions with high predicted means. section 4.1

Uncertainty supports several practical decisions:

  • Estimate whether an untested hyperparameter value could outperform observed settings. section 1.1.1
  • Explore search-space regions where predictions are uncertain, rather than repeatedly sampling only the current best-looking region. section 4.1
  • Choose searches that reduce uncertainty about an unknown quantity; entropy measures how much uncertainty remains after evidence is gathered. section 6.1.2

Finding a lost remote

If a remote is believed to be uniformly located somewhere in the living room, searching part of that room narrows the possible locations. Finding it removes the uncertainty; searching the bathroom leaves the belief unchanged when the remote is absent there. section 6.1.2

Figure 4.1 The exploration–exploitation tradeoff in BayesOpt. Each policy needs to decide whether to query regions with high uncertainty (exploration) or to query regions with a high predicted mean (exploitation).

A visual comparison of exploration in high-uncertainty regions and exploitation near a high predicted mean makes the decision tradeoff concrete. section 4.1

How Bayesian Optimization in Action covers it

How deep it goes
Develops intuition through hyperparameter and search examples, then connects uncertainty to Gaussian-process predictions and entropy-based information gain.
Examples
Uses neural-network depth trials, a one-dimensional Gaussian-process search, and a lost-remote search to illustrate uncertainty and its reduction.
What it assumes
Assumes familiarity with model evaluation and search decisions while building probabilistic intuition through concrete examples.
What you can do after
Evaluate where to sample next by weighing uncertain regions against locations with stronger predicted performance.
How it connects
Connects uncertainty with Bayesian optimization, hyperparameter tuning, Gaussian processes, exploration–exploitation, entropy, and information theory.

Also explained in

Compare how 10 books explain uncertainty →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bayesian Optimization in Action. The section links point to the parts of the book it draws on.