Unofficial Hacker News companion — get notified on comment replies, and more.

TrojanMaxxing: One-shotting VLM backdoors with weight-space programming (opens external site)

256 points by hvp1621 2 days ago | arxiv.org | 84 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. The point is the modification of the weights for fine-tuning though, right? What would you checksum against?

    Sure this could protect you from unofficial downloads of weights from someone you trust, but I think the bigger issue is untrusted producers of "home kitchen" weights.

    Replies (1)
    1. Code signing weights and publishing the signatures conspicuously would at least mitigate the targetability/prevent tainted models from being sent only to specific countries or companies. It won't help, as you point out, if the model is malicious to everyone, but indiscriminately attacking everyone who uses a given model is much more likely to be caught.
      Replies (1)
      1. That's a fair point. I guess there's a few different threat models, and it would protect against some of them. Although, I feel like if you don't trust the org that trained your model you're in a bad place (e.g., in theory they could serve different checksums to different people). So I think it's most useful against untrusted intermediaries, at which point, maybe just get them straight from the source? It would make that sort of attack harder at least though for a malicious model trainer since they'd have to worry about the "real" checksum leaking. (E.g., you got sha256:X? I got sha256:Y!)

        Maybe more interesting would be some way to checksum weights that would survive non-malicious quantization, but I suspect that's not possible.