flummoxed·AI
1913194819571970s–90s200320172022 onward

113 years

From counting letters to talking with machines.

Seven steps on one timeline, 1913 to 2022.1913 Markov counts, Made a poem countable, and the count predicted what came next; 1948 Shannon's ladder, Showed that counting more context makes the output sound more like language; 1957 Chomsky's objection, Set the harder test: a sentence can sound right and still not make sense; 1972 IBM trigrams, Put counting to work on speech recognition, and gave prediction a job; 2003 neural language model, Learned words as relationships, instead of listing every combination; 2017 attention, Let a model weigh which parts of the text matter, and train on far more text (the key enabler); 2022 a model learns to help, Turned a predictor into something a person could ask for help (when it reached people).what each step made possible1913Markov countsMade a poem countable,and the count predictedwhat came next.1948Shannon’s ladderShowed that countingmore context makes theoutput sound more likelanguage.1957Chomsky’s objectionSet the harder test: asentence can soundright and still notmake sense.1972IBM trigramsPut counting to work onspeech recognition, andgave prediction apractical job.2003neural languagemodelLearned words asrelationships, insteadof listing everycombination.the key enabler2017attentionLet a model weighwhich parts of the textmatter, and train onfar more text.when it reached people2022a model learnsto helpTurned a predictor intosomething a personcould ask for help. Seven steps on one timeline, 1913 to 2022.1913 Markov counts, Made a poem countable, and the count predicted what came next; 1948 Shannon's ladder, Showed that counting more context makes the output sound more like language; 1957 Chomsky's objection, Set the harder test: a sentence can sound right and still not make sense; 1972 IBM trigrams, Put counting to work on speech recognition, and gave prediction a job; 2003 neural language model, Learned words as relationships, instead of listing every combination; 2017 attention, Let a model weigh which parts of the text matter, and train on far more text (the key enabler); 2022 a model learns to help, Turned a predictor into something a person could ask for help (when it reached people).what each step made possible1913Markov countsMade a poem countable, and the countpredicted what came next.1948Shannon’s ladderShowed that counting more context makesthe output sound more like language.1957Chomsky’s objectionSet the harder test: a sentence cansound right and still not make sense.1972IBM trigramsPut counting to work on speechrecognition, and gave prediction a job.2003neural language modelLearned words as relationships, insteadof listing every combination.2017attentionLet a model weigh which parts of thetext matter, and train on far more text.the key enabler2022a model learns to helpTurned a predictor into something aperson could ask for help.when it reached people

In 1913, a mathematician counted letters in a Russian poem. Today, we ask computers to explain an idea, rewrite a paragraph or help us build something. Between those two moments lies a history of learning to find patterns in language, and discovering how much those patterns can do.

1913

A poem becomes a mathematical experiment

Andrey Markov took 20,000 letters from Pushkin’s Eugene Onegin and classified them as vowels or consonants. Then he counted how often one kind followed another.

The order mattered. Knowing the kind of letter that came before changed the odds of what would follow. Language contained a pattern that mathematics could describe, even when the calculation knew nothing about the poem’s meaning.

Markov was investigating probability. He was not trying to build a talking machine. But his experiment gives us a place to begin: what comes next depends on what came before.

In 1913 Andrey Markov took the opening lines of Pushkin’s Eugene Onegin and sorted every letter into one of two kinds, vowel or consonant, by hand. The first forty-five letters are shown, each letter marked with its kind, and tallied into two columns: seventeen vowels plus twenty-eight consonants makes the forty-five letters shown. He kept counting, to twenty thousand letters. The tally buys one rule: After a consonant, a vowel is more likely. · the previous letter predicts the next.

1the text

vowel consonant

These are the first letters of Pushkin’s Eugene Onegin, counted by hand.

The letters are Russian; the colour is all you need to read them.

2the count

vowel0

consonant0

The first 45 letters are shown.

3the rule

consonant vowel

The letter before predicts the letter after.

After a consonant, a vowel is more likely.

That is the one rule the tally buys, and Markov bought it in 1913.

