FLoW3——Web3赋能的联邦学习
FLoW3 -- Web3 Empowered Federated Learning
AI总结:
FLoW3提出一种Web3赋能的联邦学习框架,通过验证者共识、区块链信任分数及IPFS与PGP加密,抵御模型投毒和中间人攻击,实验结果与Flower相当。
摘要:
联邦学习容易受到各种攻击,如数据投毒、模型投毒和中间人攻击。我们将联邦学习视为一种层级结构,即由节点组成的联邦,并以验证者作为头部。验证过程通过采用新颖性检测和Snowball协议以共识方式完成,以识别有价值且相关的更新,同时过滤掉潜在恶意或不相关的更新,从而防止模型投毒攻击。验证者的意见被记录在区块链中,并计算信任分数。在缺乏共识的情况下,信任分数被用来确定验证者对全局模型的影响。引入一个超参数来引导模型生成过程,使其要么依赖共识,要么依赖信任分数。这种方法确保了聚合过程的透明性和可靠性,并使全局模型能够从最受信任节点的见解中受益。在训练阶段,IPFS与PGP加密的结合提供了:a) 安全且去中心化的存储;b) 缓解单点故障,使系统可靠;c) 对中间人攻击具有弹性。该系统通过使用Python实现,并使用Foundry进行智能合约开发。通过翻转标签和引入恶意节点,对全局模型进行了数据投毒测试。结果发现与Flower的结果相似。
英文摘要:
Federated Learning is susceptible to various kinds of attacks like Data Poisoning, Model Poisoning and Man in the Middle attack. We perceive Federated Learning as a hierarchical structure, a federation of nodes with validators as the head. The process of validation is done through consensus by employing Novelty Detection and Snowball protocol, to identify valuable and relevant updates while filtering out potentially malicious or irrelevant updates, thus preventing Model Poisoning attacks. The opinion of the validators is recorded in blockchain and trust score is calculated. In case of lack of consensus, trust score is used to determine the impact of validators on the global model. A hyperparameter is introduced to guide the model generation process, either to rely on consensus or on trust score. This approach ensures transparency and reliability in the aggregation process and allows the global model to benefit from insights of most trusted nodes. In the training phase, the combination of IPFS , PGP encryption provides : a) secure and decentralized storage b) mitigates single point of failure making this system reliable and c) resilient against man in the middle attack. The system is realized by implementing in python and Foundry for smart contract development. Global Model is tested against data poisoning by flipping the labels and by introducing malicious nodes. Results found to be similar to that of Flower.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。