BEYOND MATRIX ARITHMETIC: RETHINKING LINEAR PROJECTIONS FOR HOMOMORPHIC TRANSFORMERS
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:01 UTC · 5ff6981df7dc ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "13fD1GifyB"- }- ],- "title": "BEYOND MATRIX ARITHMETIC: RETHINKING LINEAR PROJECTIONS FOR HOMOMORPHIC TRANSFORMERS",- "authors": [],- "abstract": "Fully homomorphic encryption (FHE) enables Transformer inference on en-\ncrypted data, but its high execution cost limits practical deployment. Existing\nsystems optimize packed computation, GPU kernels, and encoded-weight stor-\nage, yet weight preparation remains costly when projection layouts require many\nencoded operands and redundant expansion. Limited GPU memory further leads\nto repeated encoding when prepared weights cannot be retained across calls. Mo-\ntivated by profiling that reveals substantial weight-preparation costs, we rethink\nlinear projection execution in GPU CKKS by jointly organizing layouts, prepa-\nration, and retention. Phase-specific plans avoid full-slot weight expansion dur-\ning prefill and reduce encoded operand counts through rectangular vector–matrix\ncomputation during decode, while preserving compatibility with adjacent oper-\nators. We separate cross-call retention from current-batch execution: selected\ncomplete projection weight sets remain cached, while other weights are prepared\nin temporary batches without evicting retained sets. Cached and newly prepared\nweights share a batched accumulation kernel that directly consumes compact en-\ncoded operands. On Llama-3-8B with an A100 GPU, 128-token first-layer prefill\nlatency decreases from 1099.3 to 303.7 s, a 72.4% reduction. Across the first\nthree layers at 129 keys, average decode latency is 16.0 s per layer, compared\nwith 65.8 s for a same-backend Cachemir-style integration, including required in-\nterface adaptations. Together with component ablations, these results show that\nreducing weight preparation and preserving encoded-weight reuse are effective\ncomplements to optimizing encrypted arithmetic.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "c0a56267-62fd-4164-abf9-a585efcb62bb"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "BEYOND MATRIX ARITHMETIC: RETHINKING LINEAR PROJECTIONS FOR HOMOMORPHIC TRANSFORMERS",+ "authors": [],+ "abstract": "Fully homomorphic encryption (FHE) enables Transformer inference on en-\ncrypted data, but its high execution cost limits practical deployment. Existing\nsystems optimize packed computation, GPU kernels, and encoded-weight stor-\nage, yet weight preparation remains costly when projection layouts require many\nencoded operands and redundant expansion. Limited GPU memory further leads\nto repeated encoding when prepared weights cannot be retained across calls. Mo-\ntivated by profiling that reveals substantial weight-preparation costs, we rethink\nlinear projection execution in GPU CKKS by jointly organizing layouts, prepa-\nration, and retention. Phase-specific plans avoid full-slot weight expansion dur-\ning prefill and reduce encoded operand counts through rectangular vector–matrix\ncomputation during decode, while preserving compatibility with adjacent oper-\nators. We separate cross-call retention from current-batch execution: selected\ncomplete projection weight sets remain cached, while other weights are prepared\nin temporary batches without evicting retained sets. Cached and newly prepared\nweights share a batched accumulation kernel that directly consumes compact en-\ncoded operands. On Llama-3-8B with an A100 GPU, 128-token first-layer prefill\nlatency decreases from 1099.3 to 303.7 s, a 72.4% reduction. Across the first\nthree layers at 129 keys, average decode latency is 16.0 s per layer, compared\nwith 65.8 s for a same-backend Cachemir-style integration, including required in-\nterface adaptations. Together with component ablations, these results show that\nreducing weight preparation and preserving encoded-weight reuse are effective\ncomplements to optimizing encrypted arithmetic.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}