Related Experiment Video
Updated: Oct 13, 2026

Rapid in-silico Battery Electrolyte Electrochemical Reaction Generation using 3T-VASP Multi-Scale Energy Minimization
Published on: August 22, 2025
LLMs as Representation Generators for Gradient-Free Scientific Optimization: A Case Study in Battery Fast Charging
Ge Lei1, Ferran Brosa Planella2,3, Sterling G Baird4
1Dyson School of Design Engineering, Imperial College London, London, UK.
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.
Related Concept Videos
Fast Decoupled and DC Powerflow
Continuous Charge Distributions
The electric charge can also be subjected to an analogical...
Ampere-Maxwell's Law: Problem-Solving
To solve the problem, we can use the equations from the analysis of an RC circuit and Maxwell's version of Ampère's law.
For the first part of the problem,...
Maximizing the Directional Derivative
Energy Line and Hydraulic Gradient Line
Lagrange Multipliers: Two Constraints