Volume 1 / Part 4 Why It Can Do That / Chapter 38
Why "Predict the Next Word" Can Also Translate and Summarize
Last time we talked about matrix math spinning away inside a GPU. But here's the puzzle: all the AI is supposedly doing is guessing the next word. So why can it translate English into Japanese, or boil a long article down to a few sentences? The trick turns out to be a shift in how we frame the problem itself.
Just Predicting the Next Word — So Why Can It Translate?
Type "From Shinjuku Station to Tokyo Station" into an AI, and it might continue with something like "how do I get there" or "how long does it take." That's just the model predicting whatever word is likely to come next. Nothing surprising here — it lines up neatly with the matrix math we looked at last time.
But feed that same AI a prompt like "Translate the following English text into Japanese," and it hands back a solid translation. Ask it to summarize something, and out comes a reasonable summary. Nobody specifically trained it to translate. So what's going on?
Here's the obvious question: translation and summarization are proper specialist skills. They need language knowledge, a sense of structure, judgment calls. How does a system built only to guess the next word manage to reach that far?
A single, simple objective — guess the next word — ends up covering a surprisingly wide range of tasks. That reversal is where an AI's general-purpose ability actually starts.
Translation and Summarization Become Just "The Right Continuation"
The first step in solving the puzzle is reframing the task. Take a string like "Translate the following English sentence into Japanese:" and ask the model to predict what comes next. The most natural continuation, given that context, turns out to be the Japanese translation itself. Translation quietly turns into a continuation problem.
Summarization works the same way. After "Summarize this passage in one sentence:", the most natural next words are the summary itself. Question answering follows the same pattern — predict what comes after "Question: ... Answer:" and the answer appears. Different surface tasks, same underlying question: what word comes next?
So translation, summarization, and question answering aren't separate skills bolted onto the model. They're different ways of asking one single question on the same playing field. This reframing is the real trick behind how one simple goal — predict the next word — spins off into such a variety of jobs.
Translation and summarization aren't the model "knowing the right answer." They're the model guessing the most natural continuation. That shift in perspective is the whole point.
GPT-2's Hint: "Maybe We Don't Need Dedicated Models"
The first big demonstration of this shift came from GPT-2, which OpenAI announced on its official blog on February 14, 2019. GPT-2 was trained on 40 gigabytes of internet text with a single objective: predict the next word. It was never given dedicated training data for translation, summarization, or anything else.
And yet, according to that same blog post, GPT-2 began picking up tasks like question answering, reading comprehension, summarization, and translation straight from raw text, with no task-specific training data at all. Its performance wasn't perfect, but the sign was unmistakable: a model can start doing these jobs reasonably well without being specifically taught to.
Its predecessor, GPT-1 (2018), had also been pretrained with next-word prediction, but applying it to any real task meant reshaping the input and then running an extra round of training called fine-tuning. GPT-2 pushed one step further, hinting that a single model might handle multiple jobs without anyone building a separate model for each one.
GPT-1 needed extra training for every task. GPT-2 started picking up tasks straight from raw text. That's the turning point where dedicated, task-specific models stopped being strictly necessary.
GPT-3, and the Switch Called a Prompt
The idea was cemented by GPT-3, a 17.5-billion-parameter model announced in 2020. According to the paper "Language Models are Few-Shot Learners," GPT-3 handles every task through plain text interaction alone, specifying both the task and examples without any gradient updates or fine-tuning. One single model, and you switch tasks just by changing what you type into it.
The paper lays out three tiers of instruction. Zero-shot means giving only a natural-language description, no examples. One-shot adds a single example alongside the description. Few-shot adds anywhere from roughly ten to a hundred examples. Just changing the shape of the prompt sends the very same model off to do a completely different job.
In French-to-English translation, the zero-shot BLEU score came in at 21.2, while few-shot climbed to 39.2 — figures straight from the paper posted on arXiv. A small tweak, just the number of examples attached to the prompt, can move performance by a lot. That's a good measure of how delicate and how powerful this task-switching mechanism really is.
The content of the prompt, and how many examples ride along with it, acts as a switch that changes what the very same model can do.
Why One Model Became a Jack-of-All-Trades
Pulling this together, the GPT-2 paper had already laid out an interesting way to frame things: think of a language model's output as a probability conditioned on both the input and the task. The idea is that a language model with enough capacity, in order to sharpen its predictions, will start inferring and carrying out whatever task is implied by the text in front of it.
If that idea holds, you don't need a separate dedicated model for every task. You just need one big model and a prompt that tells it, in plain words, what you want done. That's exactly what GPT-3 went on to demonstrate in practice, through zero-shot and few-shot prompting.
Try it yourself sometime with whatever chat AI you have handy. Paste in the same passage, and just swap the instruction: "summarize this," "translate this into English," "turn this into bullet points." The model underneath never changes, yet the kind of answer you get changes completely. You're not swapping out dedicated models — you're flipping a switch called the prompt, on one and the same model.
The model stays one and the same. Only the prompt changes. That's the real mechanism behind why we no longer need a dedicated model per task.
A Caveat: Not Omnipotent
We've walked through the mechanics of generality, but that doesn't mean the model aces everything. Look back at that French translation example: the zero-shot score stayed well below the few-shot score. The same paper's results make it clear that a plain instruction, with no examples attached, still sometimes falls short of what a model specifically trained for the task can do.
Even so, compared with the old approach — build a dedicated dataset from scratch and train a dedicated model — the ability to handle a wide range of tasks just by changing the prompt is still a genuine shift in direction. You can now think of translation, summarization, and question answering as all packed, latently, into one single model.
So how much is actually packed into that one model? Does a model that's read the internet literally remember the whole internet? That's the mystery we'll dig into next time.
Generality isn't the same as omnipotence. The gap between what a model is good at and not-so-good at still shifts depending on how you phrase your instructions.
FAQ
Can next-word prediction alone really produce translation?
Yes. According to OpenAI's official blog, GPT-2 was trained with next-word prediction as its only objective, yet it was shown to start learning tasks like translation and summarization straight from raw text, without any dedicated training data. The accuracy wasn't perfect, but this was the first clear sign that a model could handle tasks without a dedicated model built for each one.
What's the difference between zero-shot and few-shot?
Per the definitions in the GPT-3 paper, zero-shot means giving only a natural-language instruction with no examples, while few-shot means adding roughly ten to a hundred examples alongside the instruction. Performance tends to improve as the number of examples grows, as seen in scores like the translation BLEU figures.
If one model can do anything, are dedicated AI systems no longer needed?
Since GPT-3, papers have shown that a single model can handle a wide variety of tasks through prompts alone, but zero-shot performance still sometimes falls short of a model trained specifically for that task. As of September 2026, the choice between a general model and a dedicated one still depends on the use case and the accuracy you need.
Behind the scenes of a model that can do anything with just one instruction, how much knowledge is actually packed in there? Next time, we dig into "intelligence as compression."
Primary sources
- Better language models and their implications — Primary source on GPT-2's training objective and multi-task performance (OpenAI official blog, February 14, 2019)
- Language Models are Few-Shot Learners (NeurIPS 2020 paper PDF) — Definitions of zero-shot, one-shot, and few-shot for GPT-3
- Language Models are Few-Shot Learners (arXiv HTML version) — Specific BLEU scores for the translation task
- Language models are few-shot learners (ACM/NeurIPS abstract) — Description of task performance without fine-tuning
- GPT-3 Paper Notes (daviddmc.github.io) — Summary of the fine-tuning requirements since GPT-1
- GPT-2 Paper Notes (daviddmc.github.io) — Summary of the p(output|input,task) formulation
This article organizes general knowledge based on our experience and public sources. Product specs, prices, and regulations reflect the time of writing (October 9, 2026) and may change.