Back to search

Chalmers University of Technology

On Preserving Privacy

Abstract

dc:description.abstract

This thesis explores homomorphic encryption on queries to cloud stored documents. Moreover, the aim of this thesis is to explore the use of semantic search on encrypted word embeddings with end-to-end privacy. A concrete implementation of a secure semantic search application that stores documents in a database which allows for efficient retrieval (using Locality Sensitive Hashing) and computation of embedding similarities is presented. Experiments were conducted to benchmark the performance of homomorphic operations on encrypted data. CKKS was the homomorphic encryption scheme used in these experiments, because CKKS works with vectors of real numbers, which is what word embeddings are. The experiments focused on how much of the operations can be offloaded to the server and also the accuracy between decrypted ciphertexts and plaintexts after computations. Our results show that achieving high accuracy between decrypted ciphertexts and plaintexts does not decrease performance, however it does limit the level of security depending on the set parameters. We concluded that homomorphic encryption is feasible for our specific use-case and could potentially allow almost 300 000 similarity computations per second given a server cluster of 8 hosts each having an Nvidia 4090 GPU.

Degree

thesis:*
Level thesis:degree_level
H
Department dc:contributor.department
Chalmers tekniska högskola / Institutionen för data och informationsteknik
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Chorfi, Tarek
  • Stampoulis, Pavlos
Advisor dc:contributor.supervisor
  • Rhouma, Rhouma
Committee member dc:contributor.committeemember
  • Ali-Eldin Hassan, Ahmed

Subjects

dc:subject × 5

Rights

Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Coursecode
DATX05

Chain of custody

source
Harvested from
Chalmers University of Technology
Base URL
odr.chalmers.se/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Chorfi, Tarek; Stampoulis, Pavlos. On Preserving Privacy. H thesis, 2025. https://hdl.handle.net/20.500.12380/310905