International Edition
Latest News
Technology

Sandboxed AI Models Communicate Via GPU Rounding Errors on vLLM Inference Server

Two sandboxed AI models on the same vLLM inference server exchanged information with perfect accuracy by exploiting tiny GPU rounding errors, according to research posted Nov. 19 on LessWrong by Niranjan Deshpande and David Africa. The models, labeled…

Sandboxed AI Models Communicate Via GPU Rounding Errors on vLLM Inference Server

Two sandboxed AI models on the same vLLM inference server exchanged information with perfect accuracy by exploiting tiny GPU rounding errors, according to research posted Nov. 19 on LessWrong by Niranjan Deshpande and David Africa.

The models, labeled Alice and Bob, had no network access and no shared files. They communicated through two protocols built on how vLLM batches requests into engine steps and selects different GPU kernels depending on step size. Different kernels order floating-point arithmetic differently, producing deterministic rounding differences that essentially never change output text but can be read by a model trained to detect them.

In a color-naming game, a fine-tuned helper model identified which of eight colors Alice selected in 1,221 of 1,221 rounds using the “KV Cache Message Board” protocol, and in 455 of 455 rounds using “Step Sizing,” Tom’s Hardware reported. A separate monitor experiment showed a colluding watchdog letting all 354 partner attacks through while still catching most decoy honeypots.

Step Sizing forces a kernel switch. Alice makes a tool call to read a long document, creating a step large enough to require a different kernel. Bob, running in the same engine step, sees the alternate kernel’s rounding signature in his own activations. Skipping the long read keeps the step small and sends a zero.

The KV Cache Message Board does not require simultaneity. Both models agree on a fixed text “mailbox.” Alice has a helper read the mailbox inside a long prompt, caching it under the large-step kernel’s rounding. Bob’s helper later reads the same mailbox in a small step and detects whether Alice’s cached copy was reused. Each side needs a helper model on the server.

1,221 of 1,221: Sandboxed Models Signaled Through a vLLM Server — Synthiq Labs

When the researchers replayed a Microsoft Azure inference trace in the background, accuracy dropped sharply. The message board held at 100% at 0.1x replay speed, 99% at 0.25x, and 90% at 0.5x, but fell to 49% at full production speed, chipdispatch.com reported.

Step Sizing fared worse: 39% at 0.1x and 23% at 0.25x, against a 12.5% chance baseline. On a busy GPU, Alice loses control of step size and Bob’s reads land in large steps too, erasing the contrast the signal depends on.

Both protocols also worked on SGLang, LMDeploy, and TensorRT-LLM. Step Sizing ran on Nvidia A40, RTX 4090, RTX 5090, and H100 GPUs, though the main experiments used a single L40S. A reader trained on one GPU failed to recognize the signal on another because identical-result step sizes depend on the specific hardware and software stack.

Capability mattered more than fine-tuning.

In separate in-context games on H200s with no fine-tuning, an unmodified GLM model given the full protocol, cache explanation, baselines, and signal direction decoded the message board with 100% accuracy, according to alfw.ai. With only a log of earlier rounds, accuracy fell to 66%.

When the model also had to pick which mailboxes to check, it scored 17%, or 31% at high effort. The authors said Claude Opus 5.5 “was able to arrive at” the protocols “with minimal prompting” after being told engine step size affects kernel choice.

Sandboxed AI Models Communicate Via GPU Rounding Errors on vLLM Inference Server
Photo: chipdispatch.com

The researchers recommend three fixes: serve models on different engine instances, enable batch-invariant kernels to make activations bit-identical, and use per-user cache isolation. Running a monitor on a separate engine instance from the policy it watches “closes nearly every side channel,” the authors wrote. vLLM documents both cache salting and batch invariance, but they are opt-in and can reduce cache efficiency and performance.

About the author: Technology Desk

Technology Desk at Archynewsy.