Federated Learning-Based Prediction of Energy Consumption from Blockchain-Based Black Box Data for Electric Vehicles
<p>System components for electric vehicle data management.</p> "> Figure 2
<p>The improvement in performance per driving cycle for the multi-stage model compared to the single model.</p> "> Figure 3
<p>Robustness verification results of FL-QLMS against various Byzantine attacks.</p> "> Figure 4
<p>Comparison of prediction results between single-stage and multi-stage models (sample driving sequence).</p> "> Figure 5
<p>Comparison of test accuracy between centralized FL, vanilla FL, and partially decentralized FL methods.</p> "> Figure 6
<p>Comparison of TPS improvement effects with scalability solutions.</p> "> Figure 7
<p>TPS changes according to the number of electric vehicles.</p> "> Figure 8
<p>Comparison of latency improvement effects with scalability solutions.</p> "> Figure 9
<p>Changes in test accuracy according to label flipping ratio and backdoor insertion rate.</p> "> Figure 10
<p>Test Accuracy of Algorithms Against Model Poisoning and Adversarial Imitation Learning Attacks.</p> ">
Abstract
:1. Introduction
1.1. Research Background
1.2. Existing Research and Limitations
1.2.1. Blockchain-Based Data Management
1.2.2. EV Charging Demand Prediction
1.3. Proposed System Overview and Features
2. Materials and Methods
2.1. System Components
- Data collection and local training: Electric vehicles collect data and train a local energy consumption prediction model.
- Data transmission: The trained local model parameters are encrypted and sent to the aggregator.
- Data aggregation and global model creation: The aggregator collects, selects, and aggregates the local models using the FL-QLMS technique to create a global model.
- Blockchain verification and storage: The global model is submitted to the blockchain, where its integrity is validated and it is securely recorded.
- Model distribution: The verified global model is made available for download by electric vehicles, which update their local models, thus continuously improving their performance.
2.2. Black Box Data Management
2.3. Multi-Stage Power Consumption Prediction
2.4. Robust Federated Learning Based on FL-QLMS
Algorithm 1 FL-QLMS |
|
3. Results
3.1. Experimental Design
3.2. Performance Evaluation of Prediction Models
3.3. Verification of Blockchain Efficiency
3.4. Evaluation of Robustness in Federated Learning
4. Discussion and Conclusions
4.1. Significance of the Research
4.2. Limitations and Future Research Directions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- International Energy Agency (IEA). Global EV Outlook 2024: Moving towards Increased Affordability. Available online: https://www.iea.org/reports/global-ev-outlook-2024 (accessed on 15 June 2024).
- Clean Energy Ministerial. EV30@30: A Campaign Launched under the Electric Vehicle Initiative. Available online: http://www.cleanenergyministerial.org/campaign-clean-energy-ministerial/ev3030-campaign (accessed on 15 June 2024).
- Rajakaruna, S.; Shahnia, F.; Ghosh, A. Plug in Electric Vehicles in Smart Grids: Integration Techniques; Springer: Berlin/Heidelberg, Germany, 2015. [Google Scholar]
- Zhang, K.; Xu, L.; Ouyang, M.; Wang, H.; Lu, L.; Li, J.; Li, Z. Optimal decentralized valley-filling charging strategy for electric vehicles. Energy Convers. Manag. 2014, 78, 537–550. [Google Scholar] [CrossRef]
- Weiller, C.; Neely, A. Using electric vehicles for energy services: Industry perspectives. Energy 2014, 77, 194–200. [Google Scholar] [CrossRef]
- Frendo, O.; Graf, J.; Gaertner, N.; Stuckenschmidt, H. Data-driven smart charging for heterogeneous electric vehicle fleets. Energy AI 2020, 1, 100007. [Google Scholar] [CrossRef]
- Frendo, O.; Gaertner, N.; Stuckenschmidt, H. Improving smart charging prioritization by predicting electric vehicle departure time. IEEE Trans. Intell. Transp. Syst. 2019, 21, 4392–4403. [Google Scholar] [CrossRef]
- Shafie-Khah, M.; Siano, P.; Fitiwi, D.Z.; Mahmoudi, N.; Catalão, J.P. An innovative two-level model for electric vehicle parking lots in distribution systems with renewable energy. IEEE Trans. Smart Grid 2018, 9, 1506–1520. [Google Scholar] [CrossRef]
- Gupta, N.; Lamba, H.; Kumaraguru, P.; Joshi, A. Faking sandy: Characterizing and identifying fake images on twitter during hurricane sandy. In Proceedings of the 22nd International Conference on World Wide Web, Rio de Janeiro, Brazil, 13–17 May 2013; pp. 729–736. [Google Scholar]
- Bhagat, S.; Rani, V. Security concerns related to electric vehicles: Challenges and solutions. Arch. Comput. Methods Eng. 2021, 1, 1–21. [Google Scholar]
- Beck, R.; Stenum Czepluch, J.; Lollike, N.; Malone, S. Blockchain—The Gateway to Trust-Free Cryptographic Transactions. In Proceedings of the European Conference on Information Systems (ECIS), Atlanta, GA, USA, 12–15 June 2016; p. 153. [Google Scholar]
- NIST. Recommendation for Key Management: Part 1: General (Revision 3). Available online: https://csrc.nist.gov/publications/detail/sp/800-57-part-1/rev-3/final (accessed on 10 March 2021).
- Mingxiao, D.; Xiaofeng, M.; Zhe, Z.; Xiangwei, W.; Qijun, C. A review on consensus algorithm of blockchain. In Proceedings of the 2017 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Banff, AB, Canada, 5–8 October 2017; pp. 2567–2572. [Google Scholar]
- Sedlmeir, J.; Buhl, H.U.; Fridgen, G.; Keller, R. The energy consumption of blockchain technology: Beyond myth. Bus. Inf. Syst. Eng. 2020, 62, 599–608. [Google Scholar] [CrossRef]
- Baza, M.; Nabil, M.; Ismail, M.; Mahmoud, M.; Serpedin, E.; Rahman, M. Blockchain-based charging coordination mechanism for smart grid energy storage units. In Proceedings of the 2019 IEEE International Conference on Blockchain (Blockchain), Atlanta, GA, USA, 14–17 July 2019; pp. 504–509. [Google Scholar]
- Li, Z.; Bahramirad, S.; Paaso, A.; Yan, M.; Shahidehpour, M. Blockchain for decentralized transactive energy management system in networked microgrids. Electr. J. 2019, 32, 58–72. [Google Scholar] [CrossRef]
- Aitzhan, N.Z.; Svetinovic, D. Security and privacy in decentralized energy trading through multi-signatures, blockchain and anonymous messaging streams. IEEE Trans. Dependable Secur. Comput. 2016, 15, 840–852. [Google Scholar] [CrossRef]
- Dorri, A.; Kanhere, S.S.; Jurdak, R.; Gauravaram, P. Blockchain for IoT security and privacy: The case study of a smart home. In Proceedings of the 2017 IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops), Kona, HI, USA, 13–17 March 2017; pp. 618–623. [Google Scholar]
- Yang, Z.; Yang, K.; Lei, L.; Zheng, K.; Leung, V.C. Blockchain-based decentralized trust management in vehicular networks. IEEE Internet Things J. 2018, 6, 1495–1505. [Google Scholar] [CrossRef]
- Lu, Y.; Wu, X.; Li, J.; Xu, D. A Peer-to-Peer Energy Trading System for Electric Vehicles Based on Consortium Blockchain. IEEE Access 2021, 9, 128657–128668. [Google Scholar]
- Yang, T.; Guo, Q.; Tai, X.; Sun, H.; Zhang, B.; Zhao, W.; Lin, C. Applying blockchain technology to decentralized operation in future energy internet. In Proceedings of the 2017 IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, China, 26–28 November 2017; pp. 1–5. [Google Scholar]
- ISO/IEC 25024:2015; Systems and Software Engineering—Systems and Software Quality Requirements and Evaluation (SQuaRE)—Measurement of Data Quality. ISO: Geneva, Switzerland, 2015.
- ISO 20762:2018; Electrically Propelled Road Vehicles—Determination of Power for Propulsion of Hybrid Electric Vehicle. ISO: Geneva, Switzerland, 2018.
- Lamport, L.; Shostak, R.; Pease, M. The Byzantine generals problem. In Concurrency: The Works of Leslie Lamport; Springer: Berlin/Heidelberg, Germany, 2019; pp. 203–226. [Google Scholar]
- Wang, S.; Taha, A.F.; Wang, J.; Kvaternik, K.; Hahn, A. Energy crowdsourcing and peer-to-peer energy trading in blockchain-enabled smart grids. IEEE Trans. Syst. Man Cybern. Syst. 2019, 49, 1612–1623. [Google Scholar] [CrossRef]
- Li, X.; Huang, X.; Li, C.; Yu, R.; Shu, L. EdgeCare: Leveraging edge computing for collaborative data management in mobile healthcare systems. IEEE Access 2019, 7, 22011–22025. [Google Scholar] [CrossRef]
- Li, Y.; Zhang, Y.; Huang, K.; Xie, H.; Cai, Z. BC-FL: A byzantine consensus protocol using committee mechanism for federated learning. Appl. Sci. 2020, 10, 4193. [Google Scholar]
- Sutskever, I.; Vinyals, O.; Le, Q.V. Sequence to sequence learning with neural networks. In Proceedings of the Advances in Neural Information Processing Systems, Montreal, QC, Canada, 8–13 December 2014; Volume 27. [Google Scholar]
- Ryffel, T.; Trask, A.; Dahl, M.; Wagner, B.; Mancuso, J.; Rueckert, D.; Passerat-Palmbach, J. A generic framework for privacy preserving deep learning. arXiv 2018, arXiv:1811.04017. [Google Scholar]
- Zamani, M.; Movahedi, M.; Raykova, M. Rapidchain: A fast blockchain protocol via full sharding. In Proceedings of the CCS ’18: 2018 ACM SIGSAC Conference on Computer and Communications Security, Toronto, ON, Canada, 15–19 October 2018; Volume 460. [Google Scholar]
- Sheng-Nan, W.; Xing-Yu, G.; Zhi-Hui, Z.; Er-Hui, C. A Dynamic Committee Consensus Mechanism Based on Raft Algorithm in Permissioned Blockchain. In Proceedings of the 2021 International Conference on Computer Communications and Networks (ICCCN), Virtual, 19–22 July 2021; pp. 1–8. [Google Scholar]
- Dang, H.; Dinh, T.T.A.; Loghin, D.; Chang, E.C.; Lin, Q.; Ooi, B.C. Towards scaling blockchain systems via sharding. In Proceedings of the 2019 International Conference on Management of Data, Amsterdam, The Netherlands, 30 June–5 July 2019; pp. 123–140. [Google Scholar]
- Khalil, R.; Gervais, A.; Felley, G. TEX—A securely scalable trustless exchange. IACR Cryptol. ePrint Arch. 2019, 2019, 265. [Google Scholar]
- Biggio, B.; Nelson, B.; Laskov, P. Poisoning attacks against support vector machines. arXiv 2012, arXiv:1206.6389. [Google Scholar]
- Chen, S.; Xue, M.; Fan, L.; Hao, S.; Xu, L.; Zhu, H.; Li, B. Automated poisoning attacks and defenses in malware detection systems: An adversarial machine learning approach. Comput. Secur. 2018, 73, 326–344. [Google Scholar] [CrossRef]
- Gu, T.; Liu, K.; Dolan-Gavitt, B.; Garg, S. BadNets: Evaluating Backdooring Attacks on Deep Neural Networks. IEEE Access 2019, 7, 47230–47244. [Google Scholar] [CrossRef]
- Fung, C.; Yoon, C.J.; Beschastnikh, I. Mitigating sybils in federated learning poisoning. arXiv 2018, arXiv:1808.04866. [Google Scholar]
- Bhagoji, A.N.; Chakraborty, S.; Mittal, P.; Calo, S. Analyzing federated learning through an adversarial lens. In Proceedings of the International Conference on Machine Learning, Long Beach, CA, USA, 9–15 June 2019; pp. 634–643. [Google Scholar]
- Zhang, J.; Chen, B.; Cheng, X.; Cai, H.N.; Cheng, X.; Ma, T. Poisongan: Generative poisoning attacks against federated learning in edge computing systems. IEEE Internet Things J. 2021, 8, 3310–3322. [Google Scholar] [CrossRef]
- Ho, J.; Ermon, S. Generative adversarial imitation learning. In Proceedings of the Advances in Neural Information Processing Systems, Barcelona, Spain, 5–8 December 2016; Volume 29. [Google Scholar]
- Jin, S.; Fang, B.; Zhang, X.; Liu, Z. Reliability and security issues in deep learning models: A survey. IEEE Access 2021, 9, 101625–101647. [Google Scholar]
- Huang, J.; Qian, S.; Popa, R.A.; Ren, Q. Multiparty Private Set Intersection with Quasi-Linear Complexity. In Proceedings of the Annual International Conference on the Theory and Applications of Cryptographic Techniques, Zagreb, Croatia, 17–21 October 2021; pp. 666–696. [Google Scholar]
- Blanchard, P.; El Mhamdi, E.M.; Guerraoui, R.; Stainer, J. Machine learning with adversaries: Byzantine tolerant gradient descent. In Proceedings of the Advances in Neural Information Processing Systems: 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; Volume 30. [Google Scholar]
- Truex, S.; Baracaldo, N.; Anwar, A.; Steinke, T.; Ludwig, H.; Zhang, R.; Zhou, Y. A hybrid approach to privacy-preserving federated learning. In Proceedings of the 12th ACM Workshop on Artificial Intelligence and Security, London, UK, 15 November 2019; pp. 1–11. [Google Scholar]
Method | RMSE (kWh) | MAE (kWh) |
---|---|---|
Single-stage LSTM | 3.901 ± 0.285 | 2.426 ± 0.194 |
Multi-stage MLP | 3.127 ± 0.174 | 1.853 ± 0.132 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Park, J.-H.; Joe, I.-W. Federated Learning-Based Prediction of Energy Consumption from Blockchain-Based Black Box Data for Electric Vehicles. Appl. Sci. 2024, 14, 5494. https://doi.org/10.3390/app14135494
Park J-H, Joe I-W. Federated Learning-Based Prediction of Energy Consumption from Blockchain-Based Black Box Data for Electric Vehicles. Applied Sciences. 2024; 14(13):5494. https://doi.org/10.3390/app14135494
Chicago/Turabian StylePark, Jong-Hyuk, and In-Whee Joe. 2024. "Federated Learning-Based Prediction of Energy Consumption from Blockchain-Based Black Box Data for Electric Vehicles" Applied Sciences 14, no. 13: 5494. https://doi.org/10.3390/app14135494
APA StylePark, J.-H., & Joe, I.-W. (2024). Federated Learning-Based Prediction of Energy Consumption from Blockchain-Based Black Box Data for Electric Vehicles. Applied Sciences, 14(13), 5494. https://doi.org/10.3390/app14135494