ArticleslgStudy

engineering

Bayesian experimental design

Bayesian experimental design is a engineering topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Bayesian experimental design rather than just read about it. In short: Bayesian experimental design provides a general probability-theoretical framework from which other theories on experimental design can be derived. It is based on Bayesian inference to interpret the observations/data acquired during the experiment.

Bayesian experimental design — main illustration
Bayesian experimental design — illustration

Key takeaways

  • Bayesian experimental design belongs to engineering; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Bayesian experimental design to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Bayesian experimental design from memory before moving on to harder problems.

Reference excerpt

Bayesian experimental design provides a general probability-theoretical framework from which other theories on experimental design can be derived. It is based on Bayesian inference to interpret the observations/data acquired during the experiment. This allows accounting for both any prior knowledge on the parameters to be determined as well as uncertainties in observations. The theory of Bayesian experimental design is to a certain extent based on the theory for making optimal decisions under uncertainty. The aim when designing an experiment is to maximize the expected utility of the experiment outcome. The utility is most commonly defined in terms of a measure of the accuracy of the information provided by the experiment (e.g., the Shannon information or the negative of the variance) but may also involve factors such as the financial cost of performing the experiment. What will be the optimal experiment design depends on the particular utility criterion chosen.

Relations to more specialized optimal design theory

Linear theory If the model is linear, the prior probability density function (PDF) is homogeneous and observational errors are normally distributed, the theory simplifies to the classical optimal experimental design theory.

Approximate normality In numerous publications on Bayesian experimental design, it is (often implicitly) assumed that all posterior probabilities will be approximately normal. This allows for the expected utility to be calculated using linear theory, averaging over the space of model parameters. Caution must however be taken when applying this method, since approximate normality of all possible posteriors is difficult to verify, even in cases of normal observational errors and uniform prior probability.

Posterior distribution In many cases, the posterior distribution is not available in closed form and has to be approximated using numerical methods. The most common approach is to use Markov chain Monte Carlo methods to generate samples from the posterior, which can then be used to approximate the expected utility. Another approach is to use a variational Bayes approximation of the posterior, which can often be calculated in closed form. This approach has the advantage of being computationally more efficient than Monte Carlo methods, but the disadvantage that the approximation might not be very accurate. Some authors proposed approaches that use the posterior predictive distribution to assess the effect of new measurements on prediction uncertainty, while others suggest maximizing the mutual information between parameters, predictions and potential new experiments.

Mathematical formulation

Given a vector θ of parameters to determine, a prior probability p(θ) over those parameters and a likelihood p(y∣θ,ξ) for making observation y, given parameter values θ and an experiment design ξ, the posterior probability can be calculated using Bayes' theorem

p(θ∣y,ξ)=p(y∣θ,ξ)p(θ)p(y∣ξ), where p(y∣ξ) is the marginal probability density in observation space

p(y∣ξ)=∫p(θ)p(y∣θ,ξ)dθ. The expected utility of an experiment with design ξ can then be defined

U(ξ)=∫p(y∣ξ)U(y,ξ)dy, where U(y,ξ) is some real-valued functional of the posterior probability p(θ∣y,ξ) after making observation y using an experiment design ξ.

Gain in Shannon information as utility Utility may be defined as the prior-posterior gain in Shannon information

U(y,ξ)=∫log⁡(p(θ∣y,ξ))p(θ|y,ξ)dθ−∫log⁡(p(θ))p(θ)dθ. Another possibility is to define the utility as

U(y,ξ)=DKL(p(θ∣y,ξ)‖p(θ)), the Kullback–Leibler divergence of the prior from the posterior distribution. Lindley (1956) noted that the expected utility will then be coordinate-independent and can be written in two forms

U(ξ)=∫∫log⁡(p(θ∣y,ξ))p(θ,y∣ξ)dθdy−∫log⁡(p(θ))p(θ)dθ=∫∫log⁡(p(y∣θ,ξ))p(θ,y∣ξ)dydθ−∫log⁡(p(y∣ξ))p(y∣ξ)dy, of which the latter can be evaluated without the need for evaluating individual posterior probability p(θ∣y,ξ) for all possible observations y. It is worth noting that the second term on the second equation line will not depend on the design ξ, as long as the observational uncertainty doesn't. On the other hand, the integral of p(θ)log⁡p(θ) in the first form is constant for all ξ, so if the goal is to choose the design with the highest utility, the term need not be computed at all. Several authors have considered numerical techniques for evaluating and optimizing this criterion. Note that

U(ξ)=I(θ;y), the expected information gain being exactly the mutual information between the parameter θ and the observation y. Since I(θ;y), was difficult to calculate, its lower bound has been used as a utility function. The lower bound is then maximized under the signal energy constraint. Proposed Bayesian design has been also compared with classical average D-optimal design. It was shown that the Bayesian design is superior to D-optimal design. The Kelly criterion also describes such a utility function for a gambler seeking to maximize profit, which is used in gambling and information theory; Kelly's situation is identical to the foregoing, with the side information, or "private wire" taking the place of the experiment.

See also Bayesian optimization Optimal design Active learning Expected value of sample information

References

Further reading DasGupta, A. (1996), "Review of optimal Bayes designs" (PDF), in Ghosh, S.; Rao, C. R. (eds.), Design and Analysis of Experiments, Handbook of Statistics, vol. 13, North-Holland, pp. 1099–1148, ISBN 978-0-444-82061-7 Rainforth, Tom; et al. (2023), Modern Bayesian Experimental Design, arXiv:2302.14545

Worked examples

Example 1 — a first encounter with Bayesian experimental design

Start with the simplest possible case. Write down what Bayesian experimental design claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In engineering, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Bayesian experimental design before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Bayesian experimental design ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Bayesian experimental design

In research
Bayesian experimental design appears in engineering research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Bayesian experimental design in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Bayesian experimental design is common in secondary-school and first-year university syllabi. It links to neighbouring topics Bayesian statistics, Design of experiments, Industrial engineering, so understanding it makes those chapters shorter.
In everyday life
Look for Bayesian experimental design outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Bayesian experimental design” →

How to study Bayesian experimental design in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Bayesian experimental design means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Bayesian experimental design out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Bayesian experimental design in simple terms?

Bayesian experimental design provides a general probability-theoretical framework from which other theories on experimental design can be derived. It is based on Bayesian inference to interpret the observations/data acquired during the experiment.

Why does Bayesian experimental design matter?

Because it connects several engineering ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Bayesian experimental design?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Bayesian experimental design.

Tags

  • Bayesian statistics
  • Design of experiments
  • Industrial engineering
  • Optimal decisions
  • Systems engineering

Keep exploring