LLM-guided Chemical Process Optimization with a Multi-Agent Approach
Tong Zeng, Srivathsan Badrinarayanan, Janghoon Ock, Cheng-Kai Lai, Amir Barati Farimani
TL;DR
This work tackles constraint-deficient chemical process optimization by introducing an AutoGen-based multi-agent LLM framework that autonomously infers operating bounds from minimal process descriptions and collaboratively guides optimization using IDAES simulations. Evaluated on the hydrodealkylation process, the approach achieves competitive performance relative to IPOPT and grid search while delivering dramatic wall-time reductions (converging in under 20 minutes). The framework relies on reasoning-enabled LLMs (o3/o1) to perform constraint generation, memory-guided parameter exploration, and interpretable decision making, demonstrating robust convergence where standard models may fail. This strategy lowers the expertise barrier for process optimization, enabling rapid, interpretable optimization for emerging or retrofit processes, and opens pathways for integrating database-driven constraints and hybrid optimization schemes.
Abstract
Chemical process optimization maximizes production efficiency and economic performance, but optimization algorithms, including gradient-based solvers, numerical methods, and parameter grid searches, become impractical when operating constraints are ill-defined or unavailable. We present a multi-agent LLM framework that autonomously infers operating constraints from minimal process descriptions, then collaboratively guides optimization. Our AutoGen-based framework employs OpenAI's o3 model with specialized agents for constraint generation, parameter validation, simulation, and optimization guidance. Through autonomous constraint generation and iterative multi-agent optimization, the framework eliminates the need for predefined operational bounds. Validated on hydrodealkylation across cost, yield, and yield-to-cost ratio metrics, the framework achieved competitive performance with conventional methods while reducing wall-time 31-fold relative to grid search, converging in under 20 minutes. The reasoning-guided search demonstrates sophisticated process understanding, correctly identifying utility trade-offs and applying domain-informed heuristics. Unlike conventional methods requiring predefined constraints, our approach uniquely combines autonomous constraint generation with interpretable parameter exploration. Model comparison reveals reasoning-capable architectures (o3, o1) are essential for successful optimization, while standard models fail to converge. This approach is particularly valuable for emerging processes and retrofit applications where operational constraints are poorly characterized or unavailable.
