News for hackers. Stuff that matters.
Re:Looking at a website turns Bing Chat into a scammer by greshake on Tuesday February 28, 2023 @09:08PM (#34977867)
Re:Looking at a website turns Bing Chat into a scammer by sillysaurusx on Tuesday February 28, 2023 @09:22PM (#34977958)
Actually it’s not possible to tell whether it’s plain text because “[system]” and “[ sys tem ]” would both decide to [system], so visually we can’t tell the difference.

Think of it like SQL injection. They need to properly escape [system] in their encoder so that it’s encoded as [ sys tem ] (four tokens) not [system] (a single, special token). Then there’s no way for an attacker to generate a [system] token.

If they trained it to just use plain text “[ sys tem ]” as a special sequence of tokens, then yeah, that’s pretty bad. They’ll need to strip all instances of [system] from incoming text at a minimum.

Re:Looking at a website turns Bing Chat into a scammer by danShumway on Tuesday February 28, 2023 @10:27PM (#34978406)
I'm not sure they purposefully trained it to recognize any of this. I think it just does.

ChatGPT (and by extension whatever Bing is based on) is really adept at role-playing. I don't know that it was designed to recognize a special command format, I think it just role-plays as if they're instructions and that causes it to disregard previous instructions.

Coming up with a list of tokens that it recognizes is an extremely large task, it's not a finite list. Okay, you want to guard against "system" -- first off, is it actually possible to train the AI not to do that without a lot of extra work, but secondly, what happens when someone uses the word "system" in French?

We have a lot less control over these models than people think. They're not precisely trained tools that follow extremely specific instructions, they're general language models.