Flow Matching for Probabilistic
Battery Degradation Prediction

Hamidreza Eivazi1*Eslam Sharaawy2Stefan Wittek2André Hebenbrock3Raphael Ginster4Steffen Blömeke5

Technische Universität Braunschweig Clausthal University of Technology

Full affiliations
  1. Division Data-Driven Modeling of Mechanical Systems, Institute of Applied Mechanics, TU Braunschweig, Germany
  2. Institute for Software and Systems Engineering, Clausthal University of Technology, Germany
  3. Institute of Chemical and Electrochemical Process Engineering, Clausthal University of Technology, Germany
  4. Institute of Automotive Management and Industrial Production, TU Braunschweig, Germany
  5. Institute of Machine Tools and Production Technology, TU Braunschweig, Germany

* Corresponding author: h.eivazi@tu-braunschweig.de

NeurIPS 2026 Main Track

TL;DR We introduce FlowBatt, a use-inspired conditional generative framework that adapts flow matching to probabilistic battery degradation modeling.

Accurate degradation prediction is challenging, as battery aging emerges from complex and heterogeneous interactions among cycling behavior, operating conditions, and cell chemistry. FlowBatt adapts flow matching to model full state of health (SOH) trajectories as probabilistic degradation processes conditioned on early-cycle capacity data. By generating multiple plausible trajectories, it provides empirical prediction intervals for battery degradation modeling. We evaluate FlowBatt on five public benchmark settings spanning diverse chemistries and aging conditions, comparing it with supervised and diffusion-based trajectory models under shared data splits. The framework brings together trajectory forecasting, uncertainty estimation, and degradation-curve synthesis in a single conditional generative model.

Methodology

The capacity matrix is a cycle-by-voltage array of baseline-subtracted discharge-capacity curves. A CNN encodes this early-life input into a conditioning vector that is combined with a time embedding to modulate a compact diffusion transformer (DiT). Flow matching trains the network to predict a continuous-time vector field; integrating this field transports Gaussian noise into SOH trajectories.

FlowBatt: conditional flow-matching training and inferenceTraining pairs initialized noise with a real training trajectory. A straight interpolant enters the DiT, whose predicted velocity is compared with the target data minus noise. This animation sweeps flow time at a fixed pretrained checkpoint, not optimization steps. The conditioning panel shows one real test-cell capacity matrix as an example of the shared encoder. Training uses its separately matched input. Inference replays 101 recorded ODE states for the test example. SOH axes stay at 80 to 110 percent, clipping out-of-window noise. The training velocity plot uses normalized units from minus 4 to 4.a) flow-matching trainingnoisetraining datainterpolated stateditdit blockdit blockdit blockdit blockvelocity matchingsoh (%) · cyclesoh (%) · cyclesoh (%) · cyclecapacity conditioningnormalized velocity · cycleb) conditioningcapacity matrixvoltage gridcycle numberq-encembeddingc) inferencenoiselearned flowditdit blockdit blockdit blockdit blockcapacity conditioningsoh samplesoh (%) · cyclesoh (%) · cycle1100801001100250080100110025008010011002500-4040255180100110012008010011001200

Results and discussion

SOH-trajectory prediction

We compare full SOH trajectory predictions across five benchmark settings using shared data splits. RMSE is computed over the degradation curve up to the end-of-life (EOL) point, padding the remainder of the sequence with the final observed value. Results are reported as the mean RMSE across all test samples, in percentage units. Random forest (RF) [51], MLP [51], and BatLiNet [52] are adapted for trajectory-wise SOH prediction.

Table 1. Trajectory-wise SOH prediction results reported as mean RMSE (%) over the predicted degradation trajectories.

MethodMATR-1MATR-2HUSTMIX-20MIX-100
BatLiNet1.86 ± 0.063.62 ± 0.242.87 ± 0.232.04 ± 0.062.34 ± 0.22
RF2.01 ± 0.042.50 ± 0.013.57 ± 0.033.42 ± 0.025.45 ± 0.04
MLP1.97 ± 0.113.06 ± 0.174.11 ± 0.132.23 ± 0.093.13 ± 0.14
Transformer (ours)1.09 ± 0.072.25 ± 0.223.18 ± 0.161.42 ± 0.101.76 ± 0.06
DiffBatt (ours)0.92 ± 0.041.85 ± 0.032.44 ± 0.141.15 ± 0.081.71 ± 0.09
FlowBatt (ours)0.87 ± 0.021.77 ± 0.042.10 ± 0.120.88 ± 0.031.41 ± 0.02

