SambaMixer - State of Health Prediction of Li-ion Batteries using Mamba State Space Models
The state of health (SOH) of a Li-ion battery is determined by complex interactions among its internal components and external factors. Approaches leveraging deep learning architectures have been proposed to predict the SOH using convolutional networks, recurrent networks, and transformers. Recently, Mamba selective state space models have emerged as a new sequence model that combines fast parallel training with data efficiency and fast sampling. In this paper, we propose SambaMixer, a Mamba-based model for predicting the SOH of Li-ion batteries using multivariate time signals measured during the battery’s discharge cycle. Our model is designed to handle analog signals with irregular sampling rates and recuperation effects of Li-ion batteries. We introduce a novel anchor-based resampling method as an augmentation technique. Additionally, we improve performance and learn recuperation effects by conditioning the prediction on the sample time and cycle time difference using positional encodings. We evaluate our model on the NASA battery discharge dataset, reporting MAE, RMSE, and MAPE. Our model outperforms previous methods based on CNNs and recurrent networks, reducing MAE by 52%, RMSE by 43%, and MAPE by 7%.
Authors:
Sascha Kirch, José Ignacio Olalde-Verano , Sergio Martín & Clara Pérez-Molina
Contribution
- Introducing Mamba state space models to the problem of Li-Ion battery SOH prediction.
- Using an anchor-based resampling scheme to resample time signals to have the same number of samples while serving as a data augmentation method.
- Applying a sample time-based positional encoding scheme to the input sequence to tackle sample jitter, time signals of varying length and recuperation effects of Li-ion batteries.
Framework
Results
![]() |
![]() |
![]() |
| Battery | Model | MAE | RMSE | MAPE |
|---|---|---|---|---|
| #06 | Mazzi et al. (2024) | 2.448 | 3.177 | 1.579 |
| SambaMixer (ours) | 1.173 | 2.068 | 1.406 | |
| #07 | Mazzi et al. (2024) | 1.861 | 2.252 | 1.114 |
| SambaMixer (ours) | 1.197 | 1.285 | 1.498 | |
| #47 | Mazzi et al. (2024) | 2.549 | 3.094 | 1.969 |
| SambaMixer (ours) | 0.512 | 0.645 | 0.822 |
Never heard of Mamba Selective State Space models?
Here we provide free access to Sascha’s series: Towards Mamba State Space Models Images, Videos and Time Series.
- Part 1: Towards Mamba State Space Models for Images, Videos and Time Series
- Part 2: Structured State Space Models Visually Explained
- Part 3: Here Comes Mamba: The Selective State Space Model
- Part 4: Vision Mamba: Like a Vision Transformer but Better
- Part 5: VideoMamba
- Part 6: MambaMixer
- Part 7: Mamba-2
And here free access to all his other articles
Citation
If you find our work helpful for your research, please consider citing the following BibTeX entry.
@ARTICLE{olalde_kirch_sambamixer_2025,
author={Olalde-Verano, José Ignacio and Kirch, Sascha and Pérez-Molina, Clara and Martín, Sergio},
journal={IEEE Access},
title={SambaMixer: State of Health Prediction of Li-Ion Batteries Using Mamba State Space Models},
year={2025},
volume={13},
number={},
pages={2313-2327},
keywords={Lithium-ion batteries;Predictive models;Transformers;Temperature measurement;Discharges (electric);Voltage measurement;Lithium;Battery charge measurement;State of charge;NASA;Li-ion battery;mamba;state space model;state of health prediction;multivariate time series;deep learning},
doi={10.1109/ACCESS.2024.3524321}}


