A Blockchain-based Decentralized Federated Learning Framework with Committee Consensus

基于区块链的具有委员会共识的分散联邦学习框架

模型优点

  1. High efficiency: only a few nodes will validate the updates, rather than broadcasting to every node and reach an agreement.
  2. K-fold:cross-validation: the committee members will not participate in the local training in the round. Therefore, the local data of the committee are taken as a validation set. As the alternating of committee members at each round, the validation set changes as well.In this setting, k-fold cross-validation on FL achieved.
  3. Anti-malevolence: based on the validation scores, the corresponding nodes with better performance will be elected by the smart contract and constitute the new committee for the next training round. which means the selected local data distribution is gregarious and the node is not malicious.

1)高效: 只有少数节点会验证更新,而不是广播到每个节点并达成一致。
2) K倍交叉验证: 委员轮次不参加本地培训。因此,委员会的本地数据被视为验证集。随着每一轮委员会成员的交替,验证集也会发生变化。在这种情况下,在FL上实现了k倍交叉验证。
3)反恶意: 基于验证分数,智能合约将选出相应的表现较好的节点,组成下一轮培训的新委员会。这意味着所选择的本地数据分布是群居的,并且该节点不是恶意的。

第二部分
II. RELATED WORK
简要说明其他论文提出的方法以及缺点。

第三部分
III. THE PROPOSED FRAMEWORK
本文提出的框架

在每一轮训练中,服务器将当前模型广播给一些参与节点。

一个随机初始化的模型被放入#0块,然后第0轮训练开始。

Nodes access the current model and execute local training, and put the
verified local gradients to new update blocks.

节点访问当前模型并执行局部训练,并将验证后的局部梯度放入新的更新块。
当持续有足够多的更新块时,智能合约触发聚合,并生成下一轮的新模型并将其放在链上

We should note that the FL training only relies on the latest model block, and the historical block is stored for failure fallback and block verification

每一次更新都添加到链上是用于故障回退和验证

模型块包括:头、轮数t,全局模型
更新块包括: 头,轮数t,本地更新梯度,上传者地址,更新分数

a few honest nodes will constitute a committee in charge of verification of local gradients and blocks generation. In the meantime, the rest nodes execute local training and send the local updates to the committee. The committee then validates the updates and assign a score on them. Only the qualified updates will be packed onto the blockchain

选出几个诚实结点构成委员会,其他节点在本地训练模型,将本地模型更新发给委员会,委员会验证打分,合格的更新打包记录到区块链上。
在下一轮开始时,会根据上一轮的节点分数选出新的委员会,该委员会不会再次当选

the committee members validate the local updates by treating their data as a validation set, and the validation accuracy becomes the score. This is the minimized approach that acquires no further operation of the committee, but only the basic ability to run the learning model. After combining the scores from the various committee members, the median will become the score of this update.

委员会成员的本地数据做为测试数据,验证其他节点的本地更新并且打分。综合各委员会成员的得分后,中位数将成为本次更新的得分。

设备加入联邦训练前先被验证评估,该验证处于黑名单模式:如果设备因不当行为(如提交误导性更新、传播私人模型)被踢出社区,设备将被拒绝。

每台加入训练的设备都可以快速获取最新模型,即使未提交更新,为了激励参与者,设定如下奖励机制:
许可费:每台设备都要为全局模型的访问许可付费,这些费用由管理者保管。节点可以无限制地访问社区中的最新模型。
利润分享:每轮汇总后,管理人员根据提交更新的分数将奖励分配给相应的节点

