Privacy-Preserving Federated Unsupervised Domain Adaptation for Regression on Small-Scale and High-Dimensional Biological Data

Cem Ata Baykara, Ali Burak Ünal, Nico Pfeifer, Mete AkgünarXiv 2024

TL;DR

The authors introduce freda, the first privacy-preserving federated framework for unsupervised domain adaptation in regression tasks, specifically optimized for small-scale, high-dimensional biological data. By combining randomized encoding and secure aggregation, freda enables the decentralized training of Gaussian Process Regressors (GPRs) without exposing raw data or labels. When tested on predicting age from DNA methylation data, it achieves performance comparable to centralized state-of-the-art methods while maintaining complete data privacy.

What Problem Does This Paper Address?

Machine learning models frequently fail to generalize when deployed on data from new sources due to domain shifts—variations in data distribution caused by different experimental conditions, equipment, or patient populations. Unsupervised Domain Adaptation (UDA) mitigates this by aligning the source (training) and target (testing) distributions using unlabeled target data.

However, applying UDA to biology introduces two severe bottlenecks:

  1. Data Characteristics: Biological data (like genomic or methylation profiles) is typically high-dimensional but has small sample sizes. Most existing Federated Domain Adaptation (FDA) methods rely on deep learning for classification, which overfits on small tabular datasets and cannot handle continuous regression targets (e.g., predicting age or biomarker levels).
  2. Privacy Constraints: Biomedical data is highly sensitive and decentralized across different hospitals or institutions. Privacy regulations prevent pooling this raw data into a centralized server.

While Gaussian Process Regressors (GPRs) are excellent at modeling complex feature relationships and providing uncertainty estimates for small, high-dimensional datasets, they are non-parametric. GPRs require pairwise computations of data matrices across the entire dataset, making them notoriously difficult to train in a distributed, privacy-preserving manner.

Methods

The authors propose freda (federated domain adaptation), a four-phase framework that orchestrates collaboration between distributed source clients, a target client, and a secure aggregator:

Fig. 1: Overview of the freda framework, in which multiple source domain clients col- laborate to perform domain adaptation on the target domain data with the assistance of an aggregator.
  1. Feature Model Training: To capture the underlying data structure without sharing raw samples, freda trains a GPR for each feature to predict its value based on all other features. GPR hyperparameters are optimized across clients using zero-sum masking (secure aggregation). To compute the GPR data matrices privately, they leverage FLAKE, a framework that uses shared masking matrices to compute the global Gram matrix without revealing plaintext values. Finally, randomized encoding allows the target client to compute the predicted mean without any party exposing their local label vectors.
  2. Feature Weight Computation: The target client uses the GPR predictions to calculate confidence scores for each feature. Features that match the source domain's dependency structure receive higher confidence, while discrepant features are penalized. These are converted into feature weights.
  3. Optimal Regularization ($\lambda$) Prediction: Source clients federatively train multiple Weighted Elastic Nets (WEN) using a grid of regularization parameters ($\lambda$). The target client uses prior domain similarity knowledge to identify the optimal $\lambda$.
  4. Final Adaptive Model Training: Using the optimal $\lambda$ and the feature weights, the source clients collaboratively train the final adaptive WEN model via secure aggregation, which is then sent to the target client for inference.

Datasets

The framework was evaluated on the task of chronological age prediction using DNA methylation data from two primary repositories:

  • The Cancer Genome Atlas (TCGA)
  • Gene Expression Omnibus (GEO)

The preprocessing pipeline imputed missing values and reduced the feature space from 466,094 down to 12,980 features. The final dataset consisted of a source training set of 1,866 samples (across 19 different tissues) and a target test set of 1,001 samples (across 13 tissues). Tissue similarity metrics were derived using external data from the GTEx consortium.

Key Insights and Ideas

  • Federating GPRs is Possible: The most significant theoretical contribution is proving that non-parametric GPRs—traditionally bound to centralized architectures due to pairwise matrix dependencies—can be securely federated using a clever mix of matrix masking (FLAKE) and randomized encoding.
  • Targeting the "Unseen" Domain Shift: The framework shines when predicting labels for target tissues entirely absent from the source training data (e.g., cerebellum samples). Non-adaptive models fail drastically here because the cerebellum is biologically distinct from other brain tissues. freda successfully identifies which feature dependencies hold true across domains, effectively bridging the distribution gap.

Key Results

The authors compared freda (configured with 2, 4, or 8 source clients) against wenda-pn (the centralized, non-private state-of-the-art UDA method) and en-ls (a centralized, non-adaptive baseline). Performance was measured using Mean Absolute Error (MAE) in years.

Fig. 2: Mean absolute error per target tissue, as well as on full target data for the non-adaptive and non-federated baseline en-ls, wenda-pn with k = 3, and freda with k = 3, across 2, 4, and 8 source parties.
  • Full Target Dataset: Centralized wenda-pn achieved an MAE of $5.31 \pm 0.29$ years. freda achieved an almost identical MAE of $5.41 \pm 0.44$ years in the 2- and 4-client settings, and $5.81 \pm 0.24$ years in the 8-client setting. All UDA methods comfortably beat the non-adaptive baseline ($6.34 \pm 1.21$ years).
  • Cerebellum Samples (Severe Domain Shift): The non-adaptive baseline failed heavily with an MAE of $7.63 \pm 0.26$ years, consistently underpredicting age. As shown in the scatter plots below, freda successfully corrected this shift, yielding an MAE of $7.99 \pm 1.39$ years (2 sources) and $8.64 \pm 0.86$ years (4 sources), tracking closely with the centralized wenda-pn baseline.
Fig. 3: Predicted versus true chronological age under various settings. Figures (a), (b), and (c) correspond to freda with k = 3 for 2, 4, and 8 source parties, respectively. Predictions are averaged over all splits where the tissue of interest was included in the evaluation set, as well as over 5 different distributions for each setting. Panels (d) and (e) correspond to en-ls and wenda-pn, respectively. For en-ls, predictions are averaged over 10 runs of 10-fold cross-validation, while for wenda-pn, predictions are averaged over all splits where the tissue of interest was included in the evaluation set.

Limitations and Future Work

While freda successfully preserves privacy, the authors note a slight performance degradation as the source data is fragmented across a larger number of clients (e.g., moving from 2 to 8 clients on the cerebellum task). This is a common challenge in federated learning due to local data sparsity. Additionally, the current framework relies on the target domain owner having access to external prior knowledge (like the GTEx dataset) to calculate domain similarities for hyperparameter selection. Future iterations could focus on automating this similarity estimation in a completely data-agnostic, decentralized manner.

Summary updated

BibTeX
@misc{baykara2024privacy,
  author = {Cem Ata Baykara and Ali Burak Ünal and Nico Pfeifer and Mete Akgün},
  title = {{Privacy-Preserving Federated Unsupervised Domain Adaptation for Regression on Small-Scale and High-Dimensional Biological Data}},
  year = {2024},
  eprint = {2411.17287},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.17287},
}
Figure