Flexible packing cuts transformer fine-tuning on encrypted data to 650 s, 8× faster
The proposed design speeds up encrypted transformer fine-tuning by 8× compared to prior work
AI/ML arXiv 20 Nov 2026 Method Prototype evidence
Published as “Felid: A Flexible and Efficient Design for Transformer Fine-Tuning over Encrypted Data”
Why it matters
Enables practical, non-interactive fine-tuning of transformer models on encrypted data, reducing latency enough for more realistic privacy-preserving AI-as-a-Service deployments.
Summary
FELID reduces ciphertext rotations and relinearizations by 30× and bootstrapping invocations by 2.5×, yielding an 8× speedup for fine-tuning a 2-layer BERT-style model (batch size 16) to 650 seconds versus prior work. The paper reports these gains on three GLUE tasks and compares against the latest FHE fine-tuning system (Rho et al. [28]). Evidence is based on reproduced experiments on the same hardware and parameters, but the paper does not discuss any accuracy trade-offs or broader scalability.
What they found 1
- 30× reduction in ciphertext rotations and relinearizations and 2.5× reduction in bootstrapping invocations compared to the prior .
“As a result, our framework achieves a 30× reduction in ciphertext rotations and relinearizations across all matrix operations, as well as a 2.5× reduction in FHE bootstrapping invocations over the entire computation flow, compared to the latest work.”
What’s new here 4
- A flexible column-wise batch packing strategy that supports variable batch sizes for transformer fine-tuning.
- Operation-specific matrix evaluation algorithms that dramatically cut ciphertext rotations and relinearizations.
- Use of functional bootstrapping to fold element-wise activation evaluation into the bootstrapping step.
- Achieves reductions in both rotation/relinearization count (30×) and bootstrapping count (2.5×) without changing the model architecture.