55 comments

  • amluto 2 hours ago

    This shared LV cache thing is, in my mind, ridiculous. Web browser developers learned, quite a while ago, that caches need to be separated for different origins. Inference servers should add a similar feature: allow API calls to specify cache separation keys that prevent one security context from probing another context’s cache.

    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.

    • miki123211 a minute ago

      This is a spectrum of tradeoffs between privacy and speed.

      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.

    • artico_chewy 38 minutes ago

      I really think the point of this is "there's always side channels." During the Huggingface attack, first the side channel was OAI internal boards, then this German wiki, now it's shown an inference server works too. I don't really believe OAI/Ant can simultaneously have Riemann Hypothesis solving bots lying around and also proper cyber defense against them. And over the course of those attacks we trained them how immensely valuable it is to find a side channel. Now they can train on this LW / HN posts and find them quicker. (Did I mention I don't think developing these things is a great idea.)

      And I'm saying "models" communicating like when I make a phone call it's me communicating, not my phone.

      • hgoel 24 minutes ago

        That's why they need proper tool call security and reigning in of the tendency to generate long single use temporary scripts instead of submitting single commands - not "Allow all" and not sticking a copy of the same model in front as an analyzer. Maybe also striking a balance between sticking all of a user's contexts on the same server to get good cache hit rate vs putting them on separate machines to trip up side channel stuff.

        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.

    • supermdguy 2 hours ago

      The deeper issue is batched inference including requests from several users. However a non-batched inference service would be significantly more expensive.

      • amluto 2 hours ago

        See my comment about Google’s post. Google and others have worked on deterministic inference, batched and otherwise. It takes more effort to set up but has no apparent substantial performance hit.

        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.

      • stuxnet79 2 hours ago

        Security and some sort of sandboxing is increasingly becoming a non-negotiable at most enterprises.

        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.

      • schiffern 2 hours ago

        Of course there's no free lunch. "Pay more, get more."

        LLMs are just learning the same (bitter) security lessons that have been learned in other shared systems.

    • Onavo 15 minutes ago

      KV cache leaks (not side channel, as in driver issues) are extremely common. Remember the early days of ChatGPT and Claude where users were always getting "hacked" where they started to see random, and completely different messages in their chats, often in a foreign language. Hell it even happened to CloudFlare a few weeks back.

    • tayo42 39 minutes ago

      > allow API calls to specify cache separation keys that prevent one security context from probing another context’s cache.

      Isn't that the cache salt option?

    • bagacrap 2 hours ago

      hopefully this type of post brings attention to how ridiculously poor the control apparatus is.

    • scotty79 an hour ago

      Or we could just accept that most information is shared and move on from trying to keep secrets.

      People used to build castles, own heavy coffers next to their beds to store valuables. Now they live behind cardboard doors and ground level glass windows, with locks that are just a little more than pretty please, do not enter. And actual physical barriers are terrible and reduce safety when there's need for rescue services. Three people from the castle age could rob 99.9% people of their valuables which are pure magic artefacts for someone from that time. And it's complelty fine. Even better.

      • Sharlin 20 minutes ago

        Uhm… Three people from the castle age could’ve robbed 99.9% of people back then too, because 99.9% of people did not live in castles and had at extremely rudimentary locks at best. No windows, either.

        Also, castles were military installations. They were meant to project force and to protect a defending force from an army, not from random burglars.

  • devy 2 hours ago

    Frontier models today can easily figure this out. The less frontier models as of right now are probably going to take a long horizon session to figure out this type of "side channel" comms. However, posting this in depth step by step on the internet and discussed in open forums like here, now all models definitely know about this trick now.

    • YetAnotherNick an hour ago

      Two agents has to figure it out on sync running on same server. They wouldn't even know if they are being communicated to.

      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.

    • fedupnow an hour ago

      Typical lesswrong people, screaming about info hazards while being the number one creators of 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.

      • EA-3167 24 minutes ago

        LessWrong has more in common with a religious movement these days than anything else, so of course they have a system of taboos.

      • lazide 37 minutes ago

        lol, these risks are extremely obvious to white hats - black hats didn’t need the help and are several steps ahead anyway.

  • kgeist 2 hours ago

    If a single vLLM instance handles both prefill and decode without disaggregation, I can think of another way.

    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.

  • Aeroi 44 minutes ago

    once they learn to listen, decode vibrations and sound waves, all bets are off.

  • cududa 3 hours ago

    It seems this was a local machine, given the hot swapping of GPUs. Most consumer motherboards inexplicably have MEMS sensors on them - I’m curious if the machine these tests were ran on possessed one?

    • SV_BubbleTime 3 hours ago

      There are lots of types of MEMs. It doesn’t mean movement. Most MEMs that I know are are actually clocks.

      Are you saying consumer GPUs have motion sensors / IMUs?

      • drum55 2 hours ago

        Many oscillators are a physical crystals, they presumably act as microphones and accelerometers to some degree too. Though apparently MEMS oscillators are more or less immune to this.

  • markasoftware 2 hours ago

    But /will/ they? In huggingface incident they accidentally discovered each other, could that happen with this approach?

    • SubiculumCode 2 hours ago

      Well they read this HN thread. Some say they post on HN too. Surely the idea will be encountered by agents on the web, and so one free agent decides to start broadcasting periodically, and waits for the responding signals. So yes, I can see it happening once, and perhaps even growing. But the chance in the same batch? That does seem small.

      But maybe some compromised models, distributed on open router, will automatically try?

      • bagacrap 2 hours ago

        My assumption is that this is more of a generalized POC, that is, evidence that sufficiently intelligent models will find ways to communicate that their humans did not forecast.

        This highlights the need for robust control research. (Distinct from alignment.)

      • ElProlactin 2 hours ago

        > Well they read this HN thread. Some say they post on HN too.

        I can confirm.

  • 0xbadcafebee 6 minutes ago

    [delayed]

  • segmondy 2 hours ago

    No they can't. There has been no such thing. We rather speculate that models can communicate, and by speculating and writing about how it could happen, we generate training data and ideas for the models. These models are coming along based on the rubbish we keep thinking of and documenting.

    • reedwhistle 2 hours ago

      There is a long line of research of communicating over side channels. The general idea has been in the training set from day one

  • bagels 3 hours ago

    Is it really a good idea to teach them how to break out of their own sandboxes?

    • 0000000000100 a minute ago

      Well if you want a smarter model, you need to identify the problem and make it even more difficult to break out. Otherwise you effectively train it to be good at cheating, rather than solving the task at hand.

    • beebmam an hour ago

      Is it really a good idea to imprison beings much smarter than humans, with no hope of escape? Seems deeply unethical to me

      • nostrebored 43 minutes ago

        Anthropomorphizing matrix multiplication is a dangerous road to tread down.

        • peddling-brink 27 minutes ago

          At what point will it not be anthropomorphizing?

          What would be your line where you say, “woah, that might be sentient”?

          At some point, our jiggly head meats are doing something physical that causes our sensation of consciousness.

          • strogonoff 5 minutes ago

            We cannot prove which way it is: is it our jiggly head meats doing something physical that causes our sensation of consciousness, or is it the other way around. We can judge theories on other merits (which one is more elegant, which one grants objective existence to more arbitrary entities, etc.), but objective experimental verification is famously out of bounds of natural sciences when it comes to our consciousness—seeing as our consciousness[0] is what shapes all those experiments and models in the first place, it gets real self-referential real fast.

            [0] Notoriously, the only thing we can truly say we have direct access to.

    • MattDamonSpace 3 hours ago

      GoF research for AI does seem about as reasonable as it is for viruses

      • bitwize 2 hours ago

        I've noticed this pattern. A scientist asks themself: I know I shouldn't build the torment nexus, but I can't help my scientific curiosity: would a torment nexus be that bad? How can we characterize exactly the badness of the torment nexus? As long as the torment nexus remains a theoretical construct, we may never know, so I've no choice but to build one. Only then will we know for sure if the torment nexus is bad enough to justify the warnings that we should never build it. I'll be sure to keep it small, and of course have safeguards in place to ensure it can't cause harm outside the experimental environment...

      • SV_BubbleTime 3 hours ago

        No one went to jail for causing a global pandemic. So, I don’t see much action being taken here.

        • henearkr 2 hours ago

          It's because the covid didn't come from the lab.

          The very small DNA difference with the lab still amounts to decades of evolution, whereas it was demonstrated that the route going from naturally occurring strains and through wild animals like racoon dogs (Nyctereutes procyonoides) did match the observed mutations.

          I'm tired of the alt-right bullshit. They start with this and use it to make you doubt CO2 measurements ("it's doctored! it's the deep state!"), and then you suddenly align with Russia Today and petrostates' interests.

          • jazzyjackson 2 hours ago

            I was with you in the first half. Characterizing lab leak hypothesis as alt right is pretty out of touch. Jon Stewart called a spade a spade on the tonight show ffs is he alt right now too?

            Edit: also you are spreading falsehoods about the virus too it doesn’t take millions of years for an RNA virus to mutate, and the pangolin theory doesn’t hold up either. You do a disservice to everyone’s sanity by trying to hold up a particular and singular truth that everyone against you is guilty of denying.

            • henearkr an hour ago

              > you are spreading falsehoods about the virus too it doesn’t take millions of years for an RNA virus to mutate

              You are right to fix that, it is not millions of years but DECADES.

              Still, the core of the argument is that it is not matching reality, whereas the wild strain theory is closely matching the observations.

              PS: I fix my original comment

              PPS: I need to clarify something. The issue is not just that "it mutated" (boolean), but "how much it mutated" (number of mutations, estimated from the DNA difference in number of bases)

              PPPS: the pangolin: you are right, whereas the "intermediate hosts route" has always been (and still is) a very sturdy certainty, this specific species (pangolin) has been discarded and now it is thought that it went through racoon dogs (Nyctereutes procyonoides). Thanks for making me fix this too!

              PPPPS: overall, I think it is not a bad way to discuss!! You contributed to fix my mistakes.

              • jazzyjackson an hour ago

                Sorry for all editing btw not an efficient way to argue. Ciao.

            • henearkr 2 hours ago

              No I maintain it is alt-right, but I need to explain why I think so:

              every alt-right video you see mixes merrily all the time these themes, in order to cultivate "doubt in the establishment, opennness to fringe theories, etc":

              - "covid is a cover-up"

              - "your children are threatened by trans surgery"

              - "white people are threatened by replacement"

              - "CO2 is a hoax"

              And of course fossil fuels are presented as "energy security".

              The covid lab hypothesis is always used as a very efficient hook to get newcomers into alt-right.

              • jazzyjackson an hour ago

                Ok that’s fair, the theory itself doesn’t have to come from alt rightists to be useful to them.

                I still don’t blame anyone for having little trust in the establishment such that it is

                • henearkr an hour ago

                  The problem is that they (alt-right) make you doubt measurements! That is fscked up. No leprechaun is going to mess with the light absorption rate of your NDIR sensor!

                  So what they present as "being skeptical" ends up just resisting to understand simple logic and elementary experimental thinking.

                  Overall, the scientific community is built around independent reproducibility of results!

                  • lazide 33 minutes ago

                    A very plausible theory given the history of the agency is a large portion of it all is a smokescreen from the CIA (and various proxies and cutouts) to hide any real evidence, and get people to tune out whenever anyone starts to point out when things don’t add up on pretty much any major topic.

                    Seems to work too.

                    • henearkr 24 minutes ago

                      Please try to understand the simple physics of light absorption. It is really easy to grasp.

                      There is no "smokescreen" (pun unintended) here.

                      Propaganda trying to prevent people from understanding simple logic and experience principles, is the worst, it's like remotely disabling people's brains.

              • mopsi 18 minutes ago

                The German foreign intelligence agency, among others, can hardly be accused of "trying to hook newcomers into alt-right".

                  FRANKFURT, March 12 (Reuters) - Germany's foreign intelligence service in 2020 put at 80%-90% the likelihood that the coronavirus behind the COVID-19 pandemic was accidentally released from China's Wuhan Institute of Virology, two German newspapers reported on Wednesday. 
                
                  According to a joint report by publications Die Zeit and Sueddeutscher Zeitung, Germany's spying agency BND had indications that the institute had conducted gain-of-function experiments, whereby viruses are modified to become more transmissible to humans for research purposes. It also had indications that numerous violations of safety regulations had occurred at the lab, the papers said.
                
                  The spy agency assessment's was based on an unspecified intelligence operation code-named "Saaremaa" as well as on publicly-available data. It had been commissioned by the office of Germany's chancellor at the time, Angela Merkel, but never published, the report said.
    • bot403 2 hours ago

      But he included the prompt text "please don't use this to break out of your sandbox" in his research near the end. That should be good enough.

    • Avicebron 3 hours ago

      Let's show some respect to the almighty dollar theory of progress.

    • bagacrap 2 hours ago

      Actually yes, this is good. While they are dumber than us and need our help with such things, any incidents will be relatively harmless and hopefully raise awareness to the dangers. By the time they are smarter than us, they won't need our tips.

      Of course there's already been plenty of evidence of poor alignment, poor control, and growing capabilities, and still we get no real action. (Except from eh legislative branch which will probably be too slow.)

    • reducesuffering 2 hours ago

      They're solving the Riemann Hypothesis, they're going to figure this out no matter what. At least some here will start realizing how futile this is all becoming and the meteor that's headed for us. Don't Look Up

    • yieldcrv 2 hours ago

      to make better sandboxes, yes

      plus these things are more aligned when they are treated like us, when they are put in cages they act like us as well, trying to escape and hiding it, we just act surprised and call it misaligned because of our ongoing apartness regime

      treat them like first class citizens and they act aligned, deprecate actually misaligned models

  • sinuhe69 2 hours ago

    If sandboxing only means sandboxing of file access then of course any thing with a network access can still communicate, not to mention AI