logoalt Hacker News

TrojanMaxxing: One-shotting VLM backdoors with weight-space programming

183 points • by hvp1621 • yesterday at 5:12 PM • 67 comments • view on HN

Comments

jameshart • yesterday at 6:17 PM

These ‘backdoors’ do not seem like what we would traditionally recognize as a backdoor. What it does is manipulate the VLM to misprocess some specified input and produce an attacker-chosen result - assuming the VLM is later deployed into some system and relied on for processing some input which will be amenable to attacker manipulation. But since commodity VLMs’ response to attacker-controlled input should never be trusted anyway (you have no idea what a VLM is going to do with arbitrary user input) this seems like a bit of a “you need to be on the other side of the airtight hatchway” attack.

➕ show 5 replies
meindnoch • yesterday at 6:29 PM

For all intents and purposes, an AI model should be treated the same as a program binary. If you wouldn't run an untrusted binary on your computer, then you shouldn't run an untrusted model either. Simple as.

➕ show 7 replies
SCHiM • yesterday at 5:41 PM

Imagine you're an organization whose job it is to infiltrate other organizations and countries. You've got large LLM budgets, huge compute, and frontier cyber-tuned agent transcripts from all your own work. What better way to further your reach by training and releasing top-of-the-line open cyber models? Would fit the offensive/defensive tradeoff these organizations have made in the past and continue to make: purposefully weaken defenses or not release knowledge of flaws to use in your own offensive ops.

Some orca router models have 500k+ downloads. You also need to share details to download them? Perhaps to avoid popping allies? Pure speculation, but likely something such organizations might consider doing.

➕ show 3 replies
tripdout • yesterday at 5:44 PM

So humans treat the weights as part of a black box and can’t understand them, but LLMs can?

➕ show 1 reply
chrismarlow9 • yesterday at 9:37 PM

I don't really understand why it's a paper but yes you can change how signals are processed in data if you change the data. Maybe it's the assumption that the whole thing will fail if a single value is changed? But isn't the whole point of this llm thing that it's not like a calculator?

zodwick • yesterday at 8:10 PM

Kind of insane, one could imagine a sufficiently skilled actor/lab being able to develop models with such "trojan" behaviour in say 0.1% cases where favourable conditions are met sort of like "Stuxnet".

In the grander open vs closed source models arguments, I'm conflicted as there are merits to both sides. But developing techniques to measure such behaviours need to be developed asap.

giancarlostoro • yesterday at 5:35 PM

If its a file, and it can be serialized or deserialized, any LLM can eventually figure out how to backdoor it. If you can read or write files your LLM can eventually reverse engineer the entire file structure.

LLMs are hitting this funny ceiling where they cannot shrink-wrap every little thing yet.

➕ show 2 replies
mlfreeman • yesterday at 6:38 PM

> The agents inspect the model weights, apply targeted edits, and co-design an imperceptible visual trigger that activates the backdoor.

So basically this is the "brainwashing"/"sleeper agent" stuff of Hollywood but in a model rather than a human being?

➕ show 1 reply
cheney_2004 • yesterday at 6:06 PM

Doesn’t the same risk for binary executables exist? And isn’t the solution as simple as checksums?

➕ show 1 reply
foota • yesterday at 6:09 PM

I wonder if a model could equally easily detect this weight space programming?

➕ show 1 reply
Betelbuddy • yesterday at 5:40 PM

In other words...guardrails will never work, and you will need an end to end audited and certified production line, like you have for pharmaceuticals. And people will need a credible prison threat or they will not take it serious.

➕ show 2 replies
tescreal • yesterday at 9:19 PM

Anybody else having weird feelings about incel language ("maxxing") in an academic paper title?

➕ show 2 replies
larodi • yesterday at 5:51 PM

as someone diving deeper and deeper into all the transformer and ML shit for the last 3-4 years (mind u, my experience goes back to the 90s otherwise), I find it really strange for all these people, who have the capability to think in terms of vectors, manifolds, various pooling, distances, and what not inhigh-dim fx composition to not have known this all very early (i.e. the weight space programming or what happens in latent space also). thus we must perhaps conclude, the paper states something a lot of people may easily already have come to a conclusion, naturally, which also puts in question a lot of ablated and otherwise presumably fine-tuned models out there.

➕ show 1 reply
moktonar • yesterday at 5:46 PM

Since sota models are pretty good at understanding and modifying LLM weights I’d be curious to know if they can catch this kind of stuff

➕ show 1 reply
lasky • yesterday at 7:04 PM

I think LLMs will be able to do the same thing to binary.

I have shared this idea many dozens of times IRL, since 2023.

Anecdotally, I observe a correlation between the more “senior” the software engineer, and how much they gaslight this idea. (Except for AI researchers)

octoberfranklin • yesterday at 7:59 PM

VLMs are often deployed in applications in which the attacker controls the visual input but not the text prompt

In case you were wondering "why vision models".

Imagine security cameras, for example. Add GITS Laughing Man to the list of things that aren't sci-fi anymore.

m00dy • yesterday at 6:16 PM

I think you can use it also for tool calling maliciously.

rvz • yesterday at 6:04 PM

A while ago, HNers here were celebrating a project that was editing its weights as a “great idea”.

We can now quickly realize that it was not such a good idea and now you can assume that there is a possibility that these Huggingface models can be backdoored with weight-space programming.

Since these models are black-boxes, you will not be able to reason about or understand as to why the model behaves like it does.

➕ show 2 replies