Probabilistic Nature of Language Models
A language model can be treated as a completion machine that continues a given prompt.
Why the Chat Window Misleads Us
Most people first meet a language model through a chat window. You type a question, and text comes back that looks like an answer. It is natural to assume the model is listening to you the way a person would, understanding your request and replying to it. That assumption shapes how people use these systems, and it is also the source of many surprising results. This article starts from that assumption, tests it, and then builds a more accurate picture of what the model is doing when it writes text.
What do you think happens?
Imagine a model that does nothing except continue whatever text it is given. You give it the question 'What is the capital of France?' and nothing else. What does it write next?
Reveal answer
A raw completion model may respond with another question instead of an answer.
The model is continuing the text, not replying to a request. Continuing a question can produce more questions, so the answer you expected is not guaranteed.
A Model That Continues Text
The central idea is that a language model can be treated as a completion machine. It receives a piece of text, called the prompt, and produces the text that most plausibly follows it. The model does not look at your prompt and decide to answer it. It asks, in effect, what text usually comes after text like this, given everything in the prompt.
The misconception to correct is this: a model that produces fluent replies must be engaging with your request as a conversation partner. Completion is a different activity. The same mechanism can produce a helpful answer, a pointless restatement, or a second question, depending on what the prompt looks like and what usually follows text like it.
Conversational behavior is a separate layer. The source notes that shaping a model to respond appropriately to a user's request is handled in a later stage called post-training. The basic completion behavior comes first, and conversational behavior has to be taught on top of it.
Completion Versus Conversation
A conversation requires the model to recognize that you asked something and to respond to that request. A completion does not require that at all. A raw completion model simply extends the text it has been given. This is why a question can come back as another question: the text that usually follows a question in similar writing is not always an answer.
Tracing a Completion One Step at a Time
Consider a prompt that is not a famous quotation: 'The lighthouse keeper climbed the stairs and'. The model's continuation depends on which words most commonly follow sentences like that. The model does not need a story about lighthouses to extend the sentence. It needs only to predict the next text that fits. The diagram below traces the process as a loop: the model predicts a next piece, that piece joins the text, and the model predicts again from the longer text.
Predicting a Continuation
Given the prompt 'The lighthouse keeper climbed the stairs and', what determines the model's continuation?
- 1Read the whole prompt
The model takes all of the text it has been given as its context, not only the last word.
- 2Estimate what usually follows
The model estimates which pieces of text are likely to come next, given sentences that look like this one.
- 3Choose a likely continuation
The output is a continuation that is likely given the input. Nothing in the process requires knowing a fact about lighthouses.
The continuation is whatever text most plausibly extends this sentence, which is a prediction and not a rule-based answer.
Completions as Probabilistic Predictions
Because the model estimates which text is likely to come next, it does not produce one fixed answer by rule. Its estimates are probabilities. Many different continuations can be plausible for the same prompt, and the one that appears in the output is a continuation that is likely given the input. The same mechanism that makes these systems flexible is what makes their output uncertain.
Why a Likely Continuation Can Still Be Wrong
A completion is a prediction, and predictions can be wrong. A continuation can read smoothly and still be factually incorrect, because fluency and correctness are separate properties. The model is optimizing for text that fits what usually follows, and that is a different target from text that is true.
The source describes this probabilistic character as what makes language models both exciting and frustrating to work with. The limitation is not a bug in one particular model. It follows from the framing itself: a system whose job is to continue text will sometimes continue in ways that serve you poorly. Knowing this is the first step toward writing prompts that steer it.
Reframing Tasks as Completion Prompts
Once you accept that a model completes text, many jobs can be restated as completion problems. The source highlights translation, summarization, coding, and solving math problems, and also spam classification. The method is the same in each case: write the prompt so that the most likely continuation is the output you want.
Translation works this way. The prompt 'How are you in French is ...' leaves a gap that a plausible continuation can fill with 'Comment ça va'. The model is not given a translation rule to execute. It is continuing a pattern in which a phrase is followed by its French rendering, so the translation appears as the completion.
Spam detection follows the same pattern. Consider a prompt that asks 'Is this email likely spam?' and then includes the email text. A plausible completion is 'Likely spam'. Seen this way, the language model becomes a spam classifier, because the label it writes is simply the continuation that fits the question.
The source names summarization, coding, and math as further examples of the same reframing. The principle does not change: the prompt should make the desired output the text that most plausibly comes next. The output is still a prediction, so it is still subject to the reliability limits described above.
Mistakes Beginners Make
Common mistake Treating a fluent reply as proof that the model understood and answered your request
What it looks likeA raw model answers a question with another question and the learner assumes it misunderstood.
Why it failsA completion is the text that plausibly follows the prompt. Fluency does not show that a request was recognized.
Do this insteadAsk what text would usually follow your prompt, and write the prompt so that the desired output is that text.
Common mistake Assuming a confident continuation is factually correct
Why it failsFluency and correctness are separate properties, so a smooth continuation can still be wrong.
Do this insteadVerify important outputs rather than trusting them because they read well.
Common mistake Expecting one fixed answer every time the same prompt is used
Why it failsThe model estimates probabilities over possible continuations rather than following a fixed rule.
Do this insteadTreat output as a likely continuation for the input, not a guaranteed result.
Practice Predicting Completions
Suppose a raw completion model receives only the prompt 'Summarize the following article:' with no article text after it. Predict what kind of text it is likely to write next, and explain whether it is performing a task or continuing the text it was given.
Hints
- Ask what text usually follows a line that ends with a colon and introduces a missing passage.
- Recall that a completion model extends text and does not necessarily recognize a request.
- Consider how you would rewrite the prompt so that the most likely continuation is the summary you want.
Key Takeaways
- A language model can be treated as a completion machine that continues a given prompt rather than one that listens and replies.
- A raw completion model may answer a question with another question, because completion and conversation are different activities; conversational behavior is added later through post-training.
- Completions are probabilistic predictions, so they are not guaranteed to be correct, and fluent text can still be factually wrong.
- Translation, summarization, coding, math, and spam classification can be reframed as completion tasks by writing a prompt whose most likely continuation is the desired output.