Screening candidate ingredients
Candidates are encoded by two or three specification descriptors, so the model can rank untested options after a few physical trials.
Optimum formulations with fewer experiments
This introduction is written for product and process developers alike, and sets out how Bayesian optimisation is applied in both kinds of development. It opens with a case study: the reformulation of an existing body lotion around a new bio-based emulsifier, carried from ten historical trials to specification in five bench trials. It then explains how a campaign runs from day to day and how the method differs from design of experiments, linear programming and predictive analytics, before setting out further use cases in consumer packaged goods. The method is implemented in Formulation Advisor, the free workbench introduced in the final section.
Also available as a PDF.
Ten historical trials on the original emulsifier, no data on the new grade, and a budget of five new bench trials.
Reformulate an existing body lotion with a new bio-based emulsifier, match the current product, and reach specification within five trials.
| Formulation | |
|---|---|
| Oil phase | 8–14 wt% |
| Bio-based emulsifier, new grade | 1.0–2.5 wt% |
| Thickener | 0.3–0.8 wt% |
| Water | balance to 100 wt% |
| Process | |
| Homogeniser speed | 3,000–7,000 rpm |
| Mixing temperature | 50–80 °C |
| Cooling rate | 0.5–1.5 °C/min |
The ten trials on the original emulsifier are treated as a related task. The model learns the shape of the response surface from them and starts with no information specific to the new grade.
Trial 1 is a direct substitution at the golden batch settings. Its measured result quantifies the difference between the two materials.
Each result updates the offset. The next trial balances exploration against exploitation, with viscosity and droplet size applied as hard constraints.
Trial 1 held droplet size but fell below the viscosity target. The model attributed the gap to the emulsifier change, raised thickener and homogeniser speed for trial 2, and reached specification at trial 3. Trial 4 refined the setting and trial 5 confirmed it.
| Trial | Emulsifier | Thickener | Homogeniser | Viscosity | d50 |
|---|---|---|---|---|---|
| 1 | 1.6 wt% | 0.50 wt% | 4,500 rpm | 2,400 cP | 9.0 µm |
| 2 | 1.6 wt% | 0.68 wt% | 5,600 rpm | 3,600 cP | 9.5 µm |
| 3 | 1.7 wt% | 0.74 wt% | 6,200 rpm | 4,600 cP | 8.0 µm |
| 4 | 1.65 wt% | 0.70 wt% | 6,000 rpm | 4,900 cP | 8.4 µm |
| 5 | 1.65 wt% | 0.70 wt% | 6,000 rpm | 4,700 cP | 8.3 µm |
The campaign closed within the five-trial budget, with a documented reason for every setting and the ten historical trials retained as the basis of the model.
A model is fitted to the experiments already available, and the next experiment is chosen from it. The loop repeats after every result.
The formulation or process is treated as a black box: known inputs produce measured outcomes, and the relationship between them is unknown and expensive to evaluate. Bayesian optimisation fits a surrogate model — a fast statistical approximation of that black box — to the trials already completed. At any untested setting it returns a predicted outcome and an estimate of the uncertainty. A fuller account is given in Bayesian Optimisation for Product and Process Developers.
Current trials, earlier campaigns, or both.
With no data, the tool proposes roughly two trials per variable, plus one.
The model identifies the next trial and gives the reason for it.
The result updates the model before the next suggestion.
A recommendation serves two purposes: improving the predicted outcome, which is exploitation, and reducing uncertainty in regions not yet examined, which is exploration. Excessive exploitation converges on a local optimum; excessive exploration amounts to unstructured search. The method balances the two, so each trial either improves the result or improves the model's knowledge of the system.
A design of experiments fixes the matrix before execution. Predictive analytics needs a large, curated history. Linear programming optimises a known linear objective and does not learn from results. Bayesian optimisation is built for an unknown, non-linear system with a limited budget.
| Design of experiments | Linear programming | Predictive analytics | Bayesian optimisation | |
|---|---|---|---|---|
| What it requires | A designed matrix of trials | A known linear objective and known constraints | A large, standardised historical database | A small project table and a defined search space |
| Learning from results | After the full batch | None; coefficients are specified in advance | After model training | After every trial |
| Uncertainty | Estimated from replication | Not represented | Model-dependent | Explicit at every untested setting |
| Output | Effects across the design space | An optimal allocation under known constraints | Predictions at scale | The next experiment to conduct |
The distinction between Bayesian optimisation and design of experiments is examined in Too Many Experiments, Too Little Time.
Because the method learns from few observations, it is suited to any setting where experiments are expensive and time is short. Campaigns are not confined to the laboratory: pilot runs, scale-up and production all supply usable data, with routine records serving as history and each deliberate change as the next observation.
Screening and reformulation, where material and analyst time are scarce.
Transfer between scales, with two or three runs quantifying the offset.
Batch records provide the history; each agreed change is run once and recorded.
Further use cases in consumer packaged goods include the following.
Candidates are encoded by two or three specification descriptors, so the model can rank untested options after a few physical trials.
Where no data exist, the first trials are spread across the search space and a viable formulation follows within about ten trials.
Scale-invariant parameters such as tip speed replace equipment settings, and two or three pilot trials quantify the offset.
Failed batches are recorded as pass or fail, so the model maps the feasible boundary and identifies the likely cause within three or four trials.
Cost is applied as a hard constraint while quality remains the objective; varying the ceiling produces a cost-versus-performance frontier.
Replicates with process drift, or a worst-case objective, steer the search to a broad operating plateau rather than a narrow peak.
The workbench is free to use, and a first recommendation follows within minutes.
The workbench can be opened with a pre-configured example or with a table from a current project. No installation or payment is required. A short introduction to the method in an R&D setting is given in AI Zero to Hero in R&D.
A walkthrough using one of the team's own tables takes about twenty minutes: the variables to change, the measurements to record, the limits to treat as hard, and how to read the first suggestions.
A longer practical guide, covering the four foundation modules and the seven use-case playbooks with worked examples, is available as a PDF on request.
The workbench does not keep a product database and does not retain project data after processing. The table is used to fit the model and to produce the next suggestion; any working copy, including a saved draft, remains in the browser on the scientist's own computer and can be deleted at any time.