프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

FedTP: Federated Learning by Transformer Personalization

FedTP: 트랜스포머 개인화를 통한 연합 학습

  • 연구 문제 연합 평균이 데이터 이질성이 있는 환경에서 Transformer의 자기 주의를 약화시킬 수 있다는 점이 핵심 문제입니다.
  • 연구 방법 FedTP는 자기 주의 투영 파라미터를 클라이언트별로 개인화하고, 서버 하이퍼네트워크가 클라이언트 임베딩으로부터 이를 생성하도록 합니다.
  • 주요 결과 CIFAR-100 Pathological 50 클라이언트 설정에서 FedTP는 68.05±0.24를 보고했으며, Shakespeare에서는 84.40±0.10을 보고했습니다.

연합 평균이 자기 주의를 해치는 문제

연합학습은 여러 클라이언트가 데이터를 공유하지 않고 함께 모델을 학습하는 패러다임입니다. 최근 Transformer를 연합학습에 적용하려는 시도가 있었지만, 연합 집계 알고리즘이 자기 주의(self-attention)에 어떤 영향을 주는지는 충분히 연구되지 않았습니다. 본 논문은 클라이언트 간 데이터 이질성이 있을 때 기본 FedAvg가 자기 주의를 약화시킬 수 있다고 문제를 제기합니다.

이를 확인하기 위해 저자들은 CIFAR-100에서 다섯 클라이언트의 이미지를 사용해 Local-T, FedAvg-T, Vanilla Personalized-T의 주의 맵을 비교했습니다. 이 비교에서 로컬 학습이나 Vanilla 개인화로 얻은 자기 주의는 과제 관련 영역에 집중했지만, FedAvg-T의 주의 맵은 의미 있는 형태를 만들지 못했습니다. 이 관찰은 이질적인 데이터를 가진 클라이언트의 자기 주의를 합치면 클라이언트 고유 표현이 훼손될 수 있다는 해석으로 이어집니다.

Figure 1: An example showing the attention maps of Local-T, FedAvg-
T and Vanilla Personalized-T over 5 clients with different local datasets.
These results sh…

Fig. 1 . An example showing the attention maps of Local-T, FedAvg- T and Vanilla Personalized-T over 5 clients with different local datasets. These results show that self-attention either trained locally or by a Vanilla personalized-T model can focus on task-specific information well. However, FedAvg-T disturbs these information.

원문 · CC BY 4.0 · Hongxia Li, Zhongyi Cai, Jingya Wang, Jiangnan Tang, Weiping Ding, Chin-Teng Lin, Ye Shi · FedTP: Federated Learning by Transformer Personalization · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

Learn-to-personalize 자기 주의 구조

FedTP는 각 클라이언트의 자기 주의 투영 파라미터를 개인화하고, 나머지 파라미터는 서버에서 집계하는 Transformer 기반 연합학습 방법입니다. 가장 단순한 Vanilla 개인화는 각 클라이언트의 자기 주의 파라미터 Wi를 로컬에 유지하지만, 클라이언트 수가 늘수록 저장해야 할 투영 파라미터가 선형으로 증가하고 새 클라이언트에 대한 일반화가 제한됩니다.

FedTP는 서버에 하이퍼네트워크 h(ϕ;zi)를 두어 학습 가능한 클라이언트 임베딩 zi로부터 Wi=h(ϕ;zi)를 생성합니다. 생성된 Wi는 쿼리, 키, 값의 투영 행렬로 나뉘어 자기 주의에 사용됩니다. 나머지 파라미터 ξ는 가중 평균으로 집계됩니다. 로컬 갱신 후 자기 주의 변화량 ΔWi를 이용해 하이퍼네트워크 파라미터와 클라이언트 임베딩을 갱신하며, 이 과정이 학습-대-개인화 메커니즘입니다. 저자들은 하이퍼네트워크의 파라미터 수가 대략 Dh×Ds에 비례하므로, 클라이언트 수 N이 Dh보다 크면 Vanilla 방식보다 자원 소비가 적다고 설명합니다.

Figure 2: An overview of FedTP. On the left, the self-attention layers are retained locally while the other parameters are aggregated on the server and shared…

Fig. 2 . An overview of FedTP. On the left, the self-attention layers are retained locally while the other parameters are aggregated on the server and shared among clients. The right shows the workflow of learn-to-personalize that generates the projection matrices in the self-attention layers of L Transformer blocks. This is performed by a hypernetwork located on the server, which consists of simple MLP layers with the last layer being unique for each Transformer block.

원문 · CC BY 4.0 · Hongxia Li, Zhongyi Cai, Jingya Wang, Jiangnan Tang, Weiping Ding, Chin-Teng Lin, Ye Shi · FedTP: Federated Learning by Transformer Personalization · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Figure 3: The flow chat of FedTP. The blue part of the flow chart represents
the operations that occur on the server side, while the green part indicates the
cli…

