Back to search

Hong Kong University of Science and Technology

Bayesian model compression and federated learning via variational inference

Abstract

dc:description

<p>Deep neural networks (DNNs) have achieved tremendous success in recent years due to their ability to learn from large datasets. Such ability is facilitated by the substantial number of parameters in DNN models. At the same time, the rapid proliferation of edge devices has triggered the shift of DNN training from centralized mode to decentralized mode such as federated learning (FL). However, the huge size of DNN models as well as the decentralized training scenario have also posed significant challenges from different aspects, including 1) huge computation and storage burden due to large DNN sizes, 2) huge communication burden during FL, and 3) performance degradation due to decentralized training. In this thesis, we investigate efficient model compression methods and FL methods from the Bayesian perspective.</p> <p>Firstly, we investigate model compression with computation and storage efficient sparse structure. We propose a three-layer hierarchical prior to promote a multi-level sparse structure during pruning. We derive an efficient Turbo variational Bayesian inferencing (Turbo-VBI) algorithm to solve the resulting model compression problem with the proposed prior. The proposed Turbo-VBI algorithm has low complexity and can support more general priors than existing model compression algorithms. Simulation results show that our proposed algorithm can promote a more regular structure in the pruned neural networks while achieving even better performance in terms of compression rate and inferencing accuracy compared with the baselines.</p> <p>Secondly, we investigate multi-resolution model compression which can generate multiple DNN models with shared weights and different computational complexity (resolution) through a single training. We design a resolution-aware likelihood and a two-layer prior for the channel masks, which allow joint optimization of the shared weights and the model structure of each resolution. To solve the resulted Bayesian inference problem, we develop a low complexity partial update block variational Bayesian inference (PUB-VBI) algorithm. Furthermore, we extend our proposed method into the arbitrary resolution case by proposing an auxiliary neural network (NN) to learn the mapping from the input resolution to the corresponding channel masks. Simulation results show that our proposed method can outperform the baselines on various NN models and datasets.</p> <p>Thirdly, we investigate structured model compression in FL to achieve communication and computation efficiencies. We do this by proposing a three-layer hierarchical prior, which can promote a common regular sparse structure in the local models. We design a decentralized Turbo variational Bayesian inference (D-Turbo-VBI) algorithm to solve the resulting federated training problem. With the common regular sparse structure, both upstream and downstream communication overhead can be reduced, and the final model also has a regular sparse structure, which requires significantly less local storage and computation resources. Simulation results demonstrate that our proposed algorithm can efficiently reduce the communication overhead during federated training and the resulting model can achieve a significantly lower sparsity rate and inference time compared to the baselines while maintaining a competitive accuracy.</p> <p>Finally, we investigate Bayesian FL with high flexibility and analytical explainability. We model the FL system as a factor graph which supports flexible design for both local and global priors. Thus, extra features can be promoted at both client and server sides. To infer the global posterior based on the factor graph model, we propose a consensus variational message passing (C-VMP) algorithm. Furthermore, we extend our proposed C-VMP algorithm by designing sparse priors for both local and global models, respectively. The extended algorithm can achieve both upstream and downstream model compressions during federated training and illustrates the flexibility of our proposed framework. Simulation results show that our proposed method can outperform the baselines in various FL tasks.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Xia, Chengyu
Contributors dc:contributor
  • Lau, Vincent Kin Nang
  • Tsang, Danny Hin Kwok

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Xia, Chengyu. Bayesian model compression and federated learning via variational inference. 2024. http://repository.hkust.edu.hk/ir/Record/1783.1-143490