Nicolas M. Cuadrado A.

ML Ph.D. Student

ML M.Sc.

Electronics Engineer

Entrepreneur

Nicolas M. Cuadrado A.

ML Ph.D. Student

ML M.Sc.

Electronics Engineer

Entrepreneur

Blog Post

Generalized policy learning for smart grids with federated TRPO

30th November 2026 Research
Generalized policy learning for smart grids with federated TRPO

ICLR 2024 Tackling Climate Change with Machine Learning Workshop (workshop paper)
Y. Li, N. M. Cuadrado A., S. Horváth, M. Takáč

Smart-grid data is spread across buildings with very different distributions, and the interdependencies among features limit what linear models can do. Federated learning (FL) trains models on such heterogeneous data while keeping it private, which makes it a natural fit for energy management.

This paper combines FL with Trust Region Policy Optimization (FL TRPO) to reduce energy-related emissions and costs in multi-building microgrids. Personalised encodings capture what is unique to each building, and the model learns how the features relate to the optimal strategy.

Our model captures the interdependencies among features (personal encodings, weather, battery storage, net consumption, price, and hour) in mapping to the policy and state value.
Our model captures the interdependencies among features (personal encodings, weather, battery storage, net consumption, price, and hour) in mapping to the policy and state value.

Results

FL helped TRPO discern intricate interdependencies among features, so the learned policies generalised to data distributions they had not seen during training. Adding a feature-based model further improved FL TRPO, reducing both emissions and energy costs while preserving privacy.

Average reward of the five buildings across five random seeds.
Average reward of the five buildings across five random seeds.
Average emissions of the five buildings across five random seeds.
Average emissions of the five buildings across five random seeds.
Related Posts
Write a comment