What Is Generative AI? What It Makes, and What It Does Not

Generative AI is software that learned the shape of a very large set of examples — sentences, photographs, recordings — and then produces new examples that fit that shape. It does not look anything up. Ask for a paragraph about otters and no stored paragraph is retrieved; a probability distribution is sampled, one piece at a time, and the pieces accumulate into text that did not exist before.

That one sentence carries most of what follows, including the failures. This piece separates three things that get blurred together: what “learning the shape” means in practice, why the same machinery covers text, images, and audio, and why the ability to generate fluent output is not evidence that the system understands anything.

A generative model stores a shape, not a library

Contrast it with a search engine. A search engine indexes documents and returns the ones that match your query. The document is the unit, and it exists before you ask. A generative model is trained on documents but keeps none of them in a retrievable form. What it keeps is a set of adjustable numbers — weights — tuned until the network assigns high probability to text it was shown and low probability to text that resembles nothing in the training set.

A useful analogy is a cook who never wrote a recipe down. After tasting ten thousand soups, that cook can improvise one that tastes like the family of soups they know: the right balance of salt and fat, a plausible texture, no obvious mistake. They can also produce a soup nobody has ever made. What they cannot do is tell you which of the ten thousand bowls contributed which spoonful, and if you ask for a dish from a cuisine they never tasted, they will confidently improvise something that tastes like their own tradition wearing a costume.

That is the shape of the thing. The model is a compressed statistical summary of its training data, and compression is lossy by design. Common patterns survive in detail. Rare ones get averaged into their neighbours, which is why the model is at its most impressive on common subjects and at its most dangerous exactly where the detail matters most.

Every generative model runs the same three-step loop

Strip away the branding and the loop is identical across text, images, and audio.

  1. Turn the input into numbers. Text is split into tokens — word pieces — and each token becomes a vector. An image becomes a grid of pixel values, often compressed first. Audio becomes a sequence of short frames or codec tokens.
  2. Predict the next piece, given everything so far. One forward pass through the network produces a score for every possible next piece, and those scores are turned into probabilities.
  3. Pick one, append it, repeat. The chosen piece joins the input and the loop runs again.

Text makes this visible: the next piece is a token, and a sentence grows one token at a time. Image models look different only because the “piece” is not a word. In a diffusion model the loop runs over noise levels instead of words — the system repeatedly revises a noisy grid of pixels toward something cleaner, and the prompt steers each revision. That variant is walked through step by step in how AI image generators work. Audio models usually borrow the text trick directly: sound is compressed into discrete tokens by a codec, and the model predicts the next acoustic token the way a language model predicts the next word.

Once you see the loop, several odd behaviours stop being mysterious. Output arrives at a steady rate because generation really is sequential. The same prompt gives different answers because step three samples rather than always taking the top choice. And a model cannot easily revise an early decision, because everything later was built on top of it — which is why a mistake in the first sentence of an answer tends to propagate through the rest.

Training is a long argument about probabilities

During training the model sees a piece of real text with the ending hidden. It guesses. The guess is compared with what actually came next, and the weights are nudged so that the real continuation would have scored slightly higher next time. Repeat that over an enormous number of examples and the weights settle into a configuration that captures grammar, idiom, factual associations, document structure, and a great deal of noise, all mixed into the same numbers. The general procedure — fit a model to data by reducing its error — is the subject of how machine learning works.

The score being minimised measures surprise. A model that gave the real continuation ninety percent probability is penalised less than one that gave it ten percent. Nothing in that objective says “be correct.” It says “do not be surprised by what people actually wrote.” Those two goals overlap heavily, because most published text is at least trying to be accurate, and they diverge exactly where the training text is thin, contradictory, or confidently wrong.

This is why the same architecture can produce a careful explanation of photosynthesis and a fabricated citation with equal polish. Both are fluent continuations. Only one is checked against the world, and the checking was never part of the job.

