← All notes

Technical note

Generative models for formulation: learning from twenty years of trials


Ask a senior formulator how they approach a new brief and you will rarely hear anything that sounds like search. They will tell you about a base they trust, a raw material that behaves badly above a certain level, a failure mode they have seen before, or a trick a colleague taught them fifteen years ago. It is deep expertise, and it lives mostly in people.

The company has already paid for a much larger version of that knowledge. Every trial that was weighed, measured, smelled, rejected or reformulated over the last two decades is a data point about how formulation space behaves. Most of that history is recorded as recipes, spreadsheets, reports and notes written for humans, not models.

That is why formulation AI is still difficult in practice.

Suppose the history exists in structured form. What can you actually do with it? Quite a lot, and the useful answer starts with the workflow formulators already know: design of experiments.

From DoE to cumulative learning

DoE is already the right mental model. Define the variables, choose experiments that cover the space intelligently, run them, measure the outcomes and learn what matters.

The problem is that each campaign often behaves too much like a fresh start.

A team may spend weeks exploring ingredient levels and process conditions for one brief, then begin the next project with only the formulator’s memory carrying that knowledge forward. Once historical trials are structured, that changes.

The first campaign may still need broad experimental coverage. But after the system has seen hundreds or thousands of trials, the next design does not have to pretend that nothing is known. Predictive models can estimate which regions are promising, which combinations repeatedly fail, and where uncertainty remains high. Sequential design methods, including Bayesian optimization, can then help choose the next experiments based on what has already been learned.

This is where Bayesian methods are useful: bench experiments are expensive, and the next experiment should be informed by the previous ones. Reaction-optimization work has shown that Bayesian optimization can reduce experimental burden, and formulation-specific work has applied related ideas to ingredient selection and concentration optimization.

The goal is simple: every DoE should make the next DoE smaller, smarter, or both.

Campaign 1 — broad24 experimentshistory + modelCampaign 2 — informed12 experimentshistory + modelCampaign 3 — targeted6 experiments
Figure 1. Cumulative learning across campaigns: once history is structured, each design starts from what is known — every DoE makes the next one smaller, smarter, or both.

The hard data is in the notes

The numerical part is often the easy part.

Ingredient levels, process temperatures, viscosity, pH, stability measurements and cost fit naturally into ordinary supervised-learning pipelines. In many cases, tree-based models and boosting methods are strong baselines before anything more exotic is justified.

The hard part is everything a formulator writes next to the numbers.

“Too brittle.” “Cookies break.” “Burned note after heating.” “Good initially, unstable after two days.”

Those comments often contain the reason an experiment failed, and therefore the information needed to avoid repeating it.

A binary success/failure column collapses all of those outcomes into the same label. A useful formulation data layer has to preserve the original note and connect it to structured concepts such as sensory defects, processing failures, instability, texture problems or regulatory constraints. The vocabulary cannot be imposed too aggressively: formulation language is specific to the product, process and company.

This is a place where language models can help without becoming the scientific model themselves. They can normalize inconsistent notes, propose structured tags, link synonyms and surface recurring failure modes while keeping the raw observation attached.

The model should learn from the formulator’s knowledge, not erase it during preprocessing.

RAW NOTE“Good initially, unstableafter two days.”formulator, trial 2019-0847language modelnormalize, don't eraseSTRUCTURED SIGNALfailure: instabilitytemporalphase: emulsiont+48 hraw observation stays attached to the structured record
Figure 2. From free-text note to structured signal: a language model normalizes and tags without erasing — the raw observation stays attached to the record.

Ranking before the bench

Once that history exists, the first useful system does not need to generate magical new recipes. It needs to rank good hypotheses.

Given a new brief, retrieve relevant historical formulas. Predict likely properties and failure modes. Identify ingredient or process regions associated with previous problems. Then propose a smaller set of experiments balancing expected performance with uncertainty and diversity.

Candidates for brief RF-114, ranked before the benchpredicted performance →Candidate #112→ benchCandidate #47→ benchCandidate #203Candidate #9→ benchCandidate #156Selection balances expected performance, uncertainty and diversity — not score alone.
Figure 3. Ranking hypotheses before the bench: proposals balance expected performance, uncertainty and diversity, so bench time starts from what the company already knows.

Bench time remains the scarce resource. The model’s job is to make a week of experiments start from what the company already knows instead of from a blank page.

Every edit, rejection and explanation adds information. A formula rejected because it is too expensive is different from one rejected because the emulsion breaks. Capturing those decisions means each development cycle improves the dataset used by the next one.

Where generative models enter

Generative models become interesting once the historical layer is rich enough to represent what plausible formulas look like and how formulations relate to measured properties.

There is already evidence that this is possible. Variational autoencoders trained on large curated formulation datasets have learned useful representations and generated ingredient-amount suggestions for chemical product deformulation.

The more interesting long-term problem is reformulation: start from something that already works, change a constraint, and preserve the properties that matter. Replace a restricted ingredient. Reduce cost. Move toward a cleaner label. Adapt a formula to a new market while disturbing the rest as little as possible.

That is still a research problem, especially when public data is small and performance depends on process history and poorly measured sensory properties. But it becomes tractable only after the underlying formulation history has been structured.

Our bet is that generative formulation will not arrive because one model architecture suddenly becomes good enough. It will arrive because companies finally start accumulating reusable experimental knowledge.

A good formulation lab already learns from every experiment.

The opportunity is to make the software learn too.

References

Shields, B. J.; Stevens, J.; Li, J.; Parasram, M.; Damani, F.; Martinez Alvarado, J. I.; Janey, J. M.; Adams, R. P.; Doyle, A. G. (2021). Bayesian reaction optimization as a tool for chemical synthesis. Nature, 590, 89–96. DOI: 10.1038/s41586-021-03213-y.

Cao, L.; Russo, D.; Matthews, E.; Lapkin, A.; Woods, D. (2023). Computer-aided design of formulated products: A bridge design of experiments for ingredient selection. Computers & Chemical Engineering, 169, 108083. DOI: 10.1016/j.compchemeng.2022.108083.

Sevgen, E.; Kim, E.; Folie, B.; Rivera, V.; Koeller, J.; Rosenthal, E.; Jacobs, A.; Ling, J. (2021). Toward Predictive Chemical Deformulation Enabled by Deep Generative Neural Networks. Industrial & Engineering Chemistry Research, 60(39), 14176–14184. DOI: 10.1021/acs.iecr.1c00634.

Russo, D.; Cao, L.; Koshy, P.; Lapkin, A. A. (2022). Computer-aided design of formulated products. Current Opinion in Colloid & Interface Science, 57, 101536. DOI: 10.1016/j.cocis.2021.101536.