← AI ChannelInside AIChapter 3 / 255日本語

Volume 1 / Part 1 Prologue — Start with Wonder / Chapter 3

Why Can Computers 'Speak' Language at All?

About 7 min read

Ask ChatGPT a question and the answer flows out smoothly, almost like it understands what you said. But a computer is, at heart, a machine that only handles 0s and 1s. This time we look at what's really going on behind "speaking language," and it turns out probability is the key.

"Speaking Language" Is Actually a Strange Way to Put It

Last time we said AI is, in the end, just a calculation machine that turns input into output. So when it comes to language, what exactly is that calculation doing? Type "The weather today is" into ChatGPT and a natural-sounding continuation appears, almost as if it grasps the meaning.

But remember what computers were originally built for: adding and subtracting numbers. Text, images, and audio all get converted into strings of 0s and 1s under the hood. There's no built-in mechanism anywhere for handling the meaning of words directly.

Here's a familiar example. Your smartphone keyboard predicts the next word you're likely to type and shows you candidates. Type "See you" and it suggests "tomorrow" or "later." That everyday feature is a close cousin of the same trick: calculating how likely a word is to appear next, not what it means.

That leaves us with a small puzzle. If there's no circuit for handling meaning, why does meaningful-sounding text come out the other end? The answer starts with setting aside the whole idea of "speaking." Let's walk through that shift in thinking in the next section.

The Big Shift: Treating Sentences as Probability

This shift starts further back than you might expect. In a 1948 paper, the American mathematician Claude Shannon introduced the concept of "entropy" as a way to handle information mathematically, a way of measuring the amount and spread of information using numbers.

Then in a 1951 paper, he ran a curious experiment. He showed people part of a sentence and asked them to guess the next letter. From how often people guessed correctly, he estimated how predictable printed English is, in other words, how much redundancy the language contains.

It's a bit like a fill-in-the-blank game. Show someone "Roses are red, violets are ___" and most people will guess right away. Shannon was the first person to turn that kind of "guessability" into math, treating it as a matter of probability rather than meaning.

Here's something worth trying yourself. Show a friend or coworker the first few words of a sentence and ask them to guess what comes next. You'll notice some sentences are easy to predict and others aren't. That sense of "easy to guess" is exactly the redundancy Shannon was trying to measure with numbers.

Remember this

The idea of treating language not as chunks of meaning but as a sequence of next-word probabilities started right here.

Learning What Word Comes Next from Mountains of Text

Shannon's experiment had humans doing the predicting. What happens when you hand that job to a computer instead? Modern language models are, in essence, that same idea scaled way up. GPT-2, released by OpenAI in 2019, was trained on a single, simple objective: predict the next word given the words that came before it.

The training data was about 40 gigabytes of web text, roughly 8 million web pages. By reading an enormous volume of text over and over, the model gradually etched patterns into itself: after this sequence of words, that word tends to follow.

The underlying idea is the same as your phone's predictive keyboard. But the amount of text a language model draws on, and the complexity of the calculation, are on a completely different scale. Instead of just suggesting the next word or two, it looks back across hundreds of words of context to calculate the probability of what comes next.

For instance, after "The weather today is," words like "nice," "bad," or "turning" have a high probability of coming next, while "ramen" has a very low one. A language model builds a ranked list of these probabilities and simply picks a plausible word from near the top. Try writing a sentence partway and guessing the ending yourself. You'll probably land on something surprisingly close to what an AI would predict.

The Day the 'Unicorn' Story Went Viral

One event showed the world just how powerful this next-word prediction could be. In February 2019, OpenAI demonstrated GPT-2 by feeding it a made-up opening line: "a herd of unicorns speaking English was discovered in the Andes Mountains." What came out next read like a genuine news article.

David Luan, who was VP of Engineering at OpenAI at the time, told the World Economic Forum that a bad actor could use this kind of technology to churn out large volumes of convincing fake news. The unicorn story spread as an amusing curiosity, but concerns about misinformation were baked in from the start.

Because of these risks, OpenAI decided not to release the fully trained model right away and instead rolled it out in stages. TechCrunch and other outlets criticized this move, calling it "the exact opposite of open." The full 1.5-billion-parameter version wasn't released until November of that same year.

Looking back from September 2026, GPT-2 is a relatively small model by today's standards. Even so, at the time it sparked genuine debate about whether it was too dangerous to release. That probability alone could generate text this convincing surprised a lot of people.

Is This 'Understanding'? Let's Get One Thing Straight First

Everything so far might make it sound like a language model understands the meaning of words. But look closely at what's happening under the hood, and it's really just calculating the probability of the next word and selecting from that list. It's safer to assume this works differently from however humans understand meaning.

On this point, linguists Emily Bender and Alexander Koller argued in a 2020 paper that a system trained only on patterns in text has, in principle, no way to learn meaning. This paper is less an experimental finding and more a stated theoretical position.

Think of it like the difference between someone who's memorized enough foreign vocabulary to hold a conversation, and someone who understands the nuances of their native language from the inside. Both can "speak," but what's happening underneath can look very different. Which one a language model resembles is a question experts still disagree on.

There are also researchers who push back on and re-examine Bender and Koller's argument, so whether language models understand meaning the way humans do remains genuinely contested among experts. It's fine to just know this is an unresolved, debated question in the field. Being comfortable leaving a question open is, I'd argue, part of what it takes to really understand how AI works.

Remember this

AI output is a stack of probabilistic predictions, and we can't say for certain it understands meaning the same way humans do.

Stacks of Probability That Look Like Language

Put it all together and here's the picture. Shannon reframed sentences as a probability problem, and modern language models took that idea and scaled it up with enormous amounts of text and computing power. A simple, repeated trick, predicting the next word, ends up producing text that looks remarkably like something a human would write.

Think of someone who's studied thousands of chess games and can now predict the next move with real accuracy. Even if they nail the prediction, you can't tell from the outside whether they're reading their opponent's intentions or just recognizing a pattern they've seen before. Text from a language model has that same kind of ambiguity built in.

What's strange is that a calculation which never touches meaning directly still produces text that looks meaningful. That word "looks" is going to keep coming up throughout this series, so keep an eye on it.

Next time, we'll map out how this whole series is going to move forward: how we're going to trace AI down to its roots without ever using a single equation. Consider this your advance map, and I hope you're looking forward to it.

FAQ

Does AI actually understand the meaning of words?

Mechanically, it's just calculating probabilities for the next word and picking one. Whether that counts as understanding meaning the way humans do is still debated among experts and hasn't been settled academically.

What is next-word prediction?

It's a mechanism that ranks candidate words by how likely they are to come next, based on the words that came before. Language models like GPT-2 were trained using this single objective, learning from massive amounts of text data.

What was the GPT-2 unicorn news story about?

In February 2019, OpenAI demoed GPT-2 by feeding it the fictional opening line that a herd of English-speaking unicorns had been discovered in the Andes Mountains. The model generated a news-article-style continuation, and it drew attention at the time due to concerns about potential misuse.

Now you know how a stack of probabilities can end up looking like language. Next time, we'll show you the map for this whole series: how we trace AI down to its roots without using a single equation.

Primary sources

This article organizes general knowledge based on our experience and public sources. Product specs, prices, and regulations reflect the time of writing (September 27, 2026) and may change.