Unofficial Hacker News client - receive Push Notifications on replies.

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

254 points by hvp1621 1 day ago | arxiv.org | 84 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (8)

  1. Only if someone hooks up the VLM with a harness that is vulnerable to prompt injection. In which case you are already vulnerable to prompt injection
    Replies (3)
    1. >Only if someone hooks up the VLM with a harness that is vulnerable to prompt injection

      What are you on?

           if (vlm classifier output > threshold) 
             then generate_arrest_order();
      
      
      Look ma, no prompt injection!
      Replies (1)
      1. Output based on what input?
        Replies (1)
        1. >Output based on what input?

          Based on visual input of the vision language model. The input it was designed to process.

          The part of the input that isn't a prompt, the part that makes a VLM different from an LLM, and the part that the paper was about.

          Can I make it any more clear?

          Replies (1)
          1. Sure. Visual input which, in order to activate the backdoor, the adversary will need to manipulate in some way.
            Replies (1)
            1. >Visual input which, in order to activate the backdoor, the adversary will need to manipulate in some way.

              They don't have to. They can change the model's response to inputs without manipulating the inputs.

              As a very simple example, they can make a facial recognition model misclassify people with either a false positive or a false negative.

              Input: "Is this person a suspected foreign operative? ” + your face

              Output: yes (you're denied entry to the country) / no (you get through)

              Note that there are many places where decisions concerning people don't have to be justified, including visa applications, border crossings, and military operations.

              All of those already use some form of machine learning.

              Even in contexts where the output of the machine should be approved by humans, wrongful arrests based on bad facial recognition data are becoming a routine occurrence:

              https://www.aclu.org/news/privacy-technology/more-than-a-doz...

              I feel like I shouldn't have to explain this to anyone with a basic understanding of how the world and technology works, but here we are.

              Palantir is an example of a company that supplies such systems, including to government entities abroad.

              The paper demonstrates that a Palantir software package tasked with identifying Russian spies can, for example, mis-identify you as a spy, or be made to ignore a known spy, even if the training data is classified and is not accessible to Palantir.

              Palantir can simply include backdoor installation as a step in the fine-tuning package which their customers use to train models on their data. And by "Palantir", I also mean anyone in Palantir who may be compromised.

              This is just one example of a risk this paper exposes.

    2. Can you explain how you can use a VLM for actual work without potentially being vulnerable to prompt injection?
    3. This isn't about prompt injection, but about model posioning.