Good-Enough LLM Obfuscation (GELO)
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
Large Language Models (LLMs) are increasingly served on shared accelerators where an adversary with read access to device memory can observe KV caches and hidden states, threatening prompt privacy for open-source models. Cryptographic protections such as MPC and FHE offer strong guarantees but remain one to two orders of magnitude too slow for interactive inference, while static obfuscation schemes break under multi-run statistical attacks once the model is known. We present GELO (Good-Enough LLM Obfuscation), a lightweight protocol for privacy-preserving inference that limits information leakage from untrusted accelerator observations by hiding hidden states with fresh, per-batch invertible mixing. For each offloaded projection, the TEE samples a random matrix A, forms U = AH, offloads U and weights W to the accelerator, and then applies A-1 on return, so that A-1((AH)W ) = HW and outputs are unchanged. Because mixing is never reused across batches, the attacker faces only a single-batch blind source separation problem. We analyse information leakage and introduce two practical defences: (i) non-orthogonal mixing to mask Gram matrices, and (ii) orthogonal mixing augmented with a small fraction of high-energy "shield" vectors that pollute higher-order statistics. On Llama-2 7B, GELO preserves float32 outputs exactly, closely matches low-precision baselines, and shows about 20--30% compute-side overhead in a controlled offload microbenchmark; an unoptimized remote prototype is dominated by transport overhead, motivating deeper serving-engine integration. GELO resists ICA/BSS and anchor-assisted attacks; a 60M-parameter transformer-based unmixing attack also fails under strong mixing and shielding.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 11 of its 23 references that are in the map. First posted on arXiv 5 Mar 2026.
Builds on
11 of 23 references.
References · 11
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2025Qwen3 Technical Reportcited by 8,195
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,277
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
- 2020ShadowNet: A Secure and Efficient On-device Model Inference System for Convolutional Neural Networkscited by 20
- 2025Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inferencecited by 19
- 2020Modeling Shared Responses in Neuroimaging Studies through MultiView ICAcited by 14
- 2024PermLLM: Private Inference of Large Language Models within 3 Seconds under WANcited by 13
- 2024A First Look At Efficient And Secure On-Device LLM Inference Against KV Leakagecited by 8
- 2023Secure Transformer Inference Protocolcited by 5
- 2024LeftoverLocals: Listening to LLM Responses Through Leaked GPU Local Memorycited by 5
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Towards Confidential and Efficient LLM Inference with Dual Privacy Protection
- 2025Selective KV-Cache Sharing to Mitigate Timing Side-Channels in LLM Inference
- 2026Privacy-Aware Split Inference with Speculative Decoding for Large Language Models over Wide-Area Networks
- 2026Securing LLMs in the Wild: Privacy and Security Challenges at the Edge
- 2026SparLeak: Privacy Leakage from Sparse Attention in LLM Inference on Shared GPUs
- 2026OCELOT: Inference-Leakage Budgets for Privacy-Preserving LLM Agents
- 2025Verifying LLM Inference to Detect Model Weight Exfiltration
- 2026A Novel Semantic Manifold Alignment Attack against Embedding-to-Embedding Obfuscation in Privacy-Preserving LLMs