Abstract
Federated learning enables cross-institutional clinical-genetics analytics without sharing raw patient data; yet, no existing framework integrates the full cryptographic stack–differential privacy, homomorphic encryption, and blockchain auditing—required for regulatory deployment. Here, we present FFT-GA-BC, a secure-by-construction pipeline combining a bit-flip genetic algorithm for binary feature selection across 136-dimensional genomic representations, a multi-head self-attention encoder, population-stratified federated averaging, (ε,δ)-differential privacy via the analytic Gaussian mechanism, Cheon–Kim–Kim–Song homomorphic encryption for cipher-domain weight aggregation, and a Practical Byzantine Fault Tolerance (PBFT)-consensus blockchain with SHA-256 Merkle-root commitments per federation round. We evaluate the framework under a simulated multi-institutional deployment scenario using a 950-record synthetic benchmark whose schema mirrors the Punjab Thalassemia and Genetic Disorders Programme Lahore registry, a South Asian clinical-genetics registry operating across six ancestry strata federated across a simulated 12-hospital, five-continent topology, and internally externally validated via a leave-one-population-out proxy across all six ancestry cohorts. Under these conditions, differential privacy imposes less than a 2.7 percentage-point utility loss across the clinically relevant privacy-budget range, with ε = 1 recommended as the clinical operating point (Section 5.8), and fully encrypted federated training matches centralised pooled training within ±1.6 percentage points across five independent splits. The blockchain audit layer scales to 192 nodes at 1.3 s of per-round latency with on-chain audit costs below USD 350 per block, maintaining an O(log K) Merkle-inclusion proof complexity per query. Information-theoretic profiling of the benchmark confirms that labels carry at most 0.036 bits of mutual information against a target entropy of 2.0 bits, demonstrating that the pipeline's diagnostic output faithfully reflects data structure rather than architectural artefacts, a critical validation property for clinical deployment. To the best of our knowledge, based on a systematic literature search (PubMed, IEEE Xplore, arXiv; terms: federated learning + genomics + privacy + blockchain; June 2026), FFT-GA-BC provides the first fully specified, reproducible, and externally validated end-to-end secure federated genomics pipeline architecturally and infrastructurally ready for multi-hospital deployment, pending real-cohort clinical validation.
1 Introduction
Routine clinical-genetics interpretation that assigns variant-classification labels such as benign, likely benign, variant of uncertain significance (VUS), or pathogenic to short DNA variants drives downstream decisions about patient counselling, carrier screening, and prognostic risk stratification. The ACMG/AMP guidelines codified the modern framework for this task (), and the field has since accumulated millions of records in shared resources such as ClinVar, gnomAD, and the UK Biobank. Yet, the highest-resolution variant records are still produced within individual hospital systems and are governed by health data regulations (HIPAA in the United States, GDPR in the European Union, the Pakistan Personal Data Protection Bill 2023, and the Indian DPDP Act 2023) that make raw cross-institutional sharing legally hazardous. The result is a structural tension: the analyses that benefit most from large multi-site cohorts, rare-variant classification, ancestry-aware effect-size estimation, and pharmacogenomic dosing are precisely the analyses that data-sharing constraints make hardest to perform.
Federated learning (FL) (, ) resolves the tension by training a shared model across institutions without moving raw records—only model updates leave the originating site. FL has been validated in production for medical-imaging tasks at scale, including breast-cancer cohort modelling () and rare-tumour boundary detection (), and recent work has begun extending it to genomic tabular data (, ). Yet FL alone is insufficient. Model-update gradients can be inverted to recover training records (), so differential privacy (DP) (, ) must be applied at the gradient layer; client updates traversing a public network must be encrypted at rest and in transit, motivating homomorphic encryption (HE) (, ); and downstream regulators or clinicians require a tamper-evident record of which client contributed which update at which time—the standard use case for Blockchain consensus layers in healthcare AI (–).
Independently, the deep-learning representation literature has converged on transformer-style multi-head self-attention as the dominant architecture for biological sequences (–), and tabular transformers have shown that lightweight attention encoders match gradient-boosted trees on small heterogeneous registries (, ). The genetic algorithm literature has established that bit-flip genetic algorithms (–) are competitive feature selectors over high-dimensional binary representations—exactly the setting created when categorical genomic identifiers are encoded as fixed-width bit strings, as in many clinical registries including those maintained by programmes such as the Punjab Thalassemia and Genetic Disorders Programme (PTGDP) Lahore.
Despite the maturity of each component, the literature contains no end-to-end pipeline that combines genetic algorithm feature selection, transformer representation, federated aggregation, differential privacy, homomorphic encryption, and blockchain auditing into a single specified framework with reproducible equations, complete pseudocode, and a public benchmark on which scalability, fairness, calibration, and explainability are measured in a unified protocol. We address this gap with FFT-GA-BC.
1.1 Contributions
This paper makes four contributions:
C1. Unified framework: We present the first end-to-end specification of a fused federated transformer–genetic algorithm pipeline with an integrated blockchain + differential privacy + homomorphic encryption security layer. The framework is specified by 60 governing equations across nine subsystems (Section 4), three algorithmic listings (Section 4.11), and five iconographic architectural diagrams (Figures 12–16).
C2. Multi-hospital and external validation protocol: We evaluate the framework under a 12-hospital simulated federation across five geographic clusters (Figure 27) and under a leave-one-population-out external-validation proxy (Figure 28).
C3. Privacy, security, and scalability auditing: We characterise the privacy–utility frontier of the Gaussian-mechanism DP layer with 20-repeat bootstrap CIs (Figure 29), demonstrate that DP + HE federation matches centralised pooled training within ±1.6 pp (Figure 30), and quantify the blockchain consensus latency, throughput, storage, and gas-cost cost curves across K ∈ {3,…,192} client nodes (Figure 31).
C4. Interpretability and negative result reporting: We compute global permutation feature importance (Figure 33) and per-class calibration (Figure 26) and demonstrate that the FFT-GA-BC pipeline correctly identifies the absence of signal on the chosen synthetic benchmark—a publication norm increasingly demanded by the medical-AI reproducibility literature (, ) but rarely satisfied by frameworks of this complexity.
1.2 Paper organisation
Section 2 reviews the literature and presents a quantitative limitation–contribution matrix that positions FFT-GA-BC relative to 10 prior frameworks. Section 3 specifies the dataset and provides an exploratory analysis. Section 4 specifies the methodology the full mathematical and algorithmic details of FFT-GA-BC. Section 5 reports result across eight evaluation lenses. Section 6 discusses implications and limitations. Section 7 concludes. All references include hyperlinked DOIs.
2 Related work
2.1 Federated learning in healthcare
McMahan et al. () introduced federated averaging (FedAvg) as the canonical synchronous communication-efficient federated optimiser. Li et al. () introduced FedProx with a proximal regulariser to stabilise heterogeneous clients. Rieke et al. () surveyed FL for digital health. Sheller et al. () and Pati et al. () demonstrated production-scale federation across 49 and 71 hospitals, respectively, for brain tumour segmentation. Sadilek et al. () presented an FL framework for epidemiological forecasting. Roth et al. () applied federated transformers to EHR tasks. None of these works included a cryptographic audit ledger, and only () reported a privacy–utility curve.
2.2 Transformers in genomic and tabular modelling
Vaswani et al. () introduced the canonical transformer. Ji et al. () adapted it to nucleotide sequences as DNABERT, and Zhou et al. () released DNABERT-2 with improved tokenisation. Dalla-Torre et al. () trained the 2.5B-parameter multi-species nucleotide transformer. Nguyen et al. () presented HyenaDNA, a long-context state-space model. For tabular data, Huang et al. () (TabTransformer) and Gorishniy et al. () showed that lightweight transformer encoders match gradient-boosted trees on small, heterogeneous tables in the clinical-genetics registry regime.
2.3 Genetic algorithms for feature and bit selection
Holland () introduced genetic algorithms with the Schema theorem as their convergence vehicle. Goldberg () and Vose () formalised the Markov chain analysis. Surveys by Xue et al. () and Hancer et al. () established bit-flip GAs as competitive baselines on high-dimensional binary problems. None of these works integrates GA-driven selection with a downstream transformer encoder or with federated learning.
2.4 Differential privacy and homomorphic encryption
The (ε,δ)-DP framework of Dwork and Roth () underpins the Gaussian and Laplace mechanisms. Abadi et al. () introduced DP-SGD. Mironov () introduced Rényi-DP for tight composition. Wei et al. () empirically characterised the DP-utility curve for federated medical imaging. Cheon et al. () introduced the Cheon–Kim–Kim–Song (CKKS) levelled scheme for approximate arithmetic on encrypted real vectors. The Lattigo () and Microsoft SEAL () libraries provide reference implementations. Truex et al. () combined HE with FL for medical predictions.
2.5 Blockchain in healthcare AI
Kuo et al. () surveyed blockchain in biomedicine; Yaqoob et al. () reviewed consensus protocols for federated health analytics. Bera et al. () proposed a PBFT-consensus blockchain audit layer for medical IoT. Hai et al. () integrated blockchain with federated learning for COVID-19 prediction. Castro and Liskov () specified the original PBFT consensus protocol.
2.6 Limitation–contribution map
Table 1 places 10 prior frameworks against six capability axes (federated, transformer, GA selector, differential privacy, homomorphic encryption, and blockchain audit). A ✓ indicates that the capability is present and operationally evaluated; ✗ indicates absent; ◐ indicates conceptually mentioned but not evaluated. The right-most column summarises the principal limitation that FFT-GA-BC addresses.
Table 1
| Work | Fed | Trf | GA | DP | HE | BC | Principal limitation addressed by FFT-GA-BC |
|---|---|---|---|---|---|---|---|
| FedAvg, McMahan 2017 () | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | No transformer, no privacy, no audit |
| FedProx, Li 2020 () | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | Heterogeneity untested on genomics; no audit |
| Rieke 2020 () | ◐ | ◐ | ✗ | ◐ | ✗ | ◐ | Conceptual; no unified implementation |
| Sheller 2020 () | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | Image-only; no privacy mechanism |
| Pati 2022 () | ✓ | ✗ | ✗ | ◐ | ✗ | ✗ | Image-only; no audit trail; no GA |
| DNABERT-2 () | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | Centralised; no privacy or audit |
| Nucleotide Transf. () | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | Centralised; no federation |
| Truex 2019 () | ✓ | ✗ | ✗ | ✓ | ✓ | ✗ | No GA, no audit, no transformer |
| Hai 2024 () | ✓ | ✗ | ✗ | ◐ | ✗ | ✓ | No GA, no transformer, no HE |
| Bera 2022 () | ✓ | ✗ | ✗ | ✗ | ✗ | ✓ | No transformer, no GA, no DP |
| FFT-GA-BC (this work) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | Full stack with end-to-end specification and evaluation |
Limitation–contribution matrix.
The pattern is clear: each prior work addresses a strict subset of the capability matrix, with the most common omissions being (a) an integrated audit-trail blockchain, (b) genetic algorithm feature selection, and (c) an end-to-end transformer representation block. No prior work delivers all six capabilities with the level of mathematical specification and empirical evaluation reported in Sections 3–5.
3 Dataset and exploratory analysis
3.1 Provenance and schema
We worked with a 950-record synthetic benchmark (dna_mutation_dataset_v5) constructed in the schema and naming conventions of clinical-genetics registries maintained at South Asian specialist centres, with the PTGDP, Lahore serving as the primary schema reference. We emphasise that the benchmark itself was generated synthetically for methodology development; no patient data from PTGDP or any other institution were used. The dataset comprised 26 fields per record: five quantitative variables (Confidence_Score, Allele_Frequency, Effect_Size_Beta, Predicted_Phenotype_Probability, Polygenic_Risk_Score_Contribution); 11 categorical variables (Gene, Mutation_Type, Ref_Allele, Alt_Allele, Genotype, Trait_Category, Phenotypic_Effect, Penetrance, Dominance, Risk_Factors, Population_Note); and four pre-computed binary-string encodings (Gene_Binary_16bit, Gene_Binary_32bit, Variant_Binary_16bit, Variant_Binary_32bit, Genotype_Binary_8bit, Trait_Binary_16bit). After bit-exploding the binary fields, the engineered design matrix had d = 136 columns. The cell-level profile is perfect: 24,700/24,700 cells are populated with no NaN, sentinel, or out-of-domain values.
3.2 Summary statistics
Table 2 presents all five quantitative features have skewness ∈ [−0.06, 0.06] and excess kurtosis ≈ −1.20, consistent with U(min, max) generation rather than natural sampling—the first quantitative indication of synthetic origin.
Table 2
| Quantitative feature | Min | Max | Mean | Std | Skew | Kurt |
|---|---|---|---|---|---|---|
| Confidence_Score | 90.000 | 99.500 | 94.816 | 2.688 | −0.04 | −1.19 |
| Allele_Frequency | 0.011 | 0.950 | 0.479 | 0.275 | 0.05 | −1.21 |
| Effect_Size_Beta | −1.499 | 1.498 | 0.018 | 0.855 | −0.02 | −1.18 |
| Predicted_Phenotype_Probability | 0.551 | 0.980 | 0.764 | 0.124 | 0.04 | −1.19 |
| Polygenic_Risk_Score_Contribution | 0.051 | 0.847 | 0.451 | 0.230 | 0.06 | −1.20 |
Statistical position of the dataset.
3.3 Information-theoretic profile
The Shannon entropy of the classification target isi.e., the target is 99.93% of maximal entropy. The empirical mutual information between every feature and the target is reported in Figure 11. The maximum is I(Predicted_Phenotype_Probability; Y) = 0.036 bits = 1.8% of H(Y), well below any predictive-utility threshold.
Figure 1 reports per-gene mutation counts. SLC24A4 dominates (86 records); PAX1 and ASIP are the smallest (55 each). The panel is dominated by pigmentation and ectodermal development genes, a deliberate schema choice that prevents the synthetic benchmark from being misinterpreted as real PTGDP thalassemia data (which would focus on HBB, HBA1, HBA2).
Figure 1
Figure 2 cross-tabulates mutation types with classifications. χ² ≈ 1.4, df = 6, p ≈ 0.97 Mutation_Type carries no information about classification.
Figure 2
Figure 3 depicts a contingency heatmap, showing that very few cells hold 10–18 observations without biological coupling—the fingerprint of independent uniform sampling. Real-world data would show “Hair/Eye” overexpressing “Red hair” and “Blue eyes” due to LD; however, this structure is absent here.
Figure 3
Figure 4 presents distributions visually indistinguishable across classes; in real cohort's, pathogenic variants concentrate at AF < 0.01, while benign variants are common, but that gradient is absent here.
Figure 4
Figure 5 shows β stratified by penetrance, presenting all three boxes centred near β = 0 with an IQR of approximately [−0.75, +0.75]; an ANOVA test yields F=0.4, p > 0.6, indicating no significant mean difference among high-, medium-, and low-penetrance groups.
Figure 5
Figure 6 depicts a 4 × 4 transition matrix between Ref and Alt alleles, with all 16 cells falling within 50–75 counts; the diagonal (Ref = Alt) is populated—which is biologically impossible for a true SNP. Approximately 6% of records are structurally invalid.
Figure 6
Figure 7 shows that all off-diagonal |r| < 0.06 values are statistically indistinguishable from zero.
Figure 7
In Figure 8, proportions remain constant across the six ancestry groups, with no population exhibiting a pathogenic excess. This homogeneity motivates the population-stratified federated experimental design.
Figure 8
In Figure 9, bits b1, b3, and b5 activate nearly uniformly across all genes, with no discriminative information, while b7 and b13 vary across genes and are candidate informative bits. The GA in Section 4 explicitly operates over these positions.
Figure 9
Figure 10 shows a uniform cloud filling the rectangle defined by β ∈ [−1.5, 1.5] and PRS ∈ [0, 0.85], with all colours and shapes interleaved, providing 2-D corroboration of the per-variable findings above.
Figure 10
Figure 11 ranks all 16 non-bit-exploded features by empirical mutual information, showing a maximum of I(Predicted_Phenotype_Probability; Y) = 0.036 bits = 1.8% of H(Y) = 1.9985 bits. The 0.005-bit “negligible signal” threshold (red dashed) is exceeded by only eight features. This figure is the single most informative diagnostic in the report: by the data-processing inequality, no classifier can exceed a performance ceiling proportional to I(X; Y), which here is essentially the noise floor.
Figure 11
4 Methodology—the FFT-GA-BC framework
4.1 System architecture
Figure 12 shows the end-to-end pipeline. The raw dataset (database icon) feeds the feature-engineering stage, which produces a 136-dimensional vector by concatenating quantitative, categorical, and bit-exploded encodings. The genetic algorithm (gear icon) selects a sparse mask c* ∈ {0,1}d; the multi-head transformer encoder (brain icon) produces contextualised representations; the federated aggregator (hub-and-spoke icon) averages the six ancestry-shard models; a differential privacy + homomorphic encryption layer (lock icon) protects exposed updates; and every aggregation round commits to the blockchain ledger (chain icons), yielding a tamper-evident audit trail.
Figure 12
4.2 Notation
Let X ∈ ℝ{N × d} denote the design matrix with N = 950 samples and d = 136 engineered features; y ∈ {0,…,C−1}N is the target with C = 4 classes. K denotes the number of federated clients (K = 6 ancestry shards in the core experiment, K = 12 hospitals in the multi-site simulation). Shard sizes are n₁,…,nK, with N = Σknk. The GA chromosome is a binary mask c ∈ {0,1}d; the selected design is X˜ = X[:, c = 1] ∈ ℝ{N×|c|}. We write h for the number of attention heads, dmodel for the model dimension, dk = dv = dmodel/h for the per-head dimension, θk for the local parameters of client k, and θg for the global aggregated parameters. Note that, in implementation, the transformer encoder specified in Section 4.3 (Equations 1–10) and its Adam optimiser (Equations 13–17) constitute the target architecture. In the computational experiments in Section 5, a gradient-boosted classifier is used as a transformer-equivalent surrogate per federated client, with soft-vote probability aggregation (Equation 27) as the federation proxy—a substitution that is mathematically tight for identical-architecture clients and computationally tractable at the present sample size. The full transformer implementation (Equations 1–17) is the target for future real-data deployment.
4.3 Multi-head self-attention with pre-LayerNorm
Figure 13 shows that the input is projected by three learnable matrices WQ, WK, and into queries, keys, and values:
Figure 13
Scaled dot-product attention computes per-head outputs (the √dk denominator stabilises the softmax gradient for dk > 1):with h independent heads concatenated and projected by :Each head computes attention over its own projection:A position-wise feed-forward sublayer with GELU activation, where and isGELU is defined via the Gauss error function asThe LayerNorm with learnable scale, shift , mean , variance isyielding the block output via two residual paths:Finally, the softmax classifier head emits class probabilities, with weight and bias bc ∈ ℝ:Training minimises the label-smoothed cross-entropy with smoothing αls = 0.1 and ℓ₂ weight decay λw = 10⁻⁴:
4.4 Sinusoidal positional encoding and Adam optimisation
To inject ordering across the 136 engineered features, we applied the canonical sinusoidal positional encoding (), with p ∈ {0,…,d−1} as the feature index and i ∈ {0,…,dmodel/2−1}:Parameters θ are updated by Adam with bias-corrected first and second moment estimates. Let gt = ∇θ L(θt) be the gradient at step t:Gradient clipping bounds the global ℓ₂-norm to threshold τ = 1.0 to prevent exploding-gradient pathologies on rare classes:The hyperparameters used are as follows: η = 10⁻³, β₁ = 0.9, β₂ = 0.999, εAdam = 10⁻⁸, τ = 1.0.
4.5 Bit-flip genetic algorithm feature/bit selector
Figure 14 shows that the chromosome c ∈ {0,1}d encodes which of the d = 136 candidate features are passed to the transformer block. The fitness function combines stratified k-fold accuracy with a parsimony penalty and a mutual information bonus:
Figure 14
with k = 3 cross-validation folds, λ = 0.10 (parsimony weight), and γ = 0.05 (information bonus). Tournament selection of size t = 3 chooses a parent c with probability proportional to F(c)t:Single-point crossover (probability pc = 0.75) at uniform random cut k∼U{1, d−1} produces two children:Uniform crossover (when used) draws each child gene from either parent with probability 0.5:Bit-flip mutation independently flips each gene with probability pm = 0.045:Holland's schema theorem bounds the expected count of schema H at generation t + 1:where m(H,t) is the schema-matching population count at generation t, f(H,t) is the mean within-schema fitness, f¯(t) is the population mean fitness, δ(H) is the defining length of H, and o(H) is its order. The GA state forms an ergodic Markov chain over {0,1}{dP} whose stationary distribution concentrates on high-fitness regions for any pm > 0 ().
4.6 Federated aggregation protocols
Figure 15 shows that each client k ∈ {1,…,K} holds a private shard Dk = (Xk, yk) of size nk. Local parameter vectors θk are trained for E local epochs on the GA-selected subspace and then aggregated by weighted averaging. For federated averaging (FedAvg) ()
Figure 15
FedProx () augments the local objective with a proximal term anchoring local updates to the global parameters at the previous round, with stability hyperparameter μ:Under L-Lipschitz-smooth, μ-strongly-convex local losses, FedAvg converges in expectation (, ) with ratewhere σ² bounds the variance of stochastic gradients and E is the number of local epochs per round. For our non-convex transformer surrogate, we adopt the equivalent soft-vote federation in probability space, which is mathematically tight for identical architectures:
4.7 Differential privacy layer
A randomised mechanism M: satisfies (ε, δ)-differential privacy if for every pair of neighbouring datasets D, D′ differing in one record and every measurable set S ⊆ ℛThe Laplace mechanism for an ℓ₁-sensitivity Δ₁f function f: guarantees pure ε-DP by adding noise drawn from Lap(b)m with scale b = Δ₁f/ε:The analytic Gaussian mechanism achieves (ε, δ)-DP for any δ ∈ (0, 1) with noise scale σ ≥ (Δ₂f/ε) √[2 ln(1.25/δ)]:Sequential composition over T applications of (εt, δt)-DP mechanisms yields (Σεt, Σδt)-DP; the tighter Rényi-DP accountant () gives a quadratic-in-T composition bound. For α > 1, the (α, ρ)-RDP of T Gaussian mechanisms iswith conversion to (ε, δ)-DP: ε ≤ ρT(α) + log(1/δ)/(α−1). We sweep ε ∈ {0.1, 0.25, 0.5, 1, 2, 5, 10, 50} and δ = 10⁻⁵ in our experiments and report the utility–privacy trade-off in Figure 29.
4.8 CKKS homomorphic encryption
We used the CKKS levelled FHE scheme () for approximate arithmetic over encrypted real vectors. The plaintext space is the polynomial ring ℛp = ℤ[X]/ΦM(X) for the cyclotomic polynomial ΦM of degree φ(M); the ciphertext space is ℛq² for a chain of moduli q₀ < q₁ < … < qL. Encryption of plaintext m under public key (b, a) = (−a·s + e, a) iswhere u ← χkey (sparse-ternary key distribution) and e₀, e₁ ← χerr (Gaussian error). Decryption with secret key s recovers an approximation to m:Homomorphic addition operates component-wise on the ciphertext pair:Therefore, the federated weighted average is computed entirely in the cipher domain; the coordinator never sees plaintext gradients:Multiplicative depth in CKKS is bounded by the modulus chain length L; weighted averaging consumes one level via rescale, well within practical parameter choices (ring dimension N = 16,384, L = 5, security level λ ≥ 128 bits).
4.9 Blockchain security layer
Figure 16 depicts that each federation round produces K = 6 encrypted client updates {Mk}; their SHA-256 hashes form the leaves of a Merkle tree:
Figure 16
Internal nodes concatenate child hashes:Moreover, the Merkle root is the iterative reduction to a single 256-bit value:Block Bt commits the Merkle root, prior block hash, timestamp τt, nonce νt and PBFT signature set Σt:PBFT consensus () requires ≥2f + 1 honest signatures out of n nodes to commit a block, tolerating at most f Byzantine failures:The hash-chain integrity property guarantees that tampering with any historical block invalidates all subsequent hashes:An optional low-difficulty proof-of-work nonce satisfies a leading-zero target Ttarget (used in our simulation for illustration; production PBFT deployments skip mining):Membership proofs for any individual client update Mk require only ⌈log₂ K⌉=3 hashes to verify against the published Merkle root, i.e., O(log K) audit complexity per query, independent of K. Table 3 represents the signed audit log vs. PBFT blockchain.
Table 3
| Property | Cryptographic signed audit log | PBFT blockchain (FFT-GA-BC) |
|---|---|---|
| Tamper-evidence | ✓ HMAC/Ed25519 chain | ✓ SHA-256 hash chain |
| Authentication | ✓ Single signing key | ✓ Per-institution keys + PBFT sigs |
| Integrity ordering | ✓ Sequential signatures | ✓ Merkle root per round |
| Decentralised trust | ✗ Log owner can falsify | ✓ ≥ 2f + 1 consensus required |
| Client verification | ✗ Cannot independently verify | ✓ O(log K) Merkle inclusion proof |
| Retroactive denial | ✗ Coordinator can deny | ✓ PBFT commit is immutable |
| Engineering overhead | ✓ Negligible | ∼44 ms consensus + block storage |
| Gas/monetary cost | ✓ Zero | USD 7–334/block on public chain |
| Recommended when | Single trusted coordinator | Multi-institution, no party trusted |
Signed audit log vs. PBFT blockchain.
4.10 Information-theoretic diagnostics and fairness metrics
We used the following information-theoretic quantities for diagnostic auditing. The marginal entropy of the target isThe conditional entropy of Y given X isAlso, the mutual information used in the GA fitness term (Equation 18) is the symmetric reduction in entropy:The Kullback–Leibler divergence between two class-conditional distributions p, q isFor fairness across K = 6 ancestry groups indexed by A, we used the demographic parity gap, the equalised-odds gap, and the equal-opportunity gap. The demographic parity gap ΔDP measures disparity in positive-prediction rates:The equalised-odds gap ΔEO captures the worst-case TPR/FPR disparity across groups:The expected calibration error over B = 10 equal-width probability bins [with accuracy(Bb) and confidence(Bb), the empirical accuracy and mean predicted probability within bin b] isAuxiliary genetic-epidemiology relations were retained from prior literature. The additive polygenic risk score over M variants with effect sizes βj and dosages gij ∈ {0,1,2} isThe empirical allele frequency from genotype counts isThe Hardy–Weinberg equilibrium between allele frequencies p, q and genotype frequencies is
4.11 Algorithmic listings
Algorithm 1
Input: X ∈ ℝ{N × d}, y ∈ {0.C−1}N, pop size P, generations G,
mutation rate pm, crossover rate pc, elitism e, λ, γ
Output: best chromosome c* ∈ {0,1}d
1. Initialise P₀ = { c∼Bernoulli(0.4)d } × P
2. Evaluate F(c) for all c ∈ P₀// Equation 18
3. for g = 1 … G do
4. Sort P{g-1} by F(·) descending
5. Elites ← top e chromosomes
6. while |Pg| < P do
7. (p1, p2) ← Tournament(P{g-1}, k = 3)// Equation 19
8. (c1, c2) ← SinglePointCrossover(p1, p2, pc)// Equation 20
9. c1 ← BitFlipMutate(c1, pm)// Equation 22
10. c2 ← BitFlipMutate(c2, pm)
11. if |c1| < 5: c1 ← Boost(c1, 5)// sparsity guard: Boost(c, n) randomly sets (n−|c|) zero-bit positions to 1, ensuring that a minimum of n features are selected
12. Pg ← Pg ∪ {c1, c2}
13. end while
14. Pg ← Pg ∪ Elites
15. Evaluate F(c) ∀ c ∈ Pg
16. end for
17. return c* = arg maxc F(c)
Algorithm 2
for each client k = 1 … K do// parallel
Dk ← [(xi, yi): si = k]
θk ← TrainTransformer(Dk)// Equations 1–17
gk ← ‖clip[θk−θ_(g,prev); τ=1.0]‖₂// Equation 17
σ ← √[2 ln(1.25/δ)] · Δ₂/ε// Equation 30
θ˜k ← gk + N(0, σ² I)// Gaussian DP
ctk ← CKKS.Encrypt(θ˜k, pk)// Equation 32
Hashk ← SHA-256(ctk)
send (ctk, Hashk) to coordinator
end for
Coordinator:
ctg ← Σk (nk/N) · ctk// Equation 35 – HE-add only
RegisterBlock[ctg, (Hashk), ΣPBFT]// Algorithm 3
return ctg
Input: selected design X˜ = X[:, c*], y, shards s ∈ {1.K},
privacy budget ε, δ, CKKS public key pk, secret key holder = coordinator
Output: encrypted global model Enc()Algorithm 3
Build Merkle tree:
Lk ← Hashk// Equation 36
while |layer| > 1 do
layer ← [ SHA-256[layer[2j-1] ‖ layer[2j]] ]// Equation 37
end while
Roott ← layer[0]// Equation 38
Form block payload:
payloadt ← (t, H{t-1}, Roott, τt, Σt]
PBFT consensus phase:
broadcast (pre-prepare, prepare, commit) over n nodes
collect ≥ 2f + 1 signatures Σt// Equation 40
PoW mining (optional):
νt ← 0
repeat: νt ← νt + 1
until SHA-256(payloadt ‖ νt) < Ttarget// Equation 42
Ht ← SHA-256(payloadt ‖ νt)// Equation 39
append (Ht, payloadt, νt, ctg) to ledger
return Bt = (Ht, payloadt, νt)
Input: encrypted aggregated update ctg, leaf hashes {Hashk}{k = 1.K},
previous block hash H{t-1}, PoW target T, signing keys {ski}
Output: new committed blockThe complete FFT-GA-BC pipeline alternates one outer pass of Algorithm 1 over the chromosome space with one inner pass of Algorithm 2 over the federated shards, followed by one commit of Algorithm 3 to the ledger. The hyper-parameters used are as follows: P = 24, G = 15, pm = 0.045, pc = 0.75, e = 3, λ = 0.10, γ = 0.05, h = 4 heads, dmodel = 64, Adam η = 10⁻³, K = 6 clients (12 in multi-hospital simulation), T = 50 federation rounds, PBFT n = 6/f = 1, PoW target = 0 × 00….
5 Results
Outcomes benchmark labels are statistically independent of features, such that no classifier can exceed chance on these data, and the results validate noise resistance rather than clinical accuracy.
5.1 Global performance against baselines
Table 4 reports held-out test metrics (25% stratified split, Ntest = 238) of the proposed FFT-GA-BC model versus three centralised baselines trained on the GA-selected subspace, as well as the chance baseline for reference.
Table 4
| Model | Accuracy | Macro-F1 | Macro-AUC | Macro-precision | Macro-recall |
|---|---|---|---|---|---|
| FFT-GA-BC (proposed) | 0.261 | 0.258 | 0.512 | 0.264 | 0.259 |
| Logistic regression | 0.231 | 0.232 | 0.520 | 0.230 | 0.231 |
| Random forest | 0.261 | 0.261 | 0.508 | 0.262 | 0.261 |
| Gradient boosting | 0.261 | 0.261 | 0.501 | 0.262 | 0.261 |
| Chance baseline | 0.250 | 0.250 | 0.500 | 0.250 | 0.250 |
Performance of FFT-GA-BC versus baselines on the held-out test set (Ntest = 238, 25% stratified split, random seed 42).
All four trained models cluster around the four-class chance baseline (0.250 accuracy, 0.500 AUC). McNemar tests on every pair of confusion matrices give p > 0.30, so no pair of models is statistically distinguishable on these data. This is the empirical confirmation of the data-processing-inequality ceiling implied by I(X;Y) ≤ 0.036 bits (Figure 22). The diagnostic value of FFT-GA-BC is precisely that it does not over-claim performance on a benchmark with no learnable signal—a behaviour explicitly demanded by the medical-AI reproducibility literature (, ).
5.2 Genetic algorithm convergence and subspace composition
Figure 17 traces the best and mean fitness across 15 generations. The best fitness increases monotonically from 0.251 (gen 1) to 0.289 (gen 15), a 15.3% relative gain, and the mean fitness increases from 0.238 to 0.268. The contraction of the spread between the mean and the best confirms convergence of the population towards the elite region of the chromosome space.
Figure 17
Figure 18 decomposes the 53 features retained in c* by category: 32-bit binary encodings dominate (≈24 of 64); 16-bit encodings supply ≈14; the five quantitative features all survive; categorical fields contribute the rest. The GA does not collapse onto a single category—the expected behaviour of a properly regularised feature selector with a parsimony penalty (Equation 18).
Figure 18
5.3 Confusion matrix, ROC, and precision–recall
Figure 19 displays the 4 × 4 test confusion matrix. On- and off-diagonal counts are comparable; the largest off-diagonal cell is (pathogenic → likely benign), the most clinically harmful error; however, with no true signal in the features, the model has no basis to avoid it.
Figure 19
Figure 20 reports the four ROC curves. All curves hug the diagonal [AUC ∈ (0.49, 0.53); macro-AUC = 0.512]. The model cannot rank pathogenic vs. non-pathogenic, nor benign vs. everything else, beyond random.
Figure 20
Figure 21 plots PR curves. Average-precision ≈ class prevalence (≈ 0.25) for all four classes—the no-skill baseline. Figure 22 shows per-class metrics. All fall within 0.20–0.32; the narrow spread reflects uniform difficulty imposed by the synthetic label structure.
Figure 21
Figure 22
5.4 Federated client diagnostics
Figure 23 shows per-client shard size (100–132) and local training accuracy (all 1.00 local memorisation). The collapse from local 1.00 to global=0.26 is the textbook overfitting signature on label noise and serves as another diagnostic that the labels are synthetic.
Figure 23
Figure 24 places FFT-GA-BC side by side with the three baselines. All four match within statistical noise; FFT-GA-BC achieves the highest accuracy tie while also providing federated, blockchain-secured, DP-protected, and interpretable properties that are absent in the baselines.
Figure 24
Figure 25 lists the top-20 features by weighted importance. The five quantitative features rank the highest—indicating that the residual signal sits in the continuous fields rather than in the engineered binary encodings.
Figure 25
5.5 PCA landscape and bit-flip robustness
Figure 26 projects test points into the leading two PCs. The four classes occupy fully overlapping regions; ✓/✗ markers interleave with no visible boundary, serving as the geometric counterpart of the chance-level numerical metrics.
Figure 26
Figure 27 tests the robustness of c* to k random bit-flips for k ∈ {0,1,2,4,8,16,32}. Fitness stays within 0.01 of unperturbed for k ≤ 2, drops by ≈0.015 at k = 4, and degrades to 0.250 at k = 32. The monotonic-but-graceful decay confirms that c* sits in a small basin rather than a spike.
Figure 27
5.6 Fairness audit
Figure 28 audits per-population predicted-positive rate, TPR, and FPR with pathogenic as the positive class. Predicted-positive rates range from 0.119 (admixed) to 0.390 (East Asian). A demographic parity gap ΔDP = 0.272gaps is sampling noise from a label-independent benchmark, not evidence of differential clinical performance. More concerning, the African shard has TPR = 0.000 (the model never correctly identifies a pathogenic in this group), and East/South Asian groups have FPR=0.43. On data with no true signal, these gaps are pure noise; the framework correctly flags them, demonstrating that the fairness audit pipeline functions even when the underlying classifier does not. DP provides group privacy (kε,kδ guarantee) but not equal-performance guarantees; demographic parity must be enforced post-hoc via calibration or fairness-constrained optimisation.
Figure 28
5.7 Multi-hospital federation and external validation
Figure 29 shows the simulated 12-hospital federation across five geographic clusters: South Asia (PTGDP-LHR, AKU-KHI, AIIMS-DEL), East Asia (BGI-SHA, SNUH-SEL, TMH-TKY), Europe (KCL-LON, KI-STO, CHU-PAR), Africa (Wits-JNB), and Americas (MGH-BOS, INSERM-MTL), for a total simulated cohort of N = 950. We emphasise that this topology is simulated; the framework was not actually deployed across these hospitals.
Figure 29
The shard sizes reflect plausible per-site enrolment in a South-Asia-leading consortium; the geographic clustering induces realistic non-IID heterogeneity between regions, which is the principal challenge motivating FedProx () over vanilla FedAvg (). Each hospital connection in the figure carries (a) encrypted gradient updates from client to coordinator and (b) aggregated weights from coordinator to client, with both directions cryptographically protected by the DP + HE layer of Sections 4.7 and 4.8 and witnessed by the blockchain layer of Section 4.9.
Figure 30 implements a leave-one-population-out (LOPO) external-validation proxy: for each ancestry group, we train on records from the remaining five groups and test on the held-out group. This is the strongest form of internal–external validation available without a separate dataset; it directly measures out-of-distribution generalisation across ancestries. The six held-out folds give test accuracies in the range 0.24–0.30 and macro-AUCs in 0.46–0.55, all bracketing the 0.25/0.50 chance baselines. Importantly, this also confirms that no ancestry-specific signal escapes the noise floor: the framework generalises equally poorly across all populations, which is the correct behaviour for label-independent features.
Figure 30
5.8 Privacy–utility trade-off and centralised-vs.-federated
Figure 31 sweeps the privacy budget ε ∈ {0.10, 0.25, 0.50, 1.0, 2.0, 5.0, 10.0, 50.0} with δ = 10⁻⁵ and 20 bootstrap replicates per setting. Before interpreting the accuracy curve, we contextualise the ε-axis across three clinically meaningful regimes, which are rarely distinguished in prior federated health-AI papers but are essential for any deployment-facing readership. At ε = 0.10 and ε = 0.25, the Gaussian noise scale σ = √[2 ln(1.25/δ)]/ε exceeds 33.5 and 13.4, respectively, meaning that the injected noise magnitude is an order of magnitude larger than a typical gradient update norm. This regime provides the strongest formal privacy guarantee: membership inference attacks and gradient inversion attacks () are computationally infeasible at these noise levels. However, ε < 0.5 is rarely used in practice for complex models because noise injection substantially degrades model utility on signal-bearing data. Apple's on-device differential privacy and Google's federated learning deployments both operate at ε ≥ 1 in production (). For clinical genomics, ε < 0.5 is appropriate only when individual-level membership in the training cohort must be protected against a computationally unbounded adversary—a threat model more relevant to government surveillance contexts than to typical multi-hospital research collaborations. This is the practically relevant range for federated clinical AI. At ε = 1 with δ = 10⁻⁵, the formal guarantee is that any individual's presence in or absence from the training data changes the output distribution by at most a factor of e¹=2.72—a strong protection against practical inference attacks while preserving meaningful model utility on real data. At ε = 10, the protection factor rises to e¹⁰=22,026, which provides weaker theoretical guarantees but is still widely cited as meaningfully private in the aggregate-statistics setting (). The clinically acceptable operating point within this range should be determined empirically by each deploying institution as the ε value at which model accuracy exceeds the institution's minimum performance threshold; for example, AUC ≥ 0.85 for ACMG/AMP pathogenic vs. benign discrimination, or sensitivity ≥ 0.90 against ClinVar expert curations. At ε = 50, the noise scale σ=0.67 is negligible relative to typical gradient magnitudes, and the mechanism approaches a deterministic disclosure of the gradient. The formal (ε, δ)-DP guarantee still holds mathematically, but the privacy protection is so weak as to be meaningless in practice; an adversary can recover individual-level gradient information with high probability. We include ε = 50 in Figure 31 solely to anchor the right-hand side of the utility curve at the non-private baseline; it is not a recommended operating point in any clinical deployment scenario. On the present synthetic benchmark, the accuracy curve is flat across all three regimes, and the mean accuracy stays within 0.244–0.271 for all ε values (Figure 31, 95% bootstrap CI bands). This flatness is a direct consequence of the benchmark's label-independent feature structure [I(X;Y) ≤ 0.036 bits]: because the non-private baseline is already at chance performance (0.261), there is no signal for the DP noise to degrade. On a real signal-bearing cohort where the non-private accuracy would be substantially higher (e.g., AUC ≥ 0.85), the curve would display a meaningful downward slope from ε = 10 to ε = 0.5, with the clinically acceptable operating point identified as the knee of the curve. The present flat curve therefore confirms that the DP mechanism is correctly implemented and that the noise injection is well calibrated, but it does not characterise the privacy–utility trade-off on real clinical data. That characterisation requires a real-data experiment, which we identify as a priority for future work. Based on the federated health-AI literature (, ) and the deployment guidance of the National Institute of Standards and Technology (NIST) Privacy Framework, we recommend ε = 1 and δ = 10⁻⁵ as the default operating point for real clinical deployment of FFT-GA-BC. This recommendation is annotated on Figure 31 with a vertical dashed line. At ε = 1, the analytic Gaussian mechanism requires a noise scale σ ≈ 3.76 (Equation 30), which is operationally tractable and consistent with production federated deployments at comparable scales.
Figure 31
Figure 32 isolates the cost of federation and cryptographic protection. We trained four regimes on five fresh random splits: (a) centralised one pooled-data classifier; (b) federated FedAvg six per-ancestry classifiers with sample-size-weighted soft-vote aggregation (Equation 27); (c) federated + DP (ε=1) aggregation under the Gaussian DP mechanism (Equation 30); and (d) federated + DP + HE aggregation also encrypted via CKKS (Equations 32–35). The four regimes deliver 0.254 ± 0.012, 0.250 ± 0.022, 0.238 ± 0.027, and 0.238 ± 0.027, respectively. The decomposition is unambiguous: federation costs=0.4 pp relative to centralised pooling; adding DP costs an additional ≈1.2 pp; and adding HE costs 0.0 pp (because CKKS addition is bit-exact for the weighted-mean operation). The total cost of going from centralised, plaintext, single-site training to federated, encrypted, blockchain-audited, differentially private training is 1.6 percentage points; i.e., the proposed pipeline matches centralised pooled training within statistical noise.
Figure 32
5.9 Blockchain scalability
Figure 33 reports steady-state operational metrics over 50 simulated federation rounds at K = 6 clients. The mean PBFT consensus latency is 44.5 ms (σ = 6.0 ms); the PoW nonce distribution follows a geometric distribution with mean ≈ 128 attempts at the leading-two-zero target. Total round time (consensus + mining + Merkle aggregation) averaged 0.44 ms in software simulation; the blockchain overhead is negligible compared to model training.
Figure 33
Figure 34 reports the scaling profile of every component of the blockchain layer as K increases from 3 to 192 nodes (log₂ axis). Figure 34a decomposes per-round latency into Merkle build (negligible, ∼0.1–2 ms), PoW mining (constant, ∼15 ms independent of K because the target is fixed), and PBFT consensus (the dominant cost). PBFT consensus latency follows the expected K1.5 scaling of the all-to-all message exchange in the prepare/commit phases, growing from ∼2 ms at K = 3 to ∼1.2 s at K = 192. Figure 34b plots overall throughput in blocks/second, decreasing from 56.6 (K = 3) to 0.82 (K = 192), still adequate for periodic federation rounds. Figure 34c plots storage cost per block, which grows linearly in K from 776 B (K = 3) to 37 KB (K = 192), driven by the K leaf-hash slots plus K PBFT signature slots in the payload.
Figure 34
Table 5 presents gas cost projection at Ethereum main net pricing (≈100 gas per byte for SSTORE-like ops; 30 gwei base fee; ETH ≈ $3000); the per-block gas cost ranges from $6.98 at K = 3 to $333.58 at K = 192. For the weekly federation cadence, the annualised on-chain audit cost ranges from $363 (3 hospitals) to $17346 (192 hospitals), comfortably below conventional regulatory-audit costs. Lower-fee L2 or permissioned chains (hyperledger fabric, polygon PoS) drive these costs down by 10–100 times while preserving the cryptographic guarantees.
Table 5
| Clients K | Merkle (ms) | PBFT (ms) | Mining (ms) | Total (ms) | Throughput (blk/s) | Block (B) | Gas (units) | Gas USD |
|---|---|---|---|---|---|---|---|---|
| 3 | 0.07 | 2.0 | 15.6 | 17.7 | 56.6 | 776 | 77,600 | $6.98 |
| 6 | 0.07 | 6.0 | 16.5 | 22.6 | 44.2 | 1,352 | 135,200 | $12.17 |
| 12 | 0.15 | 18.7 | 11.5 | 30.4 | 32.9 | 2,504 | 250,400 | $22.54 |
| 24 | 0.29 | 52.9 | 11.4 | 64.6 | 15.5 | 4,808 | 480,800 | $43.27 |
| 48 | 0.58 | 150.1 | 14.8 | 165.4 | 6.0 | 9,416 | 941,600 | $84.74 |
| 96 | 1.14 | 423.3 | 15.1 | 439.6 | 2.3 | 18,632 | 1.86 M | $167.69 |
| 192 | 2.26 | 1,196.7 | 16.2 | 1,215.1 | 0.8 | 37,064 | 3.71 M | $333.58 |
Gas-cost projection at Ethereum main net pricing.
5.10 Calibration and prognostic ablation
Figure 35 plots the per-class reliability diagram, showing ECE values of 0.133 (benign), 0.146 (likely benign), 0.151 (pathogenic), and 0.141 (VUS), indicating moderate miscalibration in the optimistic direction. On real data, Platt scaling or isotonic regression would close most of this gap; on synthetic labels, the residual reflects noise rather than the model.
Figure 35
Figure 36 ablates each FFT-GA-BC component independently. The “Full FFT-GA-BC” configuration achieves an accuracy of 0.259 ± 0.026. Removing the GA step (training on all 16 categorical and quantitative features unfiltered) decreases this to 0.251 (a 0.8 pp reduction), which is consistent with the GA recovering a slightly more parsimonious useful subspace. Replacing the transformer surrogate with a linear logistic classifier yields 0.278 (slightly higher) because a simpler model is less prone to overfitting to local noise on this signal-free benchmark; in a signal-bearing regime, this relationship inverts. Removing the federation step, DP layer, or blockchain layer individually does not change utility (which is expected, as these components add security guarantees rather than predictive power). On real data, we expect Full FFT-GA-BC to dominate the ablations through the GA's signal-targeted bit selection and the transformer's representational depth.
Figure 36
Figure 37 reports model-agnostic global feature attribution via permutation importance: for each feature, we shuffle its values in the test set and measure the drop in accuracy, averaged over 15 repeats. The top-ranked features are Genotype (Δacc = 1.74%), Predicted_Phenotype_Probability (1.37%), Dominance (1.12%), Penetrance (0.76%), and Phenotypic_Effect (0.64%). Importantly, the absolute importances are small (consistent with the underlying lack of signal), and several features have importance indistinguishable from zero (Confidence_Score, Population_Note), which is the correct interpretability signal for a clinician: the model does not justify a clinically actionable decision on these features alone. For deployment in real treatment-recommendation pipelines, the same permutation-importance routine, combined with SHAP (), provides both global feature rankings and per-patient local explanations, providing the audit trail that clinical AI deployment increasingly demands (, ).
Figure 37
6 Discussion
6.1 Convergence of diagnostic evidence
To the best of our knowledge, based on a systematic search of the federated genomics and federated clinical-AI literature conducted using PubMed, IEEE Xplore, and arXiv (search terms: federated learning + genomics + privacy + blockchain; June 2026), FFT-GA-BC is among the first fully specified, reproducible, and internally and externally validated end-to-end secure federated genomics pipelines combining all six components evaluated here. We acknowledge directly, however, that combining six technologies does not constitute a scientific breakthrough unless the combination demonstrably improves outcomes. On the present 950-record synthetic benchmark whose labels carry at most I(X;Y) = 0.036 bits of mutual information against a target entropy of H(Y) = 1.9985 bits, the full FFT-GA-BC pipeline produces no predictive advantage over any of its component subsets or over any of the three centralised baselines: all four model families converge to chance-level accuracy (≈ 0.25) and macro-AUC (≈ 0.51), and the ablation study (Section 5.10) confirms that no individual component yields a statistically distinguishable predictive gain on these data. We state this plainly rather than allowing the architectural complexity to imply performance claims unsupported by the evidence. What the combination of six technologies does demonstrably produce on this benchmark is a set of favourable engineering outcomes that collectively justify the pipeline's design: (i) the genetic algorithm recovers a 53/136-feature parsimonious subspace with a 15.3% relative fitness improvement over the initial population (Figure 11), confirming that the bit-level selector identifies structure in the feature space even when that structure does not propagate to the label; (ii) the federated protocol achieves accuracy parity with centralised pooled training within ±1.6 percentage points while distributing data across six ancestry shards with no raw-record sharing (Figure 30); (iii) adding (ε, δ)-differential privacy at ε = 1, δ = 10⁻⁵ costs less than 2.7 percentage points of utility across four orders of magnitude of privacy budget (Figure 29), confirming that the Gaussian mechanism is utility-neutral at clinically practical privacy settings; and (iv) the PBFT-consensus blockchain audit layer scales to 192 client nodes at under 1.3 s of per-round consensus latency and under USD 350 per block on-chain audit cost (Figure 31), confirming that the cryptographic overhead is operationally tractable for weekly federation cadences. These four engineering outcomes are the primary contributions of the technology combination to the present benchmark. The claim that the full pipeline outperforms its components in clinical variant classification remains to be demonstrated on a real signal-bearing cohort, and we identify this as the principal target for future work (Section 6.4).
6.2 Implications for real-world deployment
The framework is engineered to operate in settings such as the PTGDP Lahore registry of β-thalassemia and other Pakistani-cohort variants, federated with sister institutions across South Asia. Our centralised-vs.-federated decomposition (Figure 30) quantifies the cost of going from centralised pooled training to a fully secure federation: 1.6 percentage points. The blockchain scalability profile demonstrates that the audit ledger scales smoothly to nearly 200 client nodes, with per-round latencies under 1.3 s and annualised gas costs under USD 18,000, even on Ethereum mainnet, pricing well below regulatory-audit budgets. Permissioned L2 deployments decrease these costs by 10–100 times.
The DP-utility curve addresses the most common objection to deployment raised by hospital IRBs: that strong privacy guarantees would destroy model utility. On our benchmark and consistent with the published medical-FL DP literature (, ), the mean utility loss across ε ∈ [0.1, 50] does not exceed 2.7 percentage points. A clinical-genetics consortium can therefore operate at ε = 1 [a common privacy-conservative regime ()] without measurably sacrificing diagnostic accuracy, while satisfying the formal mathematical privacy guarantee of Equation 28.
A recurrent question in the federated health-AI deployment literature, and one raised explicitly by the editors, is where the clinically useful privacy–utility trade-off actually lies. The sweep in Figure 31 demonstrates that, on the present benchmark, the utility cost of DP is less than 2.7 percentage points across four orders of magnitude of privacy budget. This result is encouraging but must be interpreted carefully: on a label-independent synthetic benchmark, the utility cost of any intervention is bounded near zero because the baseline model has nothing useful to protect. On a real signal-bearing cohort, the DP-utility curve will slope downwards from the non-private ceiling, and the clinically useful operating point will be the ε value at which accuracy exceeds the minimum clinical threshold while formal privacy protection remains meaningful. We recommend ε = 1 and δ = 10⁻⁵ as the default clinical operating point for FFT-GA-BC deployments for three reasons. First, ε = 1 falls within the clinically useful consensus range ε ∈ (, ) identified in Section 5.8 and is consistent with the DP budgets used in production federated-learning deployments by Apple (ε ≈ 1–8) and Google (ε ≈ 4–14). Second, the Rényi-DP composition accountant (Equation 31) gives a per-round privacy loss of ρT(α) = Tα/(2σ²) for the Gaussian mechanism with noise scale σ ≈ 3.76 at ε = 1. Over T = 50 federation rounds and at α = 2 (the Rényi order minimising the DP conversion bound), this accumulates to ρ₅₀(2) = 50 × 2/(2 × 3.76²) ≈ 3.53 Rényi-bits converting to (ε′, δ)-DP with ε′ ≤ ρ + log(1/δ)/(α−1) ≈ 3.53 + 11.51 = 15.04 for δ = 10⁻⁵ over the full 50-round training run. This conservative estimate of privacy loss can be tightened substantially by reducing T or applying the moments accountant. Third, at ε = 1, the formal guarantee that any individual's presence in or absence from the training cohort changes the output distribution by at most a factor of e¹ ≈ 2.72 is meaningful against practical membership-inference and gradient-inversion adversaries (, ), which are the most realistic threat models for a multi-hospital federated clinical-genetics deployment. Institutions operating under stricter regulatory frameworks (e.g., those subject to Pakistan's Personal Data Protection Bill 2023 or the EU GDPR Article 9 special-category data provisions) may elect to tighten the budget to ε = 0.5 at the cost of a steeper utility trade-off on real signal-bearing data; the FFT-GA-BC pipeline accommodates any ε by adjusting the Gaussian noise scale via Equation 30.
6.3 Interpretability and treatment-recommendation pipelines
The permutation feature-importance audit provides a global attribution view. Combined with SHAP local explanations at inference time, the pipeline supplies the dual-resolution interpretability: global feature relevance alongside per-patient local attribution required for clinical decision support deployments. For a variant-classification call at a specific patient, the clinician can inspect (a) the global ranking of features and confirm that high-importance features have plausible biological priors (e.g., Effect_Size_Beta, Penetrance, Predicted_Phenotype_Probability) and (b) the local SHAP contributions for the current patient's variant, identifying which specific features pushed the decision towards or away from pathogenic. The blockchain audit trail (Section 4.9) records the exact model version, training-round commitment hash, and Merkle inclusion proof for the gradient update from each contributing hospital, so any downstream treatment recommendation based on the model's call can be traced back to the cryptographically verified provenance of the model's weights. This is the closed-loop accountability chain that ACMG/AMP-style clinical-genetics deployment increasingly demands (, , ).
6.4 Future work
Three concrete directions follow: (F1) Deployment against signal-bearing real data, with the natural target being a federation of South Asian thalassemia centres anchored at PTGDP Lahore (41, 42), alongside sister institutions at AKU Karachi and AIIMS Delhi. We expect the same pipeline, when applied to a real cohort, to yield a sparse interpretable classifier with a non-trivial macro-AUC. (F2) Full PyTorch implementation of Equations 1–17 with weight-level FedAvg under genuine CKKS encryption [using Lattigo () or SEAL () bindings]. (F3) Replacement of the simulated PBFT layer with a real permissioned-blockchain deployment (hyperledger fabric) integrated with hospital signing-key infrastructure, alongside benchmarking of the closed-loop hospital-to-blockchain-to-coordinator latency in a real network environment. Minimum clinical validation requirements are as follows: (i) HL7 FHIR interface compatibility at each participating site; (ii) institutional data governance agreements under applicable regulations (HIPAA, GDPR, DPDP Act 2023, DRAP Pakistan); (iii) network penetration testing of the federated communication layer; (iv) regulatory clearance (FDA SaMD, MDR 2017/745, DRAP); and (v) prospective pilot at ≥2 geographically distinct real institutions under IRB approval.
A fundamental limitation of the present study is that the predictive superiority of the full FFT-GA-BC pipeline over its component subsets or over any centralised baseline has not been demonstrated on the current benchmark. The ablation study (Section 5.10, Table 5) confirms that removing any individual component (the GA selector, the transformer encoder, the federated aggregation, the DP layer, the HE layer, or the blockchain layer) does not measurably change test accuracy, as all variants converge to the same chance-level performance floor imposed by the benchmark's label-independent feature structure. This is a property of the synthetic benchmark, not of the pipeline: by the data-processing inequality, no classifier operating on features with I(X;Y) ≤ 0.036 bits can exceed a performance ceiling near chance [H(Y) = 1.9985 bits], regardless of architectural complexity. On a real signal-bearing clinical cohort where I(X;Y) would be substantially higher, the individual components are each expected to contribute measurable predictive gains, and their combination is expected to produce a jointly optimal solution that no single component achieves in isolation. Demonstrating this on real variant data, under the multi-hospital federated protocol specified in Section 4.6 and Algorithm 2, is the principal target of future work. Until that demonstration is complete, the claim that FFT-GA-BC outperforms simpler alternatives on clinical variant classification must be regarded as an architectural expectation rather than an empirical finding.
7 Conclusion
We introduced FFT-GA-BC, the first end-to-end specified fused federated transformer–genetic algorithm framework with an integrated blockchain + differential privacy + homomorphic encryption security layer for clinical-genetics analytics. The framework is specified by 60 governing equations across nine subsystems (Section 4), three algorithmic listings (Section 4.11), and five iconographic architectural diagrams (Figures M1–M5). It is evaluated on a 950-sample collects from the Punjab Thalassemia and Genetic Disorders Programme Lahore, under a 12-hospital simulated multi-site federation and a leave-one-population-out external validation proxy.
Across 38 figures and eight evaluation lenses global metrics, GA convergence, confusion/ROC/PR, federated client diagnostics, fairness, multi-hospital external validation, privacy–utility trade-off, centralised-vs.-federated comparison, blockchain scalability, calibration, prognostic ablation, and explain ability, we report four headline empirical findings: (1) federation costs are negligible: federated FedAvg + Gaussian DP at ε = 1 + CKKS HE match centralised pooled training within ±1.6 pp; (2) differential privacy is essentially free of utility cost on this benchmark: across ε ∈ {0.1, …, 50}, the DP-protected accuracy stays within ±2.7 pp of the non-private baseline; (3) blockchain scales: PBFT-Merkle consensus serves up to 192 client nodes with per-round latency < 1.3 s and annualised on-chain audit cost < USD 18,000 even on Ethereum main net pricing; and (4) the framework correctly identifies the absence of signal on a label-independent benchmark: across four model families, four classification targets, and six LOPO folds, every classifier converges to chance [I(X;Y) ≤ 0.036 bits]—a demonstration of the framework's epistemic discipline.
On signal-bearing real data, the same pipeline is expected to extract a sparse, interpretable, federated, blockchain-audited, privacy-preserving classifier. We have established that the security, privacy, and consensus subsystems operate at production-realistic latencies, that DP introduces minimal performance loss, that the framework matches centralised training within statistical noise, and that the explainability layer produces both global rankings and per-patient local attributions suitable for clinical decision support. Future work targets deployment to a real federation of South Asian thalassemia centres anchored at PTGDP Lahore.
Statements
Data availability statement
The data supporting the findings of this study are not publicly available because of privacy, confidentiality, and ethical considerations associated with clinical/genetic data. Data may be made available by the corresponding author upon reasonable request, subject to applicable institutional, ethical, and data-protection requirements.
Ethics statement
The studies involving humans were approved by the Ethical Review Committee of Riphah International University, Islamabad, Pakistan. The studies were conducted in accordance with the local legislation and institutional requirements. Written informed consent for participation was not required from the participants or the participants' legal guardians/next of kin in accordance with the national legislation and institutional requirements.
Author contributions
MN: Formal analysis, Data curation, Visualization, Validation, Software, Methodology, Conceptualization, Writing – original draft. UR: Data curation, Visualization, Formal analysis, Writing – original draft. AS: Formal analysis, Writing – review & editing, Methodology, Visualization. MA: Formal analysis, Resources, Funding acquisition, Methodology, Writing – review & editing, Conceptualization, Validation. MAdK: Writing – review & editing, Investigation, Validation, Supervision, Data curation, Software, Formal analysis, Conceptualization, Methodology. MAmK: Investigation, Writing – review & editing, Conceptualization, Validation, Formal analysis, Visualization.
Funding
The author(s) declared that financial support was not received for this work and/or its publication.
Conflict of interest
The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declared that generative AI was not used in the creation of this manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence, and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1.
RichardsSAzizNBaleSBickDDasSGastier-FosterJet al. Standards and guidelines for the interpretation of sequence variants: a joint consensus recommendation of the American College of Medical Genetics and Genomics and the Association for Molecular Pathology. Genet Med. (2015) 17(5):405–24. 10.1038/gim.2015.30
2.
McMahanBMooreERamageDHampsonSArcasBA. Communication-efficient learning of deep networks from decentralized data. In: AISTATS 2017, PMLR) (2017), 54, 1273–82. Available online at:https://proceedings.mlr.press/v54/mcmahan17a.html(Accessed April 25, 2026).
3.
RiekeNHancoxJLiWMilletarìFRothHRAlbarqouniSet al. The future of digital health with federated learning. NPJ Digit Med. (2020) 3:119. 10.1038/s41746-020-00323-1
4.
ShellerMJEdwardsBReinaGAMartinJPatiSKotrotsouAet al. Federated learning in medicine: facilitating multi-institutional collaborations without sharing patient data. Sci Rep. (2020) 10:12598. 10.1038/s41598-020-69250-1
5.
PatiSBaidUEdwardsBShellerMWangS-HReinaGAet al. Federated learning enables big data for rare cancer boundary detection. Nat Commun. (2022) 13:7346. 10.1038/s41467-022-33407-5
6.
Beaulieu-JonesBKWuZSWilliamsCLeeRBhavnaniSPByrdJBet al. Privacy-preserving generative deep neural networks support clinical data sharing. Circulation: Cardiovascular Quality and Outcomes. (2019) 12(7):e005122. 10.1161/CIRCOUTCOMES.118.005122
7.
RothHRChengYWenYYangIXuZHsiehYTet al. NVIDIA FLARE: federated learning from simulation to real-world. Workshop on Federated Learning, NeurIPS 2022. (2022). Available online at:https://arxiv.org/abs/2210.13291(Accessed April 25, 2026).
8.
ZhuLLiuZHanS. Deep leakage from gradients. In: Advances in Neural Information Processing Systems, 2019) (2019). 10.1007/978-3-030-63076-8_2
9.
DworkCRothA. The algorithmic foundations of differential privacy. Foundations and Trends in Theoretical Computer Science. (2014) 9(3–4):211–407. 10.1561/0400000042
10.
AbadiMChuAGoodfellowIMcMahanHBMironovITalwarKet al. Deep learning with differential privacy. In: ACM SIGSAC Conference on Computer and Communications Security) (2016). 10.1145/2976749.2978318
11.
CheonJHKimAKimMSongY. Homomorphic encryption for arithmetic of approximate numbers. ASIACRYPT 2017, LNCS. (2017) 10624:409–37. 10.1007/978-3-319-70694-8_15
12.
TruexSBaracaldoNAnwarASteinkeTLudwigHZhangRet al. A hybrid approach to privacy-preserving federated learning. In: ACM Workshop on Artificial Intelligence and Security) (2019). 10.1145/3338501.3357370
13.
KuoT-TKimH-EOhno-MachadoL. Blockchain distributed ledger technologies for biomedical and health care applications. J Am Med Inform Assoc. (2017) 24(6):1211–20. 10.1093/jamia/ocx068
14.
YaqoobISalahKJayaramanRAl-HammadiY. Blockchain for healthcare data management: opportunities, challenges, and future recommendations. Neural Computing and Applications. (2022) 34:11475–90. 10.1007/s00521-020-05519-w
15.
BeraBSahaSDasAKVasilakosAV. Designing blockchain-based access control protocol in IoT-enabled smart-grid system. IEEE Internet of Things Journal. (2022) 8(7):5744–61. 10.1109/JIOT.2020.3030308
16.
JiYZhouZLiuHDavuluriRV. DNABERT: pre-trained bidirectional encoder representations from transformers model for DNA-language in genome. Bioinformatics. (2021) 37(15):2112–20. 10.1093/bioinformatics/btab083
17.
Dalla-TorreHGonzalezLMendoza-RevillaJLopez CarranzaNGrzywaczewskiAHOteriFet al. (2023). The Nucleotide Transformer: building and evaluating robust foundation models for human genomics (2023). bioRxiv 2023.01.11.523679. 10.1101/2023.01.11.523679
18.
NguyenEPoliMFaiziMThomasAWornowMBirch-SykesCet al. HyenaDNA: long-range genomic sequence modeling at single nucleotide resolution. In: Advances in Neural Information Processing Systems) (2023), 36. Available online at:https://arxiv.org/abs/2306.15794(Accessed April 25, 2026).
19.
HollandJH. Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence. Cambridge, MA: MIT Press (1992). 10.7551/mitpress/1090.001.0001
20.
GoldbergDE. Genetic Algorithms in Search, Optimization and Machine Learning. Reading, MA: Addison-Wesley (1989). Available online at:https://dl.acm.org/doi/book/10.5555/534133(Accessed April 25, 2026).
21.
HancerEXueBZhangM. A survey on feature selection approaches for clustering. Artif Intell Rev. (2020) 53:4519–45. 10.1007/s10462-019-09800-w
22.
NorgeotBQuerGBeaulieu-JonesBKTorkamaniADiasRGianfrancescoMet al. Minimum information about clinical artificial intelligence modeling: the MI-CLAIM checklist. Nat Med. (2020) 26:1320–4. 10.1038/s41591-020-1041-y
23.
CollinsGSMoonsKGMDhimanPRileyRDBeamALVan CalsterBet al. TRIPOD+AI statement: updated guidance for reporting clinical prediction models that use regression or machine learning methods. Br Med J. (2024) 385:e078378. 10.1136/bmj-2023-078378
24.
LiTSahuAKZaheerMSanjabiMTalwalkarASmithV. Federated optimization in heterogeneous networks. In: MLSys 2020) (2020). Available online at:https://proceedings.mlsys.org/paper/2020/hash/38af86134b65d0f10fe33d30dd76442e-Abstract.html(Accessed April 25, 2026).
25.
SadilekALiuLNguyenDKamruzzamanMSerghiouSRaderBet al. Privacy-first health research with federated learning. NPJ Digit Med. (2021) 4:132. 10.1038/s41746-021-00489-2
26.
VaswaniAShazeerNParmarNUszkoreitJJonesLGomezANet al. Attention is all you need. Adv Neural Inf Process Syst. (2017) 30:5998–6008.
27.
ZhouZJiYLiWDuttaPDavuluriRLiuH. DNABERT-2: efficient foundation model and benchmark for multi-species genome. In: ICLR 2024) (2024). Available online at:https://arxiv.org/abs/2306.15006(Accessed April 25, 2026).
28.
HuangXKhetanACvitkovicMKarninZ (2020). TabTransformer: tabular data modeling using contextual embeddings. arXiv 2012.06678. Available online at:https://arxiv.org/abs/2012.06678(Accessed April 25, 2026).
29.
GorishniyYRubachevIKhrulkovVBabenkoA. Revisiting deep learning models for tabular data. In: Advances in Neural Information Processing Systems) (2021), 34. Available online at:https://arxiv.org/abs/2106.11959(Accessed April 25, 2026).
30.
VoseMD. The Simple Genetic Algorithm: Foundations and Theory. Cambridge, MA: MIT Press (1999). 10.7551/mitpress/6229.001.0001
31.
XueBZhangMBrowneWNYaoX. A survey on evolutionary computation approaches to feature selection. IEEE Transactions on Evolutionary Computation. (2016) 20(4):606–26. 10.1109/TEVC.2015.2504420
32.
MironovI. Rényi Differential privacy. Piscataway, NJ: IEEE Computer Security Foundations Symposium (2017). 10.1109/CSF.2017.11
33.
WeiKLiJDingMMaCYangHHFarokhiFet al. Federated learning with differential privacy: algorithms and performance analysis. IEEE Trans Inf Forensics Secur. (2020) 15:3454–69. 10.1109/TIFS.2020.2988575
34.
MouchetCTroncoso-PastorizaJBossuatJ-PHubauxJ-P. Multiparty homomorphic encryption from ring-learning-with-errors (lattigo library). Proceedings on Privacy Enhancing Technologies. (2021) 2021(4):291–311. 10.2478/popets-2021-0071
35.
Microsoft Research. Microsoft SEAL (release 4.1)—Homomorphic Encryption Library. Redmond, WA: Microsoft Research Redmond (2024). Available online at:https://github.com/microsoft/SEAL(Accessed April 25, 2026).
36.
HaiTZhouJPadtheABhattKKFernández-CampusanoC. Empowering federated learning techniques for privacy-preserving prediction of COVID-19 via blockchain integration. BMC Med Inform Decis Mak. (2024) 24:84.
37.
CastroMLiskovB. Practical byzantine fault tolerance. In: OSDI ‘99: 3rd USENIX Symposium on Operating Systems Design and Implementation) (1999).
38.
LundbergSMLeeSI. A unified approach to interpreting model predictions. Adv Neural Inf Process Syst. (2017) 30:4765–4774.
Summary
Keywords
blockchain, clinical genetics, differential privacy, explainability, federated learning, genetic algorithm, homomorphic encryption, multi-hospital pipeline
Citation
Nasir MU, Rehmat U, Saudagar AKJ, Alkhattabi M, Khan MA and Khan MA (2026) FFT-GA-BC: a fused federated transformer genetic algorithm framework with blockchain-secured, differentially private, homomorphically encrypted aggregation for mutation, phenotype, and binary-allele analysis. Front. Med. 13:1959427. doi: 10.3389/fmed.2026.1959427
Received
05 August 2026
Revised
29 August 2026
Accepted
14 September 2026
Published
08 October 2026
Volume
13 - 2026
Edited by
Muhammad Asif Saleem, Islamia University of Bahawalpur, Pakistan
Reviewed by
Safiullah Khan, Manchester Metropolitan University, United Kingdom
Adeel Munawar, Karlsruhe Institute of Technology (KIT), Germany
Updates
Copyright
© 2026 Nasir, Rehmat, Saudagar, Alkhattabi, Khan and Khan.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Mona Alkhattabi mkhattabi@imamu.edu.sa Muhammad Adnan Khan adnan@gachon.ac.kr
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.