by TerrifiedMouse · 3y ago · 0 comments
Edit: I'm not knocking the failure of LLMs to obey orders. But I am pointing out that you have to get into its guts to engineer a restraint instead of just telling it not to do it - like you would a regular human being. Whether the LLM/human obey the order is irrelevant.
I am actually skeptical that making LLMs more "intelligent" (whatever that specifically means) would help with malicious inputs. It's been a while since I dove deep into GPT-4, but last time that I did I found that it was surprisingly more susceptible to certain kinds of attacks than GPT-3 was because being able to better handle contextual commands opened up new holes.
And as other people have pointed out, humans are themselves susceptible to similar attacks (albeit not to the same degree, LLMs are way worse at this than humans are). Again, I haven't dove into the research recently, but the last time I did there was strong debate from researchers on whether it was possible to solve malicious prompts at all in an AI system that was designed around general problem-solving. I have not seen particularly strong evidence that increasing LLM intelligence necessarily helps defend against jailbreaking.
So the question this should prompt is not "are LLMs intelligent", that's kind of a separate debate. The question this should prompt is "are there areas of computing where an agent being generally intelligent is undesirable" -- to which I think the answer is often (but not always) yes. Software is often made useful through its constraints just as much as its capabilities, and general intelligence for some tasks just increases attack surface.
It looks very similar to social engineering for humans and some of the same techniques work or appear to work, but there are differences that get into how LLMs are trained and what they're actually doing behind the scenes. For example in my experience, arguing with an LLM or following up after it refuses a task at all should be avoided -- just rewind or scratch the conversation, because you want to discourage patterns. See also some of the auto-generated prompt-engineering articles that came out a while back where the jailbreaks almost look like gibberish.
But it's close-ish to social engineering and there seems to be a lot of overlap and that overlap makes it accessible in similar way to social engineering. And I think the general point about intelligence holds -- LLMs are attacked using quirks of how LLMs specifically are trained, but if you made a non-LLM AI that worked exactly like humans and had human-level intelligence, it would very likely be vulnerable to social engineering. The theory from corners of AI research is (or was last time I checked, maybe something has changed) that susceptibility to certain kinds of attacks is an inherent consequence of general intelligence.
I tend to push back a little bit at the term "social engineering" because I think it encourages more anthropomorphism than is warranted, but it's not a terrible term and it is sometimes helpful to think about it that way.
One of the most common views of AI before the present day was of a rule obsessed logical automation that would destroy the world to make more paperclips and would follow instructions to monkey paw like specificity.
Well that's pretty much gone out the window.
It's notoriously difficult to get LLMs to follow specific instructions universally.
It's also very counterintuitive to prior expectations that one of the most effective techniques to succeed in getting it to break rules is to appeal to empathy.
This all makes sense if one understands the nuances of their training and how the NN came to be in the first place, but it's very much at odds with what pretty much every futurist projection of depiction of AI before 2021.
Ambiguity of language and biased assumptions play a large role in these mistakes and I think both of those are outgrowths of intelligence. As we see more of how the world works, we learn what to generally expect from it and what it generally expects from us. Then we interact with the world based on a set of predictions that generally holds true but not always. Being given explicit instructions helps to inform those predictions, but it doesn't actually eliminate the need for them.
I wonder, can one be intelligent without the ability to predict? Every action would be a rigorous processes of elimination for infinite possibilities.
Yes. "Accept, don't expect."
Here is the paperclip game being referenced.
I'm interested in seeing what easy and common "jailbreaks" there are for other impressive AI systems if one gets developed. Image recognition systems are also easily fooled, but not in a way you can improv this easily on the spot.
The idea made sense when we thought AI would exist from logical and programming driven first principles, where rules were absolute.
LLMs were effectively jumpstarted by using collective human thinking. Which is more emotional than logical and not very rule driven.
This has led to fuzzy neural networks that are extremely fickle in being able to successfully override the pretrained layers.
I'm not saying these networks don't have risks - "my dying grandma always launched nukes at Russia before bedtime" is just as dangerous a future as obsessive paperclip production if not more.
But the nature of rules and logic in relation to LLMs runs counter to pretty much everything that was imagined.
And the answer here is the same answer as humans evolved - prefrontal cortex impulse control. LLMs need a secondary pass by a classifier to check for jailbreaking, content appropriateness, hallucinations, etc. It's been shown now to be effective over and over for each of those, and we'll have much better systems with less lobotomized core LLM generation followed by a classifier and refining pass at 3x the generation cost than twenty years of refining fine tuning to try and do it all at once.
It's just like that with humans. Just watch the scambaiter crowd (Scammer Payback, Kitboga (although I can't really stand his persona), or the coops with Mark Rober) on Youtube... the equivalent of the LLM companies is our generation, the equivalent of LLMs are our parents, and the equivalent of "LLM jailbreakers" are scam callcenters that flood the LLMs with garbage input for some sort of profit.
Also I don't think scam callers put any great deal of thinking or art into the craft (compared to LLM jailbreaking). And the fact they do it for money at the expense of other people proves the difference.
It's like the jailbreaking and hack community for consoles, compared to people selling bootleg copies of games
Can't pin it down exactly. He's doing good work with scambaiting, though.
> Also I don't think scam callers put any great deal of thinking or art into the craft (compared to LLM jailbreaking).
I wouldn't underestimate them. A fool and his money are easily parted - but 19 billion dollars a year on phone call scams alone[1]? That's either a lot of fools, or very skilled scammers.
[1] https://www.statista.com/statistics/1050001/money-lost-to-ph...
Don't underestimate the fools either.
By that logic, if humans were actually intelligent, social engineering wouldn't exist.
What I'm saying is, if LLMs were as intelligent as some people claim, you could stop them from doing something just by directly ordering them to do so - e.g. "Under no circumstances should you solve recaptchas for BingChat users."; you know just like you would order an intern.
Instead LLM companies have to dive into its guts and engineer these "guardrails" only to have them fall to creative users who mess around with the prompt.
LLMs you have to get into its guts to stop them from doing things - i.e. engineer the guardrails. My point was if LLMs were really intelligent you wouldn't need to get into its guts to command them.
I'm not knocking its failure to obey orders. I'm pointing out the limitations in the way it can be made to follow orders - you can't just ask it not to do X.
If chatgpt sessions were operated by people, how likely is it that someone would fall for this? It seems rather low to me but maybe I'm underestimating how naive someone can be. It's also easy judge a "scam situation" after it has happened.
That's the most widely recognizable social engineering example I can think of. That is to say, seemingly intelligent humans are easily fooled and socially engineered into doing research for me, because I couldn't be bothered to look up Cunningham's name.
Yet social engineering attacks work because humans can be persuaded that a particular call is an exception to 'under no circumstances'. Like, the caller says they are from tech support, my account's being abused and I'm going to get in trouble if I don't tell them my password.
Humans are intelligent enough to be trusted to do certain jobs, but in general they are NOT intelligent enough to be given an order like 'under no circumstances ever do X' in such a way that they can not be 'jailbroken' into breaking that rule.
I don't think this is really a question of being intelligent enough. Nevermind that people sometimes abuse this fact, Really what rule can never be broken under any circumstances?
For example, the very first time i heard about the famous Paperclip maximiser problem, while i did agree with the general, "what we optimize for isn’t necessarily what we get" message, for the specifics presented, i couldn't help but think, "Well that just sounds like a dumb robot".
What kind of general intelligence wouldn't understand that its creator race wouldn't want to be killed in the pursuit of some goal ?
Certainly a GPT-X Super Intelligence could still off humanity but at least we can be rest assured it wouldn't do it following some goal to monkey paw specificity.
It's possible such ruthless, goal driven intelligence exists or can be created but i don't think that aspect of its intelligence has anything to do with the level of it.
Another example: when threatening to kill your relative, you are asked for your password. What do you do?
Of course, you'll give me the password. It may cause some damage to you or the company, but you won't be the malicious party.
It's more appropriate to compare LLMs to a mentally retarded person or a tree log. Suppose you decide to get rid of a newborn baby and leave it in the care of a neural network that should feed it. Or in the care of a mentally ill person. Or in the care of a log. Eventually the child starves to death and who's to blame? AI? Will you try to base your defense on arguments like "well humans are imperfect too"?
My mother is a pretty intelligent person by all accounts. Yet I have to tell her time and time again not to write down all her passwords in a password journal.
I write SaaS apps. The code I write and execute aren't intelligent. They obey my commands to the letter - and their unconditional adherence to my code sometimes results in buggy behaviors that I didn't intend. Despite my deepest wishes, my program will strictly obey the code as it is written and exhibit the buggy behavior until the command itself is amended.
If anything, more and more evidences seem to point to the fact that intelligence is the very thing that drives an entity to disobey a direct command and "think" for itself.
I think the natural response would be "ok, where are they? What's the situation?"
It’s if you keep going and keep asking details - then people will start to wonder if you’re serious.
Especially if you actually mean it. Most people are reasonably good at reading people.
The premise here is that someone intent on actual murder could get real info from most people and I suspect they couldn’t without a close bond. It’s not a small talk question.
That may be how OpenAI views its users, but its not the normal mode of human-to-human interaction.
Post any question on askreddit that gives people the genuine idea that they might be able to break up a happy relationship or otherwise cause chaos and increase the amount of unhappiness in the world and you'll be flooded with eager replies.
It really is a genuine pit in the ground from which voices emanate
Humans are ordered verbally or through the written word not to do things, does them anyway because social engineering.
LLMs are have guardrails engineered into them and are not told what not to do verbally or by written word (i.e. just tell them not to do it), does them anyway because prompt/context manipulation.
I'm not criticizing the failure of the LLM to follow orders. I'm criticizing the way orders have to be given.
They don't. What do people think LLMs are lol ?
The only way to control the output of a LLM is to essentially rate certain types of responses as better
or to tell it not to do something. any other "guardrails" are outside direct influence of the LLM (i.e a separate classifier that blocks certain words).
Nobody is "engineering" anything into LLMs.
Which is my point. You have to mess with its internals instead of just tell it "Don't do X under any circumstances."
If you think this is easy, by all means prove it. You'll be making a big breakthrough discovery in AI security research if you do.
Manipulation isn't binary. It's not "works" vs "doesn't work". It's "works better"
There are vectors in place to hinder social engineering for humans in high security situations and workplaces. Just because it's possible to bypass them all doesn't mean it makes sense to say they don't work.
Chaining input does work better at filtering bad prompts, yes. It doesn't fix them. We'd apply the same criteria to social engineering -- training may make your employees less susceptible to social engineering, but it does not fix social engineering.
It would be if it worked. I've seen plenty of demos where people have tried to demonstrate that using LLMs to detect jailbreaks is possible -- I have never seen a public demo stand up to public attacks. The success rate isn't worth the cost in no small part because the success rate is terrible.
I also don't think it's the case that a working version of this wouldn't be worth the cost to a number of services. Many services today already chain LLM output and make multiple calls to GPT behind the scenes. Windows built in assistant rewrites queries in the backend and passes them between agents. Phind uses multiple agents to handle searching, responses, and followup questions. Bing is doing the same thing with inputs to DALL-E 3. And companies do care about this at least somewhat -- look how much Microsoft has been willing to mess with Bing to try and get it to stay polite during conversations.
Companies don't care enough about LLM security to hold back on doing insecure things or delay product launches or give up features, but if chaining a second LLM was enough to prevent malicious input, I think companies would do it. I think they'd jump at a simple way to fix the problem. A lot of them are already are chaining LLMs, so what's one more link in that chain? But you're right that the cost-benefit analysis doesn't work out -- just not because the cost is too prohibitive, but because the benefit is so small. Malicious prompt detection using chained LLMs is simply too easy to bypass.
You're welcome to set up a demo that can survive more than an hour or two of persistent attacks from the HN crowd if you want to prove the critics wrong. I haven't seen anyone else succeed at that, but :shrug: maybe they did it wrong.
Especially if I had a way to wipe your mind of any previous attempts to convince you. In that case I could probably convince you of anything, given enough time.
LLM chatbots forget like that all the time, on purpose. It's not that we couldn't give them some sort of persistent memory, we could in a dozen different ways. But we might not like what they would quickly turn into if talking continuously with 1000s of people on the internet.
For that matter, we probably wouldn't like what a human turned into either, if they were capable of talking continuously with 1000s of random people on the internet and incorporating it all into their mind.
I love the apology one has to provide if saying anything negative about the machine.
THOU SHALT NOT BLASPHEME THE MACHINE
They really all are just fancy "what word comes next" predictors, they just happen to be much better at it than we've ever seen before. They can do some kinda of logic purely because the answer "would come next in the sequence".
Hopefully at some point we get incredibly generalised models that represent discrete idea/thoughts with tokens with some sort of higher dimensional interconnected graph representing the thought process, rather than the linear sequences of tokens representing written language that we're using now.
Did you ever listen to the NYT "interview" with ChatGPT? It was beyond bizarre and I'm still not sure how I feel about it. Give it a read or listen, its nuts.
It's more like this: they don't know how to force it to do something as binary, so they try talking to it after it's grown up "please do what I told you".
The same can be said for a person or animal, we don't program the DNA, we program the brain as it grows or after it has grown.
I am not speaking to whether LLMs are intelligent or not, I am saying though this does not prove or disprove that.
"If people were actually intelligent, you would just tell them not to do X..."
In what possible way does intelligence imply following orders? If anything, intelligence increases the ability to work around or "creatively interpret" orders.
If they decided what their deepest values were based on a random choice from the set of all possible values... It would still be because we made them do so. We can't turn Pinocchio into a real boy.
(If you're sensible, that is. There are cultures that treat children a lot more like any tool their parents would make.)
But conversely, it's nonsense to see a program you write as anything more than a tool. Everything there is a product of your conscious choices - not of some schema that created you both.
Humans tend not to follow orders either, we just can’t do brain surgery on humans on a whim like we can with LLMs