potentialpaper

Mygo: Cross-Module Co-Design for Compact Non-Interactive Transformer Inference with Fully Homomorphic Encryption

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:08 UTC · 6cbb91764e5f ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "nMolvClcX7"
- }
- ],
- "title": "Mygo: Cross-Module Co-Design for Compact Non-Interactive Transformer Inference with Fully Homomorphic Encryption",
- "authors": [],
- "abstract": "Fully homomorphic encryption (FHE) enables non-interactive secure Transformer inference, but fitting the complete computation into a compact configuration while hiding request shape remains challenging. We present MYGO, which addresses this challenge by co-designing three components under a fixed deployment contract: (i) a compact FHE configuration, using $N=2^{15}$ RNS-CKKS with a common level-4 post-bootstrap interface; (ii) fixed execution for request-shape privacy, designing Standardized Interleaved Batching (SIB) with encrypted validity metadata to hide within-container occupancy and sequence lengths for 1–128 variable-length inputs; and (iii) cross-module numerical compilation, jointly distilling FFN affine layers and cubic activations, selecting site-specific minimax circuits, and folding representation factors into affine maps to avoid separate online scaling operations. MYGO's BERT-base achieves 92.09% plaintext accuracy on SST-2. Its full encrypted graph processes 128 inputs in 2,788 s with 22.37 GiB peak GPU memory on one RTX 5090, taking only 2.1% longer than with one active input. Against a matched $N=2^{16}$ control, evaluation-key payload, post-bootstrap resident GPU memory, and synchronized bootstrapping latency decrease by 50.3%, 35.1%, and 22.9%, respectively. The same configuration executes LLaMA-3-8B's complete first decoder layer with median output MAE of $4.65\\times10^{-4}$ against FP32. These results demonstrate the feasibility of resource-efficient, non-interactive FHE Transformer inference on a single consumer GPU.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "231f8059-7ecd-4e2a-ab96-122ce2be3e9d"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Mygo: Cross-Module Co-Design for Compact Non-Interactive Transformer Inference with Fully Homomorphic Encryption",
+ "authors": [],
+ "abstract": "Fully homomorphic encryption (FHE) enables non-interactive secure Transformer inference, but fitting the complete computation into a compact configuration while hiding request shape remains challenging. We present MYGO, which addresses this challenge by co-designing three components under a fixed deployment contract: (i) a compact FHE configuration, using $N=2^{15}$ RNS-CKKS with a common level-4 post-bootstrap interface; (ii) fixed execution for request-shape privacy, designing Standardized Interleaved Batching (SIB) with encrypted validity metadata to hide within-container occupancy and sequence lengths for 1–128 variable-length inputs; and (iii) cross-module numerical compilation, jointly distilling FFN affine layers and cubic activations, selecting site-specific minimax circuits, and folding representation factors into affine maps to avoid separate online scaling operations. MYGO's BERT-base achieves 92.09% plaintext accuracy on SST-2. Its full encrypted graph processes 128 inputs in 2,788 s with 22.37 GiB peak GPU memory on one RTX 5090, taking only 2.1% longer than with one active input. Against a matched $N=2^{16}$ control, evaluation-key payload, post-bootstrap resident GPU memory, and synchronized bootstrapping latency decrease by 50.3%, 35.1%, and 22.9%, respectively. The same configuration executes LLaMA-3-8B's complete first decoder layer with median output MAE of $4.65\\times10^{-4}$ against FP32. These results demonstrate the feasibility of resource-efficient, non-interactive FHE Transformer inference on a single consumer GPU.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}