A Text-To-Text Alignment Algorithm for Better Evaluation of Modern Speech Recognition Systems
About
Modern neural networks have greatly improved performance across speech recognition benchmarks. However, gains are often driven by frequent words with limited semantic weight, which can obscure meaningful differences in word error rate, the primary evaluation metric. Errors in rare terms, named entities, and domain-specific vocabulary are more consequential, but remain hidden by aggregate metrics. This highlights the need for finer-grained error analysis, which depends on accurate alignment between reference and model transcripts. However, conventional alignment methods are not designed for such precision. We propose a novel alignment algorithm that couples dynamic programming with beam search scoring. Compared to traditional text alignment methods, our approach provides more accurate alignment of individual errors, enabling reliable error analysis. The algorithm is made available via PyPI.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Transcript Alignment | TED-LIUM v3 (test) | Character GLE90.3 | 16 | |
| Transcript Alignment | PriMock57 (PM57) 1 (test) | Character GLE84.6 | 16 | |
| Transcript Alignment | Common Voice English 8 (test) | Character GLE77 | 16 | |
| Speech Alignment | Common Voice Spanish | Character GLE (%)77.8 | 3 | |
| Speech Alignment | Common Voice English | Delta Character GLE (%)-4.3 | 3 | |
| Speech Alignment | Common Voice Portuguese | Character GLE78.3 | 3 | |
| Speech Alignment | Common Voice Turkish | Character GLE77.7 | 3 | |
| Speech Alignment | Common Voice German | Character GLE (%)76.9 | 3 | |
| Speech Alignment | Common Voice Polish | Character GLE76.7 | 3 | |
| Speech Alignment | Common Voice Indonesian | Character GLE76.5 | 3 |