FHE ML Tuxedo: A Tailored Wrapper Architecture for Homomorphic Encryption in Machine Learning

Privacy-preserving machine learning (PPML) commonly utilizes fully homomorphic encryption (FHE). Most FHE libraries are implemented in performance-oriented languages like C++, Go, or Rust, which can hinder adoption in Python-based machine learning (ML). Existing FHE library wrappers are typically naive and inefficient for PPML applications. We introduce the Tailored Wrapper Architecture (TWA) to develop efficient Python frontends for PPML using FHE. TWA does not depend on specific ML use cases or FHE libraries. As a proof of concept, we integrate OpenFHE into the HE-MAN compiler and compare its performance to TenSEAL and a naive OpenFHE wrapper. TWA achieves equal or better classification accuracy with comparable latency to TenSEAL and significant latency improvements over the naive wrapper, with speedups of 21 × and 13 × depending on the activation function.

Authors

Institutions

Publication Details

Published
2025-06-23
DOI
https://doi.org/10.1109/dsn-w65791.2025.00075
Primary Topic
Cryptography and Data Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

FHE ML Tuxedo: A Tailored Wrapper Architecture for Homomorphic Encryption in Machine Learning

Martin Nocker, Pascal Schöttle, Linus Henke
Cryptography and Data Security
article

FHE ML Tuxedo: A Tailored Wrapper Architecture for Homomorphic Encryption in Machine Learning

Martin Nocker, Pascal Schöttle, Linus Henke
article en

Abstract

Privacy-preserving machine learning (PPML) commonly utilizes fully homomorphic encryption (FHE). Most FHE libraries are implemented in performance-oriented languages like C++, Go, or Rust, which can hinder adoption in Python-based machine learning (ML). Existing FHE library wrappers are typically naive and inefficient for PPML applications. We introduce the Tailored Wrapper Architecture (TWA) to develop efficient Python frontends for PPML using FHE. TWA does not depend on specific ML use cases or FHE libraries. As a proof of concept, we integrate OpenFHE into the HE-MAN compiler and compare its performance to TenSEAL and a naive OpenFHE wrapper. TWA achieves equal or better classification accuracy with comparable latency to TenSEAL and significant latency improvements over the naive wrapper, with speedups of 21 × and 13 × depending on the activation function.

Management Center Innsbruck (AT)
Openalex Percentile: Top 92%
Cryptography and Data Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.