← Level 1
Level 1· Lektion 15 von 17

Why the AI answers differently the second time

Same question, different answer. Where that comes from, when it should bother you and how to turn it into a free fact check.

The phenomenon

You ask a question, get an answer, close the window. Later you ask the same question again and get something different. Different words, different order, sometimes a different emphasis.

The first reaction is almost always the same. Is this thing broken? Did I get the wrong answer earlier?

Neither. This is normal, and it comes from the way these models fundamentally work. Once you understand why, you can even put it to work for yourself.

Why it happens

A language model does not look an answer up. It has no database holding the answer to your question that it then retrieves.

What it does is predict the next word, piece by piece. After "The capital of France is", "Paris" is so far ahead that practically nothing else comes into question. But after "Briefly explain to me why", there are dozens of continuations that would all make sense. The model has a probability for each one and picks one.

And here is the point. That pick is not always the same. If it comes out differently once, everything that follows changes with it. A different third word leads to a different sentence, which leads to a different paragraph.

Imagine asking someone to tell you the same story twice. Same person, same facts, and still never word for word identical. That is exactly how the model behaves.

The dial behind it

How much variation you get can be adjusted. The dial is called temperature.

Set low, the model reaches for the most likely continuation more often. The answers become more predictable and more alike, but also drier and more repetitive. Set high, it dares more and picks something unusual more often. That gets more creative and riskier at the same time, because more nonsense slips through as well.

In the normal chat interfaces you usually do not see this dial at all, it is preset to a sensible middle value. In developer tools and building kits you can often set it yourself. As a beginner it is enough to know that it exists and that it explains why some tools feel more erratic than others.

Even "all the way down" does not mean "always identical"

You would expect the dial at minimum to produce exactly the same thing every time. In practice that is not quite true.

These models run on hardware that processes a great many requests at once. That produces tiny numerical differences in the calculation. When two possible words are almost neck and neck, a tiny difference like that can decide which one wins. And from there the answer carries on differently again.

For your everyday use it simply means this. Never rely on an answer being exactly reproducible. If you need something word for word, copy it out and save it. Do not have it generated again and hope.

What that means in practice

Different is not wrong. Two answers worded differently can both be completely correct. That is the normal case and no reason to worry.

For creative tasks the spread is actually the advantage. If you do not like a headline, have it give you ten more. That is exactly what the variation is there for.

It gets awkward when you need something dependable. Always the same format, always the same structure, always the same breakdown. Then "give me a summary" is not enough. Then you supply an example of the result you want and spell out the structure explicitly. The more precisely you describe the target, the less room is left and the more alike the answers become. More on that in level 2, in the prompting fundamentals.

The free fact check

And now the most useful part of the whole thing. You can use the spread as a warning system.

Ask the same factual question twice, but in two fresh chats. Fresh matters. In the same conversation the model sees its own earlier answer and sticks with it for that reason alone. You would not be checking anything.

Then compare only the hard details. Numbers, names, years, legal paragraphs, sources.

If those differ, that is a strong alarm signal. When a model has really learned something, both runs produce the same thing, the way they do with Paris. If the facts wobble, it probably made them up in that moment. That is exactly the behaviour you got to know in the lesson on hallucinations.

If both agree, that is a good sign, but not proof. A model can make the same mistake twice if the mistake was already in the training data. For anything involving money, law or health, the real source stays mandatory.

The test costs you thirty seconds and catches a large share of the invented details.

The trap in it

There is one way of using this mechanism wrongly, and it is seductive.

You ask, you do not like the answer, you ask again. And again. Until one comes along that fits what you were hoping for anyway.

That is not checking anything, that is shopping for agreement. On matters of taste it is fine, go ahead and pick the nicest headline. On matters of fact it leads you astray reliably, because you are systematically throwing away the answers that contradict you.

Rule of thumb: with wording you may roll again, with facts you may not.

The takeaway

The model rolls the dice at every word, which is why no answer is exactly repeatable. Different wording is harmless. Different facts are a warning sign, and that signal is one of the simplest checking tools you have.

If you want to understand why the model additionally reacts differently after longer conversations, you will find the explanation in the lesson on context and tokens.

You're reading without an account. Login saves your progress so you can pick up where you left off. Log in →