Abstract
Federated Learning (FL) enables collaborative model training while keeping data localized. However, traditional centralized aggregation introduces a single point of failure, while existing decentralized alternatives often suffer from significant performance overheads or privacy leaks. This paper presents Voltran, a hybrid decentralized platform that integrates Trusted Execution Environments (TEEs) with blockchain technology. By leveraging parallelized Intel SGX enclaves, Voltran achieves high confidentiality and integrity without the computational penalties of Homomorphic Encryption or Secure Multi-Party Computation. Our evaluation demonstrates that Voltran provides up to a 199.78x speedup over SMPC-based schemes while maintaining the accuracy of centralized FL.
1. Introduction: The Decentralization Trilemma
Standard Federated Learning (FL) architectures rely on a central server to aggregate gradients from various clients. This centralized model is vulnerable to malicious actors who might tamper with the global model or perform inference attacks to reconstruct private client data. To mitigate these risks, researchers have turned to blockchain-based decentralized FL.
However, decentralized FL faces a persistent "trilemma" involving confidentiality, efficiency, and scalability. Blockchains are inherently transparent, making raw model gradients—which can leak sensitive information—visible to all participants. While cryptographic solutions like Differential Privacy (DP), Homomorphic Encryption (HE), and Secure Multi-Party Computation (SMPC) offer privacy, they often degrade model accuracy or introduce prohibitive computational and communication overheads.
2. The Voltran Architecture
Voltran addresses these challenges through a three-layer architecture designed to decouple heavy computation from the consensus mechanism:
- Interaction Layer: This layer manages task ownership, client registration, and participation protocols.
- Computation Layer: This is the core of Voltran’s performance. It utilizes a swarm of Intel SGX (Software Guard eXtensions) nodes. These TEEs provide hardware-isolated "enclaves" where data can be processed in plaintext while remaining invisible to the host system. This allows for high-speed aggregation without the overhead of computing on ciphertexts.
- Consensus Layer: Voltran uses a blockchain (e.g., Hyperledger Fabric) as a verifiable, immutable ledger. Instead of performing ML tasks on-chain, the blockchain records aggregation results and verification proofs, ensuring transparency and auditability.
3. Key Technical Innovations
3.1 Multi-SGX Parallel Execution
A significant limitation of Intel SGX is the restricted memory size of enclaves (typically 128MB), which is insufficient for modern deep learning models. Voltran introduces a strategy to partition aggregation tasks across multiple SGX nodes. This parallelization allows the system to scale to large-scale models, such as BERT, which would otherwise exceed the memory capacity of a single TEE.
3.2 Committee Mechanism and Secure Data Flow
To ensure system resilience, Voltran employs an autonomous committee mechanism that handles node registration and task allocation. If a node fails or goes offline, the committee facilitates a seamless replacement. Furthermore, the system utilizes Remote Attestation (RA) combined with session keys to ensure that client data is only decrypted once it is securely inside a verified enclave, maintaining end-to-end confidentiality.
4. Experimental Evaluation
The authors evaluated Voltran across six models and five diverse datasets, including Adult (MLP), MNIST (CNN), CIFAR-10 (ResNet18/AlexNet), CelebA (ResNet50), and THUCNews (BERT).
4.1 Performance and Efficiency
Voltran demonstrates substantial performance gains over existing privacy-preserving methods. It achieved a 199.78x speedup compared to SMPC-based schemes for ResNet18 and was 6.19x faster than BatchCrypt, a state-of-the-art HE-based scheme.
4.2 Scalability and Accuracy
The multi-SGX strategy proved highly effective for scaling. For a large CNN task, increasing the number of SGX nodes from one to four reduced computation time from 17.43 seconds to 2.68 seconds. Crucially, Voltran maintains the accuracy of "vanilla" centralized FL, with accuracy variances typically remaining below 1%, avoiding the utility loss associated with Differential Privacy.
4.3 Security Robustness
Voltran successfully integrated off-the-shelf defenses, such as CRFL and SEAR, to resist Byzantine and backdoor attacks. These defenses were implemented within the TEE with negligible impact on overall performance.
5. Conclusion and Future Work
Voltran represents a significant step forward in securing decentralized FL by moving trust into hardware enclaves. By treating the blockchain as a ledger rather than a computational engine, it bypasses traditional throughput bottlenecks.
Future research will focus on expanding Voltran’s compatibility with other TEE architectures, such as ARM TrustZone or AMD SEV, to reduce hardware lock-in. Additionally, the authors aim to optimize the system for "foundation" models (e.g., GPT) through model compression techniques like Knowledge Distillation and more efficient communication protocols like Ring Allreduce.
Summary updated