journal article·2025-12-05Open access

Bagging-PiFormer: An Ensemble Transformer Framework with Cross-Channel Attention for Lithium-Ion Battery State-of-Health Estimation

Shaofang Wu, Jifei Zhao, Weihong Tang, Xuhui Liu, Yuqian Fan

Batteries· Volume 11· Issue 12

Abstract

Accurate estimation of lithium-ion battery (LIB) state of health (SOH) is critical for prolonging battery life and ensuring safe operation. To address the limitations of existing data-driven models in robustness and feature coupling, this paper presents a new Bagging-PiFormer framework for SOH estimation. The framework integrates ensemble learning with an improved Transformer architecture to achieve accurate and stable performance across various degradation conditions. Specifically, multiple PiFormer base models are trained independently under the Bagging strategy to enhance generalization. Each PiFormer consists of a stack of PiFormer layers, which combines a cross-channel attention mechanism to model voltage–current interactions and a local convolutional feed-forward network (LocalConvFFN) to extract local degradation patterns from charging curves. Residual connections and layer normalization stabilize gradient propagation in deep layers, while a purely linear output head enables precise regression of the continuous SOH values. Experimental results on three datasets demonstrate that the proposed method achieves the lowest MAE, RMSE, and MAXE values among all compared models, reducing overall error by 10–33% relative to mainstream deep-learning methods such as Transformer, CNN-LSTM, and GCN-BiLSTM. These results confirm that the Bagging-PiFormer framework significantly improves both the accuracy and robustness of battery SOH estimation.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Advanced Battery Technologies Research · Advancements in Battery Materials · Machine Fault Diagnosis Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Intelligent Manufacturing, Guangzhou Maritime University, Guangzhou 510725, China

College of Mechanical Engineering, Tianjin University of Science and Technology, Tianjin 300457, China

School of Computer Science and Technology, Henan Institute of Science and Technology, Xinxiang 453003, China

Funding

Key Scientific and Technological Project of Henan Province · Guangdong Provincial Special Innovation Project for General Universities (Natural Sciences) of Guangdong Provincial Department of Education · 2024 Tertiary Education Scientific research project of Guangzhou Municipal Education Bureau

References (50)

