Course contentsShow
← Machine Learning and Deep Learning
Lesson 2448 of 3,53853. Speech and Audio ProcessingFree lesson

Traditional ASR Pipeline: Overview

Understand the classic ASR pipeline: acoustic model, pronunciation model, language model, and decoder.

Traditional ASR Pipeline: Overview

You'll learn how classic speech recognition systems break down the problem into four interconnected components that work together to convert speech into text.

The Four-Stage Pipeline

Before deep learning revolutionized speech recognition, traditional ASR systems used a modular pipeline with distinct components, each handling a specific part of the problem:

1. Acoustic Model

The acoustic model maps audio features (like MFCCs or mel-spectrograms) to phonemes—the basic sound units you learned about. It answers: "What sounds are being spoken?" Think of it as recognizing individual sound patterns without yet knowing what words they form.

2. Pronunciation Model (Lexicon)

This dictionary-like component maps phonemes to words. For example, the phoneme sequence /k/ /æ/ /t/ maps to "cat." It bridges the gap between sounds and vocabulary. One word might have multiple pronunciations (like "read" past vs. present tense).

3. Language Model

The language model provides context by calculating the probability of word sequences. It answers: "Which word sequence is most likely in this language?" For instance, "recognize speech" is more probable than "wreck a nice beach," even if they sound similar.

4. Decoder

The decoder is the conductor that combines all three models. It searches through possible word sequences, weighing acoustic evidence, pronunciation validity, and language probability to find the most likely transcription. This is computationally intensive—imagine exploring millions of possible sentences simultaneously.

The Assembly Line Analogy

Think of it like an assembly line: raw audio enters, the acoustic model identifies sound patterns, the pronunciation model suggests word candidates, the language model ranks them by plausibility, and the decoder selects the final output text.

Key Takeaway: Traditional ASR uses a pipeline of specialized models—acoustic, pronunciation, language, and decoder—that work sequentially to transform speech signals into text, with each component solving one piece of the recognition puzzle.