Battery-Sim-Agent Leveraging LLM-Agent for Inverse Battery Parameter Estimation

KDD 2026
1Peking University 2Microsoft Research 3Zhejiang University 4Chalmers University of Technology
67–95%
MAPE reduction over Bayesian Optimization in regular-mode multi-parameter calibration
5
Battery chemistries: NMC811, LFP, NMC111, LCO, and Si-graphite blends
200
Benchmark tasks across 5 chemistries × 2 difficulty modes × 3 C-rates
Real-World
Validated on 7 CALCE cells plus long-horizon SEI-degradation fitting

Abstract

Parameterizing high-fidelity "digital twins" of batteries is a critical yet challenging inverse problem that hinders the pace of battery innovation. Prevailing methods formulate this as a black-box optimization (BBO) task, employing algorithms that are sample-inefficient and blind to the underlying physics. In this work, we introduce a new paradigm that reframes the inverse problem as a reasoning task, and present Battery-Sim-Agent, the first framework to deploy a Large Language Model (LLM) agent in a closed loop with a high-fidelity battery simulator.

The agent mimics a human scientist's workflow: it interprets rich, multi-modal feedback from the simulator, forms physically-grounded hypotheses to explain discrepancies, and proposes structured parameter updates. On a systematically constructed benchmark suite spanning diverse battery chemistries, operating conditions, and difficulty levels, our agent significantly outperforms strong BBO baselines like Bayesian optimization in identifying accurate parameters. We further demonstrate the framework's capability in complex long-horizon degradation fitting tasks and validate its practical applicability on real-world battery datasets.

Large Language Models AI Agents Battery Parameter Estimation AI for Science Inverse Problems Digital Twins

Why Battery-Sim-Agent?

Aspect Traditional BBO Battery-Sim-Agent (Ours)
Search Paradigm Blind Search Hypothesis-Driven
Feedback Signal Scalar Loss Rich & Multi-modal
Interpretability Low High
Efficiency Sample-Inefficient Guided & Efficient

Building accurate battery digital twins requires solving a fundamental inverse problem: inferring hidden microscopic parameters from observable macroscopic data. Traditional black-box optimization methods treat the simulator as an opaque oracle — they are blind to the underlying physics.

Battery-Sim-Agent reframes this as a reasoning task. Like a human scientist, the agent interprets simulation feedback, forms physical hypotheses, and proposes targeted corrections — turning brute-force search into intelligent scientific discovery.

Method

Battery-Sim-Agent Workflow

Figure 1. The closed-loop workflow of Battery-Sim-Agent. The agent proposes parameters for the PyBaMM simulator. The simulator's output is then compared against target data to generate structured, multi-modal feedback, which the agent analyzes using its dynamic memory to reason about the next parameter update.

1

Analyze Feedback

The agent receives a multi-modal feedback package in structured JSON format, containing fine-grained feature-space residuals, quantitative error metrics, and visual voltage curve overlays — bridging the gap between raw simulation data and actionable reasoning.

{
  "residuals": { "capacity_mape": 0.08, "voltage_rmse": 0.05 },
  "features": {
    "cc_charge_time_mismatch_s": -120.5,
    "plateau_shift_v": -0.02
  },
  "visual": "path/to/voltage_curve_overlay.png"
}
2

Reason & Hypothesize

Guided by its dynamic memory, the agent forms a causal hypothesis grounded in physics. This explicit reasoning step acts as a "cognitive check," reducing hallucinations and ensuring parameter updates are physically plausible.

"The short CC charge time and low voltage plateau suggest an electrolyte transport limitation. Increasing the positive electrode reaction rate should raise the voltage plateau and extend the CC charge duration."
3

Propose Structured Update

The agent translates its hypothesis into a machine-actionable JSON update with a rationale, enabling targeted local adjustments rather than blind global exploration.

{
  "updated_params": {
    "Positive electrode reaction rate [s^-1]": "*1.2"
  },
  "rationale": "Increasing the positive reaction rate
                by 20% to raise voltage plateau."
}

Dynamic Memory with Knowledge Warm-up

Initial Knowledge Injection

Memory is initialized with human expert knowledge: physical parameter bounds and qualitative rules-of-thumb from domain literature.

Trial-and-Error Warm-up

Before optimization, the agent builds an "internal mental model" of parameter sensitivity through random perturbation experiments, learning rules like "perturbing electrode thickness by +10% strongly increases capacity."

Results

We evaluate Battery-Sim-Agent on a comprehensive benchmark suite of 200+ tasks spanning 5 battery chemistries, 3 C-rates, and 2 difficulty modes, plus long-horizon degradation fitting and real-world battery data.

Regular Mode Results

(a) Regular Mode. Multi-parameter perturbations.

Extreme Mode Results

