VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Mathematics? | Bayesian Optimisation for Reliability Testing: Gaussian Processes, Acquisition Functions, Constraints and Expensive Experiments

Choose your reading route

eduKateSG · Why Mathematics? · Bayesian Optimisation for Reliability Testing: Gaussian Processes, Acquisition Functions, Constraints and Expensive Experiments

Start with the question, audit the worked example, or jump to the assumptions and practice. Every chapter stays open for uninterrupted reading.

Full chapter index · Practice and checking · Mathematics Learning Hub

Why mathematics matters in reliability testing becomes obvious when one experiment costs days, damages a specimen or requires an expensive simulation. Bayesian optimisation uses a probabilistic surrogate and an acquisition rule to decide where to test next. The goal is not to guess everywhere; it is to spend a limited budget where uncertainty and potential improvement make the next evaluation valuable.

This guide explains Gaussian-process intuition, expected improvement, reliability boundaries, noisy tests and stopping rules. It separates optimisation from estimating a rare failure probability and shows why an efficient search can still miss an unsupported failure mode.

Full chapter index

Chapters 1–5 · Understand the question
  1. Expensive reliability functions
  2. Surrogate model
  3. Prior mean and covariance
  4. Posterior update
  5. Exploration and exploitation
Chapters 6–10 · Reproduce the example
  1. Expected improvement
  2. Probability of improvement
  3. Upper confidence bounds
  4. Noisy experiments
  5. Constraints
Chapters 11–15 · Check assumptions
  1. Reliability boundary
  2. Sequential experimental design
  3. Initial design
  4. Input scaling
  5. Hyperparameter learning
Chapters 16–20 · Explore applications
  1. Batch Bayesian optimisation
  2. Multi-fidelity testing
  3. A worked confidence-bound example
  4. Stopping rules
  5. Student activity
Chapters 21–25 · Study and verify
  1. Parent and educator guidance
  2. Common misconceptions
  3. When not to use it
  4. Research and next reading
  5. Frequently asked questions

CHAPTER 1 OF 25 · Understand the question

1. Expensive reliability functions

Back to contents

The response may come from physical testing or high-fidelity simulation rather than a cheap formula. One thermal-cycle simulation takes six hours. A small budget limits what can be learned. A practical next step is to state cost, inputs and output.

Contents · Next chapter

CHAPTER 2 OF 25 · Understand the question

2. Surrogate model

Back to contents

Start with the mechanism: A probabilistic surrogate predicts response and uncertainty between evaluated points. Consider this example: A Gaussian process emulates peak creep strain over design settings. The limit is equally important: Surrogate assumptions can be wrong. Students can test the idea when they validate predictions and uncertainty.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 25 · Understand the question

3. Prior mean and covariance

Back to contents

Nearby temperatures may have correlated responses. The mathematics behind it is precise: The GP prior expresses expected level, smoothness and correlation before observations. Yet the result has a boundary. A smooth kernel can miss sharp thresholds. For a reliable investigation, compare plausible kernels.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 25 · Understand the question

4. Posterior update

Back to contents

New observations update the mean and reduce uncertainty near sampled inputs. In an illustrative case, A test at x=2 shifts predictions around x=2. This should not be overread because noise prevents uncertainty from falling to zero. A careful team will plot before and after. Primary research is available from https://link.springer.com/article/10.1007/s11222-021-10000-2.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 25 · Understand the question

5. Exploration and exploitation

Back to contents

The acquisition function balances promising predicted values with uncertain regions. Test near the current best or in a poorly known corner. Too much exploitation misses alternatives; too much exploration wastes budget. A practical next step is to inspect acquisition components.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 25 · Reproduce the example

6. Expected improvement

Back to contents

Start with the mechanism: EI averages improvement over the surrogate predictive distribution. Consider this example: A point with moderate mean and large uncertainty can outrank a slightly better certain point. The limit is equally important: EI depends on surrogate calibration. Students can test the idea when they calculate a simple normal example.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 25 · Reproduce the example

7. Probability of improvement

Back to contents

