potentialpaper

Scaling Up FHE-Based LLM Inference: Higher Throughput and Longer Inputs

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:37 UTC · de46be5175a0 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "Kpe8fWgGPf"
- }
- ],
- "title": "Scaling Up FHE-Based LLM Inference: Higher Throughput and Longer Inputs",
- "authors": [],
- "abstract": "Fully homomorphic encryption (FHE) enables non-interactive confidential inference of large language models (LLMs), but existing solutions scale poorly: they are limited to small models or to a few input tokens, and activation outliers force high-degree polynomial approximations of non-linear layers.\nWe scale up FHE-based LLM inference in two directions.\nFirst, for fully encrypted prompts, we suppress outliers without retraining via attention-sink prefixes and additional orthogonal rotations, introduce a numerically stable sum-of-squares polynomial evaluation for sparsely packed ciphertexts that speeds up SoftMax, and combine these with fast BLAS-based homomorphic linear algebra whose encoding conversions are mostly fused into bootstrapping.\nSecond, when a long context is public and only the query is sensitive, we process the public prefix in the clear and encrypt only the query; the resulting wide plaintext-ciphertext attention is evaluated without bootstrapping on its wide path, using a depth-1 matrix multiplication and a shallow SoftMax.\nOur implementation, Sylph, runs the prefill of Llama-3.1-8B on a 128-token encrypted prompt in 20s on eight RTX PRO 6000 GPUs, versus 134s for the prior state of the art on eight B200 GPUs (5.8x faster on the same four B200 GPUs), and processes a 4096-token prompt whose last 128 tokens are encrypted in 64s.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "85e60100-d255-4459-9015-f82f1c194e62"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Scaling Up FHE-Based LLM Inference: Higher Throughput and Longer Inputs",
+ "authors": [],
+ "abstract": "Fully homomorphic encryption (FHE) enables non-interactive confidential inference of large language models (LLMs), but existing solutions scale poorly: they are limited to small models or to a few input tokens, and activation outliers force high-degree polynomial approximations of non-linear layers.\nWe scale up FHE-based LLM inference in two directions.\nFirst, for fully encrypted prompts, we suppress outliers without retraining via attention-sink prefixes and additional orthogonal rotations, introduce a numerically stable sum-of-squares polynomial evaluation for sparsely packed ciphertexts that speeds up SoftMax, and combine these with fast BLAS-based homomorphic linear algebra whose encoding conversions are mostly fused into bootstrapping.\nSecond, when a long context is public and only the query is sensitive, we process the public prefix in the clear and encrypt only the query; the resulting wide plaintext-ciphertext attention is evaluated without bootstrapping on its wide path, using a depth-1 matrix multiplication and a shallow SoftMax.\nOur implementation, Sylph, runs the prefill of Llama-3.1-8B on a 128-token encrypted prompt in 20s on eight RTX PRO 6000 GPUs, versus 134s for the prior state of the art on eight B200 GPUs (5.8x faster on the same four B200 GPUs), and processes a 4096-token prompt whose last 128 tokens are encrypted in 64s.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}