(b) Extreme Mode. Single large-parameter perturbations.

Figure 2. Main results on first-cycle calibration. Our reasoning-based agent (GPT-O3) consistently outperforms its ablation (GPT-OSS) and Bayesian Optimization across both difficulty modes, achieving lower median error and significantly reduced variance.

Detailed Performance (MAPE ↓)

Mode Method Chen2020 ORegan2022 Ecker2015 Prada2013 Marquis2019
Regular Default 159.09160.47108.4279.16122.60
BO 211.9781.7327.3756.3113.54
Agent-OSS 38.0546.347.6323.749.55
Agent-O3 (Ours) 12.6034.180.775.971.27
Extreme Default 119.32181.95100.43150.65108.00
BO 159.4184.55137.3117.058.42
Agent-OSS 23.6650.8845.4723.9619.50
Agent-O3 (Ours) 23.3819.4427.8559.1448.34

Note. Bold marks the best method per chemistry. In extreme mode on low-headroom chemistries (Prada2013, Marquis2019) the literature defaults are already close to the perturbed target, and BO remains competitive. The agent's advantage is most pronounced in regular-mode multi-parameter calibration and in the harder long-horizon and real-world settings below.

Performance Across C-rates

BO C-rate performance

(a) Bayesian Optimization

OSS C-rate performance

(b) Battery-Sim-Agent-OSS

O3 C-rate performance

(c) Battery-Sim-Agent-O3

Figure 3. Our agent maintains superior performance across all C-rates (0.2C, 1C, 2C), with particularly notable improvements at higher rates where traditional optimization methods struggle.

Advanced Applications & Convergence

Degradation Fitting Convergence

(a) Long-Horizon Degradation Fitting

Real-World Data Convergence

(b) Real-World Battery Data (CALCE)

Figure 4. Convergence on long-horizon degradation fitting (left) and real-world CALCE cells (right). Bayesian Optimization fails to converge on these settings and is excluded.

Long-Horizon Degradation & Real-World Cells (MAPE ↓)

Method Degradation Real Battery (CALCE)
TotalQIV TotalQIV
Agent-OSS 1.370.510.660.19 8.750.906.581.27
Agent-O3 (Ours) 1.770.670.850.25 3.460.601.811.04

BO fails to converge on these tasks and is excluded. On smooth long-horizon degradation, the lighter OSS variant is competitive; on noisy CALCE data the full reasoning agent (O3) is clearly best.

Attribution: Scaffold vs. Backbone

A natural question is whether the gain comes from the reasoning scaffold itself or from the choice of a strong proprietary backbone. We disentangle the two on a fixed 8-case Chen2020 subset (15 rounds per case).

Same-family scaling (full framework)

BackendAvg. final MAPE
Qwen2.5-7B30.08%
Qwen2.5-14B4.02%
Qwen2.5-32B3.33%

Capability matters: 7B is too weak; 14B and 32B both reach low final error.

Fixed-backbone ablation (Qwen2.5-32B)

ConfigurationFinal MAPE
Complete scaffold3.33%
− domain knowledge5.44%
− structured feedback (scalar only)6.64%
− per-round memory32.94%

Iterative memory is the dominant component — removing it causes a 9.9× degradation.

Is richer feedback alone sufficient? No. Feeding the same multi-modal residuals directly to a numerical optimizer does not recover the agent's gain: weighted multi-objective DE reaches 3.68% (vs. scalar DE's 1.00% on the same case) and qNEHVI fails catastrophically. The improvement emerges from combining iterative memory, structured diagnostic feedback, lightweight domain priors, and a sufficiently capable backbone.

Computational Cost

Under matched 20-step budgets on Chen2020, our agent makes 20 simulator evaluations and 20 LLM calls with end-to-end wall-clock 322s, vs. 541s for the matched BO run. Per-round wall-clock stays nearly flat (13.85s → 13.82s between the first and last five rounds), whereas BO's per-trial time grows from 44s to 477s due to accumulated GP-solver overhead.

Citation

BibTeX
@inproceedings{chen2026batterysimagent,
  author    = {Chen, Jiawei and Gui, Xiaofan and Fang, Shikai and Tao, Shengyu and Zheng, Shun and Liu, Weiqing and Bian, Jiang},
  title     = {Battery-Sim-Agent: Leveraging LLM-Agent for Inverse Battery Parameter Estimation},
  year      = {2026},
  isbn      = {979-8-4007-2259-2/2026/08},
  publisher = {Association for Computing Machinery},
  address   = {New York, NY, USA},
  url       = {https://doi.org/10.1145/3770855.3818856},
  doi       = {10.1145/3770855.3818856},
  booktitle = {Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V.2 (KDD '26)},
  location  = {Jeju Island, Republic of Korea},
  series    = {KDD '26}
}