LLMs as Representation Generators for Gradient-Free Scientific Optimization: A Case Study in Battery Fast Charging.
Ge Lei, Ferran Brosa Planella, Sterling G Baird, Samuel J Cooper
Dyson School of Design Engineering, Imperial College London, London, UK. · The Faraday Institution, Harwell Campus, Didcot, UK.
Key points
From the paper's conclusion- A gradient-free optimization framework based on large language models (LLMs) was introduced to generate and refine executable control policies directly from natural language.
- Both Prompt-to-Optimizer (P2O) and Prompt-to-Protocol (P2P) paradigms outperform conventional approaches restricted to predefined functional forms in battery fast-charging protocol design.
- The methods improve battery state of health by approximately 4.2% over a representative baseline, with P2P achieving this under matched evaluation budgets, suggesting LLMs can expand the hypothesis space of scientific optimization.
Abstract
Scientific optimization problems are often characterized by slow, expensive, and non-differentiable evaluations, which severely limit efficient exploration of rich design spaces. In these settings, performance depends not only on the optimizer itself, but also on whether the chosen search space can represent good solutions and whether important design requirements are effectively incorporated into the search. Here, we introduce a gradient-free optimization framework based on large language models (LLMs) that enables the generation and refinement of executable control policies directly from natural language. We propose two complementary paradigms: Prompt-to-Optimizer (P2O), which combines LLM-based structural generation with gradient-free parameter optimization, and Prompt-to-Protocol (P2P), which directly synthesizes fully specified control policies. We apply this framework to battery fast-charging protocol design, a representative slow-feedback optimization problem. Across multiple case studies, our methods outperform conventional approaches restricted to predefined functional forms. In a realistic fast-charging scenario, both approaches improve battery state of health by approximately 4.2% over a representative baseline, with P2P achieving this under matched evaluation budgets. More broadly, our results suggest that LLMs can serve as representation generators that expand the hypothesis space of scientific optimization, enabling efficient search in domains where evaluations are costly, and gradients are unavailable.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- A gradient-free optimization framework based on large language models (LLMs) was introduced to generate and refine executable control policies directly from natural language.
- Both Prompt-to-Optimizer (P2O) and Prompt-to-Protocol (P2P) paradigms outperform conventional approaches restricted to predefined functional forms in battery fast-charging protocol design.
- The methods improve battery state of health by approximately 4.2% over a representative baseline, with P2P achieving this under matched evaluation budgets, suggesting LLMs can expand the hypothesis space of scientific optimization.
Readers' thoughts
No reader thoughts yet.
Related papers
- Large Language Model-Empowered Intelligent Agent for Adaptive Fast-Charging Control of Lithium-Ion BatteriesarXiv · 2026
- LLM-guided chemical process optimization with a multi-agent approachMachine Learning Science and Technology · 2025
- OptiCom : A Unified Framework for State-Conditioned Composition in LLM-Driven OptimizationarXiv · 2026
- Large language models as uncertainty-calibrated optimizers for experimental discovery.Nature machine intelligence · 2026
- LLM-Assisted Multi-Fidelity Bayesian Optimization: Fusing Expert Knowledge with Numerical DataarXiv · 2026
- Gradient Estimation for LLM-Embedded Simulation OptimizationarXiv · 2026