Manuscript Offprint

arXiv:2609.05728

MedWER: A Reproducible, Model-Free Evaluation Protocol for Medical Speech Recognition

Justin Behling

Abstract

Overall word error rate hides clinically critical errors: a transcript can be 95% correct and still swap one drug for another. The usual fix weights errors on medical entities, and almost always depends on an evaluation-time named-entity recognition (NER) model or cloud API, which makes the metric's denominator a versioned black box. We present MedWER, an evaluation protocol and open-source tool for medical ASR whose denominator is a fixed, license-clean term list: 19,373 drug, diagnosis, symptom, and injury-mechanism entries projected from public sources. The protocol couples a pinned text normalizer with a phrase-aware term-restricted WER, the medical-WER, so the only versioned component is a normalizer dependency held at an exact release and checked against committed golden fixtures. Coverage is validated against an independent provincial drug-benefit file the list was not built from; the matching heuristic is calibrated against ground-truth entity spans. Baselines for Moonshine base, Whisper base.en, and MedASR on two open benchmarks are scored with the released tool and reported with 95% confidence intervals from resampled per-utterance scores.

1 Introduction

Overall word error rate (WER) under-weights exactly the words that matter in clinical dictation. PriMock57, a conversational medical benchmark, is 2.70% medical terms by token count (Section 6), so a system can post an attractive WER while failing precisely on the drug and diagnosis vocabulary. This observation is not new, and a family of entity-weighted metrics has grown up around it (Section 2). What the family shares is a dependency: the set of “medical” tokens is discovered at evaluation time by a named-entity recognition (NER) model or a commercial API. That choice couples the metric's denominator to a moving, often closed artifact. Two labs running the same hypothesis files can get different medical error rates; the same lab can get different numbers a year apart.

MedWER inverts the dependency. The denominator is a fixed artifact: a term list, versioned and redistributed with the tool, projected from public sources that permit open commercial redistribution. The metric machinery on top of it is plain: a pinned normalizer and token-level Levenshtein WER restricted to term-list content. The contributions are operational rather than conceptual:

*Code, term list, and golden fixtures: https://github.com/Nordis-Tech/medwer.

  1. A model-free, deterministic denominator. Term membership is string matching against a fixed list; multi-word terms are matched greedily longest-first and scored as single atomic units (Section 4).

  2. Coverage validated against an independent holdout. The list's completeness is measured against a provincial drug-benefit file deliberately not used in its construction (Section 5); the matching heuristic is calibrated against human entity-span annotations (Section 5.1).

  3. A pinned, fixture-checked normalizer. The normalization dependency is held at an exact release, and its behavior is asserted against committed golden fixtures by the test suite, so an upstream change fails the build rather than silently moving published numbers (Section 4.1).

  4. License-clean provenance end to end. Every source in the term list permits redistribution in a commercial open-source artifact; the provenance is documented per source and ships with the data (Section 3).