BatteryMFormer: Multi-level Learning for Battery Degradation Trajectory Forecasting

Ruifeng Tan, Jintao Dong, Weixiang Hong, Jia Li, Jiaqiang Huang, Tong-Yi ZhangarXiv 2026

TL;DR

BatteryMFormer is a novel multi-level Transformer architecture designed to accurately forecast full-life battery degradation trajectories using only early-stage operational data. By explicitly modeling text-encoded aging conditions, global trajectory prototypes, and localized electrochemical signatures, it consistently outperforms state-of-the-art baselines across multiple battery chemistries.

What Problem Does This Paper Address?

Predicting how a battery will degrade over its lifespan—known as battery degradation trajectory forecasting (BDTF)—is crucial for optimizing battery manufacturing, usage, and health management. Doing this early (e.g., within the first 100 cycles) is incredibly difficult because different batteries often exhibit nearly identical State of Health (SOH) trends early on, only to diverge drastically later due to varying operating conditions or chemical formulations.

Existing machine learning models struggle with two main gaps:

  1. Ignoring Multi-Level Structure: They operate strictly at the individual battery level, failing to exploit shared regularities within the same aging conditions (e.g., identical charging protocols) or global trajectory shapes (e.g., linear vs. sudden capacity drops) shared across different batteries.
  2. Uniform State of Charge (SOC) Treatment: Degradation-related variations in voltage and current profiles are typically localized to specific SOC intervals due to underlying electrochemical phase transitions. Standard models treat the entire SOC range uniformly, which dilutes these critical localized signals.

Methods

The authors introduce BatteryMFormer (Battery Multi-level Transformer) to address these limitations through three key architectural innovations:

  • Dual-View Encoder: This component processes early operational data through two parallel lenses. A temporal view captures intra-cycle and cross-cycle dynamics, while an SOC view uses 1D convolutions along the SOC axis to isolate and highlight localized degradation signatures.
  • Aging-Condition-Aware Decoder (ACDecoder): To capture systemic environmental and protocol effects, the model leverages a language-based embedder (Qwen3-Embedding-0.6B) to convert structured metadata (e.g., electrode materials, temperature, charging protocols) into text embeddings. These embeddings are injected directly into the decoder as queries and used to modulate attention mechanisms, ensuring condition-consistent predictions.
  • Meta Degradation Pattern Memory (MDPM): This is a key-value memory network that stores learnable "prototype" trajectory vectors representing canonical degradation shapes (such as linear, sublinear, or superlinear decay). The model queries this memory using early-cycle features to retrieve global shape priors, which act as a guide rail for long-horizon forecasting.
Figure 1: Motivation for multi-level learning in BDTF. (a) An example of partial operational voltage and current time se- ries. (b) SOH trajectories under different aging conditions. (c) Schematic of three canonical trajectory shapes. (d) Examples of additional trajectory phenomena beyond the canonical shapes.

Datasets

The model was evaluated on four distinct battery domains extracted from BatteryLife, currently the largest public real-world battery lifetime database:

  • Li-ion: 963 lab-tested lithium-ion batteries spanning 466 diverse aging conditions and chemistries.
  • CALB: 27 large-format commercial lithium-ion batteries tested in an industrial production environment.
  • Na-ion: 31 commercial sodium-ion batteries evaluated under various protocols.
  • Zn-ion: 95 zinc-ion batteries with varying electrolyte compositions and package structures.

Key Insights and Ideas

  • Text as a Universal Bridge: Using a large language model (LLM) to embed battery metadata allows BatteryMFormer to naturally handle highly diverse, variable-length experimental protocols. Traditional fixed lookup tables or one-hot encodings completely break down when faced with complex, out-of-vocabulary multi-stage charging recipes.
  • Physical Alignment via Attention: When interpreting the SOC-view attention weights, the authors discovered that the model naturally prioritizes SOC intervals corresponding to major peaks in Differential Voltage Analysis (DVA). This means the network autonomously learns to focus on regions sensitive to physical degradation mechanisms like lithium inventory loss.
  • Global Prototypes Constrain Uncertainty: By anchoring long-term predictions to a discrete set of learned global trajectory prototypes in the MDPM, the model avoids physically unrealistic extrapolations, even when the early-cycle input data is highly similar across different batteries.
Figure 2: SOC-localized degradation signatures in voltage– current profiles. Voltage–SOC (top) and current–SOC (bot- tom) curves over the first 100 cycles for two representa- tive aging conditions. Although the global profiles evolve smoothly with cycling, aging-induced deviations can concen- trate within specific SOC intervals (dashed boxes).

Key Results

  • State-of-the-Art Performance: BatteryMFormer consistently achieved the lowest errors across all four domains. Compared to the second-best baseline model in each category, it reduced the Mean Absolute Percentage Error (MAPE) by 11.07% (Li-ion), 8.49% (CALB), 17.66% (Na-ion), and 8.97% (Zn-ion).
  • Data-Efficient Learning: In a data-starved scenario where only 50% of the training batteries were retained, BatteryMFormer maintained a substantial lead, reducing MAPE by up to 17.69% over competing baselines. This highlights its robustness when deployed in real-world scenarios where full-life data is expensive to collect.

Limitations and Future Work

  • The Long-Sequence Paradox: The authors noted that feeding the model more than 25 early cycles sometimes increased prediction errors. Because adjacent battery cycles change marginally, longer inputs introduce data redundancy and optimization difficulties that can dilute informative degradation signatures.
  • The Lab-to-Field Gap: The evaluation relied on controlled laboratory and production datasets. Real-world field data (such as electric vehicle telemetry logs) is significantly noisier, irregular, and subject to highly dynamic user behavior. Adapting BatteryMFormer to handle these irregular field conditions remains an open challenge for future work.

Summary updated

BibTeX
@misc{tan2026batterymformer,
  author = {Ruifeng Tan and Jintao Dong and Weixiang Hong and Jia Li and Jiaqiang Huang and Tong-Yi Zhang},
  title = {{BatteryMFormer: Multi-level Learning for Battery Degradation Trajectory Forecasting}},
  year = {2026},
  eprint = {2605.27044},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.27044},
}
Figure