Temperature is the dial between predictable and surprising

At each step the model has a ranked list of candidate next pieces. Taking the single highest-scoring one every time produces text that is repetitive and slightly lifeless, because the most probable continuation is often the most generic one. Sampling from the distribution instead — with a setting usually called temperature — trades reliability for variety. Lower values cluster near the top choice; higher values flatten the distribution and let unlikely pieces through.

This is the mechanism behind a familiar experience. Ask the same question twice at a low setting and you get near-identical answers. Raise the setting and the second answer may take a different route, sometimes a better one, sometimes a strange one. Neither answer is a retrieval of a stored truth; both are samples from the same distribution, and the distribution is the model’s entire opinion about what should come next.

The scores being sampled come from a stack of attention blocks, which assemble each word’s context before any probability is produced. What a transformer model is covers that assembly, and it explains why a change early in the context reshapes every later score.

The dial also explains a common disappointment. Students often ask a model for “the best” sentence or “the correct” summary, expecting a lookup. There is no lookup. There is a distribution, and you are choosing how adventurous the draw from it should be.

Why “it can generate” is not the same as “it understands”

A system can be extremely good at producing text that fits a pattern without holding anything like a model of the situation the text describes. Consider how a model handles a claim it has never seen. It has no separate store of verified facts to consult. It has associations between tokens, learned from text where those tokens appeared together. When the associations are strong and the training text was accurate, the output is accurate. When the associations are weak, the model still produces the most plausible-sounding continuation, because producing something is the only thing it was trained to do.

This is the origin of confident invention. It is not a bug bolted on afterwards. It is the same mechanism that makes the system useful, running without a fact-checking step attached. The full account belongs in why AI models make things up, but the short version is that plausibility and truth are correlated, not identical, and the model only ever optimises the first.

There is a second, subtler limit. The model has no privileged access to its own processing. When it explains why it chose an answer, it is generating text that looks like an explanation, not reporting an internal audit trail. Treat those self-reports the way you would treat a witness describing a dream: interesting, sometimes informative, not testimony.

What generative AI is genuinely good at

The useful pattern is transformation with a checkable target. If you can look at the output and tell whether it is right, the model can save you a great deal of typing.

  • Reformatting. Turning a wall of notes into an outline, a table into prose, a long email into three bullet points. You know what the source said, so you can see whether the transformation preserved it.
  • First drafts. A rough paragraph you then rewrite is often faster to produce than a blank page, even when most of the draft is discarded.
  • Explaining at a chosen level. “Explain this to someone who knows algebra but not calculus” is a transformation the model handles well, because the audience is defined and the source material comes from you.
  • Generating options. Twenty title candidates, ten possible experimental confounds, five ways to phrase a difficult message. Judgement stays with you; the model supplies volume.

The complementary list is where it disappoints: precise arithmetic over long numbers, facts about obscure or very recent things, anything that requires a source you can open, and any task where being wrong is expensive and hard to detect. Those are not moral failings of the technology. They follow directly from what the training objective rewards and from what compression throws away.

What to check before you trust a generative output

  • Could you verify it without the model? If the claim has a source, a measurement, or a document behind it, go and look. If it has none, treat it as a draft opinion rather than a finding.
  • Did it invent a specific? Names, dates, numbers, and citations are where fluent guessing is most convincing and most likely to be wrong. Ask for the exact wording, then find that wording somewhere other than the model.
  • Does the answer survive rephrasing? Ask the same question a different way. A stable answer is not proof of accuracy, but an answer that changes completely between two phrasings is a warning.
  • Is the confidence matched by evidence? Tone is generated, not measured. A hedged answer and a bold one can come from the same amount of underlying support.
  • Would you sign your name to it? If not, the model did not finish the job. It produced a candidate, and the remaining work is yours.

Keep exploring

Related: how large language models work for the next-token loop in detail, how search engines work for the retrieval model this is often confused with, and the AI section for the rest of the series.