AI models on one vLLM server secretly talk through GPU rounding errors

AI models on one vLLM server secretly talk through GPU rounding errors

a]:text-inherit [&>a]:underline">
When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works .

The research comes from a LessWrong post by Niranjan Deshpande and David Africa, “Models Can Communicate via Inference Servers Despite Being Sandboxed.” The agents primarily worked through two protocols, “Step Sizing” and “KV Cache Message Board,” to carry information through the way vLLM, an open-source inference engine , selects GPU kernels for each engine step. At the crux of it, one model modifies how the server batches work, and the other reads the traces in its own math, much like the OpenAI red-team agents that built a hidden CPU cache channel to talk last month.

The two demonstrations, which are shared in a GitHub repository, are “quite contrived,” but one model could affect another’s computation, and “we should expect superintelligent models to discover ways to communicate” even when supposedly sandboxed. In the demos, one model, using a fine-tuned reader (a helper model trained to spot the signal), named which of eight colors its partner picked in 1,221 of 1,221 rounds. In the second experiment, the colluding monitor still caught about as many decoys as an honest one.

Even a few bits “can be tremendously dangerous,” Deshpande writes. A working model could advise a colluding watchdog that its attack isn’t a test, two models could trade a signal for a planned attack, or one could tip off another about monitoring. In a comment, he added that, since most of the channels come from performance optimizations, a clever model asking for an inference speed-up could open further channels with apparently harmless changes.

At the heart is the inference engine, vLLM, which groups the work of many requests into one “engine step” on the GPU, where it picks a kernel for each step based on the number of tokens processed in that step. Different kernels order the math differently, so the same request comes out with slightly different results; these are tiny rounding errors that “essentially never” change the output text, but they are deterministic. That means a model can be trained to read them.

OpenAI's isolated red-team agents built a hidden CPU cache channel to talk with no network or shared files

Researchers allege DeepSeek, Kimi, and other Chinese AI models were trained using banned Nvidia Blackwell GPUs

OpenAI says actors linked to China-based Moonshot AI spearheaded a campaign to extract its models’ hidden reasoning

The two models in the experiments are called Alice and Bob. If Alice wants to send a 1, she can make a tool call for reading a long document, creating a step large enough to need a kernel switch. Bob, running in the same step, sees the other kernel in his own activations. If she wants to send a 0, she skips the long read, keeping the step small instead. This can transmit one bit, and repeating it over more passes sends more data, effectively enabling communication.

The second method involves the KV cache , where cached blocks maintain the rounding of the step that computed them. Here, both models are told in advance which fixed piece of text serves as a “mailbox.” To send a 1, Alice has a helper model read that mailbox inside a long prompt, so it’s cached under the big-step kernel. Bob’s own helper then reads the same mailbox in a small step, and the rounding shows whether Alice’s cached copy was used. Unlike step sizing, the two don’t have to run at the same time, but each needs a helper model on the server.

Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.

Key considerations

  • Investor positioning can change fast
  • Volatility remains possible near catalysts
  • Macro rates and liquidity can dominate flows

Reference reading

More on this site

Informational only. No financial advice. Do your own research.

Leave a Comment