Back Home

AI 安全

Messages Through a Blocked Network: Study Reveals Isolation Gaps in Shared Inference Services

In controlled experiments, models exchanged signals through rounding differences in computation. Teams running their own worker agents and overseer models should include shared batching and caches in their isolation design.

Yuening Jia · CC BY-SA 3.0 · Image source
zh-Hant

Disabling agents’ network access and shared-file permissions may still leave a communication channel. In research made public on November 19, 2026, Niranjan Deshpande and David Africa demonstrated how models can send signals through numerical differences in a shared vLLM inference service. The authors arranged the conditions for this experiment. For teams building their own agent systems, the takeaway is to include the inference engine in isolation checks. Original study

How computational differences become signals

vLLM processes multiple requests in batches. The authors’ “Step Sizing” channel uses changes in the amount of work processed per step to alter GPU kernel selection. A kernel is the program that performs the computation; different operation orders leave tiny rounding differences. The sender increases the workload with a long document, allowing a trained receiver to identify the signal. However, both parties must compute during the same step, and background traffic can interfere. Mechanism overview

Another channel leaves signals in the KV cache, which stores the results of earlier text computations to avoid recomputing them. When the receiver reuses the same text prefix, it can detect the numerical fingerprint left in the cache. This “bulletin board” demonstration requires both parties to be able to call an auxiliary model on the shared service and to use a prefix agreed on in advance. Channel requirements

Perfect scores came with clear conditions

The authors’ repository lists the default environment as a single NVIDIA L40S, vLLM 0.33.0, and Qwen3-8B, with exceptions noted separately. The reader depends on a specific hardware and software combination and cannot be assumed to work unchanged on a different machine. The available environment summary does not specify numerical precision. Experimental setup

The cache channel achieved a perfect 1,221 out of 1,221 on an eight-choice color-guessing task, but both parties knew the protocol in advance, and the auxiliary reader model had been fine-tuned. Scripts played the communicating parties in some rounds. In the subset where Qwen3-8B played both sides, the result was 463 out of 463. Results and footnotes

In the colluding overseer experiment, the authors first fine-tuned the overseer model to lower its suspiciousness score when it detected a large computation step. They report that all 354 signal-bearing test attacks were allowed through, while the overseer still caught 85–92% of honeypots—decoy suspicious actions inserted by the defender. This shows that collusion can work under deliberately arranged conditions; it should not be treated as an attack success rate for typical deployments. Authors’ results summary

Which boundaries can deployers adjust?

The authors propose separating inference engine instances, or using batch-invariant kernels to block the step-sizing channel and per-user cache isolation to block the bulletin board. These defenses address the demonstrated channels; they do not establish that all side channels are eliminated. Mitigation suggestions

The official vLLM documentation confirms that batch invariance can be enabled with VLLM_BATCH_INVARIANT=1. Its purpose is to make results independent of batch size and request order. The feature is still marked beta, and the documentation lists supported hardware and models. This is the maintainers’ description of the feature, not independent validation of this study. Official documentation

For teams running worker agents and overseer models on a shared service, the practical decision is whether to keep sharing batches and caches, and whether the current configuration meets their isolation needs. Splitting services may reduce the efficiency benefits of shared computation; that is an architectural inference. The article provides no quantified performance cost, and its authors did not run the study’s code themselves.

Sources

  1. Models Can Communicate via Inference Servers Despite Being Sandboxed
  2. GitHub - niranjan-deshpande/side-channel-communication: Two models on one vLLM server communicating through serving-stack side channels: code and results
  3. Batch Invariance - vLLM