Support the missionKeep the lab open and growing

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

Six findings

Signal and message

What they share

  1. Both rest on cortex with the same six layers and similar learning rules.
  2. Hearing depends far more on timing: locating a sound uses differences of millionths of a second between the ears.
  3. Sound usually tells what happened, an event, more than what is there.
  4. A collision is both seen and heard; even young infants understand contact causes motion.
  5. 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

  1. Whisper a sentence to someone, then say it in a normal voice.
  2. Ask whether the whispered version was harder to understand.
  3. Usually not much. The message lies in how the mouth and tongue shape the sound, not in the voice itself.
  4. Tap along to normal speech for thirty seconds, one tap per syllable.
  5. You tap about four times a second. Hearing is most sensitive to loudness changes at about that rate.
  6. Ask a voice assistant a question in a quiet room, then with a tap running.
  7. 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