Overcoming Memory Bottlenecks in Homomorphic Federated Learning: A Chunk-Based Serverless MapReduce Approach
Afonso Cruz, Carlos Marques, Vasco Carvalho, Fernando Almeida
Key points
From the paper's conclusion- The framework attains 84.13% global accuracy, indicating that serverless chunking preserves aggregation fidelity within the evaluated workload’s precision envelope while substantially reducing idle infrastructure expenditure relative to always-on provisioning.
Abstract
Federated Learning (FL) enables collaborative model training across decentralized organizations without direct data sharing, yet communicating raw gradient updates remains susceptible to reconstruction and membership inference attacks. Fully Homomorphic Encryption (FHE) provides cryptographic privacy during aggregation, but ciphertext expansion triggers Out-of-Memory (OOM, Exit Code 137) terminations across edge nodes and serverless execution environments. This article presents FHE-Cloud, an edge-to-cloud framework that reformulates monolithic homomorphic aggregation as an event-driven serverless MapReduce workflow. Model weights are partitioned into 4096-parameter vectors aligned with the Single Instruction, Multiple Data (SIMD) slot capacity of the Residue Number System (RNS) variant of the Cheon–Kim–Kim–Song (CKKS) scheme (N=8192), parallelizing homomorphic summations across stateless AWS Lambda instances orchestrated via Amazon S3 and EventBridge. Evaluated on decentralized medical image classification (PneumoniaMNIST) under a non-independent and identically distributed (non-IID) Dirichlet distribution (αDir=0.5), FHE-Cloud bounds peak Lambda memory consumption to 123.9±1.8 MB, achieves a mean warm-start aggregation latency of 330.4±12.4 ms, and prevents memory exhaustion at edge and cloud tiers. The framework attains 84.13% global accuracy, indicating that serverless chunking preserves aggregation fidelity within the evaluated workload’s precision envelope while substantially reducing idle infrastructure expenditure relative to always-on provisioning.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Efficient Privacy-Preserving Medical Cross-Silo Federated Learning.IEEE journal of biomedical and health informatics · 2026
- IMAP-FL: an intelligent multi-agent privacy-preserving framework for federated learning combining client-side differential privacy and secure aggregationFrontiers in Computer Science · 2026
- H-VSAF: a verifiable and privacy-preserving federated learning framework for secure remote healthcare monitoringFuture Technology · 2026
- Feasibility of fully homomorphic encryption in mental health risk detection via text messagesFrontiers in Digital Health · 2026
- A Context-Adaptive Semantic Homomorphic Encryption Framework for Secure and Efficient Federated AI in Cloud EnvironmentsEPJ Web of Conferences · 2026
- End-to-End Privacy-Aware Federated Learning for Wearable Health Devices via Encrypted Aggregation in Programmable NetworksSensors · 2025