2611005711
  • Open Access
  • Article

Secondary Battery Swapping Prediction with Temporal Edge-Enhanced Bipartite Graph Neural Networks

  • Jinsheng Ding 1,2,   
  • Chunqi Wu 3,   
  • Zhao Li 2,*,   
  • Dekun Tan 1,   
  • Pan Tang 3,   
  • Donghui Ding 2,   
  • Jiaming Huang 2,   
  • Chonghui Zheng 4 and 
  • Yuhua Zheng 4

Received: 25 May 2026 | Revised: 29 October 2026 | Accepted: 19 November 2026 | Published: 01 December 2026

Abstract

Battery-as-a-Service platforms support time-critical urban logistics but may experience secondary battery swapping (SBS), in which a rider swaps again within 30 min after an initial exchange. Predicting these events may help improve user–battery matching. We formulate SBS prediction as a dynamic edge-level risk estimation task on a user–battery bipartite graph and propose TEB-GNN, a temporal edge-enhanced bipartite graph neural network. The framework combines edge-enhanced spatial aggregation, temporal node memory, and city-conditioned embeddings within a shared representation space. Evaluation uses a real-world dataset comprising 14,370,133 interactions over 215 days. In the reported offline comparison, TEB-GNN attains an AUC of 80.19% and an AP of 34.91%, exceeding the evaluated baselines. Component ablations support the predictive contribution of spatial, temporal, and city-context modeling. Online A/B results report lower SBS rates under a TEB-GNN-based strategy in three cities. These findings support dynamic graph modeling for SBS risk estimation, while finer temporal resolution, feature-group attribution, and more complete reporting of cross-city and online evaluation remain necessary to strengthen the interpretation of the results.

