Skip to main content
QUICK REVIEW

[Paper Review] A Secure and Efficient Federated Learning Framework for NLP

Jie‐Ren Deng, Chenghong Wang|arXiv (Cornell University)|Jan 28, 2022
Privacy-Preserving Technologies in DataComputer Science6 citations
TL;DR

This paper proposes SEFL, a secure and efficient federated learning framework for NLP that eliminates the need for trusted aggregators by using two non-colluding servers: an Aggregation Server and a Cryptography Service Provider. It achieves comparable or better model accuracy than existing methods while being resilient to client dropouts and improving runtime performance by up to 13.7× through block Hankel-matrix-based pruning of model weights and updates.

ABSTRACT

In this work, we consider the problem of designing secure and efficient federated learning (FL) frameworks. Existing solutions either involve a trusted aggregator or require heavyweight cryptographic primitives, which degrades performance significantly. Moreover, many existing secure FL designs work only under the restrictive assumption that none of the clients can be dropped out from the training protocol. To tackle these problems, we propose SEFL, a secure and efficient FL framework that (1) eliminates the need for the trusted entities; (2) achieves similar and even better model accuracy compared with existing FL designs; (3) is resilient to client dropouts. Through extensive experimental studies on natural language processing (NLP) tasks, we demonstrate that the SEFL achieves comparable accuracy compared to existing FL solutions, and the proposed pruning technique can improve runtime performance up to 13.7x.

Motivation & Objective

  • To address the limitations of existing federated learning frameworks that rely on trusted aggregators or are vulnerable to client dropouts.
  • To design a secure FL system that preserves differential privacy without requiring a trusted third party.
  • To reduce computational, communication, and storage overhead in secure FL for NLP models like RNNs and Transformers.
  • To enable robust training even when up to 75% of clients drop out during the training process.
  • To integrate efficient pruning techniques that reduce model size and improve runtime performance without sacrificing accuracy.

Proposed method

  • SEFL uses two non-colluding servers: an Aggregation Server (AS) that collects and securely aggregates encrypted model updates, and a Cryptography Service Provider (CSP) that holds the decryption key.
  • The framework employs additively homomorphic encryption (AHE) to enable secure aggregation of encrypted model updates without revealing individual client contributions.
  • Differential privacy is enforced via the Gaussian Mechanism, injecting noise proportional to model sensitivity to protect against membership inference attacks.
  • A block Hankel-matrix (BHM)-based local pruning technique is applied to compress model weights and updates, reducing space and communication complexity from O(l²) to O(2l−1).
  • The pruning is applied locally before transmission, minimizing the volume of data sent and reducing the number of noise injections in the differentially private aggregation step.
  • The system is designed to maintain model accuracy and convergence even under high client dropout rates by ensuring the global model remains stable despite missing updates.

Experimental results

Research questions

  • RQ1Can a federated learning framework achieve strong privacy guarantees without relying on a trusted aggregator?
  • RQ2How can client dropout be handled effectively in secure FL without degrading model accuracy?
  • RQ3To what extent can model compression via block Hankel-matrix pruning reduce communication and computational overhead in secure FL for NLP?
  • RQ4Does the integration of pruning with differential privacy improve both efficiency and model accuracy in FL?
  • RQ5What is the maximum client dropout rate that a secure FL system can tolerate while still producing accurate models?

Key findings

  • SEFL achieves comparable or better model accuracy than state-of-the-art private FL methods like CDP-FL, with up to 15% higher accuracy on Transformer models and 11% on LSTM models when using pruning.
  • The proposed BHM-based pruning technique improves runtime performance by up to 13.7× compared to unpruned SEFL across both LSTM and Transformer models.
  • Even with 75% client dropout, SEFL maintains model quality with only 17.41 and 46.34 higher perplexity for LSTM and Transformer models, respectively, compared to the no-dropout case.
  • The optimized SEFL achieves 19.3% and 12.8% accuracy improvements over unoptimized SEFL for LSTM and Transformer models, respectively, under the best pruning configurations.
  • The framework reduces model representation complexity from O(l²) to O(2l−1), significantly lowering storage and communication costs.
  • SEFL demonstrates resilience to client dropouts, maintaining stable convergence and accurate global models even when the majority of clients are offline.

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.