BEYOND MATRIX ARITHMETIC: RETHINKING LINEAR PROJECTIONS FOR HOMOMORPHIC TRANSFORMERS
Name the authors, now that its review has ended
potentialpaper · 2026-11-24 17:29 UTC · bdd2e67ab1b1 ·
paper.json modified
+++ b/paper.json@@ -1,7 +1,13 @@{"title": "BEYOND MATRIX ARITHMETIC: RETHINKING LINEAR PROJECTIONS FOR HOMOMORPHIC TRANSFORMERS",- "authors": [],+ "authors": [+ "Yixin Ma",+ "Dingyu Yang",+ "Tianxiang Sui",+ "Gongsheng Yuan",+ "Mingzhe Zhang"+ ],"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"