CipherGenome: Homomorphic Inference for Genomic Mixture-of-Experts
Abstract
Genome foundation models are growing into sparse mixture-of-experts (MoE) networks whose expert weights no longer fit on the machines that hold the sequences, yet sending a private genome to rented accelerators exposes it: we show that a single server hosting one expert recovers the input nucleotides with 99.8% top-1 accuracy. We present CipherGenome, a protocol that keeps the embedding, attention and router of a 15.1B-parameter MoE genome model on a trusted thin client and outsources every expert projection, 95.8% of the parameters, to untrusted and possibly colluding GPU servers under module-LWE encryption. The design exploits three structural facts: expert layers are linear between two SwiGLU gates, expert weights are public, and GPU integer tensor cores can evaluate a ciphertext-weight product exactly modulo in a single GEMM. The client evaluates the nonlinearity exactly and re-encrypts with fresh secrets, so no polynomial approximation or bootstrapping is ever needed. On 72 windows from 12 bacterial genomes, encryption adds nats per token of KL divergence (95% CI upper bound ), below a pre-registered non-inferiority margin and indistinguishable from bf16 inference, while the same inversion attack falls to chance level. A reusable public hint cuts end-to-end latency by 3.54 times, wire compression reduces traffic 6.8 times, per-layer padding reduces routing leakage from 54.9% to 8.9% accuracy, and HE-compatible int4 experts remain non-inferior to their plaintext counterparts. Per expert and token, the server-side cost is more than six orders of magnitude below a CKKS baseline.
Create a lesson
Metadata
- Categories
- cs.CR, cs.LG, q-bio.GN
- Comments
- Withdrawn by the authors pending an institutional intellectual property review
Related papers
GenomeOcean Anywhere: Private WebGPU Inference for Genome MoEs
Shared title terminologycs.CRGuang Yang, Fengchen Liu
Assessing Data Leakage Risk in Fine-Tuned LLMs via Membership Inference Attacks
Shared title terminologycs.CRMohamed-Jalal Baim, Léa Deleris, Myriam Tami et al.
AETHON: Deterministic Pre-Inference Defense for LLM Prompt Injection
Shared title terminologycs.CRLeonardo Bruscagini de Lima, Jorge Valverde-Rebaza, Alexandre de Barros Barreto et al.
Copied and Perturbed: A String-Based Likelihood-Ratio Membership Inference Attack on LLM In-Context Table Synthesis
Shared title terminologycs.CRJoshua Ward, Haoyuan Cheng, Yue Zhang et al.
zk-Sable: Per-Client Zero-Knowledge Proofs of Batched, Bit-Exact LLM Inference with Open Weights
Shared title terminologycs.CRTomer Solberg
COAST: Accurate and Efficient Homomorphic Softmax via Anchor Error Cancellation
Shared title terminologycs.CRRui Li, Wenyuan Wu, Weijie Miao