A candidate has 60% chance to improve by any amount. The mathematics behind it is precise: PI measures the chance of beating a threshold. Yet the result has a boundary. PI ignores improvement magnitude. For a reliable investigation, compare pi and ei choices.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 25 · Reproduce the example

8. Upper confidence bounds

Back to contents

A confidence-bound rule combines predicted mean and uncertainty with a tunable coefficient. In an illustrative case, For minimisation, use mean minus k times standard deviation. This should not be overread because the coefficient controls risk appetite. A careful team will show decisions for several k.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 25 · Reproduce the example

9. Noisy experiments

Back to contents

Replicates separate measurement noise from function variation. Two nominally identical fatigue tests yield different lives. Treating noise as signal creates false optima. A practical next step is to allocate some budget to replication.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 25 · Reproduce the example

10. Constraints

Back to contents

Start with the mechanism: A candidate may need to satisfy safety, manufacturability or cost constraints. Consider this example: Minimise strain while keeping stress and geometry within limits. The limit is equally important: Unknown constraints need their own models. Students can test the idea when they use constrained acquisition and safety review.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 25 · Check assumptions

11. Reliability boundary

Back to contents

The most informative evaluations may lie near g=0 rather than at the global optimum. The mathematics behind it is precise: Structural reliability often concerns g(x)<=0, the failure region boundary. Yet the result has a boundary. Optimisation and failure-probability estimation are different objectives. For a reliable investigation, match acquisition to the estimand.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 25 · Check assumptions

12. Sequential experimental design

Back to contents

Each experiment can depend on earlier outcomes. In an illustrative case, After a surprising failure, the next test refines that boundary. This should not be overread because myopic one-step rules can miss long-term value. A careful team will compare batch and look-ahead designs. A second primary or official research source is https://doi.org/10.1016/j.apm.2025.116645.

Contents · Previous chapter · Next chapter

CHAPTER 13 OF 25 · Check assumptions

13. Initial design

Back to contents

A space-filling initial set prevents the surrogate from starting in one corner. Latin hypercube points cover several dimensions. Coverage decays rapidly in high dimensions. A practical next step is to use domain knowledge and screening.

Contents · Previous chapter · Next chapter

CHAPTER 14 OF 25 · Check assumptions

14. Input scaling

Back to contents

Start with the mechanism: Kernel length scales and distances depend on units. Consider this example: Temperature in hundreds and thickness in millimetres need scaling. The limit is equally important: Arbitrary normalisation can hide physical relevance. Students can test the idea when they store transformations.

Contents · Previous chapter · Next chapter

CHAPTER 15 OF 25 · Check assumptions

15. Hyperparameter learning

Back to contents

A short length scale fits rapid changes. The mathematics behind it is precise: Kernel variance, noise and length scales are estimated from sparse data. Yet the result has a boundary. Marginal likelihood can have local optima. For a reliable investigation, use priors, restarts and sensitivity.

Contents · Previous chapter · Next chapter

CHAPTER 16 OF 25 · Explore applications

16. Batch Bayesian optimisation

Back to contents

Parallel laboratories choose several points before results return. In an illustrative case, A four-test batch should avoid redundant candidates. This should not be overread because sequential acquisition assumptions no longer hold exactly. A careful team will use diversity-aware batch rules.

Contents · Previous chapter · Next chapter

CHAPTER 17 OF 25 · Explore applications

17. Multi-fidelity testing

Back to contents

Cheap coarse simulations and expensive accurate tests can be combined. Run many simplified models and a few physical tests. Bias between fidelities must be modelled. A practical next step is to validate cross-fidelity correlation.

Contents · Previous chapter · Next chapter

CHAPTER 18 OF 25 · Explore applications

18. A worked confidence-bound example

Back to contents

Start with the mechanism: Candidate A has mean 5 and sd 1; B has mean 4.6 and sd 0.1. For minimisation with k=2, scores are 3 and 4.4. Consider this example: The rule explores A despite its worse mean. The limit is equally important: Score is not a failure probability. Students can test the idea when they recalculate with k=0.5.

Contents · Previous chapter · Next chapter

CHAPTER 19 OF 25 · Explore applications

19. Stopping rules

