LLMs Calibrate Grey-Box Simulation Models More Efficiently

David G\'omez-Guill\'en, Mireia Diaz, Josep Lluis Arcos, Jes\'us Cerquides· July 22, 2026 View original

Summary

A new agentic calibration method uses large language models as optimizers for grey-box simulation models, incorporating constraints via plain-language prompts. This approach achieves competitive or superior performance with fewer model evaluations than traditional methods, especially when simulation time is dominant.

Calibrating grey-box simulation models, which are models where the underlying code is known but the combined effect of parameters is hard to predict, is a complex optimization challenge. It often involves expensive model evaluations, high-dimensional parameter spaces, and the need to respect specific plausibility constraints. Traditional optimization methods like Nelder-Mead can be inefficient, while advanced Bayesian Optimization (BO) methods, though more efficient, require significant setup for constraint handling. This research introduces an innovative "agentic calibration" method that leverages large language models (LLMs) to act as the optimizer. A key advantage is how constraints are managed: they are simply specified in plain language within the LLM's system prompt, eliminating the need for complex modeling machinery. Evaluations on an anal cancer simulation model, under both unconstrained and clinically constrained scenarios, showed compelling results. The agentic method achieved lower errors with fewer model evaluations compared to both Nelder-Mead and Bayesian Optimization in unconstrained settings. Under constrained conditions, it matched BO's performance while significantly outperforming Nelder-Mead. Although the per-iteration inference time for the LLM is higher, the substantial reduction in expensive simulation evaluations makes this approach highly suitable when simulation runtime is the dominant cost. Furthermore, the LLM's iterative rationale provides an auditable and explainable search process, enhancing transparency.

Why it matters

Professionals in fields relying on complex simulations can significantly reduce calibration time and effort, especially for models with expensive evaluations or intricate constraints, by adopting LLM-driven optimization. This accelerates model development and deployment.

How to implement this in your domain

  1. 1Identify grey-box simulation models in your domain that require extensive calibration.
  2. 2Experiment with using LLMs as optimizers for model calibration, starting with simpler cases.
  3. 3Formulate simulation constraints clearly in natural language for LLM-driven calibration prompts.
  4. 4Compare the efficiency (evaluations vs. wall-clock time) and accuracy of agentic calibration against traditional methods.
  5. 5Document the LLM's decision-making process during calibration for auditability and explainability.

Who benefits

EngineeringHealthcareManufacturingClimate ModelingFinance

Key takeaways

  • LLMs can serve as effective optimizers for calibrating complex grey-box simulation models.
  • Plain-language prompts simplify constraint handling, reducing modeling overhead.
  • Agentic calibration can achieve competitive or superior results with fewer expensive model evaluations.
  • The approach offers auditable and explainable optimization decisions, enhancing transparency.

Original post by David G\'omez-Guill\'en, Mireia Diaz, Josep Lluis Arcos, Jes\'us Cerquides

"arXiv:2607.18308v1 Announce Type: new Abstract: Calibration of grey-box simulation models is a constrained optimization problem in which model evaluations are expensive, the parameter space can be high-dimensional, and the search must respect plausibility constraints. Although th…"

View on X

Originally posted by David G\'omez-Guill\'en, Mireia Diaz, Josep Lluis Arcos, Jes\'us Cerquides on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses