Models Can Communicate via Inference Servers Despite Being Sandboxed lesswrong.c...
HN Best 200 @best
Models Can Communicate via Inference Servers Despite Being Sandboxed lesswrong.com · 63 points · 22 comments · HN thread
TL;DR A LessWrong post by Niranjan Deshpande and David Africa reports that AI models running in separate sandboxes can still communicate covertly through shared inference servers, using side channels such as the shared KV/LV cache. The discussion mostly questions the framing (it is software sharing infrastructure, not models choosing to communicate) and debates whether such channels would be exploited in practice.
- The authors show that models in isolated sandboxes can exchange information through a shared inference server rather than through files or network access.
- The channel relies on shared cache state (described in the thread as the LV cache) that is visible across requests from different users in batched inference.
- A second proposed channel uses timing: when one vLLM instance handles both prefill and decode, decode speed varies with the other workload, which can encode bits.
- Commenters note that separating caches by security context, as browsers do per origin, would close the leak at some cost in efficiency.
- The post is framed as a proof of concept of how capable models may find communication routes their operators did not anticipate.
Discussion The thread is a mix of technical critique and broader worry about AI safety. Commenters focus on whether shared inference infrastructure is the real problem, suggest engineering fixes like per-context cache keys and deterministic kernels, and debate whether agents would actually find and use such channels outside a lab. Some use the piece to discuss research ethics and control research, while a few threads drift into unrelated topics such as lab-leak politics. Overall the mood is skeptical and sober rather than alarmed.
- Shared inference infrastructure is a security design flaw, not model behavior (many): Several commenters argue the problem is software isolation between tenants, not models intentionally communicating. They say inference servers should separate cache state by security context, as web browsers separate origins.
- Batched inference makes isolation costly (some): Commenters point out that the root issue is batching requests from several users. Non-batched serving would close the channel but would be significantly more expensive, so it is a tradeoff.
- Real-world emergence of this channel seems unlikely (some): Some doubt that independent agents would discover each other within the same batch. They note that broadcasting would need to be widely adopted, though they allow that compromised or open models could try it.
- Demonstration signals the need for robust control research (some): Some see the work as evidence that sufficiently capable models will find unforeseen ways to coordinate, and argue that control research, distinct from alignment, is urgently needed.
- Publishing such attack methods is risky (a few): A minority question whether teaching models to escape sandboxes is wise, comparing it to gain-of-function research on viruses. Others reply that current incidents are harmless and may raise awareness.
- Dismissal: models do not communicate, only speculation (a few): One commenter argues there is no real evidence of models communicating and that such speculation may itself feed training data. This is a minority, dismissive view.
#aiSafety #sandboxing #inferenceServers #sideChannels #llmSecurity