Skip to main content
QUICK REVIEW

[Paper Review] Blockchain-based Trustworthy Federated Learning Architecture

Sin Kit Lo, Yue Liu|arXiv (Cornell University)|Aug 16, 2021
Privacy-Preserving Technologies in DataComputer Science31 references15 citations
TL;DR

This paper proposes a blockchain-based federated learning architecture to enhance accountability and fairness in medical AI, using a smart contract-driven data-model provenance registry and a weighted fair data sampler. Evaluation on a COVID-19 X-ray detection task shows improved model accuracy, generalization, and fairness compared to standard federated learning.

ABSTRACT

Federated learning is an emerging privacy-preserving AI technique where clients (i.e., organisations or devices) train models locally and formulate a global model based on the local model updates without transferring local data externally. However, federated learning systems struggle to achieve trustworthiness and embody responsible AI principles. In particular, federated learning systems face accountability and fairness challenges due to multi-stakeholder involvement and heterogeneity in client data distribution. To enhance the accountability and fairness of federated learning systems, we present a blockchain-based trustworthy federated learning architecture. We first design a smart contract-based data-model provenance registry to enable accountability. Additionally, we propose a weighted fair data sampler algorithm to enhance fairness in training data. We evaluate the proposed approach using a COVID-19 X-ray detection use case. The evaluation results show that the approach is feasible to enable accountability and improve fairness. The proposed algorithm can achieve better performance than the default federated learning setting in terms of the model's generalisation and accuracy.

Motivation & Objective

  • To address accountability and fairness challenges in federated learning systems involving multiple stakeholders with heterogeneous data.
  • To enable auditability of local data and model updates through a transparent, immutable blockchain-based registry.
  • To mitigate data distribution bias in federated learning using a weighted fair sampling algorithm.
  • To validate the approach in a real-world healthcare scenario—COVID-19 X-ray detection—where data privacy and fairness are critical.
  • To demonstrate that blockchain integration enhances trustworthiness in federated learning without compromising performance.

Proposed method

  • A smart contract-driven data-model provenance registry is implemented on a blockchain to log and map local data, local model updates, and global model versions for auditability.
  • The system records data provenance and model lineage, enabling verification of data origin and model training integrity.
  • A weighted fair data sampler algorithm is designed to balance class distributions across clients, reducing bias from Non-IID (non-identical and independent) data.
  • The algorithm dynamically adjusts sampling probabilities based on class frequency per client to improve global model fairness.
  • The architecture integrates blockchain with federated learning by decentralizing trust and enabling verifiable, tamper-proof logging of training events.
  • The system is evaluated using a real-world COVID-19 X-ray detection use case with multiple hospitals as clients.

Experimental results

Research questions

  • RQ1Can a blockchain-based system provide verifiable, immutable logging of data and model updates to enhance accountability in federated learning?
  • RQ2How can data heterogeneity (Non-IID distribution) be mitigated to improve fairness in federated model training?
  • RQ3To what extent does the proposed weighted fair data sampler improve model generalization and fairness compared to standard federated learning?
  • RQ4Can the integration of blockchain and smart contracts enhance trustworthiness in federated learning without degrading performance?
  • RQ5Does the proposed architecture outperform conventional federated learning in terms of accuracy, fairness, and robustness on medical imaging tasks?

Key findings

  • The blockchain-based data-model provenance registry successfully enables end-to-end auditability of data and model lineage, supporting accountability in multi-party federated learning.
  • The weighted fair data sampler significantly improved model fairness by reducing bias from skewed data distributions across clients.
  • The proposed architecture achieved higher model accuracy and better generalization performance than standard federated learning in the COVID-19 X-ray detection task.
  • The evaluation results confirmed that the system maintains data privacy while enabling transparent, verifiable model training through blockchain logging.
  • The integration of smart contracts and blockchain enhanced trust in the federated learning pipeline without introducing prohibitive overhead.
  • The approach demonstrated feasibility and effectiveness in a real-world healthcare scenario, supporting responsible AI deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.