Kelly Mears

Automatic Speech Recognition

Turning audio into text, and the reasons real-world accuracy is set by the signal more than by the model.

Agents & Language Models2 min read300 words14 out · 8 in
also calledASRSpeech-to-text

Automatic speech recognition converts an audio signal into text. The classical pipeline had four separable parts: a front end turning waveform into spectral frames, an acoustic model scoring frames against sound units, a pronunciation lexicon, and a language model supplying priors over word sequences — historically an n-gram, which is to say a Markov Chain. Modern systems train end to end, but the division still explains the failure modes.

Streaming decoding emits partial hypotheses under a latency budget and cannot see the rest of the utterance, so it revises earlier words as evidence arrives — the visible churn in live captions. Batch decoding has the whole recording and is reliably more accurate. The choice is a latency-accuracy trade, and it shapes anything consuming a Streaming Response.

Word error rate is the standard metric: substitutions plus deletions plus insertions, over reference words. Its blind spots matter. Every word counts equally, so dropping not costs what dropping um costs. Casing, punctuation and number formatting are usually normalized away before scoring, so Character Encoding and normalization choices can move the number more than a model upgrade would. And the reference transcript is human work, so the Ground Truth has an error rate of its own — something any Evaluation Harness for speech must price in.

Real accuracy is dominated by what the headline number omits: proper nouns and rare vocabulary, which carry low prior probability and often need explicit biasing lists; disfluency, overlapping speakers and code-switching; and acoustics. The last is a hard ceiling. A far-field microphone with aggressive gain control and noise suppression has already discarded information, and no decoder recovers what is not in the signal — which is why a close-talking microphone routinely beats a larger model, and why Hallucination on near-silent audio is a known failure of end-to-end systems.

See also8

Subtitling

Timed text accompanying video, with conventions that differ deliberately from written prose.

Meaning & Society9 connections

Large Language Model

A neural network trained to predict text, used as a general-purpose instruction-following system.

Agents & Language Models38 connections

Token

The sub-word unit a language model actually reads and writes; the unit of cost and of context.

Agents & Language Models22 connections

Nondeterminism

The property that identical inputs may produce different outputs, and what it costs to test around.

Agents & Language Models24 connections

Wake Word

A short phrase such as a voice assistant's name that a device listens for continuously using a tiny on-device model, waking the full speech system only when it hears it, which is how always-listening devices balance responsiveness, power and privacy.

Agents & Language Models6 connections

Optical Character Recognition

Turning images of printed or handwritten text into machine-readable characters, from template-matching machines for the blind to neural models that read whole documents, and why it still fails on the hard cases.

Agents & Language Models7 connections

Text-to-Speech

Turning text into spoken audio, from robotic formant synthesizers to neural voices that clone a speaker from seconds of audio, and the latency and consent questions that come with them.

Agents & Language Models7 connections

Recurrent Neural Network

Networks that read a sequence one step at a time while carrying a hidden state forward, the architecture transformers displaced and that state space models are reviving.

Agents & Language Models7 connections

Linked from8