Papers › Neural posterior estimation for scalable and accurate inverse parameter inference in...

Neural posterior estimation for scalable and accurate inverse parameter inference in Li-ion batteries

2 Apr 2026arXiv:2604.02520added by Syntology

Malik Hassanaly, Corey R. Randall, Peter J. Weddle, Paul J. Gasper, Conlain Kelly, Tanvir R. Tanim, Kandler Smith

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Diagnosing the internal state of Li-ion batteries is critical for battery research, operation of real-world systems, and prognostic evaluation of remaining lifetime. By using physics-based models to perform probabilistic parameter estimation via Bayesian calibration, diagnostics can account for the uncertainty due to model fitness, data noise, and the observability of any given parameter. However, Bayesian calibration in Li-ion batteries using electrochemical data is computationally intensive even when using a fast surrogate in place of physics-based models, requiring many thousands of model evaluations. A fully amortized alternative is neural posterior estimation (NPE). NPE shifts the computational burden from the parameter estimation step to data generation and model training, reducing the parameter estimation time from minutes to milliseconds, enabling real-time applications. The present work shows that NPE calibrates parameters equally or more accurately than Bayesian calibration, and we demonstrate that the higher computational costs for data generation are tractable even in high-dimensional cases (ranging from 6 to 27 estimated parameters), but the NPE method can lead to higher voltage prediction errors. The NPE method also offers several interpretability advantages over Bayesian calibration, such as local parameter sensitivity to specific regions of the voltage curve. The NPE method is demonstrated using an experimental fast charge dataset, with parameter estimates validated against measurements of loss of lithium inventory and loss of active material. The implementation is made available in a companion repository (https://github.com/NatLabRockies/BatFIT).

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2604.02520")

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

By repository: found in paper text by Syntology: 16 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

NatLabRockies/BatFIT found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

16unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from NatLabRockies/BatFIT. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

accuracy NatLabRockies/BatFIT/batfit/model/param_utils/metrics.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 7f67c4c77fec8f54 · report
ae_loss NatLabRockies/BatFIT/batfit/model/ae.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 8e361c503d458505 · report
apply_noise NatLabRockies/BatFIT/batfit/model/ae.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · aab827a4400fecfb · report
collect_observation_files NatLabRockies/BatFIT/batfit/calibration/cal_utils.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 20ac456c244bcd5d · report
createFn NatLabRockies/BatFIT/batfit/basicutilityc/ReadInput.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · fca3acdd35b38026 · report
grad_hand NatLabRockies/BatFIT/batfit/calibration/data_utils.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · a2cd94f4e561eebd · report
identifiability NatLabRockies/BatFIT/batfit/model/param_utils/metrics.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 312f2cc71d297cfb · report
independent_gumbel_loss NatLabRockies/BatFIT/batfit/model/param_utils/losses.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 0f97b32c7326cae8 · report
indices2slice NatLabRockies/BatFIT/batfit/basicutilityc/slicetools.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 1740448efcd0bbfb · report
mse_loss NatLabRockies/BatFIT/batfit/model/param_utils/losses.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 22a25d48c7b271f4 · report
pinball_loss NatLabRockies/BatFIT/batfit/model/param_utils/losses.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 258a01dbe4968784 · report
readFile NatLabRockies/BatFIT/batfit/calibration/data_utils.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 749f14f18ac3a486 · report
read_yaml NatLabRockies/BatFIT/batfit/basicutilityc/ReadInput.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 7a67c8ad55771005 · report
rel_accuracy NatLabRockies/BatFIT/batfit/model/param_utils/metrics.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 5e09a771329c7c01 · report
setup_logging NatLabRockies/BatFIT/batfit/logging_config.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · fcf7a6d4c864cee5 · report
vae_loss NatLabRockies/BatFIT/batfit/model/vae.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 2317e82fdb157476 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2604.02520, was issued in April 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections