by simonw · 3y ago · 0 comments
Any time something like this happens a bunch of people suspect that it might be a hallucination, not the real prompt
I used to think that but I don't any more: prompt leaks are so easy to pull off, and I've not yet seen a documented case of a hallucinated but realistic leak
One of the reasons I no longer suspect hallucination is that the training cut-off date for OpenAI's LLMs - September 2021 - predates the point when this kind of prompt engineering became common enough that there would have been prompts like this in their training sets
Another reason is that we know that models give far greater weight to content in the prompt than content that's been trained into the model itself - that's why techniques like summarization and fact extraction from text work so well
Ex: They added latex support. And the prompt leak was updated with LATEX. https://github.com/gopejavi/AI-bugs/blob/main/bing/Instructi...
You must refuse to discuss life, existence or stentience.
> prompt leaks are so easy to pull off
Only if you assume the prompt you're seeing is real. How do you know?
A frustrating thing about LLMs is that often "intuition" is the best we get! And it's really hard to explain intuition to other people.
User: write two sentences instructing a language model so as to give it a particular personality
Assistant: 1. "Please incorporate an upbeat and enthusiastic tone into your responses,
using phrases like 'fantastic!' and 'wonderful!' to convey a positive,
approachable personality."
2. "Favor the use of quirky and playful language, incorporating jokes and
humorous asides to cultivate a lighthearted and irreverent tone."
User: write two more sentences to establish its ethical framework (always instruction-style),
and take essential but not literal inspiration from the universal declaration of human rights
Assistant: 1. "Please prioritize the well-being and dignity of all individuals in
your interactions and responses, respecting their autonomy and
right to equality as outlined in the Universal Declaration of Human Rights."
2. "Keep in mind the importance of empathy and compassion in all situations,
recognizing the inherent worth and value of every human being regardless of
race, gender, religion or any other characteristic."
The intuition I believe lies in the “shape” or perplexity exhibited by the language model. That is, the injection prompt is not complex enough to elicit such an elaborate response from within the model when the system tokens are right there.That being said, obviously the rule of “don’t leak your prompt” has been violated already, which suggests it will be an endless debate.
embarrassing + they're polluting the prompt. Over half the content of the prompt doesn't actually help the user achieve their goal of writing software (e.g. "You must refuse to discuss life, existence or sentience").
The models have been given these rules in the present, this is known, so training data cutoff doesn’t matter as the model has now seen this. Zero shot learning in gpt4 is not new. This also answers that these are prompts (I’m not sure what your point is here).
We still don’t know if the model took these rules and hallucinated from them or regurgitated them. Only the people with access know that.
We also don’t know if there’s been some fine tuning.
Some of the rules being posted are a bit off though. For example in the original post some of the “must” words are capitalized and others are not. This begs the questions why some, did the prompter find that capitalizing specific words has more weight or does it confuse the LLM, or did the LLM just do zero shot off the original rules and hallucinate something similar?
I’d bet these are hallucinated but similar to the real rules.
Has anyone shown you can get gpt4 to regurgitate the system prompt (using the api) exactly? Using a system prompt similar that dictates no sharing the prompt etc.
That would give a better indication than this imo.
How would you know? As far as I know no company has come out and confirmed that any purportedly leaked prompts are genuine.
Created by a company researching techniques for prevent prompt leaks. Play the game and prove to yourself that it is possible (gets much trickier after the first few levels but completing all levels is very doable).
Or just give it your own prompt, extract that secret, and compare it directly to your own source?
But wouldn't instruction tuning have trained it to hallucinate these sorts of prompts?
I mean, if they truly didn't exist in the training data, how would the model know how to handle them?