215 points · by rfw300 · 2y ago · 255 comments
Bonus question 1: Why do humans produce speech? Is it a representation of text? Why then do humans produce text? Is there an intent to communicate, or merely to construct a "correct" symbolic representation?
Bonus question 2: It's been said that every possible phrase is encoded in the constant pi. Do we think pi has intelligence? Intent?
A pixel is a pixel, colors cannot be true or false. The only way we can say a pixel is right or wrong in google maps is whether the act of the human utilizing that pixel to understand geographical information results in the human correctly navigating the road.
In the same way, an LLM can tell me all kinds of things, and those things are just words, which are just characters, which are just bytes, which are just electrons. There is no truth or false value to an electron flowing in a specific pattern in my CPU. The real question is what I, the human, get out of reading those words, if I end up correctly navigating and understanding something about the world based on what I read.
That's just one use case out of many. We also want it to tell stories, make guesses, come up with ideas, speculate, rephrase, ... We sometimes want facts. And sometimes it's more efficient to say "give me facts" and verify the answer then to find the facts yourself.
However, I think we are underestimating the new workflows this tech will enable. It will take time to search the design space and find where the value lies, as well as time for users to adapt to a different way of using computers. Even in fields like law where correctness is mission-critical, I see a lot of potential. But not from the current batch of products that are promising to replace real analytical work with a stochastic parrot.
So then you agree with the OP that an LLM is not intelligent in the same way that Google Maps is not intelligent? That seems to be where your argument leads but you're replying in a way that makes me think you are disagreeing with the op.
Though in this case I'm not even sure what the comment they're supposedly disagreeing with is even claiming. Is it even claiming anything?
No, the real question is how you will end up correctly navigating and understanding something about the world from a falsehood crafted to be optimally harmonious with the truths that happen to surround it?
Different training methodology and objective and possibility to correct obviously wrong outcomes by comparing it against reality.
It is conditioning on latents about truth, falsity, reliability, and calibration. All of these inferred latents have been shown to exist inside LLMs, as they need to exist for LLMs to do their jobs in accurately predicting the next token. (Imagine trying to predict tokens in, say, discussions about people arguing or critiques of fictional stories, or discussing mistakes made by people, and not having latents like that!)
LLMs also model other things: for example, you can use them to predict demographic information about the authors of texts (https://arxiv.org/abs/2310.07298), even though this is something that pretty much never exists IRL, a piece of text with a demographic label like "written by a 28yo"; it is simply a latent that the LLM has learned for its usefulness, and can be tapped into. This is why a LLM can generate text that it thinks was written by a Valley girl in the 1980s, or text which is 'wrong', or text which is 'right', and this is why you see things like in Codex, they found that if the prompted code had subtle bugs, the completions tend to have subtle bugs - because the model knows there's 'good' and 'bad' code, and 'bad' code will be followed by more bad code, and so on.
This should all come as no surprise - what else did you think would happen? - but pointing out that for it to be possible, the LLM has to be inferring hidden properties of the text like the nature of its author, seems to surprise people.
No, it isn't, and no, they haven't [1], and no, they don't.
The only thing that "needs to exist" for an LLM to generate the next token is a whole bunch of training data containing that token, so that it can condition based on context. You can stare at your navel and claim that these higher-level concepts end up encoded in the bajillions of free parameters of the model -- and hey, maybe they do -- but that's not the same thing as "conditioning on latents". There's no explicit representation of "truth" in an LLM, just like there's no explicit representation of a dog in Stable Diffusion.
Do the thought exercise: if you trained an LLM on nothing but nonsense text, would it produce "truth"?
LLMs "hallucinate" precisely because they have no idea what truth means. It's just a weird emergent outcome that when you train them on the entire internet, they generate something close to enough to truthy, most of the time. But it's all tokens to the model.
[1] I have no idea how you could make the claim that something like a latent conceptualization of truth is "proven" to exist, given that proving any non-trivial statement true or false is basically impossible. How would you even evaluate this capability?
https://arxiv.org/abs/2310.06824
But what you should really read over is Anthropic's most recent interpretability paper.
I suspect over the next few years we're going to see more and more behaviors in LLMs that turn out to be predictive of human features.
Q1: A ""correct" symbolic representation" of x. What is x? Your "Is there an intent to communicate, or" choice construct is problematic. Why would one require a "symbolic representation" of x, x likely being a 'meaningful thought'. So this is a hot debate whether semantics is primary or merely application. I believe it is primary in which case "symbolic representation" is 'an aid' to gaining a concrete sense of what is 'somehow' 'understood'. You observe a phenomena, and understand its dynamics. You may even anticipate it while observing. To formalize that understanding is the beginning of 'expression'.
Q2: because while there is a function LLM(encodings, q) that emits 'plausible' responses, an equivalent function for Pi does not exist outside of 'pure inexpressible realm of understanding' :)
There is nothing magic about perception to distinguish it meaningfully from symbolic representation; in point of fact, that which you experience is in and of itself a symbolic representation of the world around you. You do not sense the frequencies outside the physical transduction capabilities of the human ear, or the wavelengths similarly beyond the capability to transduce of the human eye, or feel distinct contact beyond the density of haptic transduction of somatic nerves. Nevertheless, those phenomena are still there, and despite their insensible nature, have an effect on you. Your entire perception is a map, which one would be well advised to not mistake for the territory. To dismiss symbolic representation as something that only occurs on communication after perception is to "lose sight" of the fact that all the data your mind integrates into a perception is itself, symbolic.
Communication, and symbolic representation is all there is, and it happens long before we even get to the partnof reality where I'm trying to select words to converse about it with you.
You're right that there's nothing magic about it at all. The mind operates on symbolic representations, but whether those are symbolic representations of external sensory input or symbolic representations of purely endogenous stochastic processes makes for a night-and-day difference.
Perception is a map, but it's a map of real territory, which is what makes it useful. Trying to navigate reality with a map that doesn't represent real territory is not just not useless, it's dangerous.
But humans are equipped with sensory input, allowing us to formulate our notions by reference to external data, not just generate notions by internally extrapolating existing notions. When we fail do do this, and do formulate our notions entirely endogenously, that's when we say we are hallucinating.
Since LLMs are only capable of endogenous inference, and are not able formulate notions based on empirical observation, the are always hallucinating.
When they don't recall correctly, it is hallucination. When they recall perfectly, it is regurgitation/copyright infringement. We find issue either way.
May I remind you that we also hallucinate, memory plays tricks on us. We often google stuff just to be sure. It is not the hallucination part that is a real difference between humans and LLMs.
> Why do humans produce speech?
We produce language to solve body/social/environment related problems. LLMs don't have bodies but they do have environments, such as a chat room, where the user is the environment for the model. In fact chat rooms produce trillions of tokens per month worth of interaction and immediate feedback.
If you look at what happens with those trillions of tokens - they go into the heads of hundreds of millions of people, who use the LLM assistance to solve their problems, and of course produce real world effects. Then it will reflect in the next training set, creating a second feedback loop between LLM and environment.
By the way, humans don't produce speech individually, if left alone, without humanity as support. We only learn speech when we get together. Language is social. Human brain is not so smart on its own, but language collects experience across generations. We rely on language for intelligence to a larger degree than we like to admit.
Isn't it a mystery how LLMs learned so many language skills purely from imitating us without their own experience? It shows just how powerful language is on its own. And it shows it can be independent on substrate.
You nailed it right there.
The existence of arbitrary string encodings in transcendental numbers proves absolutely nothing about the processing capabilities of adaptive algorithms.
LLMs corral a similar randomness to statistically answer things correctly more often than not.
A human can tell you the sky is blue based on its model. So can any LLM. The sky is blue. So the output from both models is truthy.
But a human can also tell you that the sky is blue based looking at the sky, without engaging in any model-based inference. An LLM cannot do that, and can only rely on its model.
Humans can engage in both empirical observation and stochastic inference. An LLM can only engage in stochastic inference. So while both can be truthy, only humans currently have the capacity to be truthful.
It's also worth pointing out that even if human minds worked the same way as LLMs, our training data consists of an aggregation of exactly those empirical observation -- we are tokenizing and correlating our actual experiences of reality, and only subsequently representing the output of our inferences with words. The LLM, on the other hand, is trained only on that second-order data -- the words -- without having access to the much more thorough primary data that it represents.
I write six pieces of code that I believe have no bugs. One has an off-by-one error. I didn't have any different experience writing the buggy code than I did writing the functional code, and I must execute the code to understand that anything different occurred.
Shall I conclude that myself and the witness were hallucinating when we got the right answers? That intelligence is not the thing that got us there?
If you were recalling stored memories of experiences that were actual interactions with external reality, and some of those memories were subsequently corrupted, then no, you were not hallucinating.
If you were engaging in a completely endogenous stochastic process to generate information independently of any interaction with external reality, then yes, you were hallucinating.
> That intelligence is not the thing that got us there?
It's not. In both cases, the information you are recalling is stored data generated by external input. The storage medium happens to be imperfect, however, and occasionally flips bits, so later reads might not exactly match what was written. But in neither case was the original data generated via a procedural algorithm independently of external input.
If there were a detectable difference within the mechanism, the problem of hallucinations would be easy to fix. There may be ways to analyze logits to find patterns of uncertainty characteristics related to hallucinations. Perhaps deeper introspection of weights might turn up patterns.
The difference isn't really in your mind either. The difference is simply that the one answer correlates with reality and the other does not.
The point of AI models is to generalize from the training data, that implicitly means generating output that it hasn't seen as input.
Perhaps the issue is not so much that it is generalizing/guessing but the degree to which making a guess is the right call is dependent on context.
When an LLM is trained, it essentially compresses the knowledge of the training data corpus into a world model. "Right" and "false" are thereby only emergent when you have a different world model for yourself that tells you a different answer, most likely because the LLM was undertrained on the target domain. But to the LLM, the token with the highest probability will be the most likely correct answer, similarly to how you might have a "gut feeling" when asked about something which you clearly don't understand and have no education in. And you will be wrong just as often. The perceived overconfidence of wrong answers likely stems from human behaviour in the training data as well. LLMs are not better than humans, but they are also not worse. They are just a distilled encoding of human behaviour, which in turn might be all that the human mind is in the end.
LLM's become fluent in constructing coherent, sophisticated text in natural language from training on obscene amounts of coherent, sophisticated text in natural language. Importantly, there is no such corpus of text that contains only accurate knowledge, let alone knowledge as it unambiguously applies to some specific domain.
It's unclear that any such corpus could exist (a millennias old discussion in philosophy with no possible resolution), but even if you take for granted that such a corpus could, we don't have one.
So what happens is that after learning how to construct coherent, sophisticated text in natural language from all the bullshit-adled general text that includes truth and fiction and lies and fantasy and bullshit and garbage and old text and new text, there is a subsequent effort to sort of tune the model in on some generating useful text towards some purpose. And here, again, it's important to distinguish that this subsequent training is about utility ("you're a helpful chatbot", "this will trigger a function call that will supplement results", etc) and so still can't focus strictly on knowledge.
LLM's can produce intelligent output that may be correct and may be verifiable, but the way they work and the way they need to be trained prevents them from ever actually representing knowledge itself. The best they can do is create text that is more or less fluent and more or less useful.
It's awesome and has lots and lots of potential, but it's a radically different thing than a material individual that's composed of countless disparate linguistic and non-linguistic systems that have never yet been technologically replicated or modeled.
Most of what you wrote shows that you have zero education in modern deep learning, so I really wonder what makes you form such strong opinions on something you know nothing about.
This is precisely what people are identifying as problematic
No, you added an extra 'l'. It's not a world model, it's a word model. LLMs tokenize and correlate objects that are already second-order symbolic representations of empirical reality. They're not producing a model of the world, but rather a model of another model.
My understanding of retrieval-augmented generation is that it is an attempt to add a world model (based on a domain-specific knowledge database) to the LLM; the result of the article is that the combination still hallucinates frequently.
I might even go further to suggest that the latter part of your comment is entirely anthropomorphization.
Thank you for this sentence: it is hard to get across how often Gen-AI proponents are actually projecting perceived success onto LLMs while downplaying error.
I don't think I've seen a single article about an AI getting things wrong, recently, where there was a nuanced notion about whether it was actually wrong.
I don't think we're anywhere close to "nuanced mistakes are the main problem" yet.
I think we're taking models that have been optimized for a particular thing and repurposing them towards new tasks and then assuming that the principles of large language models as we have developed them are just universally inherent properties of AI, which I think is not at all the case.
Conceivably, you absolutely could train models where their own built-in metric of success involves a notion of appropriateness of citations. The models we have simply don't do that, but I don't think we should proceed to the assumption that we are witnessing the future of AI with hallucinations everywhere, I just think it's a lazy repurposing of systems that were not initially designed with these things in mind.
If this approach doesn't really generalize well, it negates a lot of the usefulness of these methods and suggests we are further away than we might think.
We might gradually improve constructing graphs from data like texts, images and speech. And we could create systems that correctly create synthetic data from generated graphs to serve as a training data for large multimodal model.
A lot of human exuberance (and thus investment) is riding on the questionable idea that a really good text fragments correlation specialist system can usefully impersonate a generalist AI. ("LLM, which rocks are the best to eat?")
Even worse: Some people assume an exceptional text-specialist model will usefully meta-impersonate a generalist model impersonating a specific and different kind of specialist! ("LLM, do my taxes.")
Done. It works for me, but mostly because I can easily validate and I'm confidant in quick / painless validations on my end.
Something in depth that involves a great deal more multi step reasoning to get from point A to B, I've got my doubts. If anything that's where I see AI wander off the path into a mess.
But that's a terrible fit for law. In law, the differences really matter.
Clearly I am just bullshitting myself here, I don't know how to train the second model. Something mapping text to reliable sources...(waves hands)
You mean basically Google search? What you want is an intelligent search engine, no such search engine exist today but not due to lack of trying, this is a trillion dollar problem.
>we put the claims of two providers, LexisNexis (creator of Lexis+ AI) and Thomson Reuters (creator of Westlaw AI-Assisted Research and Ask Practical Law AI)), to the test
LexisNexis, and Thomson Reuters, those are established big companies offering these services.
I'm not in the LLM training space, but I'd also think that that kind of failure would be the easiest to fix, i.e. instead of starting out with "Currently...", start out with "As of <date>..."
They've got the same talent constraints as everyone else pursuing bespoke LLM implementations.
1) Executives who don't understand LLMs at all and don't really understand the process of building products under massive uncertainty around product quality. 2) Executives who have grown up building products which didn't need insane amounts of continual tuning. 3) Internal process that isn't set up for the types of products mentioned in 1 and 2 4) Entire groups of stakeholders in the same position as executives, putting pressure on the people building these things.
To make an analogy - this space is closer to the self driving car project at Google. Zero product risk, the technology is sort of all there, but putting it all together is difficult and it's gonna be ready when it's ready. Pushing something out to meet a schedule aint gonna work.
Reality: Me doing dishes and cooking dinner while robots do art.
Or see social media replacing news etc, similar situation. It turns out that manipulating our emotions at scale isn't that hard.
Edit: Look at old things that were made, craftsmen put in extra work to make them beautiful. Modern things machine took all that work and produce standard things, machines took most of the art making that lots of people used to engage with already. Instead today humans mostly do paperwork.
Edit2: Point was that technology always made us move from art to ever more tedious work, only exception was probably farming.
Because that isn't how you write good songs any more than it's likely how you write good legal filings.
Context:
I'm a sole developer that quit my job at Google 7 months ago, decided to 18 months ago after getting first-hand look at how search x AI was being built.
I just wrapped up 2 days of final benchmarking for release.
3-search-query RAG scores 97% on the USMLE, 6 points above "SOTA": Gemini 1.5 tuned for med that does 4 rounds of N answers each round, then 3 search queries to resolve differences.
How am I possibly roundly beating that? Rushing. Lack of attention to basic details while just getting to the desired outcome, "we finetuned for med and beat GPT-4". And that's *Google*, infinitely resourced.
And Perplexity? AI startup darling? 76%. That's the $40/month version. The free version is at 66%. I'm absolutely stunned, it didn't seem great, I didn't know it was actively much worse than just using ChatGPT.
If that's how Google and Perplexity are going, I can't even imagine the shenanigans that are going down at companies like these. They don't have infinite resources, expertise, or have it as a core competency. There's probably more effort put into who gets to work on the AI thing than working on the AI thing.
(I did legal & med benchmarking, for legal to compare TFA, perplexity free 58%, perplexity pro 67%, llama 8B w/no internet 65%, gpt4o x internet 90%)
Companies are obliged or incentivized to start introducing products so that customers can see what's acheivable, but it's not yet obvious where generative AI products will be able to really take root and where they'll just be written off until some big innovation is made.
And whatever happens, it seems very unlikely that it will apply to white collar jobs in general any time soon. It will apply to some industries, but others almost certainly won't be able to get what they need from what seems possible far -- or will only find use for it in certain narrow segments of their work.
That and the fact that we're no longer training and leveling up juniors. Companies want to hire just one senior employee and let them use AI as they would a team of junior employees.
But since we're no longer training juniors, we're no longer creating seniors. What happens when there's no one skilled enough to replace those senior employees when they leave?
I think the consensus though is still pretty strongly that these cutting edge models we have now are going to be laughably bad in a few years.
I don't know why anyone thinks that an AI that just trots out commonplace solutions to legal problems is something that most people even want.
GPTs might be able to do boilerplate basics, but since it cannot actually understand nuance, it's not going to help with really specific things.
Which makes you wonder why a non-LLM system -- an expert system, a database, some sort of DSL even -- isn't better than this stuff.
Why, if there is rigour and precedent, is there not a solution that doesn't start from a foundation of waffle and imprecision?
Law is a fact-specific discipline, laden with jargon, and where the answers can change on a pretty frequent basis. It's not that far off the mark to say that the answer to every legal question is "it depends." What you need is a system that can take a moderately free-form explanation from a user, tease out the legal aspects from that explanation to match against the legal database (which almost certainly isn't going to use the same terms the user used!) to arrive at the answer, and in the inevitable scenario where the user failed to provide enough information, also be able to recognize that more information is needed to answer the question, and query the user (in their own terms) to get them to provide that information.
LLMs are decently good at handling the language translation aspects, definitely, far better than any previous AI solutions; so it's not hard to see why people try this stuff with LLMs.
But then the supermarket checkout risk is a bounded one -- there's only so much that can be stolen using a supermarket handbasket.
Legal cases? Why does anyone think this approach can work?
No, people really care about reducing error rates, it doesn't matter that some things has higher error rates, if you can reduce the chance of a bad marriage or a bad contract people really want to do that.
I think the net result in these cases is that there's a lot more professional capacity to meet the needs of people who have braces.
I don't suspect AI is coming for our teeth anytime soon but there's precedent for it as an oversight structure that satisfies us of the legitimacy of certain types of work.
If an organization doesn't care if their pronouncements are bs, they would opt for AI and thing have to definitely be right, they'd opt for a human.
Logically, the jobs of lawyers are safe but the job of marketers are already looking doubtful.
The worst situation is when an organization can calculate that producing bs won't hard them but where there are people still harmed by the bs.
I like that the article explains a few different ways hallucinations creep in, besides the obvious. Maybe what's most needed is a better retrieval/search system? If the AI can't fetch high quality data, then it's doomed before it tries.
They may be able to regurgitate an impressive amount of psychology texts, but that doesn't give them the theory of mind, observational skill, experience or judgement needed to be a good psychotherapist.
But often because the real reason why people are in therapy is to get someone else’s perspective on what they’re experiencing.
And fundamentally, that is destined to fail when it’s not an actual human involved.
I guess once the fashion passes (probably not soon, unfortunately), people will see the real value of LLMs and will start applying them to problem that are solvable by them, and not absolutely everything.
People were clear about the value of both. SMTP by itself was already a clear value for business. The WWW itself was invented in 1989. Same for Bitcoin as the title of the original paper, "Bitcoin: A Peer-to-Peer Electronic Cash System ", explains it all. Some capabilities were not there yet, but it was mostly infrastructure and engineering issues (Acceptance was another issue for bitcoin).
LLMs generate tokens. The generation is governed by the models, but the model itself has no concept of usefulness or truth. Books are not enough to train them. The WWW has a lot of garbage informations. And natural language is insufficient to describe exact processes without formalizing it.
The fact is that the human mind can already do what the LLMs fans hope them to achieve. And we can transfer knowledge through media. Getting something done is mostly assembling the right people in a room, recursively. And we built tools to enhance productivity.
I believe that Microsoft and others are hoping that the general public will be ok with wrong results. But the fact is that all the capabilities exposed so far have an alternative and more deterministic process to achieve the same result. But it often requires learning or hiring a specialist and it's sad to see how many people are balking at that.
I just want to bang a marching bass drum while walking through their office and continually shout, "you still have to do the messy part!"
Im genuinely curuous, how does this work in regular law? Does anyone ever check all the citations, etc? Does a judge really deep read all 200 pages of filings and arguments? Do they just scan them efficiently as a lot of it is familiar?
Also, some of the citations are routine, and are very well-known by lawyers and judges. For example, when a lawyer sees “Carolene Products footnote 4”, they don’t have to check it to know it’s about interstate commerce. In some SCOTUS opinions, 1/3 of the footnotes could be routine ones like this.
Lawyers absolutely read every word of court decisions—citations, notes, appendices, concurrences, and dissents. Usually multiple times. But that tends to happen when looking to cite, criticize, or argue about a particular decision that matters. In other words, when you might have to defend your interpretation against another lawyer. And when you have the time. Which is money.
Lawyers reading for other reasons may skim, hunt for specific passages, or even just glance any provided syllabus, depending on why they are reading. When you've read enough of these, by the same judges, living and dead, over and over, you get a sense not just of formatting and structure but written and thinking style, as well. You get better at determining whether and when it's worth a full, deep read.
One of the things American law schools teach by experience in the first year is that the level of attention, organization, and critical thinking expected in reading is far higher, in its own peculiar way, than what most students are used to putting in, even from very strong academic backgrounds. Then they develop endurance for it, by assigning many cases to read for each class session, several times a week, for several classes at once. All in a competitive environment where your hiring prospects largely come down to grades and your grades come down to a single exam per subject, each awarded on strict statistical curves.
Part of it's that you learn what you need to read. Part of it's that you just grind. When you've been grinding long enough, you don't even feel it anymore. It still hurts, but it's a long, slow abrasion on your mind and personality. Not a stitch in your side anymore.
I'll never tell anyone off from reading Supreme Court opinions. It's your court! As long as you can keep it. But for most folks reading for interest, the syllabus is fine. If you want just a little more than that, read the intro and concluding sections of the "opinion of the court". Then read the intro of each dissent, if there are any.
Yes. At higher levels (state supreme courts and above), there are staff checking every single citation. It's often checked in a paper copy of the original source, which in rare cases could be a book from e.g. the 1700s.
Being wrong a third of the time would be a notable improvement for the human medical professionals I've dealt with. It's basically a coin-flip when it comes to the correctness and quality of what they claim.
When a human is incompetent, you can blame them or their employer. You have recourse.
All it takes is a machine using full sentences, and suddenly we assume it must be smart. This is why humans fall for scams, and this is why humans get into cults.
I guess thats something LLMs can teach us; how flawed we are in evaluating whether someone is speaking the truth without researching anything.
I wish someone would get free consultations with 100 attorneys and record the meetings. Then grade their answers in the same way the LLMs were graded.
My guess (and it is only a guess) is that the AIs outperform real attorneys during free consultations by hallucinating less and giving truthful answers more often.
Ask the same question 4 different times, on 4 different models.
If any of the 4 contradict each other, have a human manually review.
You can even change the question, change the seed, etc...
Its interesting how few people know how to use LLMs effectively. Here is my most recent protip, after getting an answer say:
"That was a 2/10 answer, give me a 10/10 answer"
If you were able to answer this definitively, then you wouldn't need the 4 intermediate models.
1 out of 6 times the blackbox produces completely wonky/risky output. Yet it costs far far more to fix the changes introduced by the blackbox including the hallucinations.
This is the blockchain argument all over again I see in the comments. Literally just swap it out for AI/LLM and it feels like the crypto bubble peak
What AI hype is doing is giving companies to massively garnish white collar wages by making everybody think it can (when in reality AI cannot replace a sentient human interface completely) extrapolating to wild science fiction novels. A bit disappointing to see, thought reddit would be more for this type of speculation.
When you do that, the quality is more than passable, and instantaneous.
I wonder if tweaking the randomness factor might help here
We’ve seen this happen, and it seems to typically result in sanctions. Until that’s not the typical outcome, LLM performance is all just talk.
If you can build good tooling around current kinda dumb LLMs now to lower that number, we will be in a pretty good position as the foundational models continue to improve.
And if they do this for a simple or a matter that you know of, how can you trust their answers in a matter if you can’t evaluate their answer?
It doesn’t get better when they are totally mixing things up but say it with certainty, instead of just saying that they don’t know or admit that they have gaps in what they know. They don’t just get it wrong like humans do, it’s just weirdly wrong. Humans usually get it consistently wrong. Perhaps it’s about what they are not saying.
Would I always be able to tell it’s not a human I talk with, probably not. But chances are that I will know, the longer I talk to them.
When we get it right — our internal model matches reality, and we also say something that matches reality — we call it "truthfulness", and it's super valuable.
But I think there are two really different sources of hallucination / inaccuracy / lies. One is that the internal model is wrong — "Oops, I was wrong. The CVS isn't on Main St." The other is when we decide to deceive. "Haha, I sent you to Main St. CVS is really on Center Rd." Two very different internal processes with the same outcome.
If we were only engaging in model-based inference, then we, too, would always be hallucinating. But the very thing you're pointing out -- that we act differently when our internal model is wrong vs. when it is right -- is the crux of the difference. We use models, but then we have the ability to immediately test the output of those models for correctness, because we have semantic, not just syntactic, awareness of both the input and output data. We have criteria for determining the accuracy of what our model is producing.
LLMs don't, and are only capable of engaging in stochastic inference from the pre-defined model, which solely represents syntactic patterns, and have no ability to determine whether anything they output is semantically correct.
I wouldn't expect a human to be able to just spit out all relevant case law, completely correctly with every last aspect of the citation accurate down to every last digit, based on solely their internal language model either.
It is perhaps worth noting that mathematicians at all three of the above stages of mathematical development can still make formal mistakes in their mathematical writing. However, the nature of these mistakes tends to be rather different, depending on what stage one is at:
1. Mathematicians at the pre-rigorous stage of development often make formal errors because they are unable to understand how the rigorous mathematical formalism actually works, and are instead applying formal rules or heuristics blindly. It can often be quite difficult for such mathematicians to appreciate and correct these errors even when those errors are explicitly pointed out to them.
2. Mathematicians at the rigorous stage of development can still make formal errors because they have not yet perfected their formal understanding, or are unable to perform enough “sanity checks” against intuition or other rules of thumb to catch, say, a sign error, or a failure to correctly verify a crucial hypothesis in a tool. However, such errors can usually be detected (and often repaired) once they are pointed out to them.
3. Mathematicians at the post-rigorous stage of development are not infallible, and are still capable of making formal errors in their writing. But this is often because they no longer need the formalism in order to perform high-level mathematical reasoning, and are actually proceeding largely through intuition, which is then translated (possibly incorrectly) into formal mathematical language.
The distinction between the three types of errors can lead to the phenomenon (which can often be quite puzzling to readers at earlier stages of mathematical development) of a mathematical argument by a post-rigorous mathematician which locally contains a number of typos and other formal errors, but is globally quite sound, with the local errors propagating for a while before being cancelled out by other local errors. (In contrast, when unchecked by a solid intuition, once an error is introduced in an argument by a pre-rigorous or rigorous mathematician, it is possible for the error to propagate out of control until one is left with complete nonsense at the end of the argument.)
https://terrytao.wordpress.com/career-advice/theres-more-to-...
It makes sense TO conflate them so that people can better understand what's going on under the hood. We need to "de-personalize" these things as much as possible so we don't make stupid mistakes surrounding them.
Think of it like this: How USEFUL is it to say "I googled 'the closest ice cream shop to my house' but it 'hallucinated' the one that was the second-closest'"
It's just a dumb term.
a google search doesn't do that though. It will actually select ice cream shops from it's database, determine their location, your location, and calculate the distance. And then select the closest.
It may mis-calculate, but it will not "hallucinate".
This is incredibly different than what LLMs do, which is why hallucinate is appropriate for an LLM but not appropriate for a conventional search or map engine
I don't really think there's any winning this propaganda war until it shatters under its own illusions. It's shouting into the wind.
if LLM was just another "framework" that a php developer could pick up we could build systems to deal with these "hallucinations".
Well, it’s either that or you were being a human elitist and portraying a difference of degree as a difference in kind. Idk if we’ve settled on terms yet but I’d probably level ones like “automatist”, “bio supremacist”, or maybe “radical humanist”…
Insofar as the mechanism by which LLMs operate mirrors the mechanisms by which the brain operates - which they do, to some degree - yes, the fact that LLMs hallucinate reflect the gap between perceptions, thoughts, and "reality" in human behavior, and there is indeed a deeper philosophical lesson to be drawn here. If LLMs manage to disabuse the field of software engineering of its apparently common conceptions about the brain works and reflects reality, I'll consider it a win.
> Well, it’s either that or you were being a human elitist and portraying a difference of degree as a difference in kind. Idk if we’ve settled on terms yet but I’d probably level ones like “automatist”, “bio supremacist”, or maybe “radical humanist”…
I'm not sure how I could be considered a bio-supremacist for pointing out that a hammer is not a drill. LLMs are phenomenally complicated tools, but as currently deployed, they're tools, not beings. We may at some point create a system that one could credibly claim is an actual artificial intelligence, and that system may contain things that look or operate like LLMs, but right now what we're looking at are large statistical model that we're operating by providing it inputs and reading the outputs.
A first-line criteria here, for me, would be that the system operates continuously (ie: not just when someone puts a token in the box). The LLMs we're discussing here do not do that. Someone generates a series of tokens, provides those as inputs to the equation, and then runs the equation, and then decides whether to continue to provide inputs into the equation until they're satisfied by the result. That's a tool, not a "being".
https://www.theguardian.com/world/2024/feb/29/canada-lawyer-...
https://arstechnica.com/tech-policy/2023/06/lawyers-have-rea...
Also Michael Cohen used ChatGPT, sent cases to his attorney and then realised they were nonsense:
https://www.npr.org/2023/12/30/1222273745/michael-cohen-ai-f...
I don't know how else to get this message across, but it does this all the time in all subjects.
It doesn't just occasionally hallucinate mistakes. The mechanism by which it makes non-mistakes is identical and it can't tell the difference.
There is no profession where you a) you shouldn't prefer an expert over ChatGPT and b) you won't find experts idiotically using ChatGPT to reduce their workloads.
This is why it's a grotesquely inappropriately positioned and marketed set of products.
A lawyer would be taking on massive risks by trusting GPT outputs even while thinking 1/6 chance of noise filtering would be a form of risk mitigation, they are mistaken. It's a slot machine in some sense but it gives you a small payout 5/6 times.
What do you call a person who just barely passed the bar exam?
One of the models studied markets itself with "AI-Assisted Research on Westlaw Precision is the first generative AI offering from Thomson Reuters and will help legal professionals find the answers they need faster and with high confidence."
Another says "Most attorneys know Practical Law as the trusted, up-to-date legal know-how platform that helps them get accurate answers across major practice areas. Its newest enhancement, Ask Practical Law AI is a generative AI search tool that dramatically improves the way you access the trusted expertise from Practical Law."
A third says "Transform your legal work with Lexis+ AI"
If you just want a text bot that makes statements one word at a time we can stop throwing 100bs at this sector and some marketing departments need to come in this weekend and redo a pitch or two.
In an adversarial industry like law, where there's often another party actively invested in challenging your work, high error rates in source material translate directly to high risk of failure/rejection in a case or claim.
Putting numbers on the failure rate for current products helps the industry understand whether those products are reliable enough yet and what degree of oversight they require.
Hallucination isn't a special weird form of error: it's the entire process by which LLMs work. Proponents and enthusiasts just call the errors "hallucinations" because it sounds better than admitting "this technology makes no distinction between correct and incorrect, and will often incorrectly correct itself when an error is pointed out".
It's probably best to take a step back and ask what you actually want an LLM to do for you. Using RAG and just having it raise references to consider is probably the best you can expect.
I have sometimes asked legal question (to which I pretty much know the answer) of LLMs and my consideration is that a lot of the time the section of an Act (UK) is the principle node about which a piece of information is anchored, but the anchoring is very loose and many sections are often mentioned in proximity, leading to poor differentiation of the relevance of a document/sentence/word vector to a particular piece of legislation. It might be fixed by training NER to recognise treaties/acts/conventions and the jurisdiction and always using that to label references; I suspect the "1" in "section 1" or "17 USC 1", say, is not being tokenised as part of the "section" and this contributes to poor results. Maybe someone has worked on this?
Also, context for the jurisdiction in which a discussion is taking place is often not really given - can the LLM tell that a law firm is talking about PCT, or EPC rather than USC when it discusses first-to-file for patent law and nothing in the document itself mentions the jurisdiction or any of those three initialisms? How about when the same law firm whose blog is mentioning these things represents the same clients at WIPO, EPO and USPTO? If you're going to fine-tune for that with human question-answer sessions you're going to need some really skilled workers who know the field well.
You probably then need specific prompt templates for legal questions too.
Then they need to layer in precedence and authority of different courts, recognise obiter statements from other statements, recognise summaries of positions of different parties aren't original statements by the speaker, disregard ultra vires statements, ... simples.