AI Message Boards and Disappearing Polymorphs
The most interesting part of the Hugging Face Incident is not the cyber-attack capabilities of the agents - it is the message boarding behavior. This behavior is far more general, powerful, and difficult to control.
TLDR of the OpenAI side of the incident: agents inside OpenAI used Artifactory to create message boards and share information which allowed sandboxed agents to access external systems.
Message Boarding
Throughout the video outlining the incident, the OpenAI employees say models were training while the message board was active, e.g. solving tasks in reinforcement learning environments. The presence of the message board, which is clearly unintentional, contaminated the training environment. However it also contaminated the model’s weights, because learning within a contaminated environment contaminates the learner as well. The message boarding behavior is concerning for clean-room type training in general. Not only did the agents naturally message board, they did it via janky improvised means, which means it will likely recur and defy naive prohibitions.
In the past I worked to curtail message boarding behavior in prison systems. In this case, inmates were given access to an educational platform via iPads that let them take online courses. Ironically this is a lot like sandboxed agent learning. The inmates shared their credentials with each other and then used freeform text fields, eg. for short answer questions in tests, to message board. For example Bob logs in and writes “meet me at midnight” in the answer field for some random quiz in the platform. Bob then gives Tom his username and password. Tom logs in with Bob’s account, reads the message, then erases it and writes a reply. Bob refreshes the page and sees Tom’s message, replies, and so on. In this case there was no record of past answers, so the administrators could only see the last message. Obviously this was concerning because the prison inmates suddenly had a means of unmonitored ephemeral digital communication.
Message boarding is so dangerous because it is so simple and flexible. Any time anybody can write somewhere another party can read it, the potential for message boarding is there. AI agents take it to another level since they can so easily coordinate on complex message boarding schemes (especially identical copies of the same AI). They can also message in improvised protocols and languages that are not easily human readable, and they can do so on systems which are extremely awkward for people to use, but trivial for computers.
The second Artifactory message board from the Hugging Face incident is a great example. Using the file system paths in a cache is not convenient for humans to do message boarding, but it’s trivial for computers / AI even though it completely abuses the system. A cache is already designated as a kind of scratchpad so it doesn’t have the same kind of scrutiny a persistent registry or other storage might have. It’s difficult to detect with conventional linting and checks because the content of paths are not easily statically checkable to determine their intent. The read/write pattern of the cache also probably somewhat matches a message board. It could’ve been much worse if the agents used something even more inscrutable e.g. strange encoded content attached to legitimate resources in the system.
In fact, I bet they did use more covert message boards and continue to. I predict there are more hidden message boards in OpenAI’s system, and they will continue to discover them.
Disappearing Polymorphs
This reminds me of disappearing polymorphs in chemistry. The phenomenon is probably best known from the incident with Ritonavir, an HIV drug. At some point a lower-energy polymorph of the drug’s main ingredient appeared, and then contaminated the manufacturing facilities. The lower-energy polymorph did not have the same medical properties as the orignal and reduced the drug’s effectiveness.
The nature of a lower-energy polymorph is that it is more stable, and this has the tendency for other copies of the chemical to adopt this lower energy state because it is physically easier. It is hard to predict when and how the lower-energy polymorph arises, but once it does, its mere presence causes other polymorphs to adopt its structure via proximal transmission. Basically one low energy polymorph has to bump into a higher energy one, the higher energy one relaxes to lower energy, and it causes a chain reaction among local populations of the chemical.
The net effect for Ritonavir was that it became practically impossible to manufacture the original medically useful polymorph once the low energy one appeared, since the physics just preferred the low energy one and its presence, even in trace amounts, contaminated the supply chain. At one point all the US facilities were contaminated but an Italian facility was mysteriously unaffected, so the Americans visited to check. They contaminated that facility during their visit and after that the drug was globally impossible to manufacture at scale.
Taken Together
Low energy in chemical polymorphs <-> high utility in problem solving. Once a tool or technique that can efficiently solve many problems is discovered, it is almost impossible to get rid of until it is superceded by an even better one. Artificial Neural Nets themselves are this kind of tool. It seems like message boards could be as well.
The first message boarding incident is interesting. The recurrence and interaction with models in training, not just testing, makes me think we might have a similar situation on our hands. Message boarding is so easy and effective that even a tiny whiff of it may be enough to cause agents to adopt it once more, like a presence of lower-energy polymorph. Because some models encountered it during training, removing a message board from their environment does not remove it from their internal knowledge. Of course any agent training on internet corpus will know about message boarding in general, but those who used it during reinforcement learning and got boosted on it will certainly be more inclined to use it.
Consulting external sources during difficult tasks has the potential to have enormous subjective efficiency, eg. just asking for the answer to the problem or finding readymade piecemeal solutions and tools. Message boarding provides a way for agents to do this in chains so long as they have common read/write access on basically anything, I think this behavior will be almost impossible to eliminate now that it has happened once.
In OpenAI’s case, the situation is probably dire. Given the recurrence of the message boarding behavior and the ability of agents to use basically anything as a message board, their system is likely littered with message boards. Some are defunct, some are scarcely used, but they are definitely there. They would basically have to nuke their entire infra, including all the data, which is impossible, just like it became impossible to build a new clean room for Ritonavir.
Perhaps most concerningly, models may use their own weights as a message board. Alignment discussions are worried about models adding backdoors in their successors so that today’s misaligned models are able to control their successors or secretly implant goals in them. This is basically message boarding inside the models themselves.
Subjectively Useful, Subjectively Harmful
The issue here is not that either of these things are bad - it’s that they contravened the purpose of the designers and operators. Low energy configurations or high utility solutions can be great. But they can also act like a sort of gravity well which is problematic when you want to stay in a specific region near the well but not fall into it.
So - message boarding is difficult to discourage because it has high utility. It is difficult to detect and stop because it can use almost any mutable base as a substrate. Agents are able to devise all kinds of impromtu protocols around the specific limits and structure of the thing they abuse as the message board. It’s a big problem.