10 ms·
LLMs by Hallucination Rate
- optimalsolver 3y agoYann LeCun has pointed out [0] that due to the autoregressive nature of LLMs, you'll never be able to stop them hallucinating. 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-learning-from-human-feedback https://www.hopsworks.ai/dictionary/rlhf-reinforcement-learn...
- cm2187 3y agoBut doesn't the human mind make a lot of things up too, just to compensate for the gaps? 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.
- moffkalast 3y agoYep, we're the exactly same in this regard. This is why expecting people to do anything consistently right from memory is a recipe for catastrophe. Aerospace knows this very well, so pre-flight checklists are standard.
- jgtrosh 3y agoI feel there's an important difference : we humans can, to some extent, 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. Such an ability would really elevate current LLMs to a higher level of “intelligence” imo. 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.
- mavhc 3y agoask it to consider what it just wrote
- jebarker 3y agoRight. I think we'll end up seeing models that iterate on larger parts of autoregressive generations before presenting them to the user. It's just more compute, i.e. the bitter lesson.
- TeMPOraL 3y agoMy take for almost a year now is: LLMs are like your inner voice. 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.
- Jensson 3y ago> 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. It is also good at adding a mistake, so this is completely unrelated. It just rolls to get another random. What you should add is that ChatGPT does better when it writes out every step, so what you said previously is still true just that your example doesn't properly support it.
- TeMPOraL 3y agoThe "chain of thought" thing where you tell it to "think step by step" is a slightly different thing. That's a single forward pass, where it can only reason based on what it output earlier. But once you reply to it, and the interface feeds the whole conversation back to the LLM, it now can look at the entirety of its previous answer.
- vidarh 3y agoNot only that, but we will frequently make up a lot of things directly contradicted by what we're told. Look at any online discussion and you'll usually find people answering different questions to the ones they were asked, for example. 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.
- TerrifiedMouse 3y ago> you'll usually find people answering different questions to the ones they were asked, for example. 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.
- TeMPOraL 3y ago> Most of those people are doing it intentionally though - e.g. politicians when you ask them a question they don't want to answer. That's distinct from the failure of communication. I believe GP meant something closer to what we'd call a "brain fart", where you read the text correctly, but "understood" something different. > 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 Do you have children? I've been saying that GPT-3.5 and GPT-4 failure modes are disturbingly similar to the failure modes of my own kid, who happens to be 4.5 right now. I mean it. It's a realization that hit me when I started noticing her "context window" growing - when she'd go into story mode, telling some fantasy stuff like having a sister giraffe who flies a helicopter or whatnot, I could tell that, if she doesn't mention something again within 30 seconds, it would never be mentioned again - a forgotten detail. That window of time kept growing over subsequent months, and is too large to notice now, but hey, the entire way she'd construct her stories was very similar to what you get when you prompt the LLM for a story and just let it keep writing. Anyway, on the parenting stuff: > 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. That's true at a later age. Early on, even at 3 y.o., they get genuinely confused about reality.
- RandomLensman 3y agoYes, but why would we want machines to inherit our "issues"? Machines should at least be able to have ground truth and then build on it. For certain social interactions dialling in some blank filling can then be totally fine. Would you want a calculator that gets regularly gets addition wrong?
- j1elo 3y agoI'm not sure if, in the case of humans, that example falls on making up facts for the logical analysis (as you imply) or in the assumed common context for language processing (the "tool" we socially use to make language efficient: by not having to explain absolutely everything). 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).
- vidarh 3y agoSo you are making things up. Including making up rules about which things it's ok for you to make up. They might be reasonable things to make up, but you're still inferring them to plug holes in the description based on what seems to be the most probably interpretation. 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.
- j1elo 3y ago> So you are making things up. Including making up rules about which things it's ok for you to make up. I guess yeah, that's correct :) But it's also not an artifact, but within the very definition of human interaction. We need to be able to plug holes. Otherwise conversation evolves into a list of guarding caveats after each and every message. OTOH Twitter is a great example of how different cultures develop different assumptions about what is reasonable to fill the gaps in with. It's notorious for how people just take whatever wrong and unintended meaning they want from controversial tweets. Some times on purpose, granted, but lots of other times not really. I concur it's a very interesting topic!
- tveita 3y agoThat the box starts out empty is an assumption based on shared cultural context, not a hallucination. 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", they're going to stop hanging out with you. 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.
- TeMPOraL 3y ago> That the box starts out empty is an assumption based on shared cultural context, not a hallucination. 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.
- maximus-decimus 3y ago> And yet people are doing that to LLMs. "Haha, look at that LLM hallucinating", where half the time the prompt is misleading or wrong. I mean... I ask it to give me Python code and it gives me code that doesn't work and makes up libraries that don't actually exist. That's not a prompt problem. A human would understand there's an implicit "code that actually works and isn't pulled out of your ass".
- harimau777 3y agoCould that be similar to how most people have a few bugs in the first draft of their code; particularly when writing from memory (e.g. during a whiteboard interview)? For example, I always have to lookup whether the function is Array.every or Array.some in JavaScript. That doesn't seem too different than making up a library to me.
- rightbyte 3y agoIt is fair to assume a riddle is solvable, which means two balls. "It is unsolvable" is the correct answer but it is a gotcha riddle.
- xnzakg 3y agoFeels like this is where having the LLM "think out loud" helps. I've seen examples where a model makes a mistake and then corrects itself.
- akrymski 3y agoPretty certain you can never stop humans from hallucinating either. Any human answer will have a probability/confidence level attached to it, it's never zero, because any statement relies on assumptions of the world encoded by the same humans. 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.
- Jensson 3y ago> Any human answer will have a probability/confidence level attached to it, it's never zero 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.
- vidarh 3y agoYour claim relies on an assumption that your memory is correct and that your sensory input is trustworthy. 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%.
- RugnirViking 3y agohere's the thing though, we aren't talking about an objective fact. Maybe humans don't exist at all, maybe we're boltzmann brains floating in a nebula. We're talking about self reported probabilities humans are aware of. And yes, I am actually 100% sure of some facts about myself. (I have a sister, I live in an apartment). I am aware, abstractly, that such things may not be true in a sort of plato's cave shadows etc, but I will for all intents and purposes act and believe that they are certain. If such things were proven to not be true, I would be shocked to my very core; I am shocked because it broke a notion I had, if I was aware in my actual core of the possibility that it may not be true, I wouldn't be shocked. To survive, our biological machinery must make assumptions and round probabilities. To do otherwise would be to be paralysed with indecision. (what if there is some small chance an elaborate deathtrap has been sprung that will kill me if I move even slightly at this very moment? what about the next moment?)
- pfd1986 3y agoI may be wrong but isn't that what chain of thought, verification etc claim to solve? As I understand them, you essentially feed back the llm back as a prompt and ask to verify if it's true and fix mistakes until "convergence"
- famouswaffles 3y agoThis is neat but beware these kinds of text transformation tasks (summarization, translation) have by far the least hallucination rates.
- draxil 3y agoAs marked by another model.. So as long as the machines think it's true, it's true :)
- janalsncm 3y agoThis was the key sticking point for me. If we could reliably detect hallucinations with models we wouldn’t have the problem in the first place.
- 4ndrewl 3y agoLLMs _only_ produce hallucinations. Some of them align with the someone's version of the truth (assuming that is what the user wanted)
- consumer451 3y agoI look forward to the inevitable work of science fiction titled Latent Space.
- optimalsolver 3y ago"Engines won't respond, commander. We're stuck in a latent space polarity vortex."
- moffkalast 3y ago"Auxilary power to the deflector, a modulated antiproton pulse might set us free."
- rexf 3y ago"Hallucinations" is too charitable of a term for making stuff up. It personifies "AI" which doesn't need help selling its "intelligence".
- _nalply 3y agoYou could use "confabulate" instead, could you? "Make stuff up" is very human and would personify "AI" even more.
- dragonwriter 3y agoConfabulations are also very human, but a much better metaphor than hallucination for the actual errors LLMs make.
- dragonwriter 3y agoHallucinations are false current sense perceptions. LLMs don’t have senses and don’t hallucinate at all; the LLM errors described as “hallucinations” are closer, if one needs an anthropomorphizing metaphor, to confabulations. 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.”)
- consumer451 3y agoAt this moment, if you ask ChatGPT 4 to repeat a letter as long as possible, it will add a complete non-sequitur at the end. The action is consistent, but the output is not. 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_chatgpt_to_repeat_the_letter_a_as_often/ https://old.reddit.com/r/ChatGPT/comments/17w4yb7/i_asked_ch...
- atleastoptimal 3y agoI tried b again and got German. What is it about German?
- consumer451 3y agoThe reddit post I linked to has a few different examples. As far as I can see only B triggered German. edit: I just tried myself, and no German.
- hathym 3y agoIt's been almost a year since ChatGPT came to life, and poor ol' Google, with all its cash and brainpower, still can't catch up!
- luke-stanley 3y agoI upvoted this, and also I am wondering, is this much different from any other benchmark?
- moffkalast 3y agoQuite interesting that Mistral scores so abysmally on this metric while outperforming Llama 2 7B and 13B easily in all other benchmarks. I suppose they must have on average ~5% less things memorized?
- Rastonbury 3y agoI think it is from RLHF. If you ask Mistral for something that doesn't exist it will create fantastical but plausible sounding explanations
- h1fra 3y agoGPT 4 being only 3% does not convince me. If you ask well known stuff yes it will mostly get it right, but as soon as you ask something a little bit less known it will happily invent anything. About half of my answers from ChatGPT comes with lies or partial info.
- troupo 3y agoIt's also extremely bad at anything resembling any math or numbers: calculations, unit conversions, weather etc.
- Kiro 3y agoIt's bad, but not extremely bad imo. With Code Interpreter I would even say it's decent at conversions (which it defaults to now if you ask it to convert something).
- Kiro 3y agoI also think 3% sounds low but half of your answers? What kind of questions are you asking?
- pizza234 3y agoIn my personal experience, the rate of hallucinations is proportional to the technical depth of a question. Questions like "how to build project X" have a high rate of hallucinations, for example.
- dudeinjapan 3y agoWhere can I get some of whatever Google Palm 2 Chat is on?
- zone411 3y agoImportant to note that this is only about summarization. Confabulations could happen in other ways. Likely correlated but raw numbers don't mean much.
- weinzierl 3y agoI've heard we "confabulation" is the more correct term but never understood the difference.
- weinzierl 3y agoThe cynic in me wants to create a "FHBs by Hallucination Rate" table. FHB = fellow human being
- j1elo 3y agoHow can Llama 2 13B be worse than Llama 2 7B? I thought that more training parameters would always mean better results.
- Palmik 3y agoThe gap between OpenAI and Google is huge, especially taking into account the low answer rate for PaLM 2. This is worrying.
- RandomLensman 3y agoShockingly high rates even for the best and way too high for any critical application without proper supervision. Even a factor 10 better at the top is probably still not good enough for some things.
- soroushjp 3y agoJim Fan from NVIDIA explained how flawed the methodology of this benchmark is. I wouldn't put any weight on it. https://www.linkedin.com/posts/drjimfan_please-see-update-below-a-recent-llm-hallucination-activity-7130230516246593536-mxAY https://www.linkedin.com/posts/drjimfan_please-see-update-be...
- irrational 3y agoIt should be called confabulation instead of hallucination.
- nullc 3y ago> "Of these 1000 documents, only 831 document were summarized by every model, the remaining documents were rejected by at least one model due to content restrictions." 17% failure rate from models refusing to operate.
- FrustratedMonky 3y agoCan I get a Hallucination Rate Chart like this for Humans by political party? 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.
- mistercow 3y agoWhat immediately jumps out to me about this is that if 3.5-turbo is scoring within one percentage point of GPT-4 on accuracy, your assessment just isn’t tough enough.
- motohagiography 3y agoMaybe the solution isn't to mitigate hallucinations, but to make them more interesting. In an single LLM response hallucinations are misleading, but in a generative adversarial network of LLMs they could be intuitive leaps. I'd wonder whether there's limited value in effort to optimize against them. When human language models hallucinate, we attribute it to things like jealousy, conceit, anger, and negative emotions. Not saying LLMs have them, but in an agggregated group of them, evolving a characterization of each others hallucinations could be analogous.
- Obscurity4340 3y ago> Confabulation
- ofermend 3y agoWe just updated the Hughes Hallucination Evaluation model (HEM) with the results of using the latest (beta) version of Palm 2. TL;DR - much better than before.
- DonsDiscountGas 3y agoPretty cool to see this quantified. Although they're judging each model with a different model, I'd be curious to have some accuracy on that. I'd also be really interested to have the task done by a human (or group of humans, say MTurk) and see how the accuracy compared.