Back to contents

Three rounds produce no meaningful expected improvement. The mathematics behind it is precise: Stop when budget ends, improvement is negligible or uncertainty near the decision boundary is acceptable. Yet the result has a boundary. A small acquisition value can reflect overconfidence. For a reliable investigation, check held-out or replicated evidence.

Contents · Previous chapter · Next chapter

CHAPTER 20 OF 25 · Explore applications

20. Student activity

Back to contents

Hide a curved function and allow six queries chosen by mean and uncertainty. In an illustrative case, Compare random, greedy and confidence-bound choices. This should not be overread because a one-dimensional game is easier than engineering. A careful team will record every acquisition reason.

Contents · Previous chapter · Next chapter

CHAPTER 21 OF 25 · Study and verify

21. Parent and educator guidance

Back to contents

Bayesian optimisation connects graphs, probability, functions and opportunity cost. Ask why the next experiment is worth its cost. A clever search cannot replace a valid test. A practical next step is to begin with interpolation and uncertainty bands.

Contents · Previous chapter · Next chapter

CHAPTER 22 OF 25 · Study and verify

22. Common misconceptions

Back to contents

Start with the mechanism: Bayesian optimisation does not guarantee a global optimum, calibrated uncertainty or correct failure probability. Consider this example: The surrogate can be confidently wrong outside support. The limit is equally important: More dimensions require more evidence. Students can test the idea when they use diagnostics and domain review.

Contents · Previous chapter · Next chapter

CHAPTER 23 OF 25 · Study and verify

23. When not to use it

Back to contents

A grid search can be fully auditable. The mathematics behind it is precise: If evaluations are cheap, exhaustive or conventional optimisation may be simpler; if the search space is unsafe, unconstrained BO is inappropriate. Yet the result has a boundary. Complex acquisition adds overhead. For a reliable investigation, compare total cost.

Contents · Previous chapter · Next chapter

CHAPTER 24 OF 25 · Study and verify

24. Research and next reading

Back to contents

Sequential Bayesian design research addresses structural reliability and recent work applies adaptive BO to solder-joint reliability. In an illustrative case, Connect this to reliability testing and Bayesian reliability. This should not be overread because case-study savings are not universal. A careful team will use the hub for probability. Continue with the Mathematics Learning Hub and the previous reliability article.

Contents · Previous chapter · Next chapter

CHAPTER 25 OF 25 · Study and verify

25. Frequently asked questions

Back to contents

FAQs should cover priors, kernels, noise, constraints, initial design, stopping and validation. Answers depend on the expensive function. Do not equate surrogate confidence with physical certainty. A practical next step is to publish every evaluated point.

Contents · Previous chapter · Mathematics Learning Hub

Extended practice laboratory

This laboratory turns bayesian optimisation for reliability testing into a sequence of checkable decisions. Students should keep a ledger of definitions, calculations, assumptions and later evidence. A parent or educator can ask what the model knew at the time and what would make the conclusion change. The goal is not to imitate advanced software; it is to understand the mathematical mechanism well enough to detect a wrong denominator, a leaked timestamp, an unsupported extrapolation or an overclaim.

A strong project on bayesian optimisation for reliability testing includes a simple baseline, one worked example, a sensitivity check and an untouched evaluation. It reports limits with the same care as results. This is how school algebra, probability, graphs and functions become transferable reasoning tools.

