Skip to content

Building

A Probabilistic Guessing Engine

Paul Henderson,

Is ChatGPT, or any of the other large language models, a probabilistic guessing engine?

Strip off the marketing and yes. Given the text so far, it works out which word is most likely to come next, picks one, and goes again. The essays, the code, the polite apologies: all of it is built from that one move, repeated faster than you can read.

Its defenders do not like the word "guessing". They prefer "probabilistic pattern replication", and they point out that a chess engine also weighs probabilities and nobody calls a program that beats grandmasters a guesser. Fair, up to a point. The chess engine has a board. It can check every move against the rules and the position. A language model has no board. It has the text in front of it and the statistical shape of everything it was trained on, and no way at all of checking what it says against the world.

That difference decides how to use the thing.

Likely and true are different words

A model optimises for what is likely. Most of the time likely and true coincide, because most of what it learned from was written by people trying to say true things. Paris is the capital of France in almost every sentence that mentions either, so the model says Paris.

Where the training data is thin, contested or stale, the two come apart and the model cannot notice. It will cite a paper that does not exist, with plausible authors, a plausible journal and a plausible year, because that is what a citation looks like. It will give you a company's revenue in roughly the right order of magnitude and wrong in every digit. And it does all of this in the same calm, assured prose it uses when it is right, which is the part that should worry you.

You can turn the randomness down. Set the sampling temperature to zero and it picks the single most probable word every time, so you get the same answer every time. Consistent, yes. Correct, no. A deterministic guess is still a guess.

A deterministic guess is still a guess.

So make it show its working

Should you stop using it for anything that matters? I think that is the wrong answer. The tools are too useful, and the people who refuse them will be outworked by the people who use them well.

Change what you ask for instead. A model that will not volunteer its uncertainty can be told to expose it. My standing instruction to any model I work with runs roughly like this:

  • Never present generated, inferred or deduced content as fact.
  • If you cannot verify something, say so in plain words: "I cannot verify this."
  • Label anything unverified at the start of the sentence: [Inference], [Speculation], [Unverified].
  • If information is missing, ask. Do not fill the gap.
  • Treat words like "guarantees", "ensures", "eliminates" and "will never" as claims that need a source or a label.
  • If you break the rule, say so and correct it.

Does that make it honest? Not in any deep sense. The labels are generated too, and a model can mislabel. But it changes the default. Instead of a smooth paragraph where fact and invention are blended to the same texture, you get one with the seams showing: inference marked as inference, a gap coming back as a question instead of a fabrication, and, when you go to check, a clear sign of where to look first.

Which document is the dangerous one?

In finance, in law, anywhere a decision costs money, the most dangerous document is the one that is ninety-five per cent right and states the other five per cent with the same confidence. Credit memo, due diligence report, briefing note. The reader cannot check everything, so they check what looks doubtful, and a well-written error does not look doubtful.

Left to itself, a language model produces exactly that document, at industrial speed. Make it label its uncertainty and the doubtful parts look doubtful again. Which is most of what due diligence has ever been: dragging the uncertainty into the light so a person can decide what to do about it.

None of this is an argument for timidity. I use these models to draft, to structure an argument, to work through a technical question, to write code I would otherwise pay somebody else to write. I use them more hours a day than I would care to put in writing, and the productivity gain is real and it compounds.

But it is a probability machine dressed as an oracle, and the costume is the risk. Take the costume off. Make it tell you where it is guessing.

Then use it as hard as you like.