Scroll horizontally for all five datasets.

FlowBatt achieves the lowest mean trajectory-wise SOH RMSE on all five datasets. DiffBatt improves upon the Transformer on all five datasets and achieves the second-best results across the benchmark, indicating that diffusion-based generative modeling already provides a strong improvement over purely supervised trajectory prediction.

RUL prediction

RUL is computed from each predicted SOH trajectory as the cycle index at which it reaches the end-of-life threshold. FlowBatt remains highly competitive on this downstream task, despite being designed primarily for full trajectory modeling. It achieves the best result on HUST and ranks among the top three by RMSE across all five benchmark settings. The spread of RUL estimates from ten generated trajectories quantifies predictive variability; larger prediction errors generally tend to coincide with higher variability.

FlowBatt RUL prediction: original five-panel paper figureOriginal paper Figure 4 in one row: MATR-1, MATR-2, HUST, MIX-100 and MIX-20. Prediction versus reference RUL. Cyan-to-magenta color shows the standard deviation of RUL from ten generated SOH trajectories per sample. Original markers, ranges, grids, ticks, pink identity lines and individual colorbars are preserved; only the font is Source Sans 3. 010002000Reference010002000PredictionMATR-1512202836σRUL500100015002000Reference500100015002000MATR-2612192531σRUL100020003000Reference100020003000HUST5315782108σRUL0100020003000Reference0100020003000MIX-100353102151200σRUL010002000Reference010002000MIX-20573141209277σRUL
Predicted versus reference RUL for all test cells; the diagonal marks perfect agreement. Color shows the standard deviation across ten generated trajectories per cell, with a separate scale for each dataset. End-of-life thresholds are 80% SOH, except 90% for MIX-20.

XAI-guided encoder design

Grad-CAM analysis of CNNs trained for RUL prediction reveals initialization-sensitive behavior, including blank attribution maps for some test cells. We replace ReLU activations with LeakyReLU activations to obtain a more robust XAI-guided CNN encoder for FlowBatt.

(a) capacity matrices

Capacity matrices for the 42 MATR-1 test batteries, arranged in the original paper order.

(b) CNN · ReLU

Original paper Grad-CAM maps for the ReLU CNN failure example. Several test cells have blank maps.

(c) XAI-CNN · LeakyReLU

Original paper Grad-CAM maps for XAI-CNN, showing localized attribution patterns across the test cells.
Capacity matrices and Grad-CAM maps for the 42 MATR-1 test batteries, reproduced from the paper in the same order across panels. Grad-CAM colors show relative attribution within each cell; their magnitudes are not directly comparable across cells or models.

Conclusions and outlook

FlowBatt learns full SOH trajectories conditioned on early-cycle capacity data, providing a trajectory-level representation of battery aging and a unified model for forecasting, uncertainty estimation, and synthesis. Across all five benchmark datasets, FlowBatt obtains the best trajectory-wise SOH prediction results. Since the model generates multiple plausible degradation trajectories for the same early-life input, it also provides empirical prediction intervals that capture predictive uncertainty. The synthesis experiments further show that FlowBatt-generated SOH trajectories can improve downstream RUL modeling.

Outlook

Our work on probabilistic battery degradation prediction has positive societal implications by supporting the transition to sustainable energy technologies. Accurate SOH forecasting and uncertainty quantification can optimize battery usage, extend lifespans, and improve the reliability of electric vehicles and stationary storage systems, thereby reducing electronic waste and resource consumption. Scaling this framework to broader battery datasets may also provide a path toward more general foundation models for battery health prediction.

BibTeX

@inproceedings{eivazi2026flowbatt,
  title     = {{FlowBatt}: Flow Matching for Probabilistic Battery Degradation Prediction},
  author    = {Eivazi, Hamidreza and Sharaawy, Eslam and Wittek, Stefan and Hebenbrock, André and Ginster, Raphael and Blömeke, Steffen},
  booktitle = {Advances in Neural Information Processing Systems (NeurIPS)},
  keywords  = {flow matching, battery degradation, state of health, remaining useful life, generative models},
  month     = dec,
  year      = {2026},
  url       = {https://arxiv.org/abs/2611.03150}
}