연합학습(Federated Learning)에서 데이터 프라이버시는 어떻게 보장할 수 있을까?

연합학습(Federated Learning)에서 데이터 프라이버시는 어떻게 보장할 수 있을까?

July 11, 2025 at 7:23 AM

연합학습(Federated Learning, FL)은 각 데이터 소유자가 자신의 데이터는 로컬에 보관한 채, 모델 학습에 기여하게 함으로써 기본적으로 데이터 프라이버시를 강화하려는 구조입니다. 하지만, 모델 파라미터나 업데이트(gradient 등)를 교환하는 과정에서 여전히 개인정보가 유출될 수 있음이 광범위하게 입증되었습니다[1][2]. 실제로, 모델 반전 공격(model inversion), 멤버십 추론 공격(membership inference), gradient leakage 등 다양한 공격 벡터가 FL 환경에서 활용될 수 있으며, 단순히 '데이터를 직접 전송하지 않는다'는 점만으로는 충분한 프라이버시 보호를 보장할 수 없습니다[1][2][3].

따라서, 연합학습에서 데이터 프라이버시를 실질적으로 보장하기 위해서는 다음과 같은 기술적 방법들이 필수적으로 도입됩니다.


1. 차등 프라이버시(Differential Privacy, DP)

차등 프라이버시[2]는 각 클라이언트가 서버로 전송하는 모델 업데이트에 통계적인 노이즈를 추가함으로써, 특정 개인 데이터가 결과(모델) 혹은 전송 과정에서 식별되는 것을 방지합니다. 이를 구현하는 대표적인 알고리즘은 DP-SGD로, 로컬 gradient에 노이즈를 추가한 뒤 서버에 전달합니다[2][4][5][6]. 수학적으로, ϵ\epsilon-DP가 보장된다면, 데이터셋의 단일 데이터가 포함/비포함 여부에 따라 알고리즘 결과가 통계적으로 거의 동일하게 됩니다:

Pr[A(D1)S]eϵPr[A(D2)S]Pr[\mathcal{A}(D_1) \in S] \leq e^\epsilon \cdot Pr[\mathcal{A}(D_2) \in S]

여기서 D1D_1D2D_2는 단일 데이터만 다른 두 데이터셋, A\mathcal{A}는 알고리즘, SS는 출력 집합입니다. 접근 방법에는 로컬 차등 프라이버시(Local DP)와 중앙 집중형 DP가 있습니다. 최근에는 Adaptive DP budget allocation 등 정교한 프라이버시-유틸리티 트레이드오프 최적화 기법도 연구되고 있습니다[2][5][6][7].


2. 암호화 기반 보안 집계(Homomorphic Encryption, Secure Aggregation, SMPC)

FL에서 gradient나 파라미터 업데이트 자체가 민감한 정보를 노출할 수 있으므로, 전송 과정에서 이를 암호화하여 서버(혹은 다른 클라이언트)가 중간 업데이트를 복호화하지 못하도록 해야 합니다. 대표적으로 동형암호(Homomorphic Encryption, HE)를 활용하면, 클라이언트가 업데이트를 암호화하여 서버에 제출하고, 서버는 암호화된 상태로 연산(집계 등)을 수행할 수 있습니다[8][9][10][11][12][13]. 완전동형암호(Fully HE)는 이론적으로 가장 강력하지만, 연산과 통신 비용이 커 실제로는 부분동형암호(Partial HE) 계열이 더 널리 연구되고 있습니다.보안 합산(Secure Aggregation):단일 클라이언트의 업데이트가 중앙 서버에 노출되지 않는 방식으로, 여러 클라이언트의 업데이트를 암호화/마스킹하여 집계(aggregation)만 가능하도록 구현합니다[9][14][15][16]. 예를 들어, Secure Multiparty Computation(SMPC) 기반 집계 알고리즘은 개별 업데이트는 누구도 알 수 없지만, 전체 합산 결과만 공개되는 방식입니다.


3. 블록체인 및 분산 컨트롤

최근에는 중앙 서버에 대한 신뢰 문제와 업데이트 위변조, 악의적 클라이언트/서버를 막기 위한 방법으로 블록체인 기반 연합학습이 제안되고 있습니다[13][16][17][18]. 블록체인 상에 raw data가 아닌 모델 업데이트 및 참여 기록, 평판정보, 학습 과정 로그 등이 투명하게 기록되며, 이로써 auditing과 추적, 보상 시스템 구현이 가능합니다[13][16][17]. 블록체인은 보안 집계, 인증, 불변성 등에 기여하지만, 처리속도 및 비용 문제 등 한계를 함께 가집니다.


4. 지식증명(Zero-Knowledge Proof, ZKP) 및 익명성

