Abstract
Accurate energy consumption estimation is critical for mitigating "range anxiety" in electric vehicle (EV) adoption. However, traditional centralized learning faces privacy risks, while standard Federated Learning (FL) struggles with the non-IID (non-identically and independently distributed) nature of driving data. This paper introduces Extended Federated Learning (E-FL), a framework that integrates local anomaly detection with a selective gradient-sharing policy based on similarity. E-FL enables vehicles to collaborate effectively across heterogeneous driving contexts (e.g., city vs. highway) without sharing raw data. Evaluation on real-world driving datasets demonstrates that E-FL reduces prediction error by 58.5% and accelerates convergence by 62.3% compared to baseline FL methods.
Introduction
The transition to electric vehicles is often hindered by range anxiety. While "e-route" systems aim to predict trip-specific energy usage, they face two primary challenges: data heterogeneity and privacy. Driving behaviors vary significantly between urban and highway environments, making a universal model ineffective. Furthermore, pooling sensitive GPS and driving data into a central server is often unacceptable to users.
Methodology: Extended Federated Learning (E-FL)
E-FL enhances the standard FL architecture by introducing two collaborative mechanisms designed to handle data volatility and heterogeneity.
Local Anomaly Detection
Each vehicle employs an adaptive Auto-Regressive eXogenous (ARX) model to monitor its local data stream. By defining a predictive region based on historical statistical features, the system can identify and filter out anomalies—such as sensor noise or erratic driving—preventing them from degrading the global model.
Similarity-Based Sharing Policy
The core innovation of E-FL is its selective collaboration mechanism. Instead of a simple global average, the learning server implements a sharing policy based on gradient similarity. When a vehicle lacks sufficient local data (e.g., during an anomaly), it adopts learned results (gradients) only from other vehicles with similar historical learning patterns. This ensures that a city-bound vehicle learns from peers in similar traffic conditions rather than highway cruisers.
Experimental Evaluation
The proposed framework was tested using the "Battery and heating data in real driving cycles" dataset, encompassing 26 trip datasets with over 20 features, including velocity, elevation, and motor torque. The trips represented distinct patterns of city-street and highway driving.
Key Results
- Accuracy: E-FL achieved a 58.5% reduction in prediction error (sqrt MSE) compared to unconditional federated learning (U-FL).
- Convergence: The model reached stability 62.3% faster than standard approaches, facilitating rapid adaptation to new driving environments.
- Generalization: On unseen test data, E-FL maintained a low sqrt MSE (~5.28), significantly outperforming restricted FL (11.10) and anomaly-only models (11.55).
Conclusion
Extended Federated Learning provides a robust, privacy-preserving solution for EV energy estimation. By leveraging local anomaly detection and context-aware gradient sharing, E-FL overcomes the limitations of non-IID data in decentralized networks. Future work will focus on integrating prospective traffic information and evaluating scalability in larger, high-churn vehicle networks.
Summary updated