# Optimizing Federated Learning for Scalable Power-demand Forecasting in Microgrids

arXiv: https://arxiv.org/abs/2508.08022 · HTML: https://mlsanity.com/paper/2508.08022/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 11 of its 29 references that are in the map.
- First posted on arXiv 11 Aug 2025.

## Builds on (most cited first, 11 of 11)

- [Communication-Efficient Learning of Deep Networks from Decentralized Data](https://mlsanity.com/paper/1602.05629/) (2016)
- [Towards Federated Learning at Scale: System Design](https://mlsanity.com/paper/1902.01046/) (2019)
- [Flower: A Friendly Federated Learning Research Framework](https://mlsanity.com/paper/2007.14390/) (2020)
- [TiFL: A Tier-based Federated Learning System](https://mlsanity.com/paper/2001.09249/) (2020)
- [Electrical Load Forecasting Using Edge Computing and Federated Learning](https://mlsanity.com/paper/2201.11248/) (2022)
- [Resource-Efficient Federated Learning](https://mlsanity.com/paper/2111.01108/) (2021)
- [Federated Learning for 5G Base Station Traffic Forecasting](https://mlsanity.com/paper/2211.15220/) (2022)
- [Secure short-term load forecasting for smart grids with transformer-based federated learning](https://mlsanity.com/paper/2310.17477/) (2023)
- [Exploring Lightweight Federated Learning for Distributed Load Forecasting](https://mlsanity.com/paper/2404.03320/) (2024)
- [Flotilla: A scalable, modular and resilient federated learning framework for heterogeneous resources](https://mlsanity.com/paper/2507.02295/) (2025)
- [Holistic Measures for Evaluating Prediction Models in Smart Grids](https://mlsanity.com/paper/1406.0223/) (2014)

## Abstract (arXiv)

Real-time monitoring of power consumption in cities and micro-grids through the Internet of Things (IoT) can help forecast future demand and optimize grid operations. But moving all consumer-level usage data to the cloud for predictions and analysis at fine time scales can expose activity patterns. Federated Learning~(FL) is a privacy-sensitive collaborative DNN training approach that retains data on edge devices, trains the models on private data locally, and aggregates the local models in the cloud. But key challenges exist: (i) clients can have non-independently identically distributed~(non-IID) data, and (ii) the learning should be computationally cheap while scaling to 1000s of (unseen) clients. In this paper, we develop and evaluate several optimizations to FL training across edge and cloud for time-series demand forecasting in micro-grids and city-scale utilities using DNNs to achieve a high prediction accuracy while minimizing the training cost. We showcase the benefit of using exponentially weighted loss while training and show that it further improves the prediction of the final model. Finally, we evaluate these strategies by validating over 1000s of clients for three states in the US from the OpenEIA corpus, and performing FL both in a pseudo-distributed setting and a Pi edge cluster. The results highlight the benefits of the proposed methods over baselines like ARIMA and DNNs trained for individual consumers, which are not scalable.