클라이언트가 자신의 데이터 또는 업데이트 내용에 대한 추가정보 공개 없이, "내가 정당하게 프로토콜을 따랐다"는 사실만을 증명할 수 있는 ZKP 기법이 연구되고 있습니다[16]. 예컨대, 클라이언트가 노이즈 레벨, 파라미터 범위 또는 participation 여부와 관련된 제약을 ZKP로 증명하면, 중앙 서버 또는 블록체인 네트워크 내에서 신뢰도와 프라이버시를 동시 확보할 수 있습니다. 또한 익명성과 unlinkable participation을 지원하는 인증 및 reputation 시스템도 활용됩니다[16][19].


5. 개인화 및 적응형 참여(Personalization, Adaptive Participation)

FL 환경에서는 각 클라이언트의 데이터 분포와 민감도, 프라이버시 요구 수준이 다르기 때문에, 퍼스널라이즈 FL(예: meta-learning 타입 개인화 FL)에는 프라이버시 예산 할당, 참가 빈도 조절 등 세밀한 정책이 적용됩니다[6][20]. 이 과정에서 특정 클라이언트가 반복적으로 참여하며 업데이트의 정보 편향 및 노출 가능성이 커지지 않도록 설계하는 것이 중요하며, 일부는 클라이언트 셀렉션, dynamic privacy budget allocation 등 트레이드오프 기반 기법을 적용합니다[5][6][20].


6. 공격 탐지 및 복원력(Resilience against Attacks)

FL은 여전히 모델 인버전, 멤버십 추론, 바이잔틴(즉, 악의적 클라이언트에 의한 조작) 공격에 취약할 수 있으며, 암호화된 환경에서 탐지 자체가 어려운 경우가 많습니다[1][12][15][17][21]. 이에 대해 최근 연구들은 공격 탐지를 위한 내부 감사(auditing), gradient similarity 측정, Mahalanobis distance 기반 이상치 탐지, cosine similarity 기반 방어 집계, norm-clipping, distillation defense, 기능 암호화(functional encryption) 등 다양한 방어 전략을 도입하고 있습니다[12][17][18][21]. 또한, 블록체인 기반에서 투명한 audit trail을 남기는 방식을 함께 활용합니다[16][17].


7. 실질적 트레이드오프: 프라이버시, 성능, 효율성

프라이버시 보호 수준을 높이기 위해 노이즈를 많이 넣거나, 암호화 복잡도를 높이면 모델 정확도(utility), 통신·연산 효율성(communication/computation efficiency)에 영향을 주는 것이 수학적으로 증명되었습니다. 즉, FL 시스템에서 프라이버시, 유틸리티, 효율성 간 'No Free Lunch' 관계가 성립하므로, 환경과 목적에 따라 적절한 파라미터를 설계하는 것이 필수적입니다[2][4][5][7][9][20].


8. 차세대 분산/탈중앙 연합학습

단일 중앙 서버를 없애고 P2P 네트워크 기반으로 FL을 구현하는 decentralized FL도 최근 제안되고 있습니다. 이 패러다임에서는 각 노드가 직접 peer와 파라미터를 교환하며, 다양한 합의·집계 메커니즘이 필요합니다[3][16][22]. 이러한 방법은 중앙 서버 유출을 방지하나 새로운 유형의 프라이버시 위협과 네트워크 복잡성 문제를 동반하기 때문에, 별도의 위협 모델 분석과 결합된 신규 보안 프로토콜 연구가 활발합니다[3][22].


결론

연합학습이 데이터를 로컬에 보관한 채로 협업한다는 구조적 특성은 데이터 프라이버시 향상을 위한 1차적인 조건일 뿐, 파라미터 전송/집계 과정에서 발생하는 다양한 정보 노출 리스크는 차등 프라이버시, 암호화 기반 보안 집계, 블록체인, 지식증명, 적응형 클라이언트 관리, 공격 탐지 등 다층적 기술 조합을 통해서만 실질적으로 보장될 수 있습니다. 각 보호 기술은 프라이버시-유틸리티-효율성 간 필연적 트레이드오프를 가지며, 사용 환경, 데이터 분포 및 응용 목적에 맞게 설계와 조율이 요구됩니다[2][5][8][9][15][16][17][20].

