[Paper Review] Blockchain Assisted Decentralized Federated Learning (BLADE-FL): Performance Analysis and Resource Allocation
This paper proposes BLADE-FL, a decentralized federated learning framework integrating blockchain to eliminate single-point-of-failure risks in centralized FL. By enabling clients to compete in mining and aggregating models locally, it achieves a convex upper bound on global loss that is minimized through optimal resource allocation, with experiments showing a <5% gap between theoretical bounds and real-world results on MNIST and Fashion-MNIST datasets under various lazy client and noise conditions.
Federated learning (FL), as a distributed machine learning paradigm, promotes personal privacy by local data processing at each client. However, relying on a centralized server for model aggregation, standard FL is vulnerable to server malfunctions, untrustworthy server, and external attacks. To address this issue, we propose a decentralized FL framework by integrating blockchain into FL, namely, blockchain assisted decentralized federated learning (BLADE-FL). In a round of the proposed BLADE-FL, each client broadcasts the trained model to other clients, aggregates its own model with received ones, and then competes to generate a block before its local training of the next round. We evaluate the learning performance of BLADE-FL, and develop an upper bound on the global loss function. Then we verify that this bound is convex with respect to the number of overall aggregation rounds K, and optimize the computing resource allocation for minimizing the upper bound. We also note that there is a critical problem of training deficiency, caused by lazy clients who plagiarize others' trained models and add artificial noises to disguise their cheating behaviors. Focusing on this problem, we explore the impact of lazy clients on the learning performance of BLADE-FL, and characterize the relationship among the optimal K, the learning parameters, and the proportion of lazy clients. Based on MNIST and Fashion-MNIST datasets, we show that the experimental results are consistent with the analytical ones. To be specific, the gap between the developed upper bound and experimental results is lower than 5%, and the optimized K based on the upper bound can effectively minimize the loss function.
Motivation & Objective
- To address the single-point-of-failure vulnerability in centralized federated learning (FL) systems.
- To design a decentralized FL framework using blockchain to enable trustless, peer-to-peer model aggregation.
- To develop a theoretical upper bound on the global loss function in BLADE-FL and optimize resource allocation to minimize it.
- To investigate the impact of 'lazy clients'—those who plagiarize models or inject noise—on learning performance.
- To validate the theoretical model through experiments on MNIST and Fashion-MNIST, showing close alignment between theory and practice.
Proposed method
- Integrates blockchain mining and local model training into a single process per client, allowing decentralized model aggregation without a central server.
- Models are broadcast peer-to-peer; each client aggregates received models and competes to mine a new block before the next training round.
- Derives a convex upper bound on the global loss function with respect to the total number of aggregation rounds $K$, enabling optimization.
- Proposes a resource allocation strategy that minimizes the derived upper bound by tuning $K$ for optimal convergence.
- Analyzes the impact of lazy clients who copy others’ models or add artificial noise, deriving a modified upper bound under such behaviors.
- Employs differential privacy via Gaussian noise to evaluate privacy-utility trade-offs, showing that optimal $K$ remains unaffected by privacy budget $\epsilon$.
Experimental results
Research questions
- RQ1How can a decentralized federated learning system be designed to eliminate reliance on a central server and prevent single-point-of-failure?
- RQ2What is the theoretical upper bound on the global loss function in the proposed BLADE-FL framework, and is it convex with respect to the number of aggregation rounds $K$?
- RQ3How does the presence of lazy clients—those who plagiarize models or inject noise—affect the learning performance of BLADE-FL?
- RQ4What is the optimal number of aggregation rounds $K^*$ that minimizes the upper bound on the loss function, and how does it vary with the proportion of lazy clients or noise power?
- RQ5To what extent does the optimal resource allocation based on the theoretical upper bound align with experimental performance on real datasets?
Key findings
- The theoretical upper bound on the global loss function is convex with respect to the total number of aggregation rounds $K$, enabling efficient optimization.
- The gap between the theoretical upper bound and experimental results is consistently below 5% on both MNIST and Fashion-MNIST datasets.
- As the proportion of lazy clients ($M/N$) increases, the optimal training time steps up—e.g., from 30 to 50 steps when $M/N$ increases from 0% to 30% on MNIST.
- Higher artificial noise power ($\sigma^2$) leads to a longer optimal training time, with $\tau\alpha K^*$ increasing from 30 to 50 as $\sigma^2$ rises from 0.01 to 0.3.
- The optimal number of aggregation rounds $K^*$ is independent of the privacy budget $\epsilon$ in differential privacy, meaning privacy protection does not alter optimal resource allocation.
- Higher privacy budgets ($\epsilon$) lead to better model accuracy and lower loss, but at the cost of reduced privacy protection, confirming a clear utility-privacy trade-off.
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.