No. 06
The Scientists Who Taught Machines to Guess the Next Word
In 1913 Markov counted letters in Pushkin. Experts later called next-word prediction useless. The forgotten fight that built ChatGPT, from…

Every large language model is built on one task: predicting the next word. For decades, some of the most respected scientists of the twentieth century treated the idea as a dead end. The thread runs 113 years, from a Russian mathematician counting letters in Pushkin to the machines that now write them back.
Frederick Jelinek died unexpectedly at work on September 14, 2010, at Johns Hopkins University in Baltimore. He was seventy-seven and still ran the university’s Center for Language and Speech Processing. He missed, by a matter of days, the first sign of where his life’s work was heading.
Later that month, at a conference in Japan, a young Czech researcher presented a paper on a very old problem: how to guess the next word in a sentence. Tomáš Mikolov had spent six months of that year at Jelinek’s center, working under Jelinek and Sanjeev Khudanpur.
His neural network beat the counting methods that had set the standard for decades. His supervisor in Brno later wrote that the science in Mikolov’s doctorate had been “largely inspired, advised and criticized” by Jelinek, Khudanpur and Yoshua Bengio.
Within three years Mikolov, by then at Google, would publish word2vec. Within a little more than a decade, systems trained on the same guessing game would be drafting legal briefs and writing code.
What people using these systems rarely hear is how long the guessing game has been dismissed. One of the century’s most influential linguists called the probability of a sentence “an entirely useless” notion.
A Bell Labs legend said most speech researchers behaved like “mad inventors or untrustworthy engineers.” A conference reviewer told Jelinek’s own team that “the crude force of computers is not science.”
Jelinek spent his career on the other side of that argument, and his own life was stranger than any of it. He was a refugee whose father died in a Nazi ghetto. His wife studied linguistics in Chomsky’s lectures.
He gave the field its most famous jibe at linguists, then spent years hoping he had never said it. The idea itself was older than Jelinek and all his critics. It began ninety-seven years before his death, with a mathematician, a poem, and a quarrel.
Twenty Thousand Letters
On January 23, 1913, by the Julian calendar Russia still used, Andrey Andreyevich Markov addressed the Imperial Academy of Sciences in St. Petersburg. His subject was Alexander Pushkin’s verse novel Eugene Onegin, though not as literature. He had taken its first 20,000 letters, stripped out the spaces and punctuation, and counted.
About 43 percent of the letters were vowels. What interested Markov was what came next. Only 1,104 adjacent pairs were two vowels in a row. After a vowel, the next letter was a vowel about 13 percent of the time; after a consonant, about 66 percent. One letter changed the odds for the letter after it, so text was not a run of independent coin flips. It was a chain.
Markov had not gone to Pushkin out of love for poetry. He was fifty-six, famously combative, and in the middle of a quarrel. According to the writer Brian Hayes, the chain grew out of a long feud with the Moscow mathematician Pavel Nekrasov.
Nekrasov had argued that the law of large numbers required independent events, and had drawn conclusions about free will from it. In 1906 Markov proved him wrong on paper, showing that dependent events linked in a chain could obey the same law.
Pushkin, seven years later, was his demonstration on real text. His paper did nothing for the study of Pushkin. It showed how to model any sequence in which the past shapes what comes next.
For a while, the idea travelled well. Thirty-five years later, at Bell Labs, Claude Shannon carried it from letters to words. In his 1948 paper on information theory, Shannon generated imitation English by choosing each word according to the probability that it followed the word before. The output was nonsense, but it was recognisably English nonsense, and it improved as the statistics deepened.
A year after that, in 1949, the mathematician Warren Weaver circulated a memorandum suggesting that translation between languages might be attacked with the same tools: statistics and the new science of information. Letters, then words, then whole languages: the idea seemed to be widening with every step. Within a decade, it ran into a wall.
The Wall
A young man with an argument laid the first stones of the wall. In 1957, a linguist named Noam Chomsky published a slim book, Syntactic Structures, based on his lecture notes for an MIT undergraduate course. In it he offered two sentences. “Colorless green ideas sleep furiously” was grammatical nonsense.
Its words in reverse order were ungrammatical nonsense. Neither sentence, nor any part of either, had likely ever been spoken. Chomsky argued that any statistical model of grammar would therefore treat the two as equally remote from English, and so could not capture what a speaker knows.
Elegant and economical, the argument reorganised a discipline. Later critics, among them the Penn linguist Mark Liberman, judged it false as a verdict on every possible statistical model. At the time, it settled the question for most of the field.
By 1969, Chomsky had put the conclusion saying: the notion of the “probability of a sentence,” he wrote, was “an entirely useless one, under any known interpretation of this term.”
Within a decade, engineering turned against statistics too. John R. Pierce of Bell Labs carried enormous authority: he had led work on the first communication satellites and had coined the word “transistor.”
In 1966 he chaired the ALPAC committee, whose report led to deep cuts in US government funding for machine translation. In October 1969, he turned to speech recognition in a letter to the Journal of the Acoustical Society of America titled “Whither Speech Recognition?”
“Speech recognition has glamor,” Pierce wrote.
“Funds have been available. Results have been less glamorous.”
Most researchers in the field, he concluded, behaved “not like scientists, but like mad inventors or untrustworthy engineers.” In his 2010 obituary of Jelinek, Liberman judged that this letter “had an even more devastating effect than the ALPAC report did.”
Artificial intelligence shared the mood. Liberman passed on a line that a colleague had heard from a professor in an AI laboratory:
“If you need to count higher than one, you’ve made a mistake.” Intelligence was supposed to be logic and rules. Counting was for clerks.
By then, the man who would spend his career arguing otherwise was a young professor at Cornell, working on information theory. He had reached it by a long road.
The Boy from Kladno
Bedřich Jelínek was born on November 18, 1932, and grew up in Kladno, a mining town near Prague. His father, Vilém, was a Jewish dentist there; his mother had been born in Switzerland to Czech parents. Germany occupied the country in 1939, and in 1941 the family was forced to leave Kladno for Prague.
Nazi anti-Jewish decrees cost the boy three years of schooling. His father had once planned to emigrate but decided to stay. He was deported to the Terezín ghetto north of Prague and died there of typhus in the last days of the war. Decades later, the son recalled that his mother had wanted him to become a physician like his father. He himself had wanted to be a lawyer, “defender of the unjustly accused.”
After the Communist takeover in 1948, the Communist Youth organisation would not allow Jelinek to sit his school-leaving exam. His mother decided to leave. Her Swiss birth helped the family gain entry to the United States, and in 1949 they settled in New York.
In New York he took evening engineering classes at the City College of New York. A stipend from the National Committee for a Free Europe, an American anti-communist organisation, then took him to MIT.
There he met Claude Shannon and began a doctorate in information theory under Robert Fano. Language kept tugging at him. At one point he thought of switching to linguistics, and Fano told him he could consider it only after he had finished his doctorate.
Linguistics reached his private life too. On a visit to Prague in 1957, Jelinek met Milena, a young screenwriter, at the premiere of a film she had written. By his own account, it took him three years of trying to get her out of communist Czechoslovakia.
She was allowed to leave in 1961, and they married that year. The linguist Roman Jakobson arranged a fellowship for her at MIT. She enrolled in the doctoral program in linguistics and attended lectures by Noam Chomsky. The man whose book had just turned linguistics against statistics was now teaching Jelinek’s wife.
Jelinek finished his doctorate in 1962 and moved to Cornell that fall. There the linguist Charles Hockett had hoped to work with him on applying information theory to language.
It never happened. Hockett told him that he now concentrated on composing operas. Twice Jelinek had reached toward linguistics, and twice it had come to nothing. He spent the next decade on information theory alone.
In 1972, three years after Pierce’s letter, IBM offered him the very problem Pierce had written off: teaching a machine to recognise speech.
The Crude Force of Computers
IBM’s reason for funding speech recognition was commercial anxiety. As Jelinek later explained, the company worried that computing power might one day outrun every need its customers had, and that “IBM business would dry up.”
A machine that could take dictation was one answer. A Continuous Speech Recognition group began work in early 1972 at the Thomas J. Watson Research Center in Yorktown Heights, New York. Jelinek joined on leave from Cornell, and toward the end of that summer he took over its direction.
IBM’s first instinct was to do it the respectable way. It temporarily moved three linguists into the group. One of them, Stan Petrick, reassured his colleagues: “Don’t worry, I will just make a little grammar.” He never did. In Jelinek’s telling, the phrase acquired a mythical status, like famous last words. The three linguists eventually returned to their original group.
What the group built instead came straight from Shannon. Jelinek framed speech as a message sent through a noisy channel. A speaker intends a string of words; what reaches the machine is a garbled acoustic signal; the task is to find the words most probably intended.
That required two models: one for how words sound, and one for how likely any sequence of words is in the first place. The second was a language model, and it worked by counting which words tended to follow which.
None of the people who built this system were linguists. Among them were Lalit Bahl, a volunteer from IBM’s computer sciences department, and Robert Mercer, a freshly graduated physicist. Jelinek also persuaded IBM to hire Jim and Janet Baker, Carnegie Mellon graduate students who were still a year from their doctorates.
Jim Baker brought hidden Markov models, chains whose states cannot be seen directly and must be inferred. He had learned to work with them at the Institute for Defense Analyses in Princeton. There, Leonard Baum and Lloyd Welch had developed a method for estimating such models, with applications in code-breaking.
Baum later spent several years trading currencies with the mathematician Jim Simons at Monemetrics, the firm that became Renaissance Technologies. It was the first of several threads that would run from this corner of speech research to Wall Street.
Put together, the pieces worked. Around 1978 the group stopped testing on small, made-up languages and set out to recognise real office English, with a 5,000-word vocabulary. At John Cocke’s suggestion, its language model predicted each word from the two before it.
It was Markov’s chain, run on words instead of letters, trained on far more text than Markov could have copied by hand. Jelinek had promised IBM’s management real-time performance by 1984, and the group delivered. The system was named Tangora, after Albert Tangora, a celebrated speed typist. Speakers still had to pause briefly between words.
Neither Baker stayed. In 1982 the couple founded Dragon Systems, whose Dragon NaturallySpeaking, released in 1997, was among the first products to let ordinary users dictate continuously, without pausing between words.
In 1987 the group asked a bolder question. If counting could turn sound into words, could it turn French into English? The team included Peter Brown, who had joined the group in 1984, along with Mercer, the brothers Stephen and Vincent Della Pietra, John Cocke, Paul Roossin and Jelinek.
They fed their models the proceedings of the Canadian Parliament, published in both English and French. No grammar of either language was written. The system learned which French words tended to line up with which English ones.
When the first results were ready, the team submitted them to COLING, a leading international conference on computational linguistics, held in Budapest in 1988. One reviewer’s report, dated March 1, 1988, conceded that Weaver had proposed the statistical approach as early as 1949.
It then declared that the approach “was universally recognized as mistaken by 1950.” The review ended: “The crude force of computers is not science. The paper is simply beyond the scope of COLING.” Brown kept it, and years later it still hung on his office wall.
Jelinek’s retelling makes the review sound like the end of the matter. It was not. The paper appears in the COLING 1988 proceedings, and a fuller version followed in the journal Computational Linguistics in 1990.
That same year, 1988, produced the group’s most famous line. In December 1988, at a workshop in Wayne, Pennsylvania, Jelinek made a remark now usually quoted as “Every time I fire a linguist, the performance of the speech recognizer goes up.”
The wording varies from one telling to the next, and some date a similar remark to 1985. Yet he was no kinder to his own tools. Replying to a reader on the blog Language Log in 2010, Mark Liberman recalled that Jelinek’s favourite adjective for n-gram models, the word-counting models he had championed, was “moronic.”
In 1993 the thread to Wall Street pulled tight. Brown and Mercer left IBM for Renaissance Technologies, after Jim Simons offered to double their salaries. Jelinek left the same year for Johns Hopkins, where he would spend the rest of his life.
The Next Word
By the time Jelinek reached Baltimore, the argument he had been having for two decades was ending, though not the way arguments usually end. Statistics did not win by persuasion.
It won on results. By the late 1980s, statistical models were setting the pace in speech recognition. In computational linguistics, one count of published papers dates the turn toward statistics to 1988, the year of the IBM translation paper.
In 2006 Google launched a translation service built on large-scale statistical models, the approach the IBM team had pioneered.
At Johns Hopkins, Jelinek ran a summer workshop that brought students and researchers from around the world. After the fall of communism in 1989, he also brought Czech researchers into his teams and taught in Prague. That door was still open in 2010, when a doctoral student from Brno arrived at his center.
What Mikolov brought was a different kind of machine. In 2003, Yoshua Bengio and colleagues published a neural network that learned to predict the next word from the words before it. Mikolov’s recurrent network did the same task and beat the best counting models by a wide margin, in a paper presented the month Jelinek died.
In 2013, word2vec, trained on a close cousin of this task, showed that the numbers such networks learned for each word captured something of its meaning. In November 2016 Google switched its translator from statistical to neural models. In 2018 OpenAI trained the first GPT on the oldest objective in the story: given the words so far, predict the next one.
From Markov’s vowels to GPT, the task had not changed. Only the machinery had, along with the amount of text it could learn from. Whether that amounts to understanding language is another matter.
Chomsky’s objection did not disappear. At MIT’s 150th-anniversary symposium in 2011, he said statistical work had adopted a novel notion of success, one that measured success by “approximating unanalyzed data.” Peter Norvig, Google’s director of research, answered with a long essay defending the statistical tradition.
Both positions are still argued. A model that predicts the next word extraordinarily well has not, by that fact, explained how a child learns a language, and serious researchers disagree about whether it ever could.
Jelinek did not claim the matter was settled either. In his 2009 Lifetime Achievement Lecture for the Association for Computational Linguistics,
He wrote that “the statistical approach is clearly dominant.” He also conceded that “we are very far from solving the problems,” and that “the knowledge of linguists is added wherever it fits.”
Some of My Best Friends
Five years before that lecture, Jelinek had tried to settle a smaller matter: the remark that had followed him since 1988. In 2004, when he received the first Antonio Zampolli Prize, he gave a lecture titled “Some of My Best Friends Are Linguists.”
He had long hoped, he said, that the firing remark was apocryphal, but two reliable witnesses had convinced him he really made it. Accepting that, he wrote, he must first affirm “that I never fired anyone, and a linguist least of all.” His group, he insisted, had always tried to build linguistic knowledge into its systems. Where it failed was because nobody had found an efficient way to do it.
He also had a personal reason to mean it. Milena, the woman he spent three years trying to bring out of Czechoslovakia, had begun her American life as a doctoral student of linguistics, sitting in Chomsky’s lectures.
She went on to teach screenwriting at Columbia University. Frederick and Milena Jelinek were married for nearly fifty years, until the September day in 2010 when he died at work, at seventy-seven, still running his center at Johns Hopkins.
Sources
Papers
- “The Dawn of Statistical ASR and MT.” Computational Linguistics 35(4), 2009, 483–494. Text of his ACL Lifetime Achievement Award lecture: IBM’s motives, Petrick, the Bakers, Tangora, the COLING review, Hockett, the 2009 quote. ACL Anthology
- “Some of My Best Friends Are Linguists.” Language Resources and Evaluation 39(1), 2005, 25–34. Zampolli Prize lecture. DOI
- “Frederick Jelinek’s Obituary.” Prague Bulletin of Mathematical Linguistics 95, 2011, 107–110. Family, war years, emigration, CLSP, Prague teaching. PBML
- English translation in Science in Context 19(4), 2006, 591–600. DOI
- “First Links in the Markov Chain.” American Scientist 101(2), 2013, 92. The counts, the 1906 proof and the Nekrasov feud. PDF
- R. “Whither Speech Recognition?” Journal of the Acoustical Society of America 46, October 1969, 1049–1051
- “Experiments with the Tangora 20,000 Word Speech Recognizer.” ICASSP 1987 (the 5,000-word Tangora and its isolated-word design). PDF
- “A Pendulum Swung Too Far.” Linguistic Issues in Language Technology 6, 2011 (the 1988 turn in the ACL Anthology). PDF
- Supervisor’s recommendation for the defence of Tomáš Mikolov’s PhD thesis, Brno University of Technology (six months at JHU in 2010; “inspired, advised and criticized”). FIT VUT
Web
- “How I Got Here.” Acceptance speech, honorary doctorate, Charles University, Prague, November 2001 (physician and lawyer quote, as reproduced in Wikipedia’s biography). Wikipedia
- “Obituary: Fred Jelinek.” Computational Linguistics 36(4), 2010, 595–599. Pierce, ALPAC, “count higher than one.” ACL Anthology
- “Obituary for Fred Jelinek in Computational Linguistics.” Language Log, December 2010 (author’s reply on “moronic”). Language Log
- Baltimore Sun
- “Milena Jelinek (1935–2020).” Meeting at the 1957 premiere; emigration and marriage in 1961. Memory of Nations
- Markov, Shannon, Weaver
- “Translation.” Memorandum, July 1949
- Syntactic Structures. Mouton, 1957, pp. 15–16
- “A Statistical Approach to Language Translation.” COLING 1988, Budapest. ACL Anthology
- “A Statistical Approach to Machine Translation.” Computational Linguistics 16(2), 1990, 79–85. ACL Anthology
- “Twenty Years of Bitext.” Invited talk, EMNLP workshop, 2013 (transcript; the review on the wall). JHU
- “Workshop on the Evaluation of Natural Language Processing Systems.” Computational Linguistics 16(3), 1990, 175–181 (Wayne, Pennsylvania, December 7–9, 1988; Jelinek’s own 2005 reference list misprints the year as 1998). ACL Anthology
- The Man Who Solved the Market. Portfolio, 2019 (Baum, IDA, Monemetrics; Simons’s offer to Brown and Mercer)
- “James Baker.” CSD50 profile. CMU
- “A Neural Probabilistic Language Model.” JMLR 3, 2003, 1137–1155. JMLR
- “Recurrent Neural Network Based Language Model.” Interspeech 2010. ISCA
- “Found in translation: More accurate, fluent sentences in Google Translate.” Google, November 15, 2016. Google
- “Improving Language Understanding by Generative Pre-Training.” OpenAI, 2018. OpenAI
- “On Chomsky and the Two Cultures of Statistical Learning.” 2011. norvig.com