Skip to content

Codes for submitted Paper "Generalizable Thermal Dynamics Modeling via Personalized Federated Learning"

License

Notifications You must be signed in to change notification settings

hkuedl/Federated-Thermal-Dynamics-Modeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Federated-Thermal-Dynamics-Modeling

This work proposes a generalizable thermal dynamics modeling method by coordinating multiple buildings. It formulates a federated learning framework to facilitate collaborative modeling in a privacy-preserving way. It further identifies dual heterogeneity in both model structures and data distributions for federated learning, and then proposes a two-level personalization strategy combining similarity matrices and adaptive weighting to alleviate the impacts.

Codes for submitted Paper "Generalizable Thermal Dynamics Modeling via Personalized Federated Learning".

Authors: Xueyuan Cui, Dalin Qin, Jean-François Toubeau, François Vallée, and Yi Wang.

Requirements

Python version: 3.8.17

The must-have packages can be installed by running

pip install requirements.txt

Experiments

Data

All the data inputs for experiments can be acquired in Data here and Data_in that can be downloaded from Google Drive.

Reproduction

To reproduce the experiments of the proposed methods and comparisons in the paper, please go to the folder

cd #Codes

where the introduction on the running order and each file's function is explained in readme.md.

Note: There is NO multi-GPU/parallelling training in our codes.

Results

All models that are trained by the proposed method and other comparisons can be acquired in the folder #Results that can also be downloaded from Google Drive.

In particular, Models_newcomb, Models_oneW, Models_fedavg, and Models_single includes models from "DW_ada", ("DW_fix"&"SW_data"&"SW_model"), "SW_avg", and "Local" methods, respectively.

Citation

Acknowledgments

Package #Codes/torchdiffeq1/ is modified based on the open code of Neural ODE. The rapid development of this work would not have been possible without this open-source package.

About

Codes for submitted Paper "Generalizable Thermal Dynamics Modeling via Personalized Federated Learning"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages