English

Transfer Learning Assisted XgBoost For Adaptable Cyberattack Detection In Battery Packs

Systems and Control 2026-01-21 v1 Machine Learning Systems and Control

Abstract

Optimal charging of electric vehicle (EVs) depends heavily on reliable sensor measurements from the battery pack to the cloud-controller of the smart charging station. However, an adversary could corrupt the voltage sensor data during transmission, potentially causing local to wide-scale disruptions. Therefore, it is essential to detect sensor cyberattacks in real-time to ensure secure EV charging, and the developed algorithms must be readily adaptable to variations, including pack configurations. To tackle these challenges, we propose adaptable fine-tuning of an XgBoost-based cell-level model using limited pack-level data to use for voltage prediction and residual generation. We used battery cell and pack data from high-fidelity charging experiments in PyBaMM and `liionpack' package to train and test the detection algorithm. The algorithm's performance has been evaluated for two large-format battery packs under sensor swapping and replay attacks. The simulation results also highlight the adaptability and efficacy of our proposed detection algorithm.

Keywords

Cite

@article{arxiv.2504.10658,
  title  = {Transfer Learning Assisted XgBoost For Adaptable Cyberattack Detection In Battery Packs},
  author = {Sanchita Ghosh and Tanushree Roy},
  journal= {arXiv preprint arXiv:2504.10658},
  year   = {2026}
}

Comments

9 pages, 5 figures

R2 v1 2026-06-28T22:58:19.428Z