Optimizing the Battery-Swapping Problem in Urban E-Bike Systems with Reinforcement Learning

Abstract

E-bikes (EBs) are a key transportation mode in urban area, especially for couriers of delivery platforms, but underdeveloped EB systems can hinder courier's productivity due to limited battery capacity. Battery-swapping stations address this issue by enabling riders to exchange depleted batteries for fully charged ones. However, managing supply and demand (SnD) imbalances at these stations has become increasingly complex. To address this, we introduce a new approach that formulates the Battery-Swapping Problem (BSP) as a discrete-time Markov Decision Process (MDP) to capture the dynamics of SnD imbalances. Building on it, we propose a Wasserstein-enhanced Proximal Policy Optimization (W-PPO) algorithm, which integrates Wasserstein distance with reinforcement learning to improve the robustness against uncertainty in forecasting SnD. W-PPO provides a BSP-specific, accurate loss function that reflects reward variations between two policies under real-world simulation. The algorithm’s effectiveness is assessed using key metrics: Shared Battery Utilization Ratio (SBUR) and Battery Supply Ratio (BSR). Simulations on real-world datasets show that W-PPO achieves a 30.59% improvement in SBUR and a 16.09% increase in BSR ensures practical applicability. By optimizing battery utilization and improving EB delivery systems, this work highlights the potential of AI for creating efficient and sustainable urban transportation solutions.

Cite

Text

Li et al. "Optimizing the Battery-Swapping Problem in Urban E-Bike Systems with Reinforcement Learning." International Joint Conference on Artificial Intelligence, 2025. doi:10.24963/IJCAI.2025/1029

Markdown

[Li et al. "Optimizing the Battery-Swapping Problem in Urban E-Bike Systems with Reinforcement Learning." International Joint Conference on Artificial Intelligence, 2025.](https://mlanthology.org/ijcai/2025/li2025ijcai-optimizing/) doi:10.24963/IJCAI.2025/1029

BibTeX

@inproceedings{li2025ijcai-optimizing,
  title     = {{Optimizing the Battery-Swapping Problem in Urban E-Bike Systems with Reinforcement Learning}},
  author    = {Li, Wenjing and Li, Zhao and Liu, Xuanwu and Zhu, Ruihao and Zheng, Zhenzhe and Wu, Fan},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {9259-9267},
  doi       = {10.24963/IJCAI.2025/1029},
  url       = {https://mlanthology.org/ijcai/2025/li2025ijcai-optimizing/}
}