Multi-Domain Machine Learning Framework for Electric Vehicle Charging Prediction
Hanan Thwany, Muhammad Alolaiwy, Mohamed Zohdy
Electric vehicle (EV) adoption is rising rapidly, creating growing challenges for charging infrastructure planning, energy demand management, and grid stability. However, most existing studies rely on single-domain data, such as behavioral charging sessions or station metadata, which limits their ability to capture the joint effects of user behavior, charger characteristics, and market context. To address this gap, this study proposes a multi-domain machine learning framework for EV charger-type prediction by integrating behavioral, infrastructure, and market-level data. Behavioral charging logs are transformed into structured event-token sequences and modeled using XLM-RoBERTa (Cross-lingual Language Model–RoBERTa), which is used here as a transformer-based sequence encoder to capture long-range dependencies in charging behavior. Structured infrastructure and market features are modeled using LightGBM and TabNet. The study contributes a unified multi-domain framework, a systematic comparison of transformer and tabular-learning models, and a broader evaluation through ablation analysis, cross-validation, confusion matrix analysis, and confidence calibration. The results show that multi-domain fusion consistently improves performance over single-domain learning. XLM-RoBERTa achieved the best overall performance on the fused dataset, with 98.76% accuracy and 97.86% weighted F1-score, while TabNet demonstrated stronger calibration and deployment reliability.