Fig. 3 . The flow chat of FedTP. The blue part of the flow chart represents the operations that occur on the server side, while the green part indicates the client-side operations.

원문 · CC BY 4.0 · Hongxia Li, Zhongyi Cai, Jingya Wang, Jiangnan Tang, Weiping Ding, Chin-Teng Lin, Ye Shi · FedTP: Federated Learning by Transformer Personalization · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

이미지와 언어 과제에서의 비교 결과

FedTP의 성능은 CIFAR-10, CIFAR-100의 Pathological 및 Dirichlet 설정과 Shakespeare 다음 문자 예측에서 평균 테스트 정확도로 측정되었습니다. 표 II에서 FedTP는 CIFAR-100 Pathological 설정의 50 클라이언트 조건에서 68.05±0.24를 보고하며, 같은 표의 Vanilla Personalized-T 61.98±0.13보다 높은 값을 보입니다. 이는 같은 Transformer 구조에서 자기 주의만 학습-대-개인화로 바꾼 비교로 읽어야 합니다.

표 IV에서 Shakespeare 데이터셋의 평균 테스트 정확도는 FedTP가 84.40±0.10, FedAvg가 21.34±1.04로 보고됩니다. 다만 pFedHN과의 비교는 저자들이 보고한 조건에서 이루어졌으며, 자기 주의 파라미터가 전체 네트워크의 약 9.8%를 차지한다는 보고는 pFedHN 대비 CIFAR-100 평균 향상 11.31%와 함께 읽어야 합니다.

적용 범위와 한계

저자들은 FedTP의 주요 한계로 CNN 기반 연합학습 모델에 비해 학습 속도가 느린 점을 제시합니다. 이는 Transformer 기반 방법에 흔한 문제로 설명되며, 보다 계산 및 통신 효율적인 FedTP는 향후 과제로 남아 있습니다.

또한 본 논문의 주요 이미지 비교는 Transformer 구조에서 수행되었고, 언어 과제의 기준선에는 LSTM 기반 설정이 포함됩니다. 따라서 결과를 모든 모델 계열이나 모든 데이터 분포에 일반화하기 전에 실험의 백본과 분할 조건을 확인해야 합니다.

논문 정보

저자
Hongxia Li, Zhongyi Cai, Jingya Wang, Jiangnan Tang, Weiping Ding, Chin-Teng Lin, Ye Shi
학회·저널
arXiv · 프리프린트
최초 공개일
2022년 11월 3일
등록일
2026년 11월 6일
수정일
2023년 4월 18일
버전
v2
arXiv
2211.01572
분류
cs.LG · cs.AI
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

Federated learning is an emerging learning paradigm where multiple clients collaboratively train a machine learning model in a privacy-preserving manner. Personalized federated learning extends this paradigm to overcome heterogeneity across clients by learning personalized models. Recently, there have been some initial attempts to apply Transformers to federated learning. However, the impacts of federated learning algorithms on self-attention have not yet been studied. This paper investigates this relationship and reveals that federated averaging algorithms actually have a negative impact on self-attention where there is data heterogeneity. These impacts limit the capabilities of the Transformer model in federated learning settings. Based on this, we propose FedTP, a novel Transformer-based federated learning framework that learns personalized self-attention for each client while aggregating the other parameters among the clients. Instead of using a vanilla personalization mechanism that maintains personalized self-attention layers of each client locally, we develop a learn-to-personalize mechanism to further encourage the cooperation among clients and to increase the scablability and generalization of FedTP. Specifically, the learn-to-personalize is realized by learning a hypernetwork on the server that outputs the personalized projection matrices of self-attention layers to generate client-wise queries, keys and values. Furthermore, we present the generalization bound for FedTP with the learn-to-personalize mechanism. Notably, FedTP offers a convenient environment for performing a range of image and language tasks using the same federated network architecture - all of which benefit from Transformer personalization. Extensive experiments verify that FedTP with the learn-to-personalize mechanism yields state-of-the-art performance in non-IID scenarios. Our code is available online.

원문 인용

Hongxia Li, Zhongyi Cai, Jingya Wang, Jiangnan Tang, Weiping Ding, Chin-Teng Lin, Ye Shi (2022). FedTP: Federated Learning by Transformer Personalization. arXiv:2211.01572v2. https://arxiv.org/abs/2211.01572v2

BibTeX
@misc{li2022fedtp,
  title = {{FedTP: Federated Learning by Transformer Personalization}},
  author = {Hongxia Li and Zhongyi Cai and Jingya Wang and Jiangnan Tang and Weiping Ding and Chin-Teng Lin and Ye Shi},
  year = {2022},
  eprint = {2211.01572},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.01572v2}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입