TAPFed: Threshold Secure Aggregation for Privacy-Preserving Federated Learning

Runhua Xu, Bo Li, Chao Li, James B. D. Joshi, Shuai Ma, Jianxin Li · DOI

Abstract

Federated learning (FL) is a computing paradigm that enhances privacy by enabling multiple parties to collaboratively train a machine learning model without revealing personal data. However, traditional FL platforms are vulnerable to privacy leaks caused by the exchange of gradients. To achieve true privacy-preserving FL, secure aggregation is essential. Existing solutions are often vulnerable to inference attacks, such as disaggregation attacks. This paper proposes TAPFed, an approach for achieving privacy-preserving FL in the context of multiple decentralized aggregators with malicious actors. TAPFed utilizes a novel threshold functional encryption scheme, allowing for a certain number of malicious aggregators while maintaining security and privacy. Experimental results demonstrate that TAPFed offers equivalent model quality to state-of-the-art approaches while reducing transmission overhead by 29%-45% and defending against sophisticated inference attacks.

Introduction

Federated Learning (FL) was initially conceived as a privacy-preserving alternative to centralized machine learning. By sharing model updates (gradients) instead of raw data, it aimed to keep sensitive information local. However, recent research has demonstrated that "curious" or malicious aggregators can reverse-engineer these gradients to reconstruct original training data.

Most current Secure Aggregation (SecAgg) solutions rely on an "Honest-but-Curious" (HbC) assumption, where the central server is trusted to follow the protocol but might try to learn from the data. If this central point of trust is compromised, the privacy of all participants is lost. Furthermore, existing multi-server solutions often require complex peer-to-peer (P2P) communication, leading to scalability issues.

Comparison of TAPFed with representative secure aggregation approaches, highlighting its resilience against malicious aggregators and lack of P2P requirements.

The TAPFed Framework

TAPFed (Threshold Aggregation for Privacy-preserving Federated learning) addresses these vulnerabilities through a decentralized architecture. Its core innovation is the Threshold Multi-Client Functional Encryption (tMCFE) scheme.

Unlike traditional FL, TAPFed utilizes multiple independent aggregators. A participant's update is encrypted such that it requires contributions from a threshold $t$ out of $m$ aggregators to reconstruct the final aggregated model. This ensures that no single aggregator—or even a colluding group smaller than the threshold—can access individual or intermediate model updates.

The TAPFed decentralized secure aggregation workflow, illustrating the interaction between parties, independent aggregators, and the crypto infrastructure.

Key features of the TAPFed architecture include:

  • Aggregator Obliviousness: Aggregators perform computations on encrypted data without ever seeing the plaintext.
  • No P2P Communication: Aggregators operate independently, eliminating communication bottlenecks and scaling linearly with the number of participants.
  • DDH-Based Security: The system is built on the Decisional Diffie-Hellman (DDH) assumption, making it computationally efficient for resource-constrained IoT devices.
  • Replay Attack Prevention: Unique cryptographic labels for each training round prevent attackers from injecting old updates to extract information.

Experimental Evaluation

The researchers evaluated TAPFed using standard computer vision benchmarks, MNIST and CIFAR-10, simulating realistic cross-silo training scenarios with Convolutional Neural Networks (CNNs).

Performance and Efficiency

  • Transmission Overhead: TAPFed achieved a 29% to 45% reduction in transmission payload volume compared to functional encryption baselines like HybridAlpha and DeTrust-FL.
  • Training Speed: In MNIST trials, TAPFed reduced training time by 28% compared to Paillier-based homomorphic encryption and 55% compared to the HybridOne framework.
  • Model Accuracy: Because TAPFed uses exact cryptographic aggregation rather than noise-based methods (like Differential Privacy), it maintains the exact same model accuracy as standard, non-private FL.

Conclusion

TAPFed provides a robust solution for privacy-preserving federated learning by moving beyond the "Honest-but-Curious" assumption. By leveraging threshold functional encryption and a decentralized aggregator model, it offers superior protection against inference attacks while simultaneously improving communication efficiency. Future work will focus on adapting TAPFed for "cross-device" FL scenarios involving millions of mobile devices and expanding the functional scope beyond weighted average fusion.

Summary updated

BibTeX
@article{xu2024tapfed,
  author = {Runhua Xu and Bo Li and Chao Li and James B. D. Joshi and Shuai Ma and Jianxin Li},
  title = {{TAPFed: Threshold Secure Aggregation for Privacy-Preserving Federated Learning}},
  journal = {IEEE Trans. Dependable Secur. Comput.},
  year = {2024},
  doi = {10.1109/tdsc.2024.3350206},
}
Figure