NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Meta-learning for sample-efficient Bayesian optimisation of fed-batch processes

Becky Langdon, Gabriel D. Patrón, Chrysoula D. Kappatou, Robert M. Lee, Behrang Shafei, Jixiang Qing, Ruth Misener, Mark van der Wilk, Calvin TsayarXiv 2026

TL;DR

Optimizing fed-batch chemical processes is notoriously difficult due to unpredictable batch-to-batch fluctuations and the high cost of physical experiments. This paper introduces a meta-learning framework that uses System-Aware Neural ODE Processes (SANODEP) as a surrogate model for Bayesian Optimization. By embedding mechanistic physical structure into the machine learning model, SANODEP drastically reduces the number of experimental runs needed to find optimal process recipes, even when encountering unexpected, out-of-distribution process conditions.

What Problem Does This Paper Address?

In biochemical manufacturing (such as penicillin production), finding the perfect "recipe"—the ideal initial concentrations, feed rates, and cycle times—is a moving target. Inherent, unmeasurable fluctuations in reaction rates mean that what worked perfectly for Batch A might underperform for Batch B.

Standard Bayesian Optimization (BayesOpt) typically relies on Gaussian Processes (GPs) to find optimal settings. However, GPs treat every new batch as a completely blank slate. They fail to share information across different optimization tasks, struggle to extrapolate over time, and require too many expensive real-world experiments to be practical in data-scarce scenarios. The authors aim to bridge this gap by creating a surrogate model that inherently understands chemical dynamics and learns from historical or simulated batch data.

Methods

The authors leverage System-Aware Neural ODE Processes (SANODEP), a meta-learning architecture that builds on Neural ODE Processes (NODEPs). Unlike problem-agnostic GPs, SANODEP embeds the fundamental mathematical structure of dynamic physical systems (Ordinary Differential Equations, or ODEs) directly into its neural network latent space.

Key methodological highlights include:

  • Bi-Scenario Loss Function: A specialized training framework that prepares the model for two distinct operational modes: forecasting (predicting an entire trajectory from just initial conditions) and interpolation (updating predictions mid-run when new data points arrive).
  • Episodic Learning: The model is pre-trained offline using simulated data across a wide distribution of potential kinetic parameters, allowing it to internalize the underlying "physics" of the system before any real-world optimization begins.
  • Few-Shot BayesOpt Integration: SANODEP acts as the surrogate model within a BayesOpt loop, utilizing a batch hypervolume acquisition function to optimize initial conditions and stopping times simultaneously.

Datasets

The framework was evaluated using a simulated benchmark of a fed-batch penicillin production process, a classic problem in process systems engineering based on the Bajpai and Reuss (1980) mechanistic model.

To evaluate meta-learning performance, the authors generated training and testing distributions by varying stochastic reaction parameters (such as maximum biomass growth rate and substrate inhibition constants). They defined specific evaluation tasks based on how far the test parameters shifted from the training baseline:

  • On-Task: Testing parameters match the training distribution.
  • Almost, Slightly, and Very Off-Task: Testing parameters are shifted by up to $\pm0.5$ from their nominal values, simulating severe real-world model mismatch or unexpected environmental shifts.

Key Insights and Ideas

  • Structural Knowledge Trumps Data Volume: Even when the true system parameters are completely outside the model's pre-trained distribution ("Very Off-Task"), SANODEP still significantly outperforms GPs. This proves that embedding the relationship between variables (the ODE structure) provides a powerful inductive bias that generalizes far better than pure data-driven interpolation.
  • The "Distinctiveness" Advantage: Surprisingly, SANODEP converged faster on tasks near the edges of the parameter bounds than those in the dead center. The authors hypothesize that edge-case trajectories are more "distinct," allowing the model's encoder to more quickly identify which latent behaviors match the current target system.
  • A Smart Start Strategy: The results highlight a clear trade-off between short-term adaptability and long-term convergence. SANODEP dominates when data is scarce, making it an ideal "warm-start" strategy for early-stage process optimization before transitioning to standard GPs as data accumulates.

Key Results

  • 2x Sample Efficiency: In on-task optimization, BayesOpt with SANODEP reliably optimized the penicillin process in just 10 experimental runs, achieving the same normalized profit that standard GP-based methods required 20 runs to reach.
  • Robust Off-Distribution Performance: Across all off-task regimes, SANODEP consistently found higher-quality optima with fewer experiments than both standard GPs and random search.
  • Cost Metric Trade-offs: While SANODEP dramatically reduces the number of physical batches required (the primary cost bottleneck in chemistry), it does come with a higher offline computational cost per optimization step due to the overhead of solving latent ODEs.

Limitations and Future Work

  • Computational Overhead: The expressive latent ODE structure and amortized inference make SANODEP computationally expensive during the optimization loop compared to simpler algebraic surrogates.
  • Parametric vs. Structural Mismatch: This study assumed the underlying ODE equations were structurally correct, and only the parameters varied. The authors note that future work should investigate how SANODEP handles true structural mismatches (e.g., if the real-world chemical pathway has completely different or unmodeled side reactions).
  • Asymmetric Edge Failures: Performance near the lower edge of parameter values (slower reaction rates) tended to be worse and occasionally produced non-physical, diverging behavior, indicating a need for safer bounding constraints during training.

Summary updated

BibTeX
@misc{langdon2026meta,
  author = {Becky Langdon and Gabriel D. Patrón and Chrysoula D. Kappatou and Robert M. Lee and Behrang Shafei and Jixiang Qing and Ruth Misener and Mark van der Wilk and Calvin Tsay},
  title = {{Meta-learning for sample-efficient Bayesian optimisation of fed-batch processes}},
  year = {2026},
  eprint = {2605.05382},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.05382},
}
Figure