Background: Cancer transcriptomics consortia often cannot pool raw expression data because of privacy and regulatory constraints. Federated learning (FL) enables joint classifier training without sharing patient-level data, but model updates remain vulnerable to gradient inversion and membership inference attacks. Homomorphic encryption (HE) can secure updates, yet prior evaluations relied largely on synthetic or idealized IID data. We evaluate CKKS-based encrypted aggregation on real breast cancer transcriptomic data under label skew.
Methods: We partitioned public TCGA breast cancer RNA-seq data (N=590, 17,814 genes) into 4 simulated sites using a random 1,000-gene subset. We modeled label skew with Dirichlet partitioning (α=0.3) against a near-IID control (α=100). Each site trained a regularized logistic regression locally in plaintext for 15 rounds, encrypting only the weight updates (CKKS via TenSEAL) before homomorphic federated averaging. We averaged results over 5 seeds on a global held-out test set.
Results: Centralized training achieved 99.2±0.5% accuracy. Plaintext FL reached 94.3±2.9% (IID) and 94.5±2.7% (non-IID). CKKS-encrypted FL achieved 94.6±1.9% (IID) and 94.6±2.8% (non-IID). Encrypted and plaintext FL did not differ beyond run-to-run variability, and label skew caused no measurable degradation. The ~4.6-point gap to centralized training appeared in both plaintext and encrypted FL, so it is not attributable to encryption. Encryption added 0.59–0.77s over the 15-round run (total ~0.7–0.9s versus ~0.1s for plaintext).
Conclusions: In this proof-of-concept setting, CKKS-encrypted aggregation preserved model utility relative to plaintext FL under label skew at modest cost. Because we simulated sites from a single cohort, the design omits batch effects, platform and processing differences, sequencing depth, and population differences. CKKS protects updates during aggregation but not the final model against inference attacks. Future work includes cross-cohort heterogeneity, larger federations, deeper architectures, and complementary differential privacy.