When Labels Shift: Few-Shot Fine-Tuning Versus Unsupervised Domain Adaptation for Cross-Dataset Battery Cycle-Life Prediction
Abstract
Lithium-ion batteries are widely deployed in electric vehicles and energy-storage systems, and accurate early prediction of cycle life is critical for safety, warranty cost, and second-life planning. Models trained on one dataset, however, rarely transfer to new chemistries, test protocols, or laboratories, and re-collecting full-life labels for every new scenario is prohibitively slow. This study investigates which transfer paradigm is effective for cross-dataset battery cycle-life prediction under such distribution shift. A CNN-LSTM regressor and two public datasets, Stanford (41 NMC532 cells) and Tongji (130 NCA/NCM cells), are used to run a six-experiment ladder covering in-domain baselines, direct transfer, few-shot fine-tuning, multi-kernel MMD alignment, MMD pre-training plus fine-tuning, and adversarial DANN, in both transfer directions, with strict isolation between adaptation and test cells and from-scratch controls for every supervised variant. Direct transfer collapses (MAE 517 cycles), driven mainly by a threefold gap in mean cycle life (220 versus 685 cycles). Fine-tuning with only five target cells reduces MAE by 81% to about 98 cycles, while unsupervised alignment methods (MMD 394, DANN 474) clearly underperform, and MMD pre-training adds no gain. The underperformance of feature alignment is attributed to label shift between the two fleets, and a pre-train-then-fine-tune recipe is recommended for transferable battery prognostics. Mixed-domain random splits are also shown to overstate model quality through domain leakage, so per-domain evaluation is advised.
References
- Severson, K. A., Attia, P. M., Jin, N., et al. (2019). Data-driven prediction of battery cycle life before capacity degradation.Nature Energy, 4, 383–391.
- Attia, P. M., Grover, A., Jin, N., et al. (2020). Closed-loop optimization of fast-charging protocols for batteries with machine learning.Nature, 578, 397–402.
- Roman, D., Saxena, S., Robu, V., et al. (2021). Machine learning pipeline for battery state-of-health estimation.Nature Machine Intelligence, 3, 447–456.
- Pan, S. J., & Yang, Q. (2010). A survey on transfer learning.IEEE Transactions on Knowledge and Data Engineering, 22, 1345–1359.
- Long, M., Cao, Y., Wang, J., et al. (2015). Learning transferable features with deep adaptation networks.Proceedings of the 32nd International Conference on Machine Learning, 37, 97–105.
- Gretton, A., Borgwardt, K. M., Rasch, M. J., et al. (2012). A kernel two-sample test.Journal of Machine Learning Research, 13, 723–773.
- Ben-David, S., Blitzer, J., Crammer, K., et al. (2010). A theory of learning from different domains.Machine Learning, 79, 151–175.
- Ganin, Y., Ustinova, E., Ajakan, H., et al. (2016). Domain-adversarial training of neural networks.Journal of Machine Learning Research, 17, 1–35.
- Lipton, Z. C., Wang, Y. X., Smola, A. (2018). Detecting and correcting for label shift with black box predictors.Proceedings of the 35th International Conference on Machine Learning, 80, 3122–3130.
- Zhu, J., Wang, Y., Huang, Y., et al. (2022). Data-driven capacity estimation of commercial lithium-ion batteries from voltage relaxation.Nature Communications, 13, 2261.
- Hochreiter, S., Schmidhuber, J. (1997). Long short-term memory.Neural Computation, 9, 1735–1780.