Open Access iconOpen Access



PoQ-Consensus Based Private Electricity Consumption Forecasting via Federated Learning

Yiqun Zhu1, Shuxian Sun1, Chunyu Liu1, Xinyi Tian1, Jingyi He2, Shuai Xiao2,*

1 Marketing Service Center, State Grid Tianjin Electric Power Company, Tianjin, 300120, China
2 School of Electrical and Information Engineering, Tianjin University, Tianjin, 300072, China

* Corresponding Author: Shuai Xiao. Email: email

(This article belongs to this Special Issue: AI-IoT-Blockchain Integrated Computational Intelligence for Solving Complex Engineering Problems)

Computer Modeling in Engineering & Sciences 2023, 136(3), 3285-3297.


With the rapid development of artificial intelligence and computer technology, grid corporations have also begun to move towards comprehensive intelligence and informatization. However, data-based informatization can bring about the risk of privacy exposure of fine-grained information such as electricity consumption data. The modeling of electricity consumption data can help grid corporations to have a more thorough understanding of users’ needs and their habits, providing better services for users. Nevertheless, users’ electricity consumption data is sensitive and private. In order to achieve highly efficient analysis of massive private electricity consumption data without direct access, a blockchain-based federated learning method is proposed for users’ electricity consumption forecasting in this paper. Specifically, a blockchain system is established based on a proof of quality (PoQ) consensus mechanism, and a multilayer hybrid directional long short-term memory (MHD-LSTM) network model is trained for users’ electricity consumption forecasting via the federal learning method. In this way, the model of the MHD-LSTM network is able to avoid suffering from severe security problems and can only share the network parameters without exchanging raw electricity consumption data, which is decentralized, secure and reliable. The experimental result shows that the proposed method has both effectiveness and high-accuracy under the premise of electricity consumption data’s privacy preservation, and can achieve better performance when compared to traditional long short-term memory (LSTM) and bidirectional LSTM (BLSTM).


Cite This Article

Zhu, Y., Sun, S., Liu, C., Tian, X., He, J. et al. (2023). PoQ-Consensus Based Private Electricity Consumption Forecasting via Federated Learning. CMES-Computer Modeling in Engineering & Sciences, 136(3), 3285–3297.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 689


  • 483


  • 0


Share Link