Skip to main content
QUICK REVIEW

[Paper Review] Byzantine-Robust and Privacy-Preserving Framework for FedML

Hanieh Hashemi, Yongqin Wang|arXiv (Cornell University)|May 5, 2021
Privacy-Preserving Technologies in DataComputer Science25 references13 citations
TL;DR

This paper proposes a unified framework for Byzantine-robust and privacy-preserving federated learning by leveraging trusted execution environments (TEEs) and GPU-accelerated gradient encoding. It enables secure, private gradient aggregation within TEEs while offloading computationally heavy Byzantine detection to GPUs using noise-encoding techniques that preserve relative distance relationships, achieving over 6x speedup over TEE-only baselines with provable information-theoretic privacy bounds.

ABSTRACT

Federated learning has emerged as a popular paradigm for collaboratively training a model from data distributed among a set of clients. This learning setting presents, among others, two unique challenges: how to protect privacy of the clients' data during training, and how to ensure integrity of the trained model. We propose a two-pronged solution that aims to address both challenges under a single framework. First, we propose to create secure enclaves using a trusted execution environment (TEE) within the server. Each client can then encrypt their gradients and send them to verifiable enclaves. The gradients are decrypted within the enclave without the fear of privacy breaches. However, robustness check computations in a TEE are computationally prohibitive. Hence, in the second step, we perform a novel gradient encoding that enables TEEs to encode the gradients and then offloading Byzantine check computations to accelerators such as GPUs. Our proposed approach provides theoretical bounds on information leakage and offers a significant speed-up over the baseline in empirical evaluation.

Motivation & Objective

  • To address the dual challenge of data privacy leakage and Byzantine client attacks in federated learning.
  • To enable secure, private model training without exposing raw gradients to untrusted servers or accelerators.
  • To design a scalable and efficient Byzantine robustness mechanism compatible with trusted hardware and accelerators.
  • To provide theoretical bounds on information leakage while maintaining high performance in real-world deployment.

Proposed method

  • Clients encrypt their gradients and send them to a TEE-based parameter server, ensuring confidentiality.
  • The TEE performs gradient obfuscation using additive Gaussian noise, enabling safe offloading to GPUs.
  • Pairwise distance computations for outlier detection are performed on encoded gradients by GPUs, preserving relative distance relationships.
  • The TEE decrypts and decodes the computed distances to identify and exclude Byzantine clients.
  • A novel noise-encoding scheme ensures that information leakage is bounded by the noise variance, enabling information-theoretic privacy guarantees.
  • The framework supports floating-point gradients and is compatible with standard deep learning models like MobileNet and EfficientNet.

Experimental results

Research questions

  • RQ1How can we simultaneously ensure privacy and robustness in federated learning without relying on slow cryptographic primitives?
  • RQ2Can we design a gradient encoding mechanism that allows accurate Byzantine detection on encoded gradients while minimizing information leakage?
  • RQ3What is the theoretical bound on information leakage when using noise-encoding in a TEE-GPU pipeline?
  • RQ4How does the proposed offloading mechanism compare in performance to running Byzantine detection entirely within the TEE?
  • RQ5Can the framework be efficiently scaled to support dynamic client participation and dropouts?

Key findings

  • The proposed framework achieves over 6x speedup in training time compared to a baseline that performs Byzantine detection entirely within the TEE.
  • The information-theoretic bound on leakage is proportional to the logarithm of the signal-to-noise ratio, ensuring minimal exposure of client data to GPUs.
  • The gradient encoding preserves relative pairwise distances up to a constant, enabling accurate outlier detection without revealing raw gradients.
  • The system maintains robustness under the (α,f)-Byzantine resilience model, tolerating up to f Byzantine clients when N ≥ 2f + 3.
  • Execution time is dominated by CPU-based encoding and encryption in the TEE, with GPU computation and communication costs being negligible.
  • The framework is practical and deployable on standard hardware, supporting floating-point gradients and real-world models like MobileNet and EfficientNet.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.