hover

1948

Patterns begin to sound like language

At Bell Labs, Claude Shannon was working on how to transmit messages reliably. His theory separated the engineering problem of carrying a message from the meaning of the message itself.

He also showed what happened when you generated text using progressively richer patterns from English. Random letters looked like noise. Letter combinations began to resemble words. Word pairs produced stretches that almost sounded as though someone had something to say.

These were samples assembled from statistical patterns, some by consulting books by hand. Yet they exposed a possibility: a process could produce recognisable features of language without anyone writing its sentences in advance.

It could also produce nonsense. That distinction would become central.

How far back it looks

1957

Sounding right is not the same as making sense

Noam Chomsky offered a sentence that makes the problem easy to hear:

Colorless green ideas sleep furiously.

Now reverse it:

Furiously sleep ideas green colorless.

The first has the structure of an English sentence, despite its strange meaning. The second has the same words, but loses that structure.

Chomsky challenged the idea that the statistical approaches of the time could adequately explain grammar. A theory of language had to account for sentences people had never encountered, including ones that made no sense.

The question was becoming harder. Could a machine learn relationships between words well enough to handle something new?

1970s–90s

Prediction finds a practical job

For researchers trying to make computers recognise speech, this was an everyday engineering problem. Sound is ambiguous. The words around a sound help us decide what we heard.

At IBM, Frederick Jelinek’s group used probabilities learned from text to help choose between possible word sequences. At Carnegie Mellon, James and Janet Baker developed a speech recogniser using hidden Markov models. Statistical methods were finding practical uses while arguments about language continued.

In 1990, IBM researchers published a translation system that learned from paired French and English records of Canada’s Parliament. They were applying statistical methods developed in speech recognition to a different job.

The approach was limited, but the connection mattered. Mathematics used to recognise spoken words could also help translate written ones. Language models were becoming working parts of useful systems.

2003

Learning relationships between words

A table of word sequences has a problem: people can always say something that is missing from the table.

Neural language models offered a way to generalise. In work published in 2003, Yoshua Bengio and colleagues trained a model to learn numerical representations of words along with how to predict them. Words used in similar ways could share what the model learned.

That meant an unfamiliar combination could benefit from familiar ones. The model did not need a separate entry for every possible sentence.

This was a consequential change in how language was represented. The system was still predicting what came next, but it was learning relationships that a simple tally could not express.

2017

Learning which parts of the text matter

A useful clue may be several words away. In “the keys to the cabinet are missing,” the word “keys” helps determine “are,” even though “cabinet” is closer.

The Transformer, introduced in 2017, used attention to learn relationships between positions in a sequence. Its design also allowed much more of the training work to happen in parallel, making better use of computing hardware. The original paper demonstrated it on translation.

Later language models combined this architecture with much larger training runs. They learned to continue text across a widening range of subjects and tasks. By 2020, GPT-3 demonstrated that examples written into a prompt could guide a single model through different tasks without retraining it for each one.

Prediction had become a way to train a remarkably versatile system. Getting that system to do what a person actually wanted was another problem.

2022 onward

A language model learns to help

A model that can continue a document is not automatically a good assistant. It may continue your question instead of answering it, ignore your intention or give a fluent answer that is wrong.

Instruction training and human feedback helped close that gap. Researchers showed models examples of useful responses and used people’s preferences to improve their behaviour. InstructGPT, published in 2022, demonstrated how this could make a model better at following a user’s request.

That changed the experience of using the technology. A person could describe a task in ordinary language, examine the response and ask for a revision.

The mathematics had reached an interface people already knew how to use: a conversation.

What this history means for us

Interestingly enough, we landed on language.

It is how we explain a problem, share an idea and work through something together. Now it is also one of the ways we can put a computer to work.

At Flummoxed, Jason and Devin build products around that possibility. The history helps us distinguish an impressive demonstration from something useful. Fluency alone is not enough. The product has to help someone create, decide or accomplish something they care about.

Next: Why does a machine that talks feel so different? Read the Language page.

ExploreProducts
Sources