A Blockchain-based Decentralized Federated Learning Framework wth Committee Consensus相关推荐

  1. A Blockchain-Based Decentralized Federated Learning Framework with Committee Consensus

    本文简易框架demo源码 背景 问题定义 在联邦学习场景中,客户端通过交换模型梯度或更新后的模型参数,不暴露私人数据,从而合作训练一个共享的全局模型.但是容易存在恶意攻击的行为,分别是恶意客户端和中央 ...

  2. Blockchain Assisted Decentralized Federated Learning 阅读笔记 TPDS’2022

    Introduction 区块链可以用于取代联邦学习中的中心聚合服务器 目前的区块链联邦学习中的区块链和参与联邦学习的用户独立,相当于服务器换成了一条区块链,也会有隐私泄漏的风险 目前的区块链联邦学习 ...

  3. 【FL-GAN】Private FL-GAN: Differential Privacy Synthetic Data Generation Based on Federated Learning

    Private FL-GAN: Differential Privacy Synthetic Data Generation Based on Federated Learning 私有FL-GAN: ...

  4. 顶会论文笔记:联邦学习——ATPFL: Automatic Trajectory Prediction Model Design under Federated Learning Framework

    ATPFL: Automatic Trajectory Prediction Model Design under Federated Learning Framework 文章目录 ATPFL: A ...

  5. 基于联邦学习的多源异构数据融合算法 Multi-Source Heterogeneous Data Fusion Based on Federated Learning

    5.基于联邦学习的多源异构数据融合算法 Multi-Source Heterogeneous Data Fusion Based on Federated Learning 摘要:随着科技的迅猛发展, ...

  6. Decentralized Collaborative Learning Framework for Next POI Recommendation

    Decentralized Collaborative Learning Framework for Next POI Recommendation 1. What does literature s ...

  7. Blockchain Empowered Asynchronous Federated Learning for Secure Data Sharing in Internet of Vehicles

    <Blockchain Empowered Asynchronous Federated Learning for Secure Data Sharing in Internet of Vehi ...

  8. 【论文导读】- STFL: A Spatial-Temporal Federated Learning Framework for Graph Neural Networks

    文章目录 论文信息 摘要 Contributions Methodology Graph Generation Graph Neural Network 联邦学习 Experiment 数据集 Nod ...

  9. 联邦学习1 A Unified Federated Learning Framework for Wireless Communications: towards Privacy,..论文

    大背景 面临的问题:1.隐私问题.2.非 IID 数据.2.无线网络通信资源有限.3.复杂的用户身份,训练过程面临着拜占庭设备的挑战,它可以向模型注入中毒信息 根据上一篇,FAug-FD 虽然工作良好 ...

最新文章

  1. Java 多态之“绑定”
  2. java中的神奇this
  3. FileEncodingApplicationListener使用以及原理
  4. linux命令kill百科,Linux 命令 kill
  5. 我的在win10下安装tensorflow的过程
  6. linux部署3proxy源码,在CentOS 7系统中从源码安装RTPProxy的方法
  7. Linux进程管理:内核中的优先级继承互斥(rtmutex.h):防止优先级反转
  8. c语言如何写地图,自己用C语言写的扫雷地图
  9. C# 编译的DLL文件在其他项目中调用时,看不见注释
  10. OSX下解决PIL的IOError: decoder jpeg not available 问题
  11. 平衡二叉树平衡因子怎么计算_110. 平衡二叉树
  12. CentOS7防火墙之firewalld
  13. 新浪推荐 二面 移动零
  14. 使用ffmpeg推流rtmp
  15. 正则表达式最好的书籍_正则表达式的最佳做法
  16. 手机通讯终端软件硬件测试,浅谈基于SWP方案的近场通信终端测试及其方法探究...
  17. CTO,技术总监和技术经理有啥区别?
  18. Android基于腾讯云的视频聊天研究
  19. 步进电机驱动之相数、步距角、细分、拍数
  20. 如何学习大数据?这才是完整的大数据学习体系!!

热门文章

  1. Vista下的UAC功能
  2. windows10权限被改为System Managed Account Group的处理方法
  3. Requirement already satisfied: objection in c:\users\libai\appdata\local\programs\python\python39\li
  4. HHDEBC与其他主流软件SQL格式化功能的对比
  5. 微软什么时候停止对win7进行服务器,微软官方通告:2020年1月24日起停止对windows7的技术支持...
  6. python职场应用英语作文_职场应用英语
  7. 张驰课堂:六西格玛数据的几种类型与区别
  8. 后羿 06 ‖ 风神
  9. 国产光刻机再突破后,能实现7nm芯片量产?专家:别再盲目自大
  10. KEPServerEX 6使用