References 

  • 1.

    Jiang, L.; Zhao, B.; Li, Z.; et al. Optimization and Management Strategies of Electric Two Wheeled Vehicle Battery Exchange Network Based on Artificial Intelligence. In Proceedings of the 2024 International Conference on Power, Electrical Engineering, Electronics and Control (PEEEC), Athens, Greece, 14–16 August 2024; pp. 209–213. https://doi.org/10.1109/peeec63877.2024.00044.

  • 2.

    Ding, D.; Li, Z.; Zhang, J.; et al. eBaaS: AIoT-Enabled eBike Battery-Swap as a Service for Last-Mile Delivery. In Proceedings of the WWW’25: The ACM Web Conference 2025, Sydney, NSW, Australia, 28 April–2 May 2025; pp. 5045–5053. https://doi.org/10.1145/3696410.3714503.

  • 3.

    Gupta, A.; Yadav, R.; Nair, A.; et al. FairFoody: Bringing In Fairness in Food Delivery. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtual, 22 February–1 March 2022; Volume 36, pp. 11900–11907. https://doi.org/10.1609/aaai.v36i11.21447.

  • 4.

    Zhang, Y.; Fan, Y.; Liu, P.; et al. Cyber Food Swamps: Investigating the Impacts of Online-to-Offline Food Delivery Platforms on Healthy Food Choices. In Proceedings of the International AAAI Conference on Web and Social Media, Copenhagen, Denmark, 23–26 June 2025; Volume 19, pp. 2260–2272. https://doi.org/10.1609/icwsm.v19i1.35932.

  • 5.

    Qi, W.; Zhang, Y.; Zhang, N. Scaling Up Electric-Vehicle Battery Swapping Services in Cities: A Joint Location and Repairable-Inventory Model. Manag. Sci. 2023, 69, 6855–6875. https://doi.org/10.1287/mnsc.2023.4731.

  • 6.

    Li, Z.; Liu, Y.; Zhou, C.; et al. Transformer-based Graph Neural Networks for Battery Range Prediction in AIoT Battery-Swap Services. In Proceedings of the 2024 IEEE International Conference on Web Services (ICWS), Shenzhen, China, 7–13 July 2024; pp. 1168–1176. https://doi.org/10.1109/icws62655.2024.00140.

  • 7.

    Zheng, L.; Ding, D.; Li, Z.; et al. Anomaly Detection in Battery Charging Systems: A Deep Sequence Model Approach. In Proceedings of the 2023 IEEE Intl Conf on Parallel & Distributed Processing with Applications, Big Data & Cloud Computing, Sustainable Computing & Communications, Social Computing & Networking (ISPA/BDCloud/SocialCom/SustainCom), Wuhan, China, 21–24 December 2023; pp. 587–594. https://doi.org/10.1109/ispa-bdcloud-socialcom_sustaincom59178.2023.00109.

  • 8.

    Zhang, X.; Cao, Y.; Peng, L.; et al. Towards Efficient Battery Swapping Service Operation Under Battery Heterogeneity. IEEE Trans. Veh. Technol. 2020, 69, 6107–6118. https://doi.org/10.1109/tvt.2020.2989195.

  • 9.

    Jatschka, T.; Oberweger, F.F.; Rodemann, T.; et al. Distributing Battery Swapping Stations for Electric Scooters in an Urban Area. In Optimization and Applications; Springer International Publishing: Cham, Switzerland, 2020; pp. 150–165. https://doi.org/10.1007/978-3-030-62867-3_12.

  • 10.

    Hao, X.; Cao, M.; Li, L.; et al. A two-layer programming for highway heavy-duty truck battery swapping stations. Energy 2025, 321, 135461. https://doi.org/10.1016/j.energy.2025.135461.

  • 11.

    Yang, H.; Qin, W.; Zhou, Y. User-based Battery Swapping Strategy in an Electric Bike-sharing System. In Proceedings of the 2022 IEEE International Conference on Industrial Engineering and Engineering Management (IEEM), Kuala Lumpur, Malaysia, 7–10 December 2022; pp. 0236–0240. https://doi.org/10.1109/ieem55944.2022.9989569.

  • 12.

    Zhou, S.; Gu, Y.; Li, Z.; et al. eBASE: Real-Time Battery Swap Recommendation System for eBike Users. In Database Systems for Advanced Applications; Springer Nature: Singapore, 2026; Volume 15991, pp. 492–496. https://doi.org/10.1007/978-981-95-4158-4_38.

  • 13.

    Li, Z.; Ren, G.; Gu, Y.; et al. Real-time E-bike Route Planning with Battery Range Prediction. In Proceedings of the WSDM’24: The 17th ACM International Conference on Web Search and Data Mining, Merida, Mexico, 4–8 March 2024; pp. 1070–1073. https://doi.org/10.1145/3616855.3635696.

  • 14.

    Kumar, P.; Singh, A. Emerging Opportunities for Battery Swapping in the Electric Two-Wheeler Segment in India. Transp. Res. Rec. J. Transp. Res. Board 2024, 2678, 568–582. https://doi.org/10.1177/03611981231171916.

  • 15.

    Kreft, M.; Brudermueller, T.; Fleisch, E.; et al. Predictability of electric vehicle charging: Explaining extensive user behavior-specific heterogeneity. Appl. Energy 2024, 370, 123544. https://doi.org/10.1016/j.apenergy.2024.123544.

  • 16.

    Habbal, A.; Alrifaie, M.F. A User-Preference-Based Charging Station Recommendation for Electric Vehicles. IEEE Trans. Intell. Transp. Syst. 2024, 25, 11617–11634. https://doi.org/10.1109/tits.2024.3379469.

  • 17.

    Razi, R.; Hajar, K.; Hably, A.; et al. A Predictive Two-Stage User-Centered Algorithm for Smart Charging of Plug-In Electric Vehicles Considering the State of Health of the Battery. IEEE Trans. Transp. Electrif. 2024, 10, 4746–4756. https://doi.org/10.1109/tte.2023.3318378.

  • 18.

    Ji, Z.; Teng, F.; Teng, C.; et al. User-preference-aware charging scheduling for electric vehicles based on motivation-hygiene theory. Energy 2025, 335, 138194. https://doi.org/10.1016/j.energy.2025.138194.

  • 19.

    Sankar, A.; Wu, Y.; Gou, L.; et al. DySAT: Deep Neural Representation Learning on Dynamic Graphs via Self-Attention Networks. In Proceedings of the WSDM’20: The Thirteenth ACM International Conference on Web Search and Data Mining, Houston, TX, USA, 3–7 February 2020; pp. 519–527. https://doi.org/10.1145/3336191.3371845.

  • 20.

    Xu, D.; Ruan, C.; Korpeoglu, E.; et al. Inductive Representation Learning on Temporal Graphs. arXiv 2020, arXiv:2002.07962.

  • 21.

    Rossi, E.; Chamberlain, B.; Frasca, F.; et al. Temporal Graph Networks for Deep Learning on Dynamic Graphs. arXiv 2020, arXiv:2006.10637.

  • 22.

    Zheng, L.; Li, Z.; Li, J.; et al. AddGraph: Anomaly Detection in Dynamic Graph Using Attention-based Temporal GCN. In Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence (IJCAI-19), Macao, China, 10–16 August 2019; pp. 4419–4425. https://doi.org/10.24963/ijcai.2019/614.

  • 23.

    Song, W.; Xiao, Z.; Wang, Y.; et al. Session-Based Social Recommendation via Dynamic Graph Attention Networks. In Proceedings of the WSDM’19: The Twelfth ACM International Conference on Web Search and Data Mining, Melbourne VIC, Australia, 11–15 February 2019; pp. 555–563. https://doi.org/10.1145/3289600.3290989.

  • 24.

    Hsu, C.; Li, C.T. RetaGNN: Relational Temporal Attentive Graph Neural Networks for Holistic Sequential Recommendation. In Proceedings of the WWW’21: The Web Conference 2021, Ljubljana, Slovenia, 19–23 April 2021; pp. 2968–2979. https://doi.org/10.1145/3442381.3449957.

  • 25.

    Tang, H.; Wu, S.; Xu, G.; et al. Dynamic Graph Evolution Learning for Recommendation. In Proceedings of the SIGIR’23: The 46th International ACM SIGIR Conference on Research and Development in Information Retrieval, Taipei, Taiwan, 23–27 July 2023; pp. 1589–1598. https://doi.org/10.1145/3539618.3591674.

  • 26.

    Oh, E.; Kim, T. TempGNN: Temporal Graph Neural Networks for Dynamic Session-Based Recommendations. arXiv 2023, arXiv:2310.13249.

  • 27.

    Webb, G.I. Naïve Bayes. In Encyclopedia of Machine Learning; Springer: Boston, MA, USA, 2011; pp. 713–714. https://doi.org/10.1007/978-0-387-30164-8_576.

  • 28.

    Taud, H.; Mas, J.F. Multilayer Perceptron (MLP). In Geomatic Approaches for Modeling Land Change Scenarios; Springer International Publishing: Cham, Switzerland, 2018; pp. 451–455. https://doi.org/10.1007/978-3-319-60801-3_27.

  • 29.

    Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the KDD’16: The 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. https://doi.org/10.1145/2939672.2939785.

  • 30.

    Kipf, T.N.; Welling, M. Semi-Supervised Classification with Graph Convolutional Networks. arXiv 2016, arXiv:1609.02907.

  • 31.

    Veličković, P.; Cucurull, G.; Casanova, A.; et al. Graph Attention Networks. In Proceedings of the International Conference on Learning Representations, Vancouver, BC, Canada, 30 April–3 May 2018.

  • 32.

    Hamilton, W.L.; Ying, R.; Leskovec, J. Inductive Representation Learning on Large Graphs. In Proceedings of the Advances in Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; Volume 30, pp. 1024–1034.

  • 33.

    Zhao, L.; Song, Y.; Zhang, C.; et al. T-GCN: A Temporal Graph Convolutional Network for Traffic Prediction. IEEE Trans. Intell. Transp. Syst. 2020, 21, 3848–3858. https://doi.org/10.1109/tits.2019.2935152.

  • 34.

    Duan, M.; Zheng, T.; Gao, Y.; et al. DGA-GNN: Dynamic Grouping Aggregation GNN for Fraud Detection. In Proceedings of the AAAI Conference on Artificial Intelligence, Vancouver, BC, Canada, 20–27 February 2024; Volume 38, pp. 11820–11828. https://doi.org/10.1609/aaai.v38i10.29067.

  • 35.

    Liu, S.; Yao, D.; Fang, L.; et al. AnomalyLLM: Few-Shot Anomaly Edge Detection for Dynamic Graphs Using Large Language Models. In Proceedings of the 2024 IEEE International Conference on Data Mining (ICDM), Abu Dhabi, United Arab Emirates, 9–12 December 2024; pp. 785–790. https://doi.org/10.1109/icdm59182.2024.00093.

Share this article:
How to Cite
Ding, J.; Wu, C.; Li, Z.; Tan, D.; Tang, P.; Ding, D.; Huang, J.; Zheng, C.; Zheng, Y. Secondary Battery Swapping Prediction with Temporal Edge-Enhanced Bipartite Graph Neural Networks. Transactions on Graph Intelligence and Network Applications 2026. https://doi.org/10.53941/tgina.2026.100011.
RIS
BibTex
Copyright & License
article copyright Image
Copyright (c) 2026 by the authors.
Article Metrics
12
Article Views
0
Citations