# Rosemary: Efficient and Adaptable In-Storage Acceleration for Fully Homomorphic Encryption

DevFeed: [Rosemary: Efficient and Adaptable In-Storage Acceleration for Fully Homomorphic Encryption](<https://devfeed.tech/articles/rosemary-efficient-and-adaptable-in-storage-acceleration-for-fully-homomorphic-encryption-109035.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.38262>)

Author: Xuan Wang, Tianqi Zhang, Gabrielle De Micheli, Yujin Nam, Keming Fan, Augusto Vega, Minxuan Zhou, Tajana Rosing

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [FHE](<https://devfeed.tech/topics/fhe.md>), [homomorphic encryption](<https://devfeed.tech/topics/homomorphic-encryption.md>)

Tags: [acceleration](<https://devfeed.tech/tags/acceleration.md>), [accelerators](<https://devfeed.tech/tags/accelerators.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [compute](<https://devfeed.tech/tags/compute.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cs-ar](<https://devfeed.tech/tags/cs-ar.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [data-movement](<https://devfeed.tech/tags/data-movement.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [delay](<https://devfeed.tech/tags/delay.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [encrypted](<https://devfeed.tech/tags/encrypted.md>), [energy](<https://devfeed.tech/tags/energy.md>), [engine](<https://devfeed.tech/tags/engine.md>), [execution](<https://devfeed.tech/tags/execution.md>), [exploits](<https://devfeed.tech/tags/exploits.md>), [fhe](<https://devfeed.tech/tags/fhe.md>), [flash](<https://devfeed.tech/tags/flash.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [storage](<https://devfeed.tech/tags/storage.md>)

## AI overview

Rosemary targets storage I/O, which the authors report consumes 71%-85% of execution time in state-of-the-art FHE systems. It combines a hardware-aware FHE engine inside a NAND flash SSD with a Throughput-Data-Aware Program Allocator (TDAP) that partitions workloads across heterogeneous programs and a Compiler-Level Ciphertext-Aware Optimizer (CLCAO) that selects ISP-friendly kernels. Across workloads including encrypted deep learning inference and cloud database queries, the abstract reports geometric-mean speedups of 185.7x over CPU/GPU implementations and 3.7x over prior FHE accelerators, plus up to 3.9x better energy efficiency and 16.5x better Energy-Delay-Area-Product. These are abstract-level reported results; no evaluation details are supplied here.

## Source excerpt

arXiv:2610.38262v1 Announce Type: new Abstract: Fully Homomorphic Encryption (FHE) enables computation on encrypted data and is promising for privacy-preserving computing. However, FHE deployment remains constrained due to massive computational, memory, and data-movement overheads. Existing acceleration strategies often overlook the storage I/O bottleneck caused by the enormous size of FHE data in large-scale applications, as most prior works focus on small benchmarks that fit in main memory. Our studies show that state-of-the-art FHE systems spend 71\% to 85\% of their execution time moving data between storage and compute units rather than performing useful computation. To address the I/O bottleneck, we present Rosemary, a heterogeneous FHE acceleration system that incorporates a novel in-storage processing (ISP) architecture with compiler-level and algorithmic optimizations. Our key innovations include 1) an adaptable hardware-aware FHE engine inside a NAND flash-based solid-state drive (SSD) for efficient and cost-effective in-storage FHE processing, 2) a Throughput-Data-Aware Program Allocator (TDAP) that partitions FHE workloads into heterogeneous programs, and 3) a Compiler-Level Ciphertext-Aware Optimizer (CLCAO) that exploits ISP-friendly FHE kernels for low-cost ISP execution. Across a diverse set of FHE workloads, including encrypted deep learning inference and cloud database queries, Rosemary achieves geometric-mean speedups of $185.7\times$ over state-of-the-art CPU/GPU implementations and $3.7\times$ over prior FHE accelerators, while improving energy efficiency by up to $3.9\times$ and Energy-Delay-Area-Product (EDAP) by up to $16.5\times$.