How Machines Learn to Recognise Speech
What it is. Speech carries about a thousand times more information than its message needs, plus the speaker's identity, mood and the noise of the room. Speech recognisers work best when they borrow principles from hearing: frequency bands, slow changes in loudness and many parallel views of the signal.
What it gives you. It explains why voice assistants fail in cars and echoing rooms, why whispered speech is still clear and why the brain, not the microphone, is the model to follow.
Too much information
Raw speech carries about 80,000 bits per second. The sequence of speech sounds carries about 80, perhaps as few as 10 to 20 once their links are counted. The rest is speaker, language, emotion, health and room. Perception must discard most of it quickly.
Speech evolved to fit hearing: every speech organ also serves breathing or eating, while the ear evolved to hear. The message lies in movements of the mouth and throat that shape the sound, which is why whispers stay clear. A 1939 machine, played like an organ, spoke this way.
A typical vocal tract is 17 cm long and resonates near 500, 1,500 and 2,500 Hz. Moving the tongue shifts every resonance, so meaning spreads across all frequencies. Children's shorter tracts resonate differently, yet we hear the same words.
Three principles
- Bands The ear treats frequencies in critical bands, narrower for low sounds and broader for high ones. Learning from labelled speech alone rediscovers this layout.
- Slow change Speech loudness in each band rises and falls about four times a second, the syllable rate. Removing changes between 2 and 4 Hz harms understanding most.
- A 200 ms window Masking, loudness growth and frequency judgement all integrate over about 200 ms, the span of one sound and its neighbours.
Six findings
- Relative hearing A vowel filtered to a flat spectrum still sounds the same. We hear it relative to its neighbours. Filtering out very slow changes copies this and removes channel effects.
- Long context Using a quarter second or more of signal captures each sound with its neighbours. Most recognisers now do this.
- Band by band Classifying each frequency band's changes over time first, then combining, mirrors the ear and resists noise.
- Many views Separate recognisers on different bands, each trained on simple noise, halved errors compared with training on all noise types.
- Self-check A second network that knows what good output looks like can flag when the first is failing, even for unfamiliar noise.
- Cortex hint Thousands of auditory cortex cells, analysed together, act like band-pass filters peaking near 4 Hz.
Signal and message
- 80,000 bits per second in raw speech
- ~80 bits per second in the speech sounds
- 4 Hz syllable rate and peak of hearing sensitivity to change
- 17 cm typical length of the vocal tract
- 200 ms integration window of hearing
- 10x more connections from brain to ear than ear to brain, by one estimate
What they share
- Both rest on cortex with the same six layers and similar learning rules.
- Hearing depends far more on timing: locating a sound uses differences of millionths of a second between the ears.
- Sound usually tells what happened, an event, more than what is there.
- A collision is both seen and heard; even young infants understand contact causes motion.
- Lip and hand movements carry speech too, a channel machines barely use.
Perception is multisensory. Machines that hear well will also need to see.
An 18th-century speaking machine worked on the right principle, but few believed it: its inventor had also built a famous fake chess-playing automaton.
Safety. Keep any test sound at a comfortable level, and stop at once if your ears ring or hurt.
Steps
- Whisper a sentence to someone, then say it in a normal voice.
- Ask whether the whispered version was harder to understand.
- Usually not much. The message lies in how the mouth and tongue shape the sound, not in the voice itself.
- Tap along to normal speech for thirty seconds, one tap per syllable.
- You tap about four times a second. Hearing is most sensitive to loudness changes at about that rate.
- Ask a voice assistant a question in a quiet room, then with a tap running.
- Errors rise in noise. People cope by guessing from context, focusing on clean bands and closing the window.
Time. 5 minutes
Words to know
- Vocal tract
- The throat, mouth and nose, whose shape filters the voice into speech sounds.
- Critical band
- A range of frequencies the ear treats as one channel. Sounds within it interact; sounds outside do not.
- Masking
- One sound making another harder to hear, at the same time or for about 200 ms after.
- Coarticulation
- The way each speech sound is shaped by its neighbours, spreading its information over time.
Summarized by Irina Medelye · IRA X LAB.
More in Brains, Minds and Machines
- Intelligence: The Science and the Engineering
- Specialised Brain Regions and General Intelligence
- Feedforward and Feedback in Vision
- How the Brain Recognises Objects
- Faces, Primates and the Social Brain
- Place Cells, Replay and Memory in Sleep
- Learning in the Fly Brain
- The Mind as a Model of the World
- What Infants Know About Objects and Agents
- How Infants Understand Communication
- Children as Scientists
- Learning New Concepts from One Example
- How Infants Weigh Effort and Reward
- Where New Ideas Come From
- How Babies Learn to See Hands and Gaze
- Minimal Images: The Atoms of Recognition
- Answering Questions About Images and Text
- Connecting Sentences and Video
- Stories and the Human Mind
- Reading Word Meaning from the Brain
- Reading People at a Glance
- Faces, Thin Slices and the Social Mind
- Thinking About Thoughts: Theory of Mind in the Brain
- How Hearing Works: From the Ear to Sound Textures
- Speech and Music Regions in the Hearing Brain
- A Humanoid Robot in a Disaster Challenge
- Self-Driving Cars and Robot Maps
- Layered Control in Animals and Robots
- Robots That Work Alongside People
- A Child-Sized Robot That Learns
- Invariance: Why Deep Networks Recognise
- Random Wiring, Sparse Codes and Deep Networks
- The Physics of Deep Learning
- Machine Learning Essentials
- Reading Content from Neural Populations