Show source-provided references
1. Advancing energy storage: The future trajectory of lithium-ion battery technologies10.1016/j.est.2025.116511 ↗
2. Sulfur-doped graphene promoted Li4Ti5O12@C nanocrystals for lithium-ion batteries10.1016/j.jallcom.2022.164599 ↗
3. A review of state-of-health estimation for lithium-ion battery packs10.1016/j.est.2025.116078 ↗
4. Ahwiadi, M., and Wang, W. (2025). Battery Health Monitoring and Remaining Useful Life Prediction Techniques: A Review of Technologies. Batteries, 11.10.3390/batteries11010031 ↗
5. Performance Evaluation Of State Estimation Algorithms For Li Ion Battery State Of Health10.64252/srng8x25 ↗
6. Multi-year field measurements of home storage systems and their use in capacity estimation10.1038/s41560-024-01620-9 ↗
7. Lithium-ion-battery state of health estimation based on coefficient of variation10.1088/1742-6596/2968/1/012004 ↗
8. Hao, Z., Sun, Q., Zhang, Y., and Yuan, Z. (2025, January 18–21). Application of Attention-Based CNN-BiLSTM Model in Lithium-Ion Battery SOH Prediction. Proceedings of the 2025 International Conference of Clean Energy and Electrical Engineering (ICCEEE), Changchun, China.10.1109/ICCEEE63357.2025.11156893 ↗
9. Liu, G., Deng, Z., Xu, Y., Lai, L., Gong, G., Tong, L., Zhang, H., Li, Y., Gong, M., and Yan, M. (2025). Lithium-Ion Battery State of Health Estimation Based on CNN-LSTM-Attention-FVIM Algorithm and Fusion of Multiple Health Features. Appl. Sci., 15.10.3390/app15137555 ↗
10. Data-Driven Approaches for Estimation of EV Battery SoC and SoH: A Review10.1109/ACCESS.2025.3539528 ↗
11. Gong, J.Q., Xu, B., Chen, F.H., and Zhou, G. (2025). Predictive Modeling for Electric Vehicle Battery State of Health: A Comprehensive Literature Review. Energies, 18.10.3390/en18020337 ↗
12. Mandal, S., Sah, B., Mulpuri, S.K., Barai, A., and Kumar, P. (2025, January 11–14). Develop a Versatile ECM Framework Capable of Accurately Representing Multiple Cell Types. Proceedings of the 2025 IEEE Energy Conversion Congress & Exposition Asia (ECCE-Asia), Bengaluru, India.10.1109/ECCE-Asia63110.2025.11112485 ↗
13. Research Advances on Lithium-Ion Batteries Calendar Life Prognostic Models10.1002/cnl2.192 ↗
14. Comprehensive Review of Machine Learning, Deep Learning, and Digital Twin Data-Driven Approaches in Battery Health Prediction of Electric Vehicles10.1109/ACCESS.2024.3380452 ↗
15. Data-based health indicator extraction for battery SOH estimation via deep learning10.1016/j.est.2023.109982 ↗
16. Extraction of incipient fault features of rolling bearing based on CWSSMD and 1.5D-EDEO demodulation10.1088/1361-6501/acaf95 ↗
17. Rolling Bearing Fault Diagnosis Based on MResNet-LSTM10.20855/ijav.2024.29.22030 ↗
18. Tang, K., Luo, B., Chen, D., Wang, C., Chen, L., Li, F., Cao, Y., and Wang, C. (2025). The State of Health Estimation of Lithium-Ion Batteries: A Review of Health Indicators, Estimation Methods, Development Trends and Challenges. World Electr. Veh. J., 16.10.3390/wevj16080429 ↗
19. SOH estimation of lithium-ion battery under complex operating conditions based on BP neural network10.1088/1742-6596/2932/1/012058 ↗
20. A lithium-ion battery SOH estimation method based on temporal pattern attention mechanism and CNN-LSTM model10.1016/j.compeleceng.2024.109930 ↗
21. Battery health prognosis using improved temporal convolutional network modeling10.1016/j.est.2022.104480 ↗
22. Rout, S., Samal, S.K., Gelmecha, D.J., and Mishra, S. (2025). Estimation of state of health for lithium-ion batteries using advanced data-driven techniques. Sci. Rep., 15.10.1038/s41598-025-93775-y ↗
23. Poh, W.Q.T., and Xu, Y. (2025). Advanced Data-Driven Methods for Automotive Battery Health Prognostics. [Ph.D. Thesis, Nanyang Technological University].
24. Multi-modal data information alignment based SOH estimation for lithium-ion batteries using a local–global parallel CNN-Transformer Network10.1016/j.est.2025.117178 ↗
25. Joint estimation of State of Charge (SOC) and State of Health (SOH) for lithium-ion batteries using Support Vector Machine (SVM), Convolutional Neural Network (CNN) and Long Short-Term Memory Network (LSTM) models10.1016/j.ijoes.2024.100747 ↗
26. A Hybrid Battery Equivalent Circuit Model, Deep Learning, and Transfer Learning for Battery State Monitoring10.1109/TTE.2022.3204843 ↗
27. Li, Y., and Tao, J. (2020, January 22–24). CNN and transfer learning based online SOH estimation for lithium-ion battery. Proceedings of the 2020 Chinese Control And Decision Conference (CCDC), Hefei, China.10.1109/CCDC49329.2020.9164208 ↗
28. Promising cathode materials for rechargeable lithium-ion batteries: A review
29. Battery state-of-health estimation based on random charge curve fitting and broad learning system with attention mechanism10.1016/j.jpowsour.2025.236544 ↗
30. Data-driven strategy for state of health prediction and anomaly detection in lithium-ion batteries10.1016/j.egyai.2024.100413 ↗
31. Chu, H.C., Wei, Z.C., Yang, G.L., Feng, Y.D., and Xing, Y.L. (2024, January 23–25). Prediction of the State of Health (SOH) of Lithium-Ion Batteries in Electric Vehicles Based on Temporal Convolutional Networks (TCN) with Integrated Attention Mechanisms. Proceedings of the 2024 International Conference on Electronics and Devices, Computational Science (ICEDCS), Marseille, France.
32. A Lithium-Ion Battery State-of-Health Prediction Model Combining Convolutional Neural Network and Masked Multi-Head Attention Mechanism10.1109/TEC.2024.3443629 ↗
33. State of Health Estimation of Electric Vehicle Batteries Using Transformer-Based Neural Network10.1115/1.4065762 ↗
34. State-of-Health (SoH) prediction for electric vehicle battery systems using GAN-based models with triple attention mechanisms10.1016/j.est.2025.118143 ↗
35. Mchara, W., Khalfa, M.A., and Manai, L. (2024, January 15–17). Hybrid Deep Learning with Attention Mechanism based Health State Intelligent Diagnosis of Lithium-Ion Batteries. Proceedings of the 2024 International Conference on Control, Automation and Diagnosis (ICCAD), Paris, France.10.1109/ICCAD60883.2024.10553858 ↗
36. Interpretable deep learning with uncertainty quantification for lithium-ion battery SOH estimation10.1016/j.energy.2025.138027 ↗
37. A State-of-Charge and State-of-Health Joint Estimation Method of Lithium-Ion Battery Based on Temperature-Dependent Extended Kalman Filter and Deep Learning10.1109/TIE.2024.3409912 ↗
38. Edge–cloud collaborative estimation lithium-ion battery SOH based on MEWOA-VMD and Transformer10.1016/j.est.2024.113388 ↗
39. Series-Connected Lithium-Ion Battery Packs’ Self-Adaptive SOH Estimation via Inconsistency Representation Optimization10.1109/TIM.2025.3590857 ↗
40. Cheng, K., Zhang, C., Shao, K., Tong, J., Wang, A., Zhou, Y., Zhang, Z., and Zhang, Y. (2025). A SOH Estimation Method for Lithium-Ion Batteries Based on CPA and CNN-KAN. Batteries, 11.10.3390/batteries11070238 ↗
41. Cross-domain battery SOH and RUL estimation via Domain-Adaptive Transformer10.1016/j.energy.2025.139288 ↗
42. Edge-compatible SOH estimation for Li-ion batteries via hybrid knowledge distillation and model compression
43. Data-driven prediction of battery cycle life before capacity degradation10.1038/s41560-019-0356-8 ↗
44. A novel lithium-ion battery state-of-health estimation method for fast-charging scenarios based on an improved multi-feature extraction and bagging temporal attention network10.1016/j.est.2024.113396 ↗
45. State of health estimation for lithium-ion batteries based on impedance feature selection and improved support vector regression10.1016/j.energy.2025.136135 ↗
46. Feature selection strategy optimization for lithium-ion battery state of health estimation under impedance uncertainties10.1016/j.jechem.2024.09.032 ↗
47. Varshney, S., Kumar, B., and Mittal, A.P. (2025). Optimized XGBoost framework for RUL prediction of lithium-ion batteries using multi health indicators. Proc. Inst. Mech. Eng. Part A J. Power Energy.10.1177/09576509251392983 ↗
48. State-of-health rapid estimation for lithium-ion battery based on an interpretable stacking ensemble model with short-term voltage profiles10.1016/j.energy.2022.126064 ↗
49. Lu, X., Yang, X., Wang, X., Shi, Y., Wang, J., Yao, Y., Gao, X., Xie, H., and Chen, S. (2025). Small-Sample Battery Capacity Prediction Using a Multi-Feature Transfer Learning Framework. Batteries, 11.10.3390/batteries11020062 ↗
50. An explainable state of health estimation method for sodium-ion batteries based on Kolmogorov-Arnold networks10.1016/j.est.2025.118887 ↗