For a capstone, build a small reproducible investigation of bayesian optimisation for reliability testing. Freeze the question and data contract first. Preserve every intermediate value so another student can recompute the result. Compare at least two defensible methods, evaluate on later or held-out evidence, and include a failure case. End with a one-page decision record: what is supported, what remains uncertain, what action is allowed, and what new evidence would trigger review. The capstone succeeds when its reasoning survives a changed example, not when it produces the most impressive chart. A reliability-testing capstone should begin with a frozen expensive function or laboratory protocol and a finite budget. Create a space-filling initial design, fit a probabilistic surrogate and preserve the posterior before every acquisition. Compare random, greedy, expected-improvement and confidence-bound choices under identical budgets. Check calibration of predictive intervals, repeat noisy points and test at least one deliberately sharp boundary that challenges the kernel. If the aim is failure probability rather than a minimum, use an acquisition rule targeted to the limit-state boundary. End with a ledger of every evaluated point, its cost, its reason for selection, the stopping rule and an independent confirmation test at the proposed design or boundary. Repeat the search from several initial designs because a favourable starting set can exaggerate efficiency. Report simple regret, boundary error and total experimental cost separately. Inspect acquisition surfaces and length scales for implausible smoothness. When constraints are uncertain, record both predicted feasibility and measured feasibility. The final recommendation should state whether the evidence supports an optimum, a safe region, a failure boundary or only the next useful experiment. Reserve part of the budget before the search begins for replication and final confirmation. Without that reserve, the method can spend every evaluation proposing a result and leave none to test whether the result survives independent measurement. Check whether the final recommendation changes under another plausible kernel or prior mean. If it does, report the competing conclusions and collect evidence where the surrogate models disagree most. Preserve that disagreement as part of the result. Do not smooth it away.

Hyperparameter learning deeper audit

Use hyperparameter learning to practise sensitivity analysis. Kernel variance, noise and length scales are estimated from sparse data. Start from this example: A short length scale fits rapid changes. Change one assumption while keeping the others fixed and predict the direction before calculating. Marginal likelihood can have local optima. Use priors, restarts and sensitivity. Report whether the decision is stable or depends heavily on the changed assumption. Record the result in plain language for a student and technical language for a reviewer. The two versions should agree on the quantity and limitation even though their vocabulary differs.

Batch Bayesian optimisation deeper audit

Build a small counterexample for batch bayesian optimisation. Parallel laboratories choose several points before results return. A four-test batch should avoid redundant candidates. Then create a nearby case where the shortcut fails. This matters because sequential acquisition assumptions no longer hold exactly. Use diversity-aware batch rules. Explain the failure in plain language and connect it to the exact mathematical step that changed. Record the result in plain language for a student and technical language for a reviewer. The two versions should agree on the quantity and limitation even though their vocabulary differs.

Multi-fidelity testing deeper audit

Treat multi-fidelity testing as a model-checking problem. Cheap coarse simulations and expensive accurate tests can be combined. Run many simplified models and a few physical tests. Preserve inputs, intermediate values and output. Bias between fidelities must be modelled. Validate cross-fidelity correlation. Evaluate the same rule on later or held-out evidence and separate numerical correctness from real-world validity. Record the result in plain language for a student and technical language for a reviewer. The two versions should agree on the quantity and limitation even though their vocabulary differs.

A worked confidence-bound example deeper audit

Connect the mathematics of a worked confidence-bound example to a decision. Candidate A has mean 5 and sd 1; B has mean 4.6 and sd 0.1. For minimisation with k=2, scores are 3 and 4.4. The rule explores A despite its worse mean. Calculate the quantity, then translate it into an allowed action and an action that the evidence does not support. Score is not a failure probability. Recalculate with k=0.5. This distinction prevents an accurate calculation from becoming an overclaim. Record the result in plain language for a student and technical language for a reviewer. The two versions should agree on the quantity and limitation even though their vocabulary differs.

Stopping rules deeper audit

Turn stopping rules into a transparent worksheet. Stop when budget ends, improvement is negligible or uncertainty near the decision boundary is acceptable. Three rounds produce no meaningful expected improvement. List every quantity, unit and timestamp, then recompute the example after changing one input. A small acquisition value can reflect overconfidence. Check held-out or replicated evidence. Finish by naming the output as description, prediction, diagnosis or causal evidence and justify that label. Record the result in plain language for a student and technical language for a reviewer. The two versions should agree on the quantity and limitation even though their vocabulary differs.

Student activity deeper audit

Begin with the operational question behind student activity. Hide a curved function and allow six queries chosen by mean and uncertainty. Now examine the illustrative case: Compare random, greedy and confidence-bound choices. Draw the relevant timeline or graph before calculating. The important boundary is that a one-dimensional game is easier than engineering. Record every acquisition reason. Compare a simple baseline and record what evidence would reverse the conclusion. Record the result in plain language for a student and technical language for a reviewer. The two versions should agree on the quantity and limitation even though their vocabulary differs.

