What is speech recognition?
The AI Glossary
In our classes, we often pause to explain the ideas behind AI and the language used to describe it. These posts grew out of those conversations. They’re for anyone who would like to understand AI better, with no technical background assumed.
Speech recognition converts spoken language into written text. It is often called automatic speech recognition, or ASR. Dictating a message, transcribing an interview and producing a transcript for an AI scribe all use this capability.
The input is an audio signal: a sequence of measurements representing sound. A recognition system learns relationships between patterns in that signal and words or smaller language units. Some systems use separate components for sounds and language; others learn the mapping in a more integrated way. The architecture varies, but the task is to recover what was said.
Speech recognition is different from speech synthesis, which produces spoken audio, and speaker identification, which attempts to determine who is speaking. Speaker diarization asks a narrower question: which stretches of a recording belong to different speakers? A transcript can contain the right words but attribute them to the wrong person.
A common measure is word error rate. It counts substituted, missing and extra words relative to a reference transcript. This is useful for comparison, but it treats errors as word-level events rather than measuring their consequences. Missing “no” before “allergies” can matter far more than a punctuation difference.
Background noise, overlapping speakers, accents, unfamiliar terms and recording quality can all affect results. A system may also produce plausible words that were not spoken. The most fluent transcript is not necessarily the most faithful one.
In an ambient documentation application, speech recognition may be followed by a language model that writes a clinical note. Those stages should be checked separately: was the conversation transcribed correctly, and did the summary preserve its meaning? Tests should include medication names, numbers, negation and attribution of statements. Patients and clinicians also need to understand how recording, access and retention are handled. The application is processing a private conversation, not just a string of words. A useful system reduces documentation work without obscuring where an error entered the record.
Sources: Hugging Face — Automatic Speech Recognition
To learn more, take a look at the AI in Health Care Certificate of Specialization from the Advanced Learning Academy at Harvard T.H. Chan School of Public Health. You can take an individual course or work toward the full certificate.
AI is a fast-moving field. This explanation reflects our class discussions and related material at the time of writing. Terminology, capabilities and tools may change.
For suggested additions or corrections, please email me at tpanch@hsph.harvard.edu.
Dr. Trishan Panch
Program Director, AI in Health Care
Harvard T.H. Chan School of Public Health — Advanced Learning Academy
Lead with AI in Health Care
The AI Pragmatist is a monthly newsletter from ALA faculty, with new explainers & essays from the Advanced Learning Academy