← Lab /AI/ML

GELO hides LLM hidden states with per-batch mixing, adding 20-30% latency while stopping known attacks

GELO limits information leakage from accelerator memory and defeats ICA/BSS and anchor-based attacks with modest overhead

AI/ML arXiv 5 Mar 2026 Method Prototype evidence Threat model

Published as “Good-Enough LLM Obfuscation (GELO)”

Why it matters

Enables practical privacy-preserving LLM inference on shared GPUs with modest performance cost, making TEE-accelerator hybrid deployments feasible.

Summary

GELO adds only about 20% latency overhead while preserving exact float32 outputs and matching low-precision baselines, and it defeats a range of ICA/BSS and anchor-based deobfuscation attacks. The protocol works by applying a fresh per-batch random invertible matrix to hidden states before offloading matrix multiplications, then unmixing the result inside a TEE. Overhead grows for very large batches because generating the mixing matrix is O(n3). The evidence is based on experiments with Llama-2 7B on OpenWebText2 and a 10 million-embedding analysis.

What they found 1

  1. GELO preserves exact float32 outputs, matches low-precision baselines, incurs ~20-30% latency overhead, and defeats ICA/BSS attacks.

    “On Llama-2 7B, GELO preserves float32 outputs exactly, closely matches low-precision baselines, offloads the dominant matrix multiplications with about 20-30% latency overhead, and defeats a range of ICA/BSS and anchor-based attacks.”

Caveats 4

  • For large batches (n > 2048), overhead rises as the O(n3) cost of generating the n × n orthogonal matrix A becomes the bottleneck.
  • Integrating GELO into such an engine would require substantial software engineering effort beyond the scope of this study.
  • Side channels originating inside the TEE (fine-grained cache timing, microarchitectural leakage, physical attacks) and availability attacks are out of scope.
  • The TEE should generate and verify well-conditioned A (e.g., enforce κ(A) < 100).

What’s new here 4

  • Uses a per-batch fresh random invertible mixing matrix, eliminating cross-batch statistical attacks.
  • Introduces two defenses-non-orthogonal mixing and high-energy shield vector padding-to mask Gram-matrix leaks.
  • Achieves privacy-preserving offload with only 20-30% latency overhead, far faster than MPC/FHE approaches.
  • Demonstrates practical resistance to anchor-based and general BSS attacks on open-source LLMs.

Threat model stated by the source

Adversarymalicious cloud provider with full, real-time read access to accelerator memory
Capabilityobserve all data transferred to/from the untrusted GPU, read VRAM contents
AssumesTEE provides strong confidentiality and integrity for secrets and computations; Side-channel attacks on the TEE are out of scope; Accelerator-side timing or cache side channels are out of scope