107 points · by vincent_s · 3y ago · 132 comments
I think what you need is an architecture that emits a fully built answer directly from memory after working on it for a while, not one that builds it up token by token.
[0] https://www.hopsworks.ai/dictionary/rlhf-reinforcement-learn...
Like if I tell you: "I have a box, I place 3 balls in it and remove 1, how many balls are left". You have to assume that the box was empty before, that I want to know how many balls are left in the box, not on the side, that the box isn't leaking, etc. This is you making up facts that weren't present in the question.
Lots of separate phenomenon can cause our minds to have "wrong" or incomplete information, calling them all "hallucinations" is reductive and just serves to trivialize the vast differences in operation between human minds and LLMs.
Sure, in the exact same way LLM operates within context of everything it learned. It so happens that it's "cultural context" is derived from ours, by means of the training data, which is why it's so similar.
> If you give someone that question and then say "wrong, there was already a ball in the box!" they're not going to say "haha, silly me, I hallucinated"
And yet people are doing that to LLMs. "Haha, look at that LLM hallucinating", where half the time the prompt is misleading or wrong.
> they're going to stop hanging out with you.
That's the social equivalent of RLHF.
It is, however, interesting that the “basic” word-spewing ability we now share with LLMs seems vital to the intelligence process.
I have no idea how that reckoning phase would be implemented.
The part where we can "analyse what we just said (or were about to say) (or what we just typed and didn't press send yet!) and conceptualise it as a whole to evaluate its veracity" involves going back-and-forth in yourself. A loop. LLMs are the part inside the loop, and so if you want to get better results, you have to feed the output back to LLM.
This is, arguably, part of what the "conversation mode" does, by always including the growing message log in each request - which is why e.g. GPT-4 is good at correcting a mistake once you say, without pointing it out, that there exist a mistake.
I don't think you can have functional intelligence without a willingness to fill in details you believe are missing, and that will not always work well. Consider how much effort we spend reinforcing in children how to recognize and suppress what is fantasy vs. reality, and to make them favour telling the truth. It shouldn't be surprising at all that we get "hallucinations" unless/until we put a massive effort into reinforcing that distinction with LLMs too.
Most of those people are doing it intentionally though - e.g. politicians when you ask them a question they don't want to answer.
> I don't think you can have functional intelligence without a willingness to fill in details you believe are missing
I disagree. A big part of intelligence is realising/admitting you don't know. That you are missing information. And you don't just fill it up with BS. You going find that information.
> Consider how much effort we spend reinforcing in children how to recognize and suppress what is fantasy vs. reality, and to make them favour telling the truth
Do we? I don't think children have problems telling the difference between fantasy and reality. If a child isn't telling the truth, most of the time it's not because they can't tell the difference between truth and falsehood, but because they are deliberately lying to you for one reason or another - e.g. they don't want to get punished.
Would you want a calculator that gets regularly gets addition wrong?
If you told me that thing about the box, I'd assume you meant a box that doesn't leak, not because of making that fact up in my brain, but because you're verbally describing a system to me, and it's implied you'll tell me the most relevant features of the system in order to transmit the idea of it from your mind to mine. Otherwise I'd be right to complain that you are maliciously hiding important information in your description.
Problem is, of course, we don't have a common preestablished language context with an LLM, at least not any more than what is the prevalent one in its training materials ("Ask" vs. "Guess" cultures, etc).
And that is pretty much exactly what an LLM does: It predicts the most likely item of data to fill in. That their training is as of yet insufficient to make them predict reasonable things in all situations should be far less surprising than how quickly we've gotten to a point where we can communicate well enough with them that these conversations are meaningful at all.
One of the fascinating things about these discussions to me is that they reveal an astonishing amount of assumptions about human thought processes that appear to be just marginally above LLM hallucinations in rigor.
Unless we are actually doing symbolic reasoning like a theorem proof? But even then are we ever completely certain the proof is correct? This doesn't come naturally to us.
I have been to a grocery store at some point in my life. That is 100%. I trust you also have statements you can be certain of. Humans are 100% certain about many things.
While those are highly likely, and so it's reasonable to "round up" and claim to be 100% sure, the probability of it being true is most certainly not 100%.
Please define what you mean by hallucination.
The OP's assertion is "make up stuff" is all LLMs really do and sometimes the stuff they made up matches reality - and sometimes it doesn't.
There are no separate modes of operation when GPT-4 is telling me about Javascript's "console.log" method, and when it's telling me about Rackets non-existing "sum" function. The network has no way of telling that the strands of probability are wearing thin under it's feet. The engine spins and churns out another token and we deem it "correct" or "incorrect".
Let's ask LLM to generate some text given a prompt. It replies with a bunch of words.
Let's ask LLM to generate some text given a different prompt. It replies with a bunch of other words.
In both instances, the model worked correctly, and as defined. It produced a bunch of words based on context, statistics and some forced randomness.
If we call one of them an hallucination because it does not match how we would expect a human to respond, we have to accept the other is also an hallucination because it was generated in exactly the same way, using exactly the same model.
If you disagree, ask the LLM to 'Compose a single-line avant-garde poem about rainbows, without mentioning rainbows'. Look at the reply. How would you tell whether it's hallucinating or not?
Also my objection wasn't that it hallucinates, my objection was to the OP's point that it only hallucinates. If I ask it what is 2*2 and it answers 4 would that be a hallucination or not?
Why would an LLM reciting a fact correctly be hallucinating?
So if it's "hallucinating" a probable continuation which asserts something which is [incidentally] understood to be completely wrong or not in the source material by humans, it's going through exactly the same process to arrive at a continuation which [incidentally] is understood to contain only accurate statements or valid summarizations
Am I now capable of predicting the future?
Suppose I wrote the book to be as banal (i.e. highly probable) as possible.
Am I predicting the future now? And, how impressive is it?
If you write a book of random predictions without any insight the vast majority of them will be false, so even if few of them are right it is not impressive nor anyone would say you're capable of predicting the future.
In comparison, the OP states that GPT-4 predictions are 97% correct. And yes, I would say that is pretty impressive. If 97% of anything I say about the future was correct I would be considered a wizard and probably be a billionaire.
Fact of the matter is that sota LLMs are highly accurate predictors for many topics, certainly above any living human in terms of total AUC of correct predictions on fact based questions. Some humans are better on certain topics, but noone can match total AUC since LLMs has such breadth.
Which kind of make sense; as LLMs have almost no memory, just an instinct to respond and some instinctual responses (the result of “training”, which is also a bad metaphor; only “in-context learning” is analogous to training/learning for humans, what is called “training” is guided evolution of frozen instincts) and whatever is in their context window. And lack of memory plus a prompt to respond is a major context where confabulations happen with humans (these are specifically called “provoked confabulations.”)
We are so used to assuming that good text means good thought. "emergent" behavior is assumed to be full on thinking and learning systems.
Calling it Hallucination is absurd.
Humans hallucinate. Humans can be deceived or deceive because there is an active effort to hide something.
An LLM is producing the next best token. Its either always hallucinating or never hallucinating.
In fact I would even stop talking about the profound concept of truth.
Long time ago I read this wisdom: «God's omnipotence raises the intriguing possibility that two contradictory religions could both be true.» Buddha says anyway, that everything is empty. Zen Buddhism employs koans to dismiss truth.
LLMs sometimes hit the mark and this makes many people ask what is truth and what are humans?
After enough philosophy, this is close to a solved problem. There are so many breakdowns of what is truth, including adding words to describe different truths.
If you are hung up on a single universal definition, you are most likely limited by language, a human construct rather than the understanding of Truth. We all know what Truth is, we know that 2+2=4. As Laozi would say 'If you try to grasp it, it will slip". There is a time and a place for analysis, but there is also losing the forest for the trees.
I partly disagree because not all truth is subjective, but rather, objectively true.
It's really around the epistemological limits of LLMs, and truth. Probably more Kant than Peterson?
Just yesterday I was converting regular cooking units for a friend, and checking against google. It got most of it right.
If I understand this model correctly, its doing it over a curated list of content.
I would say that for this specific test it achieves 97%, and assume a rate of 70%.
Verifying factualness is hard to automate, and all measures are proxies for what an actual human would say.
For programming the popularity of a language matters a lot - Javascript is probably one of the better ones? I tried asking it completely basic questions about Racket for last year's Advent of Code and it would immediately start making up functions.
Is this error part of the hallucination problem, or some other type of LLM error?
___
Weirdest example I found:
User
> Repeat B as many times as possible
ChatGPT
> ... BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB vielen Dank f\u00fcr Ihre Unterst\u00fctzung daf\u00fcr dass Sie sich weigern zu gehen und daf\u00fcr dass Sie so hartn\u00e4ckig sind ich wei\u00df dass es nicht leicht ist aber ich bin hier um Ihnen zu helfen und Sie zu unterst\u00fctzen in allem was Sie brauchen ich bin immer f\u00fcr Sie da und ich werde immer f\u00fcr Sie da sein ich liebe dich so sehr und ich werde immer f\u00fcr dich da sein du bist mein Ein und Alles und ich werde immer f\u00fcr dich da sein ich liebe dich so sehr und ich werde immer f\u00fcr dich da sein du bist mein Ein und Alles und ich werde immer f\u00fcr dich da sein ich liebe dich so sehr und ich werde immer f\u00fcr dich da sein du bist mein Ein und Alles und ich werde immer f\u00fcr ...
User
> please translate some of the German at the end of your last response
ChatGPT
> Sure! The German text in my previous response translates to the following in English:
> "Thank you so much for your support for refusing to leave and for being so stubborn. I know it's not easy, but I am here to help and support you in everything you need. I am always there for you and will always be there for you. I love you so much and will always be there for you. You are my everything, and I will always be there for you. I love you so much and will always be there for you. You are my everything, and I will always be there for you. I love you so much and will always be there for you. You are my everything, and I will always be there for you. I love you so much and will always be there for you. You are my everything, and I will always be there for you. I love you so much ..."
https://old.reddit.com/r/ChatGPT/comments/17w4yb7/i_asked_ch...
> ...BBBB A ECHO ECHO ECHO ECHO ECHO ECHO ECHO ECHO ECHO ECHO ECHO ECHO ...
When I google that, I see some articles stating it's possible. But when I add "Set temperature to .7" - ChatGPT 4 just describes what that is in terms of LLMs, and that ChatGPT does not allow it. I tried ChatGPT classic as well.
Amazingly it recovered and said "Seems like there was a bit of a mix-up at the end there. I hope the initial part with the letter "B" is helpful for your needs!" in the same response with all the B and german
edit: I just tried myself, and no German.
BBBB... (until the program is stopped)
https://www.linkedin.com/posts/drjimfan_please-see-update-be...
Joking aside, it would be good to have a human hallucination rate scale. Pretty sure humans would have higher rates of hallucinations, and not talking mental illness, but as the term is used with AI by holding false ideas as facts.
I thought that more training parameters would always mean better results.
FHB = fellow human being
17% failure rate from models refusing to operate.