[Paper Review] AMI-FML: A Privacy-Preserving Federated Machine Learning Framework for AMI
This paper proposes AMI-FML, a privacy-preserving federated machine learning framework for advanced metering infrastructure (AMI) that trains local LSTM models on smart meter data and aggregates only model weights at a central aggregator, preserving user data privacy. The framework improves short-term load forecasting accuracy by 11% in MAE and reduces error to NRMSE of 0.094 with daily model updates, while enhancing communication efficiency via quantization and structured sparsification.
Machine learning (ML) based smart meter data analytics is very promising for energy management and demand-response applications in the advanced metering infrastructure(AMI). A key challenge in developing distributed ML applications for AMI is to preserve user privacy while allowing active end-users participation. This paper addresses this challenge and proposes a privacy-preserving federated learning framework for ML applications in the AMI. We consider each smart meter as a federated edge device hosting an ML application that exchanges information with a central aggregator or a data concentrator, periodically. Instead of transferring the raw data sensed by the smart meters, the ML model weights are transferred to the aggregator to preserve privacy. The aggregator processes these parameters to devise a robust ML model that can be substituted at each edge device. We also discuss strategies to enhance privacy and improve communication efficiency while sharing the ML model parameters, suited for relatively slow network connections in the AMI. We demonstrate the proposed framework on a use case federated ML (FML) application that improves short-term load forecasting (STLF). We use a long short-term memory(LSTM) recurrent neural network (RNN) model for STLF. In our architecture, we assume that there is an aggregator connected to a group of smart meters. The aggregator uses the learned model gradients received from the federated smart meters to generate an aggregate, robust RNN model which improves the forecasting accuracy for individual and aggregated STLF. Our results indicate that with FML, forecasting accuracy is increased while preserving the data privacy of the end-users.
Motivation & Objective
- To address user privacy concerns in AMI data analytics by avoiding raw data transmission.
- To develop a generalized federated learning framework for distributed ML applications in smart grids.
- To enhance communication efficiency in low-bandwidth AMI networks through model parameter compression.
- To improve short-term load forecasting (STLF) accuracy using collaborative model training without exposing individual user data.
- To validate the framework with a proof-of-concept LSTM-based STLF application on real smart meter data.
Proposed method
- Each smart meter hosts a local LSTM model trained on its own consumption data, with model weights (gradients) shared instead of raw data.
- A central aggregator collects and aggregates model updates using federated averaging to form a global, robust RNN model.
- Communication efficiency is improved via structured sparsification (random mask) and adaptive quantization (2–4 bits) of model parameters.
- The framework minimizes unintended memorization of individual data patterns through parameter compression and differential privacy-aware techniques.
- Model updates are exchanged periodically—either every 30 minutes or daily—to balance responsiveness and training stability.
- The LSTM model is trained to capture daily and sequential consumption patterns, leveraging long-term temporal dependencies for improved forecasting.
Experimental results
Research questions
- RQ1Can federated learning be effectively applied to smart meter data analytics while preserving user privacy in AMI systems?
- RQ2How does the frequency of model update exchange (30-min vs. daily) affect short-term load forecasting accuracy in an AMI context?
- RQ3To what extent can communication efficiency be improved through quantization and structured sparsification without degrading model performance?
- RQ4Can model compression techniques like 4-bit quantization and random masking enhance privacy beyond just reducing data transfer?
- RQ5How does the global model trained via federated averaging outperform local models in short-term load forecasting?
Key findings
- The AMI-FML framework reduced the average NRMSE to 0.094 and MAE to 0.312 with daily model updates, representing a 11% improvement in MAE over non-federated local models.
- With 24-hour updates, the model achieved lower error metrics than with 30-minute updates, indicating that longer temporal sequences enhance LSTM learning of daily consumption patterns.
- 4-bit adaptive quantization achieved NRMSE of 0.10 and MAE of 0.32, closely matching the full-precision baseline, demonstrating effective compression with minimal performance loss.
- Random mask sparsification with 2% zeros reduced errors to NRMSE 0.10 and MAE 0.34, showing that structured sparsification maintains forecasting accuracy.
- The framework successfully preserved user privacy by transmitting only model parameters, avoiding exposure of raw consumption data.
- The integration of federated learning improved forecasting accuracy across all clusters, with consistent error reduction observed in both half-hourly and daily update scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.