[논문 리뷰] Divergence-aware Federated Self-Supervised Learning
이 논문은 분산 데이터에서 라벨이 없는 표현을 학습하기 위한 일반화된 FedSSL 프레임워크를 제시하고, 주요 구성 요소의 인사이트를 밝히며, 성능을 비 IID 데이터에서 향상시키는 divergence-aware EMA 업데이트인 FedEMA를 도입합니다.
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 데이터에서 FedSSL에서 시암네스 네트워크 빌딩 블록이 어떻게 작동하는지 평가한다.
- FedSSL에서 어떤 구성 요소(스톱-그래디언트, 타깃 네트워크, 로컬 지식)가 유익한지 식별한다.
- 모델 분산에 기반한 EMA 감쇠를 조정하여 비 IID 문제를 완화하는 새로운 업데이트 전략(FedEMA)을 제안하고 평가한다.
제안 방법
- 서버가 클라이언트 온라인 네트워크를 집계하고 글로벌 모델로 클라이언트를 업데이트하는 일반화된 FedSSL 프레임워크를 정의한다.
- FedSSL 프레임워크 내에서 네 가지 SSL 방법(SimCLR, MoCo, SimSiam, BYOL)을 구현하고 비교한다.
- 비 IID 데이터에서 온라인/타깃 네트워크, 예측기, 스톱-그래디언트 등 시암네스 네트워크 구성 요소의 역할을 분석한다.
- 로컬 지식과 글로벌 지식을 혼합하기 위해 분기(divergence)에 기반한 감소율을 갖춘 EMA 업데이트인 FedEMA를 제안한다.
- encoder divergence에 따라 EMA 감쇠를 적응적으로 설정하기 위한 클라이언트별 람다 자동 조정기(autoscaler)를 보여준다.
실험 결과
연구 질문
- RQ1비 IID 데이터 아래 FedSSL에서 시암네스-네트워크 기반 SSL의 기본 구성요소들(스톱-그래디언트, 예측기, 타깃 인코더)의 작동 방식은 어떻게 나타나는가?
- RQ2로컬 지식을 유지하고 divergence-aware EMA 업데이트를 사용하는 것이 연합 SSL 성능에 어떤 영향을 미치는가?
- RQ3동적 EMA 업데이트(FedEMA)가 비 IID 환경에서 CIFAR-10/100 전반에 걸쳐 기존 FedSSL 방법들을 능가할 수 있는가?
주요 결과
- FedBYOL은 비대조적이지 않은 FedSSL 방법들 중 비IID 환경에서 일반적으로 최상의 성능을 보인다.
- Stop-gradient가 일반 SSL 설정과 달리 항상 필요한 것은 아니다.
- Encoders에 로컬 지식을 유지하는 것이 비IID 데이터에서 성능에 도움이 된다; 글로벌 모델만 업데이트하는 것은 성능에 해를 끼칠 수 있다.
- FedEMA는 선형 평가에서 평가된 설정들에서 기존 FedSSL 방법들보다 3-4% 향상시킨다.
- 람다에 대한 자동 스케일러(autoscaler)는 수동으로 조정된 값과 비슷한 결과를 얻는다.
- 타깃 인코더는 온라인 인코더로부터 지식을 전달하는 데 필수적이며, divergence-aware EMA가 로컬 및 글로벌 정보를 효과적으로 균형 있게 조절한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.