Architectures / paused
One Mind learns to read: finding words in an unbroken stream of letters
Given only an endless stream of letters from 40 books, with every space, capital and punctuation mark removed, can a persistent learner discover the words of English by itself and keep improving?
- Built
- A persistent learner ran as a restart-safe service, reading 2,000 letters a second. Version 1 kept a Dirichlet-process lexicon of words over a letter-trigram spelling model and segmented online with hard Viterbi decisions: a chunk becomes a word when that explains the letters more cheaply than spelling them out. Every block is scored before it is learned from. Version 2 replaced the lexicon with a Pitman-Yor process chosen on encyclopedia text, and added a held-out book that it reads every million letters but never learns from. Both were pre-registered, with bars at 10 million letters and a 24-hour aliveness test that included a deliberate restart.
- Found
- Version 1 found the frequent words of English (194 of its top 200 entries are real words), and its words compress the text better than letters alone, but it did not keep improving: hard online counting turned rare words into strings of letters, so it failed its learning bar. Version 2 fixed this and passed all six reading bars: on a book it had never seen, it found word boundaries with F1 0.8347 and precision 0.7924 at 10 million letters. Both stayed alive through a deliberate restart.
- Boundary
- Finding word units is the first step of reading, not meaning or grammar. Version 2's gain from 1 million to 10 million letters was small, and by 250M letters its held-out score had not risen further. The services ran on a workstation that has since been retired.
- Next question
- Can word classes, phrases and then next-word prediction be learned from the same stream, each registered separately?
Evidence and development