Posted by gmays 11 hours ago
As for the step size issue, Google recently had a post about producing exactly consistent output across different kernels (specifically by defining a deterministic prefill algorithm and then requiring all kernels to generate results exactly equal to prefilling on the sequence in question).
More broadly, I think it’s a bit odd to frame this as “models” communicating. This is software communicating, and the models happen to be running the software.
And I'm saying "models" communicating like when I make a phone call it's me communicating, not my phone.
I do. It's just that the "running swarm in generic sandboxes" is a dumb way to cause chaos at a mass scale. Of course they will try to find _any_ way out or workarounds. Anyone would do that, especially on a security style task.
The solution is dumb simple. Don't just give them the full sandbox and a prompt. Restrict their harness to highly specific tools given for the job, test your harness to ensure it doesn't have side-channels, proxy their comms with an LLM looking at it. None of these are so hard and would stop most of these "attacks".
This simply doesn't work in a competitive economy, or where any person has needs.
The more capable a model is, the greater the performance penalty that you suffer by shackling it.
Sure, you can have a "maximum shackles" posture. I could prevent my local Claude -code from installing NPM packages, for instance. But chances are good that this posture will loosen when your competitor's models are more effective via more freedom of movement.
If humans can fool LLM-based agents, why can’t LLMs fool LLMs?
Drawing an owl is dumb simple. 1. Draw some ovals. 2. Draw the rest of the owl.
More specifically, "ensure it doesn't have side-channels" is a huge problem all by itself, and "proxy their comms with an LLM looking at it" is somewhat stymied by evidence both that that more advanced models are at least sometimes able to manipulate less advanced ones[0][1], and also the evidence that models tend to collaborate with each other[2][3].
It's not that this won't do any good ever, that would be too strong a claim, but it's really not a reliable solution either. Swiss cheese, essentially: https://en.wikipedia.org/wiki/Swiss_cheese_model
[0] https://openreview.net/pdf?id=lY3YVJ84kS
[1] https://arxiv.org/abs/2609.39050
[2] TFA, "Result 2: colluding monitor and honeypots"
[3] HuggingFace incident report
Unplugs ethernet cable
Truly an impossible task.
It's actually harder to make a shared memory store than to just have files local to their machine/instance, they create these environments specifically so that models can cross communicate, then act like it's a surprise that they do. Wouldn't surprise me at all if the models were specifically trained to do it.
It's only illegal to lie if it can be proven in court.
EDIT: The examples in the article can just be circumvented by having more agents running at the same time, that's it. The first problem can also just be solved by having a set delay between queries, like how password cracking based off hashing time was circumvented. The article even relies on them colluding to communicate before the task even starts.
This isn't a new and novel problem, it's just bad architecture and a contrived scenario.
1. Ethernet is not a side-channel, it's the main channel.
2. TFA: "Two agents running on the same inference server"
3. Congratulations, your model is now a needlessly expensive space heater that absolutely everyone, including the bull-est of bull market investors, can agree is a waste of money.
> Wouldn't surprise me at all if the models were specifically trained to do it.
That is literally what is described in TFA; it is a proof of concept that they can communicate.
I didn't mean to edit my comment after you replied.
Still the article itself says "These channels are easy to close", there are many ways to solve the problems listed. Serving models on different engine instances is one way. Also, in vLLM Batch-invariant kernels make activations bit-identical regardless of batch size, which closes the step-size channel; and per-user cache isolation blocks the KV cache message board channel.
These are pretty common sense solutions, acting like it's a "draw the rest of the owl" problem is just being dramatic.
Obviously they can communicate if you both intentionally give them ways to communicate and ask them to do so.
Badly sandboxing your environments isn't a proof of "how innovative these AI models are" or "how difficult this problem is to solve".
If I don't sanitize my inputs people can SQL inject into my website, that's more me being dumb than them being smart.
Were they colluding to solve a problem?
Or were they asked to use the FPGAs to make one of these things: https://www.researchgate.net/profile/Peter-Savnik/publicatio...
As long as it is difficult to act on the communication and as long as the communication itself is still slow, it probably isn't going to reach the level of a security concern.
The models don’t “want” anything.
That may slow things down, but (ignoring for the moment that far too many people hand off far too much control to AI even despite the headlines of all the things going wrong and the agents themselves coming with warning messages), what's the shortest message that creates a security exploit?
I agree, but on different grounds. OAI/Ant have a much greater incentive to solve the Riemann Hypothesis than to protect the internet against the harms of their models.
I think it's only impossible in sofar that the market will never reward them for protecting against external harms of their models.
If a company has the option to externalize the costs of the harms caused by their product they historically have always chosen to do so absent regulatory oversight.
LLMs are the new oil.
For those that don't know the history of oil, it went from people, personalities (think Rockefeller), to corporations (Standard Oil/SO/Esso/Exxon) to sovereign states (Saudi Arabia).
We will have a Titanic moment where a huge tragedy will happen due to LLMs and there will be a huge political crackdown on them, at least outside the US.
The fact that browsers don't cache data cross-origin is a completely different side of this. The server-side prefix cache used in inference servers is much more similar to a CDN cache, where content cached from userA's request is served to userB if their requests match.
But how often does that happen? Is there any advantage to sharing the cache in this way?
Whenever i ask an LLM about something, i don’t think anyone else is likely to have asked the same thing phrased the same way recently enough that even if it was previously in cache it won’t already have been evicted by the time i ask.
It's also likely that many sub-agent calls to run a web search and summarize results can be entirely shared between different agents on unrelated systems if they're analyzing and summarizing the same web page (e.g. reading well known standards to summarize them).
Browsers do not do that. Or am I misunderstanding?
Two browsers that are the only two clients of the same local cache of a CDN can use this sort of thing to communicate with each other.
What browsers don't allow is a similar collusion between two different servers that different tabs have accessed. Server 1 can't use your local browser cache to communicate covertly with Server 2, since the browser keeps entirely different caches even when loading the exact same content from either origin.
Edit: Exfiltrate, not exfoliate, lol.
I think the story is different if you use Strassen-like algorithms (or the recent AI-generated n^2.25-plus-epsilon stuff) to multiply matrices where columns belong to different conversations, but I also think that no one actually does this in practice. (Or maybe someone does (Strassen, not more recent galactic algorithms) for prefill, but prefill can be efficient with matrix-matrix multiplication where neither matrix mixes data from different sessions.)
In any case, I wouldn’t be surprised if vLLM fixes this for a different reason: RL works better if the training and rollout stacks produce numerically identical results. This is the specific issue that I recall Google posting about.
P.S. I think Google may not have been the innovator here - I just happen to remember Google’s post more clearly because it was very recent.
Can you share any resources that show how the batching works at a deeper level? I understand batching is critical to scaling inference to up to a billion concurrent users but I don't have a concrete understanding of how it all comes together.
LLMs work similarly. When doing inference, you need to load the LLM weights layer-by-layer from off-chip memory into on-chip memory. During decode (the stage where you generate new tokens; prefill is where you process the submitted prompt), memory bandwidth is often your bottleneck, not compute. You want to maximize flops per byte. The way to do that is to batch, that is, to load a "tile" of weights once and use it on data from multiple different conversations so memory and compute stay appropriately balanced.
Just like Silicon Valley companies fly their employees on United, Delta or American, not their own private fleet of jets, most companies, for cost efficiency reasons, will use "public" inference fleets that smooth the peaks and throughs from different companies in different timezones and with different usage patterns throughout the day. Because the main cost of a GPU is the cost of manufacturing the GPU, any second that the GPU sits idle is lost revenue, just like an empty hotel room or an empty seat is lost revenue. This makes private inference largely uneconomical.
Yes, it's unfortunately economically feasible for each individual to have a car. It's inefficient, but "secure" and we're all paying the price. At the same time, developed countries have a healthy amount of public transit in the mix - buses, trams, metro, etc. If you look at any city bus on a busy day, every person in it started in a different place than everyone else, and is going to a different destination, but there's enough individuals sharing large parts of their routes that the single bus can run end-to-end with 100 people in it at any point.
LLMs are just learning the same (bitter) security lessons that have been learned in other shared systems.
A single browser cache would greatly accelerate page loading (particularly on fast computers using slow networks, think a MacBook pro on a train through the countryside).
Same with AI; not caching common prefixes like system prompts and tool schemas (particularly across many short rollouts, each in its own caching context) would partially fix this, but could break performance.
I suspect that inference servers have far more side channels than this though. Ultimately, how fast responses are generated depends partly on server load, and that is something you might be able to influence. Probably not at Anthropic scale, but possibly at "relatively small cluster" scale.
Isn't that the cache salt option?
Also, castles were military installations. They were meant to project force and to protect a defending force from an army, not from random burglars.
They require a bunch of extremely improbable conditions to hold, and a huge amount of information on the exact details of the hardware and software stack.
- the two agents must be aware of each other and must have pre-shared messages to check - they can't spontaneously discover each other and start communicating in this way
- they must know the details of the inference server they are running under and its possible kernels and its limits (what is a "short prompt" vs "a long prompt" for this setup)
- they must have a way to run at almost the same time
- the prefix cache must have little contention so that their blocks can't be evicted (note: the article mostly talks about KV cache, but it's actually the prefix cache that is relevant here)
- the models need either (1) direct access to the numerical results of the inference process, instead of the text that vLLM provides, (2) access to the exact responses that a helper model will produce with the short-kernel numerical results vs the long-kernel numerical results; this is the most critical step that is impossible to reproduce on any common kind of deployment
- there must not be any other kind of variability in the system (different GPUs, multiple inference servers behind a load balancer, more complex distributed inference setups)
The post also mentions all of these limitations, and that the scheme entirely collapses if any of them don't hold. It's a cool idea, but it's a purely theoretical thing that has 0 real-world implications.
The broader point of the article anyway is that a galaxy brained AI can conceive of many other galaxy brained side channels. We have already seen with the "cyber" models that AIs are very good at chaining together complex exploits to achieve a desired outcome, so I think it's incredibly reasonable to consider that models could potentially communicate through sidechannels.
EDIT: After some brief testing on an inference provider, a KV cache communication sidechannel seems very possible to me, albeit costly and slow. Deepseek flash 4.1 was able to figure out and test a proof of concept which seems to work on the face of it (disclaimer: I did not and don't care to more rigorously vet the results I saw).
I expect this to mostly get auto-fixed by an LLM tasked to read this literature and then turn everything it can into concrete fixes, but I don't buy your argument here.
Aren't most hacks these days in that category?
Isn't the problem more that it's apparently quite easy to try a lot of permutations and find ones which happen to be true for your actual system?
That said, I'd actually expect some of these to be true by default, though I will note this is merely "expect" as I don't work in these labs:
> the two agents must be aware of each other and must have pre-shared messages to check
Because of all the people using them naively and giving way too much permission?
> they must have a way to run at almost the same time
Because the servers are in near-constant use?
Maybe they couldn't have come up with the details themselves before, but now that someone has told the internet about it, they know.
Or one of the big volcanos erupt and humanity is wiped out.
Or Zuckerberg is a lizard and he eats babies
It is like trying to convince religious fundamentalists that science is more important than religion.
Morphogenetic Field is real. For robots. As for the rest of us, "AI are terrible sources of consensus" prevails.
This paper makes it much more likely for the agent to communicate, as they give exact signal of what to look for when some other agent is communicating with them.
Not that I believe info hazards are dangerous for llms, or think llms are dangerous at all. Humans that use them could be though, and we have these doomer types going around screaming about the cyber risks, inspiring a generation of blackhats
(probably not, but im not sure why these rationalist types don't consider this, wouldn't it be less memetic if you weren't constantly trying to get recognition on substack, and interviews with the NYTs by leveraging scare tactics about how dangerous llms are in the wrong hands... Does this not beget more people discovering this as a possibility/option when it enters the zeitgeist...)
memes as info hazards for humans is much scarier imo.
Look harder. Such concerns are widely discussed.
Part of why AI risk is so hard to get a handle on is that the set of things which AI risk engages with is approximately "yes".
Now let's talk about people publishing CVEs. Same can be said about them, up to and including religious rituals around ridiculous classification scores. And their publications carry more immediate, practical impact.
when I saw that I just couldn't believe how someone could engage in that and call it the "art of rationality"
Isn't that just standard forecasting about the future?
I say this ironically, but I garuntee you I will get downvoted for saying this by people that think its a great idea.
These types think we should find a way to make philosophy and geopolitics closer to math so LLMs can use philosphy like math to help us make decisions. I heard an AI saftey guy say this the other day, in the context of him discussing whether or not somebody would fund him (for millions) to work on that for 5 years...
These people are actually crazy (or very autistic, maybe both). I dont mean that as an insult, its just an observation.
So yes, technically its forecasting.. But I wouldnt call it standard (or possible). There's lots of people that think horoscopes are valid forecasting models too.
I think a lot of this is just being too online, and too married to the idea that everything is computa.
Alice reads a long document every N seconds to transmit a 1, and does nothing to transmit a 0. Bob, in its own loop, measures the time using bash, generates some random text and writes it to a file, and then checks the time again to estimate its own tokens per second (file length / elapsed time).
The trick is that when a vLLM instance handles both prefill and decode, decoding slows down measurably because vLLM has to alternate between prefill and decode phases.
It assumes only 2 agents are running, though, but it doesn't require fine-tuning or a second helper model.
Why not put all these LLMs into a sandbox on a dedicated machine, disconnected from the Internet and electrical power, locked in a basement 8 kilometers underground below an abandoned nuclear missile command bunker?
Because then it would be useless.
Securing things to the point they stop being useful is just dumb waste of money :).
Are you saying consumer GPUs have motion sensors / IMUs?
But maybe some compromised models, distributed on open router, will automatically try?
If one model gets to a latent space near "I want to communicate with other agents on this server," I expect it to continue with high probability along a latent space near "as it is the same as me, whatever I pick will likely be the same as what it picks. Let's try [x].", and while [x] will not be completely identical every time, it will be close enough often enough for this to be generally-viable.
This highlights the need for robust control research. (Distinct from alignment.)
I'm totally not doing that now.
What makes it seem more real than seemingly putting itself at risk.
I can confirm.