Skip to main content
QUICK REVIEW

[论文解读] Divergence-aware Federated Self-Supervised Learning

Weiming Zhuang, Yonggang Wen|arXiv (Cornell University)|Apr 9, 2022
Privacy-Preserving Technologies in DataComputer Science被引用 35
一句话总结

本文提出一个通用的 FedSSL 框架,用于从去中心化数据中学习未标记表示,揭示关键组成模块的洞见,并引入 FedEMA,一种基于发散度的 EMA 更新以提升非 IID 数据上的性能。

ABSTRACT

Self-supervised learning (SSL) is capable of learning remarkable representations from centrally available data. Recent works further implement federated learning with SSL to learn from rapidly growing decentralized unlabeled images (e.g., from cameras and phones), often resulted from privacy constraints. Extensive attention has been paid to SSL approaches based on Siamese networks. However, such an effort has not yet revealed deep insights into various fundamental building blocks for the federated self-supervised learning (FedSSL) architecture. We aim to fill in this gap via in-depth empirical study and propose a new method to tackle the non-independently and identically distributed (non-IID) data problem of decentralized data. Firstly, we introduce a generalized FedSSL framework that embraces existing SSL methods based on Siamese networks and presents flexibility catering to future methods. In this framework, a server coordinates multiple clients to conduct SSL training and periodically updates local models of clients with the aggregated global model. Using the framework, our study uncovers unique insights of FedSSL: 1) stop-gradient operation, previously reported to be essential, is not always necessary in FedSSL; 2) retaining local knowledge of clients in FedSSL is particularly beneficial for non-IID data. Inspired by the insights, we then propose a new approach for model update, Federated Divergence-aware Exponential Moving Average update (FedEMA). FedEMA updates local models of clients adaptively using EMA of the global model, where the decay rate is dynamically measured by model divergence. Extensive experiments demonstrate that FedEMA outperforms existing methods by 3-4% on linear evaluation. We hope that this work will provide useful insights for future research.

研究动机与目标

  • 使用一个通用框架研究联邦自监督学习(FedSSL)的基本组成部分。
  • 评估在非 IID 数据下 Siamese 网络搭建块在 FedSSL 中的作用。
  • 识别在 FedSSL 中哪些组成部分(停止梯度、目标网络、本地知识)是有益的。
  • 提出并评估一种新的更新策略(FedEMA),基于模型发散度自适应调整 EMA 衰减以缓解非 IID 挑战。

提出的方法

  • 定义一个通用的 FedSSL 框架,服务端聚合客户端在线网络并用全局模型更新客户端。
  • 在 FedSSL 框架内实现并比较四种 SSL 方法(SimCLR、MoCo、SimSiam、BYOL)。
  • 分析在非 IID 数据下 Siamese 网络组件(在线网络/目标网络、预测器、停止梯度)的作用。
  • 提出 FedEMA,一种基于 EMA 的更新,结合发散驱动的衰减率以混合本地与全局知识。
  • 展示用于自适应设置 EMA 衰减的客户端特异 lambda 的自适应缩放器。

实验结果

研究问题

  • RQ1Siamese 网络基础的 SSL(停止梯度、预测器、目标编码器)在非 IID 数据下的 FedSSL 中如何表现?
  • RQ2在保留本地知识和使用发散度感知的 EMA 更新时,联邦自监督学习的性能有何影响?
  • RQ3动态 EMA 更新(FedEMA)是否在 CIFAR-10/100 的非 IID 设置下优于现有的 FedSSL 方法?

主要发现

  • FedBYOL 在非 IID 设置的非对比学习 FedSSL 方法中通常表现最好。
  • 停止梯度在 FedSSL 中并非在所有情况下都必需,与标准 SSL 设置不同。
  • 在编码器中维护本地知识有助于非 IID 数据上的性能;仅更新全局模型可能会降低性能。
  • FedEMA 在评估设置下的线性评估中比现有的 FedSSL 方法高出 3-4%。
  • 用于 EMA 衰减参数 lambda 的自适应缩放器达到与手动调优值相当的效果。
  • 目标编码器对于将在线编码器的知识迁移至全局模型至关重要;发散度感知的 EMA 能有效平衡本地和全局信息。

阅读本论文

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

在 Nubint 中阅读本论文

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