Proposal 2026-10-08; results added through 2026-11-11
Mini-project: federated learning on Chronic Lymphocytic Leukemia (CLL, Broad, Nat Genet 2022) data via cBioPortal, testing whether FL matches centralized performance and how much raw patient data leaks from FL model updates.
Federated learning (FL) is increasingly proposed as a way to let multiple institutions collaboratively train models on sensitive biomedical data (genomic, clinical, imaging) without centralizing raw patient records. Published results show real gains from this approach: COVID-19 outcome prediction improved 16–38% at 24h/72h, and rare tumour segmentation improved substantially under FL versus single-site training.
However, FL is frequently described as "privacy-preserving" without that claim being rigorously tested. Reviews of FL frameworks in biomedical research note scarce integration of privacy-preserving techniques (differential privacy, secure aggregation) and a predominant reliance on simpler, less protected architectures — meaning raw data may still be at risk of leaking through shared model updates via gradient inversion or membership inference attacks.
This project has two goals:
- Demonstrate that FL can match centralized model performance on a real cancer classification task across simulated institutional silos.
- Measure how much raw patient data actually leaks from vanilla FL updates, then apply and evaluate defenses (differential privacy, secure aggregation) to close that gap — reporting the resulting privacy-utility tradeoff.
Dataset: cBioPortal — Chronic Lymphocytic Leukemia (Broad, Nature Genetics 2022), study ID cll_broad_2022. The study has 1,154 tumour samples, but RNA-seq exists for only a subset; 700 samples (from 696 patients) have both RNA-seq and an IGHV label and are used here.
Task: Binary classification — IGHV-mutated (M-CLL) vs. IGHV-unmutated (U-CLL) CLL, a lab-measured marker that separates two clinically distinct forms of the disease with different prognosis and treatment. Input is gene expression (RNA-seq, TPM). Classes are roughly balanced (51% mutated).
Features: The 100 highest-variance genes, log2(TPM+1) transformed, after excluding immunoglobulin genes (a near-proxy for the label and clone-specific fingerprints), Y-chromosome/sex-linked genes, pseudogenes, small RNAs and other noisy transcripts (classified with the GENCODE v19 annotation). Date-mangled gene symbols from the source file (e.g. 10-Sep) are restored (SEPT10). No curated panel is assumed.
Node split: Samples are grouped by contributing cohort (COHORT: ICGC, GCLLSG, DFCI, NHLBI, UCSD, MDACC), pooling the three cohorts with under 40 patients (NHLBI, UCSD, MDACC) into "OTHER". This simulates different institutions as different nodes. This gives 4 nodes (n = 289 / 229 / 130 / 52 samples) whose label rates differ (34%–63% mutated) — the non-IID condition FL needs to prove itself against.
Train/val/test: Splits are made at the patient level (a patient's samples never straddle splits). A shared test set (20% of patients, stratified by cohort and label) is held out first and used for both centralized and federated models; the rest is split within each node into train/val (80/20). With seed 4171 the pooled sizes are 447 train / 113 val / 140 test samples (51–52% mutated in each); per-node sizes are in DATA_NOTES.txt.
Preprocessing: Features are z-scored using training data only — pooled statistics for the centralized model, each node's own statistics for federated learning. Selection and preprocessing choices are documented in DATA_NOTES.txt.
- Recent (2022), large, and open, with RNA-seq and a clean binary clinical label — no survival analysis or censored data.
- The label is lab-measured, not derived from the expression data, so the task is not circular.
- Multiple contributing cohorts give a natural multi-institution split with heterogeneous label rates.
- Limitation: only four usable nodes after filtering, and no direct FL benchmark from prior work for this dataset.
| Item | Choice |
|---|---|
| Train | Classifier (logistic regression or small MLP) on the top-variance gene set |
| Label | IGHV mutation status (binary) |
| Nodes | Split by contributing cohort (COHORT) |
| Metrics | AUC-ROC (primary), plus accuracy, F1, precision, recall; reported pooled and per node, as mean ± std over seeds |
| Comparison | Centralized model vs. FedAvg (Flower) |
Keep the model simple (logistic regression / small MLP) so the threat-model attacks in Part 2 are easier to implement and interpret.
Attacks:
- Gradient inversion attack — reconstruct approximate patient feature vectors from a client's shared gradient update.
- Membership inference attack — determine whether a given patient's record was in a specific site's training set.
Attack success metrics:
- Reconstruction similarity (e.g., cosine similarity between reconstructed and real feature vectors) for inversion.
- AUC for membership inference.
Defenses:
- Differential privacy via Opacus — add calibrated noise to gradients, sweep privacy budgets (ε = 1, 3, 8, ∞).
- Secure aggregation — simulated via Flower's support or a simplified masking scheme, so the server only sees summed updates, never individual client gradients.
Core result: Privacy-utility tradeoff curve (AUC-ROC vs. ε) and leakage-reduction curve (attack success vs. ε). Look for a "knee" in the curve — a privacy budget where attack success drops sharply while accuracy cost stays small.
- Decide cBioPortal access route: bulk download (
https://datahub.assets.cbioportal.org/cll_broad_2022.tar.gz), fetched automatically byutils/preprocess.py - Preprocess data into per-node train/val splits and a shared test set (
python -m utils.preprocess) - Confirm cohort split has enough patients per node for stable training (4 nodes; the smallest, OTHER, has 34 train samples (30 patients), 8 val and 10 test)
- Pick final feature set size (top-N variance genes; try N = 50 / 100 / 500)
- FedAvg baseline with Flower (
python -m federated.run) - Per-client update access on the server for the attacks (SGD, 1 local step, small batches):
federated/capture_strategy.py,python -m attacks.run_capture - Gradient inversion (
python -m attacks.run_inversion); exact at batch size 1 (cosine 1.000), near chance for logistic regression at batch size 2-8, partial for the MLP (0.54-0.68) - Membership inference (scored inside
python -m defenses.run_dp_membershipanddefenses.run_secagg, on the SGD 50-round runs): both loss-threshold attacks near chance (pooled AUC 0.50-0.53, intervals include 0.5), with and without DP and secure aggregation - DP (
python -m defenses.run_dp,defenses.run_dp_membership,attacks.run_inversion --epsilons) and simulated secure aggregation (defenses.run_secagg); trade-off plotpython -m defenses.plot_tradeoff: DP is nearly free down to epsilon 3 for logistic regression, removes batch-1 inversion at every epsilon tested (1, 3, 8); secure aggregation hides individual updates (inversion and the update-gain membership attack fall to chance) but the 4-client aggregate still leaks partially for the MLP - Frame for week 7 proposal: two research questions — (1) does FL match centralized performance for cancer classification across institutional silos, and (2) how much raw patient data leaks from FL updates, and what's the cost of closing that leak
BioFLeak/
├── data/ # raw, reference and processed CLL data (gitignored)
│ ├── cll_broad_2022/ # raw cBioPortal download
│ ├── reference/ # GENCODE v19 gene annotation (downloaded on first run)
│ └── processed/ # samples_joined.csv, test.csv, nodes/<node>/{train,val}.csv
├── utils/
│ ├── preprocess.py # download/load raw files, join/filter, gene selection, patient-level splits
│ ├── standardization.py # pooled (centralized) and local (federated) z-scoring from training data
│ ├── train.py # shared training epoch and evaluation (AUC, accuracy, F1, precision, recall)
│ └── dataset.py # reads data/processed/ into arrays (load_processed)
├── models/
│ ├── logistic_regression.py # logistic regression (one linear layer, outputs a logit)
│ ├── mlp.py # small MLP (100 -> 32 -> 1, outputs a logit)
│ └── __init__.py # build_model("logreg" | "mlp", n_features)
├── centralized/
│ └── run.py # centralized baseline: pooled training, per-epoch curves, early-stopping selection, 5 seeds
├── federated/
│ ├── client_app.py # Flower client: one per node, local training/validation
│ ├── server_app.py # FedAvg, client-side validation + server-side test each round
│ ├── run.py # driver: models x seeds, round selection, results/federated/metrics.csv
│ ├── capture_strategy.py # CaptureFedAvg: records each client's update for the attacks
│ └── pyproject.toml, LICENSE # dependency list from the Flower example
├── attacks/ # run_capture.py (record client updates), inversion.py + run_inversion.py (gradient inversion), membership.py + run_membership.py (membership scoring, called by the defenses)
├── defenses/ # run_dp.py, tune_lr.py, run_dp_membership.py, run_secagg.py, plot_tradeoff.py (DP and secure aggregation)
├── results/ # metrics output (CSV, gitignored); centralized/ and federated/ subfolders
├── tests/ # pytest: closed form exact, masks cancel, no patient in two splits
├── DATA_NOTES.txt # data selection and preprocessing decisions, with reasoning
├── requirements.txt
└── README.md
Requires Python 3.11.4 or newer (developed on 3.12).
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txtpython -m utils.preprocess # run from the repo rootThis downloads and extracts the CLL study from cBioPortal into data/cll_broad_2022/ if it isn't there yet (about 136 MB), joins/filters the tables, selects genes, splits into nodes, and writes data/processed/. The first run also downloads the GENCODE v19 gene annotation (about 38 MB) into data/reference/, so it needs internet. Output:
data/processed/samples_joined.csv— the 700 joined sample/patient rows with RNA-seq and an IGHV label.data/processed/nodes/<node>/train.csvandval.csv— one folder per FL node (DFCI, GCLLSG, ICGC, OTHER).data/processed/test.csv— the shared held-out test set, with aNODEcolumn.
Each split file has SAMPLE_ID, PATIENT_ID, COHORT, NODE, label (1 = IGHV-mutated) and the unscaled log2(TPM+1) values of the 100 selected genes. Standardization is applied at load time (standardize_pooled for the centralized model, standardize_local for federated learning). The seed is fixed at 4171 (SEED in utils/preprocess.py). See DATA_NOTES.txt for the reasoning behind each choice.
from utils.preprocess import load_cll, make_splits
from utils.standardization import standardize_pooled, standardize_local
X, y, node, patient, genes = load_cll() # unscaled log2(TPM+1), 100 genes
test, nodes = make_splits(X, y, node, patient) # same split as data/processed/
test, nodes = standardize_pooled(test, nodes) # centralized; or standardize_local for FL
# nodes["ICGC"]["train"] -> (X, y); test -> (X, y, node_per_sample)utils.dataset.load_processed() reads the CSVs in data/processed/ into the same (test, nodes) layout (unscaled); it gives the same arrays as load_cll + make_splits (seed 4171). Use it with standardize_pooled / standardize_local.
python -m centralized.run # run from the repo root
python -m centralized.run --scaling local # same, but each node scaled with its own statistics (as FedAvg does); -> results/centralized_local/Trains logistic regression (logreg) and the small MLP (100 → 32 → 1) on the pooled node training sets (pooled standardization), trains for 200 epochs while logging the pooled validation metrics and the test metrics (pooled and per node) at every epoch, and then picks the epoch by early stopping on the pooled validation AUC (patience 20, utils.train.select_best, the same rule the federated run uses), never from test numbers, over 5 seeds. Seeds vary model initialisation and batch order; the data split is fixed. Hyperparameters (Adam, learning rate 1e-3, weight decay 1e-4, batch size 32) live in utils/train.py so the federated run can use the same ones. Results are written to results/centralized/metrics.csv, and the per-epoch curves to results/centralized/epochs/<model>_s<seed>.csv. These have the same columns as the federated per-round files in results/federated/rounds/ (epoch instead of round), so convergence can be plotted side by side, in epochs for centralized and in rounds for federated. The two units are not equivalent: a round averages four separately trained local models.
Results (pooled test set of 140 samples, mean ± std over 5 seeds):
| Model | AUC | Accuracy | F1 | Precision | Recall |
|---|---|---|---|---|---|
| Logistic regression | 0.975 ± 0.004 | 0.903 ± 0.015 | 0.904 ± 0.016 | 0.915 ± 0.016 | 0.894 ± 0.030 |
| MLP | 0.977 ± 0.002 | 0.920 ± 0.013 | 0.921 ± 0.014 | 0.934 ± 0.007 | 0.908 ± 0.027 |
Per-node test AUC (logreg / MLP): DFCI 0.996 / 0.996, GCLLSG 0.910 / 0.920, ICGC 0.997 / 0.998, OTHER 0.914 / 1.000 (OTHER has only 10 test samples).
source venv/bin/activate # Flower's simulation needs the venv on PATH
python -m federated.run # run from the repo rootSimulates FedAvg across the four nodes with Flower (flwr.simulation.run_simulation, in-process; flwr run is not used because it builds a separate environment for every run). Same models, Adam settings (learning rate 1e-3, weight decay 1e-4, batch size 32) and seeds as the centralized run, 1 local epoch per round, at most 200 rounds, and each client standardizes with its own training statistics. Validation stays at the clients: every round Flower averages the clients' validation metrics (weighted by node size), and the round is chosen by early stopping (patience 20) on that average validation AUC, never on test numbers. The shared test set is held by the server for evaluation only and scored each round, pooled and per node. Per-round curves are in results/federated/rounds/; the summary is in results/federated/metrics.csv (same columns as the centralized file, plus best_round, optimizer, local epochs and batch size). Options: --optimizer adam|sgd, --local-epochs, --batch-size, --learning-rate, --rounds, --seeds, --models. A full run takes about 15 to 20 minutes.
Pooled test set (140 samples, mean ± std over 5 seeds):
| Model | Setting | AUC | Accuracy | F1 |
|---|---|---|---|---|
| Logistic regression | centralized | 0.975 ± 0.004 | 0.903 ± 0.015 | 0.904 ± 0.016 |
| Logistic regression | FedAvg | 0.954 ± 0.010 | 0.909 ± 0.037 | 0.912 ± 0.037 |
| MLP | centralized | 0.977 ± 0.002 | 0.920 ± 0.013 | 0.921 ± 0.014 |
| MLP | FedAvg | 0.963 ± 0.005 | 0.921 ± 0.020 | 0.925 ± 0.019 |
Per-node AUC is nearly the same as centralized (DFCI ≈ 0.99, ICGC ≈ 0.998, GCLLSG ≈ 0.91, OTHER has only 10 test samples). Part of the lower pooled AUC comes from local standardization, not from federation (about half of the gap for logistic regression, nearly all of it for the MLP, by the point estimates): the centralized models trained with local scaling (python -m centralized.run --scaling local -> results/centralized_local/) get 0.965 (logistic regression) and 0.960 (MLP). Scores from differently scaled nodes are less comparable across nodes, which hurts the pooled AUC but not the per-node AUC.
python -m utils.plot_convergence # needs results/centralized/epochs/ and results/federated/rounds/Writes results/figures/convergence.png (validation and test AUC against epochs for centralized and rounds for FedAvg, mean ± 1 std over 5 seeds, log-scale x-axis, test row zoomed to 0.90–1.0) and the plotted numbers in results/figures/convergence_table.csv. FedAvg needs more steps to learn (logistic regression reaches test AUC 0.95 after about 17 rounds versus 6 epochs centralized) and plateaus about 0.01 to 0.02 AUC lower. Validation AUC is not defined the same way in the two settings: pooled for centralized, the node-size-weighted mean of per-node AUCs for FedAvg.
python -m attacks.run_capture --baseline # Part 1 Adam captures (5 seeds, 200 rounds, about 10 minutes); nothing is attacked, utils.uncertainty rebuilds the FedAvg predictions from them
python -m utils.uncertainty # needs both centralized runs (centralized.run, centralized.run --scaling local), the federated baseline, the Part 1 captures and defenses.run_dp; -> results/uncertainty.csv
python -m pytest tests # quick checks: closed form exact, masks cancel, no patient in two splitsThe 140-sample test set gives an AUC standard error of about 0.017 at AUC 0.96 (Hanley-McNeil), the same size as the gaps in this study. All setups are scored on the same test patients, so differences are tested with a paired bootstrap: resample test patients (2,000 times), recompute each setup's AUC, average over the 5 seeds, take the 95% interval of the difference. The FedAvg predictions are rebuilt from the saved captures and checked against the logged test AUC. This covers test-set sampling only; one data split and 5 training seeds are still all there is (see Limitations).
| Comparison (pooled test AUC, a - b) | Logistic regression | MLP |
|---|---|---|
| FedAvg (Adam) vs centralized, pooled scaling | -0.020 [-0.045, 0.000] | -0.014 [-0.030, -0.002] |
| FedAvg (Adam) vs centralized, local scaling | -0.011 [-0.023, 0.000] | +0.002 [-0.006, 0.011] |
| Centralized local vs pooled scaling | -0.010 [-0.035, 0.011] | -0.016 [-0.035, -0.003] |
| DP epsilon 8 vs no DP (SGD) | -0.005 [-0.016, 0.003] | +0.001 [-0.008, 0.012] |
| DP epsilon 3 vs no DP (SGD) | -0.006 [-0.017, 0.002] | 0.000 [-0.010, 0.012] |
| DP epsilon 1 vs no DP (SGD) | -0.023 [-0.038, -0.010] | -0.072 [-0.098, -0.048] |
Reading it: FedAvg is 0.01-0.02 AUC below centralized. Local scaling accounts for part of that (the centralized local-vs-pooled difference is itself -0.010 [-0.035, 0.011] for logistic regression), and once the centralized run uses local scaling the remaining difference is not distinguishable from zero for either model. These are 12 intervals with no multiplicity correction, so treat borderline ones (upper end at 0.000) as suggestive. DP at epsilon 3-8 is indistinguishable from no DP; epsilon 1 is a real loss.
Everything below runs from the repo root with the venv active, after utils.preprocess (the baselines are not needed). Each script writes to results/ (gitignored).
# Gradient inversion: record every client's update (SGD, 1 mini-batch step per round, lr 0.1, 100 rounds),
# then reconstruct the batches (closed form at batch size 1, gradient matching for larger batches)
python -m attacks.run_capture # logreg/mlp x batch size 1,2,4,8 x 3 seeds -> results/attacks/captures/*.npz
python -m attacks.run_inversion # -> results/attacks/inversion.csv, cosine similarity table
# Membership inference has no script of its own: defenses.run_dp records the SGD 50-round runs and
# defenses.run_dp_membership / defenses.run_secagg score them (see "Running the defenses")attacks/run_capture.py launches the Flower simulations; federated/capture_strategy.py (CaptureFedAvg) is the honest-but-curious server that records each client's update inside them. The run_inversion script only reads those recordings. With one plain-SGD step an update is exactly -lr * gradient, so batch size 1 gives the closed form x = grad_w / grad_b (logistic regression) or x = grad_W1[j] / grad_b1[j] (MLP, any active hidden unit j). The true batches are recomputed from the seeded generators (utils.train.batch_generator) and are used only to score the attack.
# Differential privacy (client-level DP-SGD with Opacus; SGD lr 0.1, batch 32, 50 rounds, epsilon 1/3/8/inf, 5 seeds)
python -m defenses.tune_lr # learning-rate grid on validation AUC -> results/defenses/lr_tuning.csv (the choice of lr 0.1)
python -m defenses.run_dp # about 25 minutes; utility -> results/defenses/dp_utility.csv; also saves the captures
python -m defenses.run_dp_membership # membership attack on those captures -> results/defenses/dp_membership.csv
python -m attacks.run_capture --batch-sizes --dp-epsilons 1 3 8 --rounds 50 # batch-size-1 DP captures
python -m attacks.run_inversion --epsilons 0 1 3 8 --batch-sizes 1 --dlg-rounds 1 10 50 # -> results/attacks/inversion_dp.csv
# Secure aggregation (simulated pairwise masks; needs the captures from attacks.run_capture
# and defenses.run_dp)
python -m defenses.run_secagg # -> results/defenses/secagg.csv, secagg_membership.csv
# Privacy-utility figure
python -m defenses.plot_tradeoff # -> results/figures/privacy_utility.png and privacy_utility_table.csvOrder that works from scratch: utils.preprocess, centralized.run, federated.run, attacks.run_capture, attacks.run_inversion, defenses.run_dp, defenses.run_dp_membership, the DP inversion pair above, defenses.run_secagg, defenses.plot_tradeoff, then centralized.run --scaling local, attacks.run_capture --baseline and utils.uncertainty for the intervals.
The learning-rate grid (defenses.tune_lr, results/defenses/lr_tuning.csv; logreg, 2 seeds, mean validation AUC at epsilon 8 / no DP: lr 0.02 0.955 / 0.959, 0.1 0.955 / 0.964, 0.5 0.941 / 0.966) ties 0.02 at epsilon 8 and is within 0.002 of the best without DP, so 0.1 is a compromise, not a clear winner. Tuning on validation data is not charged to epsilon, so the reported guarantee covers the training runs, not the choice of learning rate.
DP: each client clips every per-sample gradient to norm 1.0, adds Gaussian noise, and calibrates its noise multiplier (Opacus RDP accountant) so that its whole run costs (epsilon, delta = 1e-5), i.e. record-level DP per site (utils/dp.py). The DP runs use the model after the last round with no early stopping, because choosing a round on validation data would spend extra privacy budget. Batches are fixed-size draws while the accountant assumes Poisson sampling (the usual approximation). Secure aggregation is simulated: every pair of clients shares a random mask that one adds and the other subtracts, so the masks cancel in the (FedAvg-weighted) sum and the server only learns the aggregate.
Setting: FedAvg with plain SGD locally (learning rate 0.1, batch 32, 1 local epoch per round), 50 rounds, model after the last round, 5 seeds. This is a different local optimizer and round rule from the Adam runs of Part 1, so compare within this section. Pooled test set (140 samples).
Performance (pooled test AUC / accuracy):
| Setting | Logistic regression | MLP |
|---|---|---|
| No defense | 0.964 / 0.943 | 0.961 / 0.947 |
| DP, epsilon = 8 | 0.959 / 0.954 | 0.962 / 0.939 |
| DP, epsilon = 3 | 0.958 / 0.950 | 0.961 / 0.934 |
| DP, epsilon = 1 | 0.941 / 0.889 | 0.889 / 0.823 (AUC std 0.076) |
| Secure aggregation | same as no defense (masks cancel exactly, to 3e-15) | same |
Gradient inversion (cosine similarity to the true patient's feature vector; chance is about 0; 3 seeds):
| Setting | Attack | Logistic regression | MLP |
|---|---|---|---|
| No defense, batch 1 | Closed form | 1.000 | 1.000 |
| No defense, batch 2 / 4 / 8 | Gradient matching | 0.18 / 0.26 / 0.22 | 0.68 / 0.58 / 0.54 |
| DP epsilon 8 / 3 / 1, batch 1 | Closed form | 0.03 / 0.01 / 0.00 | 0.00 / 0.00 / 0.00 |
| DP epsilon 8 / 3 / 1, batch 1 | Gradient matching | -0.01 / -0.01 / -0.02 | 0.03 / 0.02 / 0.00 |
| Secure aggregation, one client's masked update | Closed form | -0.01 | -0.03 |
| Secure aggregation, 4-client aggregate (one patient per client, FedAvg weights) | Gradient matching | 0.25 | 0.63 |
Membership inference (pooled attack AUC, 0.5 = guessing; patients counted once; bootstrap 95% intervals are about +-0.04 to 0.05):
| Setting | Global-loss attack (LR / MLP) | Update-gain attack (LR / MLP) |
|---|---|---|
| No defense | 0.501 / 0.511 | 0.521 / 0.534 |
| DP, epsilon = 8 | 0.491 / 0.497 | 0.568 / 0.495 |
| DP, epsilon = 3 | 0.491 / 0.497 | 0.552 / 0.468 |
| DP, epsilon = 1 | 0.487 / 0.523 | 0.529 / 0.485 |
| Secure aggregation | 0.501 / 0.511 | 0.508 / 0.502 |
What it shows:
- Without a defense, a server that sees individual updates recovers a batch-size-1 patient exactly (both models). This is a worst case, not a typical one: one SGD step on one sample, plain updates. Larger batches blur it (logistic regression near chance, the MLP partial), and updates from several local steps or a full epoch (the Part 1 protocol) were not attacked, so read 1.000 as an upper bound on what this attack achieves, and the batch 2-8 numbers as lower bounds (fixed optimizer budget).
- DP removes that inversion at every epsilon tested and costs almost nothing in AUC down to epsilon 3; epsilon 1 hurts, the MLP most. The same epsilon is the same per-site guarantee for the inversion runs (batch 1) and the performance runs (batch 32), not the same noise per step.
- Secure aggregation hides individual updates at no utility cost. The masked-update result (cosine about 0) is true by construction (mask std 1.0 against updates of about 0.01), so it is not evidence about the attack. The informative number is the aggregate: four clients with one sample each still leak partially for the MLP (0.63; logistic regression 0.25).
- AUC near 0.5 means no evidence of membership leakage under these two simple loss-threshold attacks, not proof that none exists (stronger attacks such as shadow models were not run). On this SGD protocol the attack is already near chance without a defense, so no defense shows a measurable effect; do not read the logistic regression epsilon 8 value (0.568) as DP increasing leakage. The global-loss attack is at chance everywhere, with or without defenses.
- The privacy-utility figure is
results/figures/privacy_utility.png.
- One dataset, one data split (seed 4171), four simulated hospitals, a 140-sample test set (the smallest node has 10 test samples). Seeds vary initialisation and batch order only; the intervals above cover test-set sampling, not a different split.
- No lockfile: the pinned Flower range and the tested-versions list in
CLAUDE.mdare the reproducibility record. - Part 1 (Adam, early stopping on validation) and Part 2 (plain SGD, fixed 50 rounds) use different protocols; do not compare numbers across them.
- Attacks are basic: closed form and gradient matching on single SGD steps, and two loss-threshold membership scores. Results are best-case for the attacker in the first (batch 1, plaintext) and weak in the second; neither is a bound on what a stronger attacker could do.
- Secure aggregation is simulated by additive masks; the real protocol (key agreement, dropout handling) is not implemented.
- DP uses fixed-size batches with a Poisson-sampling accountant, and the inversion runs (batch 1) and utility runs (batch 32) share epsilon but not noise per step.
- Gene selection used the variance of all 700 samples (label-free); the full list of data decisions is in
DATA_NOTES.txt.
- Efficacy of federated learning on genomic data: a study on the UK Biobank and the 1000 Genomes Project — FL applicability for phenotype and ancestry prediction; shows federated models approach centralized performance despite inter-node heterogeneity.
- Federated learning frameworks: quality and interoperability for biomedical research — review noting scarce integration of privacy-preserving techniques and reliance on simpler architectures in current FL frameworks.
- Federated Learning for the pathogenicity annotation of genetic variants — multi-institutional FL vs. centralized comparison for coding SNVs, non-coding SNVs, and CNVs; found larger centralized-vs-FL divergence for CNVs specifically.
- Technical and Legal Aspects of Federated Learning in Bioinformatics: Applications, Challenges and Opportunities — documents FL's measured gains in COVID-19 outcome prediction and rare tumour segmentation.
- Eleven quick tips for Biomedical Federated Learning — practical guidance on setting up biomedical FL projects, including use of public data for initial test scenarios.
- Federated Learning for Histopathology Image Classification: A Systematic Review — PRISMA review of 24 FL studies in histopathology (2020–2025), showing steady growth in that subfield.
- pfl-research: simulation framework for accelerating research in Private Federated Learning — reference for FL simulation frameworks and private FL research tooling.
- Real-World Image Datasets for Federated Learning — background on non-IID data partitioning for FL benchmarks.