Voice AI Day is baaaaack! 🎙️ 11 cities, 10 Dec
    Video4:24by Voice AI Space

    Why Speech-to-Text Gets It Wrong

    Six places speech-to-text fails on calls, from names and numbers to noise, and the fix for each: custom vocabulary, read-backs, validation and more.

    Part of Voice AI Explained. See every episode, in learning order, in How Voice AI Works: A Complete Guide.

    Summary

    Common Speech-to-Text Failures and Solutions

    Speech-to-text technology frequently fails in six specific areas. Understanding these failure points allows developers to implement targeted fixes.

    • Names and Rare Words: Speech-to-text models prioritize common words they have heard most frequently. When encountering rare words or brand names, they often substitute similar-sounding common words. The Fix: Provide a short, relevant list of expected words (such as names, products, or jargon) using custom vocabulary, keyword boosting, or key term prompting.
    • Numbers: Similar-sounding numbers (like "fifteen" and "fifty") are easily confused, and a single incorrect digit can invalidate phone or card numbers. Additionally, models must determine how to format spoken numbers (inverse text normalization). The Fixes: Read numbers back to the caller for confirmation, validate the expected length or format of the number, or allow users to input digits via their keypad.
    • Noise: Background noise, multiple speakers, or the system's own voice reflecting back into the microphone can corrupt transcriptions. The Fixes: Implement echo cancellation and noise removal. Because heavy filtering can degrade speech quality, test recognition accuracy with noise removal both enabled and disabled.
    • Phone Audio: Standard phone calls restrict audio frequencies to under 3,400 Hz, cutting off the higher frequencies needed to distinguish sounds like "s" and "f". The Fixes: Utilize models or settings optimized specifically for phone audio, and conduct testing using actual phone calls rather than clean recordings.
    • Accents and Languages: Models perform best on the demographics they were trained on most. Significant accuracy gaps exist for speakers with strong accents, those using less common languages, or individuals mixing multiple languages. The Fixes: Test systems using voices that represent actual callers, and track accuracy metrics per demographic group rather than relying on a single overall average.
    • Silence and Hallucinations: Certain models, particularly those using attention decoders, may transcribe invented phrases during periods of silence or background noise. The Fixes: Use a voice activity detector to filter out silence so only actual speech is processed, and require confirmation before acting on critical information.

    Measuring System Performance

    Standard Word Error Rate (WER) metrics treat all errors equally, meaning a minor error (like transcribing "the" incorrectly) carries the same weight as a critical error (like an incorrect digit in a phone number). To properly evaluate a system, developers should measure entity accuracy (specifically tracking whether names, numbers, and dates are correct) and test using real customer calls rather than standard benchmarks.

    Full transcript

    You tell a voice agent, "Book me in at 3:50." It writes down 3:15. One small mistake and you show up 35 minutes late. Speech-to-text is very good now, but it still fails in the same few places. Today, six places where it breaks and what you can do about each one.

    VOICE AI Space makes honest videos to help developers and curious people upskill in voice AI.

    First, names and rare words. A model learns from what it heard most. When it meets a word it rarely heard, it often writes a common word that sounds close. A made-up product called Zendle might come out as "send all". The fix: most speech-to-text services let you pass a short list of words to expect—names, products, jargon. It goes by different names: custom vocabulary, keyword boosting, or key term prompting. Keep the list short and relevant. Boosting too many words or boosting them too hard can create new mistakes.

    Second, numbers. 15 and 50 sound alike, especially on a bad line. And in a long phone or card number, one wrong digit ruins everything. The system also has to decide how to write what it heard. Is "twenty twenty-six" a year or two numbers? This step is called inverse text normalization. The fixes: read important numbers back and wait for a yes; check the shape—in many countries, a phone number has a set length; or let callers type digits on their keypad, as we saw in Episode 7.

    Third, noise. A TV in the background, a busy street, two people talking at once—the model may mix other voices into your words. And the agent can hear itself—its own voice, played by your speaker and picked up by your microphone. That's why echo cancellation matters, as we saw in Episode 6. Noise removal can help, but heavy filtering can also damage speech, so test recognition with it on and off.

    Fourth, phone audio. Classic phone calls cut off every pitch above about 3,400 Hz. Remember the spectrogram from Episode 11? The top half is simply gone. That's where much of an S or an F lives. It's why people on the phone say "S as in Sam", "F as in Frank". The fix: use a model or setting made for phone audio, and test it on real calls, not clean recordings.

    Fifth, accents and languages. Models do best on the kind of speech they trained on most. In a 2020 study, five major services had error rates nearly twice as high for Black speakers as for White speakers. Gaps also show up for strong accents, less common languages, and people who mix two languages in one sentence. The fix: test with voices like your real callers, and report accuracy for each group, not one average.

    Sixth, and strangest, words that were never said. Some models, especially ones with an attention decoder like Whisper, can write text during silence or noise. A 2024 study found invented phrases in about 1% of the Whisper clips it tested. More than a third of those were harmful. The fix: only send real speech. A voice activity detector can cut out the silence first, and for anything important, confirm before acting.

    Finally, measure the right thing. Word error rate, from Episode 3, counts every wrong word the same. A wrong little word like "the" costs the same as a wrong digit. So also check the words that matter: names, numbers, dates, product names. And test on your own calls, not just on a benchmark.

    To recap: speech-to-text breaks on rare words, numbers, noise, phone audio, accents, and silence. Give it your words, clean up the audio, confirm what matters, and measure on your real callers.

    Next time: writing for the ear—how to prompt a language model for a voice conversation. If we got something wrong, tell us—corrections get pinned. And you'll find voice AI products sorted by role in the VOICE AI Space library.