All posts

Why Does Your Speech Recognition Need Context?

Why Does Your Speech Recognition Need Context?

Alexa and Siri are great and all, but they often make funny, if not serious mistakes. Why is this?

I conducted an experiment to measure how important context is in understanding audio-especially when the audio is noisy. As humans we tend to enter conversations with some knowledge of what the topic is, which allows us to follow along. The speech recognition APIs which power Google Assistant, Siri, and Amazon Alexa, do not have this context. As far as they know, every time you speak to them is like the first time you have ever spoken to them. Suspecting this might be the reason they often misunderstand things which they shouldn't, I decided to test this:

The Experiment

I found an interesting image and recorded myself saying a sentence about it. I chose one of these images and went out to the street to ask people to listen to the recording, first without the visual stimulus, then with it. Both times, I asked people to tell me what they heard in order to see what effect seeing the image had on their ability to understand what was said. Without the context, people said some crazy things-their grammar, word choice and logic was awful. But, when they had some notion as to what the sentence could be about, they performed significantly better (despite the noisy audio).

The Take-Home

What is true of the human brain, in this case, is also true of speech recognition APIs. When you use a speech recognition API trained on your specific voice data, it's context gets narrowed down to your world, limiting and focusing the words it can choose from.The result is much more accurate, and usable, transcription.

Try the Experiment Yourself

If you have any feedback about this post, or anything else around Deepgram, we'd love to hear from you. Please let us know in our GitHub discussions .

More with these tags:

Share your feedback

Thank you! Can you tell us what you liked about it? (Optional)

Thank you. What could we have done better? (Optional)

We may also want to contact you with updates or questions related to your feedback and our product. If don't mind, you can optionally leave your email address along with your comments.

Thank you!

We appreciate your response.