A Text-To-Text Alignment Algorithm for Better Evaluation of Modern Speech Recognition Systems

Lasse Borgholt, Jakob Havtorn, Christian Igel, Lars Maaløe, Zheng-Hua Tan
9/29/2025
cs.CL

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{borgholt2025texttotext,
  title  = {A Text-To-Text Alignment Algorithm for Better Evaluation of Modern Speech Recognition Systems},
  author = {Lasse Borgholt and Jakob Havtorn and Christian Igel and Lars Maaløe and Zheng-Hua Tan},
  year   = {2025},
  eprint = {2509.24478},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.24478v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.24478.svg)](https://codeofpaper.com/paper/2509.24478)

Discussion