Parent and educator guidance deeper audit

For this case, audit the mechanism rather than memorising vocabulary. Bayesian optimisation connects graphs, probability, functions and opportunity cost. Ask why the next experiment is worth its cost. Ask which denominator, risk set, neighbourhood or candidate pool makes the result meaningful. A clever search cannot replace a valid test. Begin with interpolation and uncertainty bands. A second student should be able to reproduce the answer from the saved ledger alone. Record the result in plain language for a student and technical language for a reviewer. The two versions should agree on the quantity and limitation even though their vocabulary differs.

Practice case 1: Expensive reliability functions

Setup: Use a small example for expensive reliability functions.

Task: State cost, inputs and output.

Checking target: A small budget limits what can be learned.

Turn expensive reliability functions into a transparent worksheet. The response may come from physical testing or high-fidelity simulation rather than a cheap formula. One thermal-cycle simulation takes six hours. List every quantity, unit and timestamp, then recompute the example after changing one input. A small budget limits what can be learned. State cost, inputs and output. Finish by naming the output as description, prediction, diagnosis or causal evidence and justify that label.

Practice case 2: Surrogate model

Setup: Use a small example for surrogate model.

Task: Validate predictions and uncertainty.

Checking target: Surrogate assumptions can be wrong.

Begin with the operational question behind surrogate model. A probabilistic surrogate predicts response and uncertainty between evaluated points. Now examine the illustrative case: A Gaussian process emulates peak creep strain over design settings. Draw the relevant timeline or graph before calculating. The important boundary is that surrogate assumptions can be wrong. Validate predictions and uncertainty. Compare a simple baseline and record what evidence would reverse the conclusion.

Practice case 3: Prior mean and covariance

Setup: Use a small example for prior mean and covariance.

Task: Compare plausible kernels.

Checking target: A smooth kernel can miss sharp thresholds.

For this case, audit the mechanism rather than memorising vocabulary. The GP prior expresses expected level, smoothness and correlation before observations. Nearby temperatures may have correlated responses. Ask which denominator, risk set, neighbourhood or candidate pool makes the result meaningful. A smooth kernel can miss sharp thresholds. Compare plausible kernels. A second student should be able to reproduce the answer from the saved ledger alone.

Practice case 4: Posterior update

Setup: Use a small example for posterior update.

Task: Plot before and after.

Checking target: Noise prevents uncertainty from falling to zero.

Use posterior update to practise sensitivity analysis. New observations update the mean and reduce uncertainty near sampled inputs. Start from this example: A test at x=2 shifts predictions around x=2. Change one assumption while keeping the others fixed and predict the direction before calculating. Noise prevents uncertainty from falling to zero. Plot before and after. Report whether the decision is stable or depends heavily on the changed assumption.

Practice case 5: Exploration and exploitation

Setup: Use a small example for exploration and exploitation.

Task: Inspect acquisition components.

Checking target: Too much exploitation misses alternatives; too much exploration wastes budget.

Build a small counterexample for exploration and exploitation. The acquisition function balances promising predicted values with uncertain regions. Test near the current best or in a poorly known corner. Then create a nearby case where the shortcut fails. This matters because too much exploitation misses alternatives; too much exploration wastes budget. Inspect acquisition components. Explain the failure in plain language and connect it to the exact mathematical step that changed.

Practice case 6: Expected improvement

Setup: Use a small example for expected improvement.

Task: Calculate a simple normal example.

Checking target: EI depends on surrogate calibration.

Treat expected improvement as a model-checking problem. EI averages improvement over the surrogate predictive distribution. A point with moderate mean and large uncertainty can outrank a slightly better certain point. Preserve inputs, intermediate values and output. EI depends on surrogate calibration. Calculate a simple normal example. Evaluate the same rule on later or held-out evidence and separate numerical correctness from real-world validity.

Practice case 7: Probability of improvement

Setup: Use a small example for probability of improvement.

Task: Compare PI and EI choices.

Checking target: PI ignores improvement magnitude.

