Skip to main content
QUICK REVIEW

[논문 리뷰] Generalized Federated Learning via Sharpness Aware Minimization

Zhe Qu, Xingyu Li|arXiv (Cornell University)|2022. 06. 06.
Privacy-Preserving Technologies in DataComputer Science인용 수 20
한 줄 요약

FedSAM과 MoFedSAM은 Sharpness Aware Minimization을 사용하여 비 IID 연합학습에서 일반화와 학습 편차를 개선하고 이론적 수렴 및 일반화 한계와 강력한 실험 결과를 제시한다.

ABSTRACT

Federated Learning (FL) is a promising framework for performing privacy-preserving, distributed learning with a set of clients. However, the data distribution among clients often exhibits non-IID, i.e., distribution shift, which makes efficient optimization difficult. To tackle this problem, many FL algorithms focus on mitigating the effects of data heterogeneity across clients by increasing the performance of the global model. However, almost all algorithms leverage Empirical Risk Minimization (ERM) to be the local optimizer, which is easy to make the global model fall into a sharp valley and increase a large deviation of parts of local clients. Therefore, in this paper, we revisit the solutions to the distribution shift problem in FL with a focus on local learning generality. To this end, we propose a general, effective algorithm, exttt{FedSAM}, based on Sharpness Aware Minimization (SAM) local optimizer, and develop a momentum FL algorithm to bridge local and global models, exttt{MoFedSAM}. Theoretically, we show the convergence analysis of these two algorithms and demonstrate the generalization bound of exttt{FedSAM}. Empirically, our proposed algorithms substantially outperform existing FL studies and significantly decrease the learning deviation.

연구 동기 및 목표

  • 비 IID 데이터로 인한 다-device FL의 분포 시프트를 다룬다.
  • 전역 목표와 더 잘 정렬되도록 로컬 학습 일반화를 개선한다.
  • loss 표면을 매끄럽게 하기 위한 SAM 기반 로컬 옵티마이저로서 FedSAM을 도입한다.
  • 로컬과 글로벌 모델 사이를 모멘텀으로 연결하는 MoFedSAM을 개발한다.
  • 제안된 방법들에 대한 수렴 분석 및 일반화 한계를 제공한다.

제안 방법

  • FedSAM을 min_w max_{||δ||≤ρ} f(w, {δ_i}) 문제로 형식화하되, f는 클라이언트 간 perturb된 로컬 손실들을 모은다.
  • 내부 섭동 δ_i를 1차 테일러 전개로 근사하여 δ_i ≈ ρ ∇F_i(w)/||∇F_i(w)||로 도출한다.
  • FedSAM을 로컬 업데이트의 두 단계로 구현한다: perturbation 후 perturbed 손실에 대한 그래디언트 스텝(Eq. 4).
  • MoFedSAM은 이전 라운드 글로벌 업데이트 Δ^r와 모멘텀 항을 도입하여 로컬과 글로벌 정보를 혼합한다(Eq. 6).
  • 이론적 결과를 제공한다: 최적의 비 IID FL 속도에 맞춘 수렴 속도와 FedSAM의 일반화 한계(정리 3.1 및 정리 3.5).
  • MoFedSAM은 로컬과 글로벌 모델 사이의 샤프니스를 연결하여 더 빠른 수렴과 일반화를 제공한다(정리 4.1).

실험 결과

연구 질문

  • RQ1로컬 수준에서 샤프니스 어웨어(minimization)를 적용하는 것이 비 IID 데이터 하에서 글로벌 FL 일반화에 어떤 영향을 미치는가?
  • RQ2모멘텀 기반 메커니즘(MoFedSAM)이 로컬 업데이트와 글로벌 정보를 효과적으로 결합해 FL의 수렴과 일반화를 개선할 수 있는가?
  • RQ3전제 참여 클라이언트 전체/부분에서 FedSAM과 MoFedSAM의 수렴 속도와 일반화 보장은 무엇인가?
  • RQ4FedSAM과 MoFedSAM이 표준 FL 벤치마크와 비 IID 데이터 분할에서 견고한 성능을 제공하는가?

주요 결과

  • FedSAM은 비 IID FL 설정에서 ERM 기반 FedAvg보다 글로벌 일반화 및 수렴을 개선한다.
  • MoFedSAM은 모멘트를 통해 글로벌 업데이트를 통합하여 더 빠른 수렴과 더 나은 일반화를 달성한다.
  • 두 방법 모두 다양한 클라이언트 간 학습 편차를 감소시켜 데이터 이질성에 대한 방법의 강건성을 향상시킨다.
  • EMNIST, CIFAR-10, CIFAR-100에 대한 실험에서 저자들의 방법이 FedAvg, SCAFFOLD, FedRobust, MimeLite, FedCM을 다양한 비 IID 조건에서 능가한다.
  • 이론적 분석은 기존의 비 IID FL 방법과 동등하거나 더 나은 수렴 속도와 FedSAM에 대한 마진 기반 일반화 한계를 제공한다.
  • MoFedSAM은 전체 및 부분 클라이언트 참여에서도 효과를 유지하며, CIFAR-100과 같은 더 복잡한 데이터셋에서 성능 향상이 더욱 두드러진다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.