References
  1. [1]

    JERE, Malhar; FARNAN, Tyler; KOUSHANFAR, F. A taxonomy of attacks on federated learning. IEEE Security & Privacy, 2021. https://doi.org/10.1109/msec.2020.3039941.

  2. [2]

    OUADRHIRI, Ahmed El; ABDELHADI, Ahmed M. Differential privacy for deep and federated learning: A survey. IEEE Access, 2022. https://doi.org/10.1109/access.2022.3151670.

  3. [3]

    HALLAJI, Ehsan, et al. Decentralized federated learning: A survey on security and privacy [preprint]. arXiv, 2024. arXiv:2401.17319. https://doi.org/10.1109/tbdata.2024.3362191.

  4. [4]

    MOHAMMADI, Nima, et al. Differential privacy meets federated learning under communication constraints [preprint]. arXiv, 2021. arXiv:2101.12240. https://doi.org/10.1109/jiot.2021.3101991.

  5. [5]

    ZHAO, Jianzhe, et al. Utility optimization of federated learning with differential privacy. Discrete Dynamics in Nature and Society, 2021. https://doi.org/10.1155/2021/3344862.

  6. [6]

    WEI, Kang, et al. Personalized federated learning with differential privacy and convergence guarantee. IEEE Transactions on Information Forensics and Security, 2023. https://doi.org/10.1109/tifs.2023.3293417.

  7. [7]

    ZHAO, Jianzhe, et al. Privacy-enhanced federated learning: A restrictively self-sampled and data-perturbed local differential privacy method. Electronics, 2022. https://doi.org/10.3390/electronics11234007.

  8. [8]

    MA, Jing, et al. Privacy-preserving federated learning based on multi-key homomorphic encryption [preprint]. arXiv, 2021. arXiv:2104.06824. https://doi.org/10.1002/int.22818.

  9. [9]

    AZIZ, Rezak, et al. Exploring homomorphic encryption and differential privacy techniques towards secure federated learning paradigm. Future Internet, 2023. https://doi.org/10.3390/fi15090310.

  10. [10]

    JIA, Bin, et al. Blockchain-enabled federated learning data protection aggregation scheme with differential privacy and homomorphic encryption in iiot. IEEE Transactions on Industrial Informatics, 2021. https://doi.org/10.1109/tii.2021.3085960.

  11. [11]

    MIAO, Yinbin, et al. Privacy-preserving byzantine-robust federated learning via blockchain systems. IEEE Transactions on Information Forensics and Security, 2022. https://doi.org/10.1109/tifs.2022.3196274.

  12. [12]

    YAZDINEJAD, Abbas, et al. A robust privacy-preserving federated learning model against model poisoning attacks. IEEE Transactions on Information Forensics and Security, 2024. https://doi.org/10.1109/tifs.2024.3420126.

  13. [13]

    MEMBER, Ieee Ruizhe Yang, et al. Blockchain-based federated learning with enhanced privacy and security using homomorphic encryption and reputation. IEEE Internet of Things Journal, 2024. https://doi.org/10.1109/jiot.2024.3379395.

  14. [14]

    WANG, Yong, et al. VOSA: Verifiable and oblivious secure aggregation for privacy-preserving federated learning. IEEE Transactions on Dependable and Secure Computing, 2023. https://doi.org/10.1109/tdsc.2022.3226508.

  15. [15]

    SO, Jinhyun; GULER, Basak; AVESTIMEHR, A. Salman. Byzantine-resilient secure federated learning [preprint]. arXiv, 2020. arXiv:2007.11115. https://doi.org/10.1109/jsac.2020.3041404.

  16. [16]

    XIAO, Yao, et al. Prsefl: Achieving practical privacy and robustness in blockchain-based federated learning. IEEE Internet of Things Journal, 2024. https://doi.org/10.1109/jiot.2024.3454087.

  17. [17]

    ZENG, Honghong, et al. BSR-FL: An efficient byzantine-robust privacy-preserving federated learning framework. IEEE Transactions on Computers, 2024. https://doi.org/10.1109/tc.2024.3404102.

  18. [18]

    WAN, Changxu, et al. Research on privacy protection in federated learning combining distillation defense and blockchain. Electronics, 2024. https://doi.org/10.3390/electronics13040679.

  19. [19]

    DOMINGO-FERRER, Josep, et al. Secure and privacy-preserving federated learning via co-utility [preprint]. arXiv, 2021. arXiv:2108.01913. https://doi.org/10.1109/jiot.2021.3102155.

  20. [20]

    ZHANG, Xiaojin, et al. Trading off privacy, utility and efficiency in federated learning [preprint]. arXiv, 2022. arXiv:2209.00230. https://doi.org/10.1145/3595185.

  21. [21]

    MA, Zhuo, et al. Shieldfl: Mitigating model poisoning attacks in privacy-preserving federated learning. IEEE Transactions on Information Forensics and Security, 2022. https://doi.org/10.1109/tifs.2022.3169918.

  22. [22]

    CHEN, Shuzhen, et al. Decentralized wireless federated learning with differential privacy [preprint]. arXiv, 2021. arXiv:2109.09142. https://doi.org/10.1109/tii.2022.3145010.

July 11, 2025 at 7:23 AM

tlooto can make mistakes. Check important information against the original sources.