Skip to main content
QUICK REVIEW

[论文解读] Federated Learning using Smart Contracts on Blockchains, based on Reward Driven Approach

Monik Raj Behera, Sudhir K. Upadhyay|arXiv (Cornell University)|Jul 19, 2021
Blockchain Technology Applications and SecurityComputer Science被引用 17
一句话总结

本文提出了一种基于区块链智能合约的奖励驱动联邦学习框架,确保参与者获得公平、透明且不可篡改的激励。通过引入一种新型标量度量——'联邦贡献',系统根据模型梯度改进情况量化每个客户端的贡献,从而通过链上执行实现自动奖励或惩罚,显著提升了去中心化机器学习中的信任度与参与度。

ABSTRACT

Over the recent years, Federated machine learning continues to gain interest and momentum where there is a need to draw insights from data while preserving the data provider's privacy. However, one among other existing challenges in the adoption of federated learning has been the lack of fair, transparent and universally agreed incentivization schemes for rewarding the federated learning contributors. Smart contracts on a blockchain network provide transparent, immutable and independently verifiable proofs by all participants of the network. We leverage this open and transparent nature of smart contracts on a blockchain to define incentivization rules for the contributors, which is based on a novel scalar quantity - federated contribution. Such a smart contract based reward-driven model has the potential to revolutionize the federated learning adoption in enterprises. Our contribution is two-fold: first is to show how smart contract based blockchain can be a very natural communication channel for federated learning. Second, leveraging this infrastructure, we can show how an intuitive measure of each agents' contribution can be built and integrated with the life cycle of the training and reward process.

研究动机与目标

  • 解决联邦学习中缺乏公平、透明且普遍认可的激励机制的问题。
  • 利用区块链的不可篡改性和透明性,构建可验证的去中心化奖励系统,以激励联邦学习参与者。
  • 设计一种新型标量度量——'联邦贡献',基于模型改进情况量化单个客户端的贡献。
  • 通过联盟区块链上的智能合约,将该贡献度量集成到训练与奖励生命周期中。
  • 通过自动奖励高性能客户端并惩罚低性能或恶意客户端,确保公平性。

提出的方法

  • 系统使用联盟区块链与智能合约管理联邦学习生命周期及激励机制。
  • 基于相对于前一训练轮次的模型权重改进情况,为每个客户端计算一种新型标量度量——'联邦贡献'。
  • 该度量源自随机梯度下降过程中的梯度更新,与标准联邦学习算法兼容。
  • 区块链上的智能合约存储并强制执行基于计算出的'联邦贡献'值的奖励分配或惩罚规则。
  • 每轮训练使用动态密钥生成机制,以保护模型更新和客户端身份的隐私。
  • 聚合服务器作为可信实体,类似于可信执行环境(TEE),但激励逻辑保持去中心化且可通过区块链验证。

实验结果

研究问题

  • RQ1如何为联邦学习参与者设计一种去中心化、透明且可验证的激励机制?
  • RQ2新型标量度量——'联邦贡献'——是否能准确量化联邦学习中单个客户端的贡献?
  • RQ3所提出的系统如何通过奖励高性能客户端并惩罚低性能或恶意贡献者来确保公平性?
  • RQ4该'联邦贡献'度量在数据异构性(IID 与 Non-IID)及客户端更新噪声情况下的鲁棒性如何?
  • RQ5区块链上的智能合约能否在不集中控制的前提下有效执行奖励与惩罚规则?

主要发现

  • '联邦贡献'度量在 MNIST 和 Fashion-MNIST 数据集的不同数据划分(IID 与 Non-IID)下,能有效区分高性能与低性能客户端。
  • 即使数据量不同,数据质量更高且训练更一致的客户端表现出显著更高的'联邦贡献'值。
  • 在受控实验中,系统成功惩罚了发送噪声或恶意更新的客户端,表现为贡献得分降低。
  • 该贡献度量在不同数据分布和模型更新模式下保持稳定且可测量,表现出良好的鲁棒性。
  • 区块链上的智能合约实现了基于客观贡献得分的不可篡改、透明且可审计的奖励分配。
  • 该框架可无缝集成到现有联邦学习流水线中,无需修改核心训练算法。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。