Connect the mathematics of probability of improvement to a decision. PI measures the chance of beating a threshold. A candidate has 60% chance to improve by any amount. Calculate the quantity, then translate it into an allowed action and an action that the evidence does not support. PI ignores improvement magnitude. Compare PI and EI choices. This distinction prevents an accurate calculation from becoming an overclaim.

Practice case 8: Upper confidence bounds

Setup: Use a small example for upper confidence bounds.

Task: Show decisions for several k.

Checking target: The coefficient controls risk appetite.

Turn upper confidence bounds into a transparent worksheet. A confidence-bound rule combines predicted mean and uncertainty with a tunable coefficient. For minimisation, use mean minus k times standard deviation. List every quantity, unit and timestamp, then recompute the example after changing one input. The coefficient controls risk appetite. Show decisions for several k. Finish by naming the output as description, prediction, diagnosis or causal evidence and justify that label.

Practice case 9: Noisy experiments

Setup: Use a small example for noisy experiments.

Task: Allocate some budget to replication.

Checking target: Treating noise as signal creates false optima.

Begin with the operational question behind noisy experiments. Replicates separate measurement noise from function variation. Now examine the illustrative case: Two nominally identical fatigue tests yield different lives. Draw the relevant timeline or graph before calculating. The important boundary is that treating noise as signal creates false optima. Allocate some budget to replication. Compare a simple baseline and record what evidence would reverse the conclusion.

Practice case 10: Constraints

Setup: Use a small example for constraints.

Task: Use constrained acquisition and safety review.

Checking target: Unknown constraints need their own models.

For this case, audit the mechanism rather than memorising vocabulary. A candidate may need to satisfy safety, manufacturability or cost constraints. Minimise strain while keeping stress and geometry within limits. Ask which denominator, risk set, neighbourhood or candidate pool makes the result meaningful. Unknown constraints need their own models. Use constrained acquisition and safety review. A second student should be able to reproduce the answer from the saved ledger alone.

Practice case 11: Reliability boundary

Setup: Use a small example for reliability boundary.

Task: Match acquisition to the estimand.

Checking target: Optimisation and failure-probability estimation are different objectives.

Use reliability boundary to practise sensitivity analysis. Structural reliability often concerns g(x)<=0, the failure region boundary. Start from this example: The most informative evaluations may lie near g=0 rather than at the global optimum. Change one assumption while keeping the others fixed and predict the direction before calculating. Optimisation and failure-probability estimation are different objectives. Match acquisition to the estimand. Report whether the decision is stable or depends heavily on the changed assumption.

Practice case 12: Sequential experimental design

Setup: Use a small example for sequential experimental design.

Task: Compare batch and look-ahead designs.

Checking target: Myopic one-step rules can miss long-term value.

Build a small counterexample for sequential experimental design. Each experiment can depend on earlier outcomes. After a surprising failure, the next test refines that boundary. Then create a nearby case where the shortcut fails. This matters because myopic one-step rules can miss long-term value. Compare batch and look-ahead designs. Explain the failure in plain language and connect it to the exact mathematical step that changed.

Practice case 13: Initial design

Setup: Use a small example for initial design.

Task: Use domain knowledge and screening.

Checking target: Coverage decays rapidly in high dimensions.

Treat initial design as a model-checking problem. A space-filling initial set prevents the surrogate from starting in one corner. Latin hypercube points cover several dimensions. Preserve inputs, intermediate values and output. Coverage decays rapidly in high dimensions. Use domain knowledge and screening. Evaluate the same rule on later or held-out evidence and separate numerical correctness from real-world validity.

Practice case 14: Input scaling

Setup: Use a small example for input scaling.

Task: Store transformations.

Checking target: Arbitrary normalisation can hide physical relevance.

Connect the mathematics of input scaling to a decision. Kernel length scales and distances depend on units. Temperature in hundreds and thickness in millimetres need scaling. Calculate the quantity, then translate it into an allowed action and an action that the evidence does not support. Arbitrary normalisation can hide physical relevance. Store transformations. This distinction prevents an accurate calculation from becoming an overclaim.