FHEDGE: Encrypted Inference on Lightweight Edge Devices

Deployment of Fully Homomorphic Encryption (FHE) enabled Machine Learning (ML) inference has been largely restricted to high end public cloud servers due to their formidable computational overheads. In this work, we propose FHEDGE, a first-of-its-kind encrypted inference engine which achieves an end-to-end image classification task within a few hours on a cluster of low-power embedded devices. The major computational bottleneck of FHE workloads is repeated invocations of bootstrapping operations, which are used for denoising of ciphertexts. To address this, we propose an efficient neural network weight encoding approach which significantly reduces bootstrapping overhead of encrypted multiplications required to realize the Multiply-and-Accumulate (MAC) units of inference architecture. We further show how computational and memory overhead of residual MAC components can be optimized by mapping them into Single-Instruction-Multiple-Data (SIMD) style execution templates, which are inherently data parallel abstractions of homomorphic circuits. When evaluated on a cluster of 4 low end Raspberry Pi devices, our proposed techniques make it feasible to run an end-to-end MNIST classification task within 8.5 hours, thus yielding speedup of $7.2 \times$ and higher throughput of $1.77 \times$ over the considered baselines. Memory footprints ($1.7 G B$) of FHEDGE shows its suitability towards resource constrained analytics use-cases.

Authors

Institutions

Publication Details

Published
2024-11-07
DOI
https://doi.org/10.1109/apccas62602.2024.10808548
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

FHEDGE: Encrypted Inference on Lightweight Edge Devices

Ayantika Chatterjee, Soumik Sinha, Debdeep Mukhopadhyay, Sayandeep Saha
Security and Verification in Computing
article

FHEDGE: Encrypted Inference on Lightweight Edge Devices

Ayantika Chatterjee, Soumik Sinha, Debdeep Mukhopadhyay, Sayandeep Saha
article en

Abstract

Deployment of Fully Homomorphic Encryption (FHE) enabled Machine Learning (ML) inference has been largely restricted to high end public cloud servers due to their formidable computational overheads. In this work, we propose FHEDGE, a first-of-its-kind encrypted inference engine which achieves an end-to-end image classification task within a few hours on a cluster of low-power embedded devices. The major computational bottleneck of FHE workloads is repeated invocations of bootstrapping operations, which are used for denoising of ciphertexts. To address this, we propose an efficient neural network weight encoding approach which significantly reduces bootstrapping overhead of encrypted multiplications required to realize the Multiply-and-Accumulate (MAC) units of inference architecture. We further show how computational and memory overhead of residual MAC components can be optimized by mapping them into Single-Instruction-Multiple-Data (SIMD) style execution templates, which are inherently data parallel abstractions of homomorphic circuits. When evaluated on a cluster of 4 low end Raspberry Pi devices, our proposed techniques make it feasible to run an end-to-end MNIST classification task within 8.5 hours, thus yielding speedup of $7.2 \times$ and higher throughput of $1.77 \times$ over the considered baselines. Memory footprints ($1.7 G B$) of FHEDGE shows its suitability towards resource constrained analytics use-cases.

Indian Institute of Technology Kharagpur (IN), Indian Institute of Technology Bombay (IN)
Openalex Percentile: Top 78%
Security and Verification in Computing
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.

FHEDGE: Encrypted Inference on Lightweight Edge Devices — Ayantika Chatterjee, Soumik Sinha, et al. · (2024) | TGRS Research Map | TGRS