asr_eval: Algorithms and tools for multi-reference and streaming speech recognition evaluation
Oleg Sedukhin, Andrey Kostin
TL;DR
asr_eval tackles the challenge of evaluating speech recognition under multi-reference annotations and streaming conditions. It introduces MWER, a multi-reference aware alignment algorithm, and a Python library that provides dashboards, model wrappers, and streaming evaluation tools. The authors also release DiverseSpeech-Ru and perform multi-reference relabeling of Sova-RuDevices to study fine-tuning dynamics, demonstrating that dataset labeling style can create metric artefacts if normalization is used alone. The work provides practical tooling and datasets to enable robust benchmarking, particularly for long-form and non-Latin languages, and to mitigate dataset-specific labeling bias.
Abstract
We propose several improvements to the speech recognition evaluation. First, we propose a string alignment algorithm that supports both multi-reference labeling, arbitrary-length insertions and better word alignment. This is especially useful for non-Latin languages, those with rich word formation, to label cluttered or longform speech. Secondly, we collect a novel test set DiverseSpeech-Ru of longform in-the-wild Russian speech with careful multi-reference labeling. We also perform multi-reference relabeling of popular Russian tests set and study fine-tuning dynamics on its corresponding train set. We demonstrate that the model often adopts to dataset-specific labeling, causing an illusion of metric improvement. Based on the improved word alignment, we develop tools to evaluate streaming speech recognition and to align multiple transcriptions to compare them visually. Additionally, we provide uniform wrappers for many offline and streaming speech recognition models. Our code will be made publicly available.
