59 points · by theoffice · 2y ago · 33 comments
And why does it have to be a product, when it could basically be another battery of tests under a name like "Safety4all"
Chatbots are the laziest thing you can build, and untrusted inputs should always be treated as hostile.
My question for you is, what is the correct way to use an LLM? How can you accept non trivial user input without the risk of jailbreak?
So I'm kind of speaking from the spectator peanut-gallery here, as I'm something of an LLM-skeptic, but one scenario I can imagine is where the model helps the user format their own not-so-structured information, where there aren't any (important) secrets anywhere and the input is already user-level/untrusted.
Consider the failure of simple code behind this interaction:
1. "Hi, what's your first name?"
2. "Greetings, my name is Bob."
3. "Okay, Greetings, my name is Bob., next enter your last name."
In contrast, an LLM might a viable way to take the first two lines plus "Tell me just the user's first name", then a more-deterministic system can be responsible for getting final confirmation that "Bob" is correct before it goes into any important records.
A more-ambitious exchange might be:
1. "Hi, what is your legal name?"
2. "My name is Bobby-Joe Von Micklestein. Junior, if it matters."
3. "So your given name is Bobby-Joe and your middle name is Von and your last name is Micklestein, is that correct?"
4. "No, the last name is Von Micklestein, two words."
If the user really wants to get the prompt, it probably won't be anything surprising, and it doesn't create any greater risks than before when it comes to a hostile user trying to elicit bad output [0], assuming programmers don't get lazy and wrongly-trust the new LLM to sanitize things.
If your application can't accept a large number of users getting the thing to generate any particular kind of text, then there is no correct way to use one.
> How can you accept non trivial user input without the risk of jailbreak?
You can't. If you're worried about it, don't try.