Back to search

Nanyang Technological University

Efficient system design with homomorphic encryption

Abstract

dc:description.abstract

Genomic sequencing is a task that identifies the nucleotide sequence of individuals and is done by many commercial sequencers. The nucleotide data used is highly sensitive. One part in the sequencing pipeline is the alignment of multiple nucleotide substrings, called, reads, using Banded Smith Waterman (BSW) algorithm. Homomorphic Encryption (HE) is an encryption mechanism that allows computation on encrypted data. Considering the sensitivity of nucleotide data, we encrypt the input data to BSW and compute on it in the HE domain achieving 80-bit security. In this thesis, we make use of the BGV(Brakerski-Gentry-Vaikuntanathan) HE scheme. All the computations occur in HE domain. This is the first work that converts BSW to HE domain- other works convert Smith Waterman. This is the first work that simultaneously computes the matrices used in BSW for multiple sequence pairs by making use of the SIMD(Single-Instruction-Multiple-Data) property of BGV(Brakerski-Gentry-Vaikuntanathan) than TFHE (Torus Fully Homomorphic Encryption) scheme. A previously existing work (state-of-the-art) uses TFHE to do Smith Waterman between one sequence pair, each of size 4 - (4,4)[3] BSW ((4,4) Smith Waterman is equivalent to (4,4)[3] BSW, which is Banded Smith Waterman on two sequences of length 4 each with band size 3) - in 64 s. (using sequential circuits) and 32 s. (using parallel circuits) for HE operations, making it 12800× and 6400× slower respectively than unencrypted (4,4) BSW. We use the SIMD property of BGV to evaluate (4,4) Smith-Waterman between 24192 sequence pairs simultaneously, giving amortized time of 28.5 s (just 5700× slower than unencrypted BSW). Our best result for (4,4)[3] BSW is got using OpenMP parallelism to compute anti-diagonal cells in parallel, giving amortized time of 8.88 s. We used the SIMD property of BGV to evaluate (3,3) BSW between 3960 pairs simultaneously in total time 73 hours, giving an amortized time of 66.4 s. per sequence pair. This is 16,600 times slower than unencrypted (3,3) Smith Waterman algorithm. We estimate that TFHE would have taken 76.05 s. total time for the same task, attributing a better amortized time to BGV. Besides, our amortized times for (ref erence, query)[bandsize] = {(1, 1)[1], (2, 2)[1], (3, 3)[1], (3, 3)[2], (4, 4)[1], (4, 4)[3], (5, 5)[1]} are lesser than estimated times of same using TFHE circuits. Note that there is a direct comparison and improvement for (4,4)[3] BSW with respect to the previous work (state-of-the-art), while other comparison cases are against estimated time of this work. Further, we undertake a systematic study of core Genomics kernels available as GenomicsBench. The objective is to identify the performance gap and reduce that with the help of targeted optimizations. Our study reflects that a fully- converted GenomicsBench kernel - chain - is slower by 106 orders of magnitude. We implemented specific optimizations - we packed multiple integers to be encrypted together such that operations can occur on them in parallel (SIMD) and memory consumed is less. Besides this, we thoroughly conduct a survey that encompasses previous HE works for ML/DL/NLP and works in the field of HE hardware acceleration using GPU, FPGA, ASIC, in-memory acceleration. We also mention how applications for text classification, movie recommendation, edge detection, contrast stretching can be ported to HE domain as future work.

Degree

thesis:*
College dc:contributor.school
College of Computing and Data Science
Grantor dc:publisher
Nanyang Technological University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Deogade, Kshitij
Advisor dc:contributor.supervisor
  • Anupam Chattopadhyay

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Nanyang Technological University
Base URL
dr.ntu.edu.sg/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Deogade, Kshitij. Efficient system design with homomorphic encryption. Nanyang Technological University, 2025. https://doi.org/10.32657/10356/202115