Exploiting Unstructured Sparsity in Fully Homomorphic Encrypted DNNs

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Ferguson, Aidan, Gibson, Perry, D'Agata, Lara, McLeod, Parker, Yaman, Ferhat, Das, Amitabh, Colbert, Ian, Cano, José
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917975507861504
author Ferguson, Aidan
Gibson, Perry
D'Agata, Lara
McLeod, Parker
Yaman, Ferhat
Das, Amitabh
Colbert, Ian
Cano, José
author_facet Ferguson, Aidan
Gibson, Perry
D'Agata, Lara
McLeod, Parker
Yaman, Ferhat
Das, Amitabh
Colbert, Ian
Cano, José
contents The deployment of deep neural networks (DNNs) in privacy-sensitive environments is constrained by computational overheads in fully homomorphic encryption (FHE). This paper explores unstructured sparsity in FHE matrix multiplication schemes as a means of reducing this burden while maintaining model accuracy requirements. We demonstrate that sparsity can be exploited in arbitrary matrix multiplication, providing runtime benefits compared to a baseline naive algorithm at all sparsity levels. This is a notable departure from the plaintext domain, where there is a trade-off between sparsity and the overhead of the sparse multiplication algorithm. In addition, we propose three sparse multiplication schemes in FHE based on common plaintext sparse encodings. We demonstrate the performance gain is scheme-invariant; however, some sparse schemes vastly reduce the memory storage requirements of the encrypted matrix at high sparsity values. Our proposed sparse schemes yield an average performance gain of 2.5x at 50% unstructured sparsity, with our multi-threading scheme providing a 32.5x performance increase over the equivalent single-threaded sparse computation when utilizing 64 cores.
format Preprint
id arxiv_https___arxiv_org_abs_2503_09184
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Exploiting Unstructured Sparsity in Fully Homomorphic Encrypted DNNs
Ferguson, Aidan
Gibson, Perry
D'Agata, Lara
McLeod, Parker
Yaman, Ferhat
Das, Amitabh
Colbert, Ian
Cano, José
Cryptography and Security
Distributed, Parallel, and Cluster Computing
Machine Learning
Performance
The deployment of deep neural networks (DNNs) in privacy-sensitive environments is constrained by computational overheads in fully homomorphic encryption (FHE). This paper explores unstructured sparsity in FHE matrix multiplication schemes as a means of reducing this burden while maintaining model accuracy requirements. We demonstrate that sparsity can be exploited in arbitrary matrix multiplication, providing runtime benefits compared to a baseline naive algorithm at all sparsity levels. This is a notable departure from the plaintext domain, where there is a trade-off between sparsity and the overhead of the sparse multiplication algorithm. In addition, we propose three sparse multiplication schemes in FHE based on common plaintext sparse encodings. We demonstrate the performance gain is scheme-invariant; however, some sparse schemes vastly reduce the memory storage requirements of the encrypted matrix at high sparsity values. Our proposed sparse schemes yield an average performance gain of 2.5x at 50% unstructured sparsity, with our multi-threading scheme providing a 32.5x performance increase over the equivalent single-threaded sparse computation when utilizing 64 cores.
title Exploiting Unstructured Sparsity in Fully Homomorphic Encrypted DNNs
topic Cryptography and Security
Distributed, Parallel, and Cluster Computing
Machine Learning
Performance
url https://arxiv.org/abs/2503.09184