Skip to main content
QUICK REVIEW

[Paper Review] ML with HE: Privacy Preserving Machine Learning Inferences for Genome Studies

Şeyma Selcan Mağara, Ceren Yıldırım|arXiv (Cornell University)|Oct 21, 2021
Cancer Genomics and DiagnosticsBiochemistry, Genetics and Molecular Biology4 citations
TL;DR

This paper proposes privacy-preserving machine learning inference for genome studies using homomorphic encryption (HE), enabling secure classification of tumor types on encrypted genomic data. It implements both SVM and XGBoost models with HE, achieving high accuracy—especially XGBoost—while efficiently handling secure comparisons in tree-based inference through optimized encoding and homomorphic operations.

ABSTRACT

Preserving the privacy and security of big data in the context of cloud computing, while maintaining a certain level of efficiency of its processing remains to be a subject, open for improvement. One of the most popular applications epitomizing said concerns is found to be useful in genome analysis. This work proposes a secure multi-label tumor classification method using homomorphic encryption, whereby two different machine learning algorithms, SVM and XGBoost, are used to classify the encrypted genome data of different tumor types.

Motivation & Objective

  • Address the critical need to preserve privacy and security of sensitive genomic data during cloud-based machine learning processing.
  • Enable secure inference on encrypted genomic data without revealing underlying information to untrusted cloud servers.
  • Develop and evaluate homomorphic encryption-compatible versions of two powerful ML models—SVM and XGBoost—for tumor classification.
  • Optimize the XGBoost inference pipeline for homomorphic encryption, particularly handling secure comparison operations in decision trees.
  • Demonstrate practical feasibility and high accuracy of HE-based ML inference in a real-world genomics competition setting (iDASH 2020).

Proposed method

  • Utilize fully homomorphic encryption (FHE), specifically the CKKS and BFV schemes, to perform computations on encrypted genomic feature vectors.
  • Implement a secure comparison mechanism using polynomial encoding to evaluate whether a feature value satisfies a decision tree node condition (e.g., feature_value ≥ threshold) in encrypted form.
  • Design a homomorphic inference pipeline for XGBoost by encoding tree structures and leaf values, and computing path probabilities homomorphically through encrypted comparisons.
  • Apply the encoded comparison results to traverse decision trees and compute final prediction scores by summing leaf values homomorphically across all trees in the ensemble.
  • Use Algorithm 2 to compute node-wise comparison outcomes (0 or 1) for each internal node, and Algorithm 3 to aggregate tree-level scores into final class scores.
  • Decrypt the final encrypted score array on the client side to determine the predicted tumor class with the highest score.

Experimental results

Research questions

  • RQ1Can XGBoost inference be efficiently adapted to operate under homomorphic encryption while maintaining high accuracy in genomic classification?
  • RQ2How does the performance of HE-protected XGBoost compare to HE-protected SVM in terms of accuracy and end-to-end latency on encrypted genomic data?
  • RQ3What are the practical challenges in applying homomorphic encryption to tree-based models, particularly regarding secure comparison operations?
  • RQ4To what extent can homomorphic encryption enable secure, privacy-preserving machine learning inference in real-world genomics applications?
  • RQ5Can optimized encoding techniques significantly reduce the computational overhead of secure comparisons in HE-based XGBoost inference?

Key findings

  • The XGBoost model achieved higher accuracy than the SVM model in the iDASH 2020 competition, demonstrating the effectiveness of HE-enabled ensemble learning for genomics.
  • Despite higher computational cost, the XGBoost model's end-to-end inference time remained competitive with other participants, indicating practical feasibility.
  • The proposed secure comparison method using polynomial encoding significantly accelerated the homomorphic evaluation of decision tree nodes in XGBoost.
  • The homomorphic SVM model achieved strong performance with high accuracy, validating the viability of HE for traditional kernel-based models in genomics.
  • The results confirmed that homomorphic encryption can be effectively applied to complex, high-dimensional genomic data with minimal loss in model utility.
  • The implementation using SEAL and Palisade libraries demonstrated portability and efficiency across different HE frameworks, supporting broader adoption.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.