Speech recognizers are trained, and tuned, to minimize word error rate. Word error rate is the number of word insertions, deletions and substitutions needed to turn the system's transcript into the human reference, divided by the reference length. This count treats every word the same. Dropping "the" costs exactly as much as dropping "not", and misspelling a filler word costs as much as turning "15 milligrams" into "50 milligrams". The strongest recognizers train directly on this count through minimum word error rate (MWER) training, which lowers the expected error count over the model's own top hypotheses. As a result they are optimized for a number that ignores meaning.
LLM-as-a-judge methods, where a large language model is prompted to grade text, are good at the thing word error rate misses: deciding whether a change alters what a sentence says. Calling such a judge inside a speech training loop is far too expensive, though. It would mean one call per hypothesis, per utterance, per step. We propose to use the judge once, offline, to rate how badly each individual word edit damages meaning. Those ratings are distilled into a small edit-cost model, and MWER training then minimizes a meaning-weighted edit distance instead of the raw count. The Levenshtein alignment stays. Only the price of each edit changes.
Core Claim
A recognizer trained with MWER on judge-derived, context-dependent edit costs should make substantially fewer meaning-altering errors than a standard MWER recognizer, while its plain word error rate stays within a small margin. It should also beat cheap hand-made weightings such as stop-word discounting or keyword upweighting on the same comparison. What is new is not "use an LLM with speech." It is putting a judge's severity estimates inside the expected-loss objective of sequence-level ASR training, and keeping the objective an edit distance so it remains interpretable and hard to game.
The closest work does something structurally different. Better Instruction-Following Through Minimum Bayes Risk uses Prometheus-2 as a pairwise utility for choosing among sampled completions. It works without references on open-ended text and distils the choices through DPO, a method that trains directly on chosen-versus-rejected pairs. The authors report that judges miss subtle logical errors, so consensus can reinforce shared mistakes. MBR and QE Finetuning distils metric-selected translations back into a translation model with cross-entropy and warns about overfitting to the metric. Neither touches speech, edit distance, or reference-based expected-loss training. Our setting has a ground-truth reference, which removes the consensus failure Wu et al. describe: the judge only rates how bad a known deviation from the reference is. It never has to guess what is correct.
Research Program
The method supplier is the MWER line. State-of-the-Art Speech Recognition with Sequence-to-Sequence Models made MWER part of attention-based recognizers. Two-Pass End-to-End Speech Recognition used it to train a second-pass rescorer. On Minimum Word Error Rate Training of the Hybrid Autoregressive Transducer showed it also makes transducers robust to small beams and to length normalization. Optimizing Expected Word Error Rate via Sampling showed the expected loss can be estimated by sampling with a mean-loss baseline, much like REINFORCE, the standard policy-gradient estimator. All four use an unweighted count. We keep their machinery and change only the per-hypothesis loss.
For a hypothesis $y$ and reference $y^*$, let $A(y,y^*)$ be the minimum-edit alignment, and let each edit $e$ in it get a cost $c_\phi(e \mid y^*) \ge 0$ from a small cost model with parameters $\phi$. The weighted error and the training loss over an $N$-best list $\mathcal{Y}_N$ are
$$\mathcal{W}_\phi(y,y^*) = \sum_{e \in A(y,y^*)} c_\phi(e \mid y^*), \qquad \mathcal{L}(\theta) = \sum_{y \in \mathcal{Y}_N} \hat P_\theta(y \mid x)\,\big(\mathcal{W}_\phi(y,y^*) - \bar{\mathcal{W}}_\phi\big),$$
Here $\hat P_\theta$ is the recognizer's probability renormalized over the list and $\bar{\mathcal{W}}_\phi$ is the mean weighted error over the list, the usual variance-reduction baseline. When every cost is one, this reduces exactly to standard MWER. That makes the reduction a built-in ablation.
The cost model is built in three stages.
- Collecting judge ratings. We decode the training set with a baseline recognizer, align N-best hypotheses to references, and sample a few hundred thousand individual edits. For each edit, the judge sees the reference sentence and the sentence with only that edit applied. It returns a chain-of-thought rationale and a severity rating on a small ordinal scale, anchored by a rubric (meaning preserved, meaning degraded, meaning changed). Following Distributional LLM-as-a-Judge, which found that matching the full distribution of labels fits human disagreement far better than matching a single label, we keep the judge's probabilities over severity levels. The edit cost is the expected severity, not the most likely level.
- Distillation. A small encoder is trained to predict that expected severity from the reference context and the edit. Scoring is then one cheap forward pass per aligned edit. This is the step that makes the judge affordable, and it is exactly the cost the LLM-judge MBR literature leaves unsolved.
- Bounding the costs. Costs are floored at a minimum value so that no edit becomes free. The weighted error is rescaled to match the corpus mean of plain word error rate. Both steps guard against the metric exploitation that MBR and QE Finetuning warns about, and against the kind of shortcut that Long Is More for Alignment exposed in instruction tuning.
Before any recognizer is trained, the judge itself is audited. On a held-out set of edits labelled by humans, we measure how often the judge's severity agrees with the human majority. This matters because judges agree with humans imperfectly: ULTRAFEEDBACK reports 68.6% agreement with human majority votes on preferences. It also matters because a single scalar can hide conflicting criteria: Quality Is a Decision, Not a Measurement found a 56.5% ordering inversion under a different rubric. We therefore state our rubric (does the transcript still say the same thing?) explicitly. We also report agreement separately for each edit type, since RewardBench shows judges are weakest on precise reasoning, which here corresponds to numbers and negation.
The trained systems are evaluated on three quantities.
- Plain word error rate.
- Severe-error utterance rate. This is the fraction of test utterances containing at least one meaning-changing edit, as labelled by humans. It is the primary metric.
- Weighted error under a held-out judge. A judge from a different model family scores test outputs. This keeps us from grading the model with the same judge whose costs it was trained on.
Following CLEAR, which clusters judge critiques into recurring failure types, we cluster the judge rationales on test errors. This shows which error categories the method actually removes, for example negation, numbers, or named entities.
Baselines
The naive reference point is a recognizer trained only with cross-entropy, the per-token likelihood loss. It shows how much any sequence-level training helps. State-of-the-Art Speech Recognition reports voice-search word error rate falling from 9.2% to 5.6% when MWER is combined with its other improvements. We do not expect to reproduce these numbers, since they come from internal Google data.
The strongest existing competitor is standard MWER on the same architecture, initialization, N-best size, learning-rate schedule and number of updates. It is the method we modify and the incumbent for the loss function. Reported gains for this family include 17.4% and 22.2% relative word error rate reductions on short and long utterances for two-pass MWER rescoring (Two-Pass End-to-End Speech Recognition), and 4–5% relative over state-level minimum Bayes risk (sMBR, an older sequence-level training criterion) for sampled expected-loss training (Optimizing Expected Word Error Rate via Sampling). On the one public-style corpus in the file, the Corpus of Spontaneous Japanese (CSJ), the reported reference is 18.9% and 16.5% word error rate on test1 and test2 from compact error-corrective reranking (An approach to efficient generation of high-accuracy and compact error-corrective models). We will also run an additional public English corpus, for which no reported result was found on Lacuna.
Beating the incumbent means cutting the severe-error utterance rate by at least 15% relative, with plain word error rate no more than 2% relative worse. The test must pass on both corpora and both architectures, an attention decoder and a transducer.
The heuristic-weighting baseline uses the same weighted MWER loss but with hand-made costs. Stop words and fillers are discounted; numbers, negations and named entities are upweighted. The weights are tuned on the development set with the same tuning budget as ours. This isolates whether the judge contributes anything beyond obvious lexical rules.
The judge-free semantic baseline replaces the judge cost with a sentence-embedding distance between the edited sentence and the reference.
The inference-time baseline keeps a standard MWER recognizer and rescores its N-best list at test time, using the judge's severity estimate to pick the hypothesis.
A final ablation trains the cost model on the judge's most likely severity level instead of its expected severity. This tests whether the distributional ingredient matters.
Why not just…?
Why not just downweight stop words and upweight keywords? This is the most serious threat. If most meaning damage comes from a small, predictable set of word classes, a lexical rule captures it for free. Our prediction is that it does not, because severity depends on context. "Two" versus "to" is harmless in one sentence and critical in another, and a deleted "not" matters more than a deleted adjective. The heuristic-weighting baseline settles this directly with an equal tuning budget. If it matches us on the severe-error utterance rate, we will report that the judge is unnecessary and that the right contribution is the weighted-MWER objective itself.
Why not just call the LLM judge inside MWER training? It is too costly. Scoring is quadratic in pairwise MBR, and even the linear version needs one call per hypothesis per step. MBR and QE Finetuning already found that making utility computation cheaper, not more exact, is what makes distillation practical: quality-estimation reranking ran about 109× faster than MBR with comparable gains. We will run the direct-judge version on a small subset as an upper bound. Distillation is justified if our model recovers most of that upper bound's gain.
Why not just rescore or correct transcripts with an LLM at test time? Test-time rescoring adds latency at every query. Two-pass work treated even 200 ms of added delay as a hard budget (Two-Pass End-to-End Speech Recognition). Rescoring also cannot recover an error that never appears in the beam, whereas training reshapes the beam itself. The inference-time baseline measures how much of the gain is available without retraining. We will also report beam-size sweeps, since MWER's robustness at beam size 2 (On Minimum Word Error Rate Training of the Hybrid Autoregressive Transducer) is exactly where rescoring has nothing left to choose from.
Why not just use embedding similarity as the cost? Sentence embeddings are known to be weak at detecting negation and numeric changes, which are precisely the severe cases. The judge-free semantic baseline tests this. We will also compare cost-model and embedding agreement with human severity labels before any training run.
Decisive Experiments
The first check comes before any recognizer is trained. If the distilled cost model's agreement with human severity labels does not clearly exceed the heuristic's, the project stops or pivots to the heuristic.
The main experiment trains cross-entropy, MWER, heuristic-weighted MWER, embedding-weighted MWER and judge-weighted MWER on CSJ and on the public English corpus, with an attention decoder and a transducer, under identical compute. We report plain word error rate, the severe-error utterance rate from human labels, and weighted error under a held-out judge from a different model family. The claim holds only if judge-weighted MWER lowers the severe-error utterance rate beyond every baseline, and the held-out judge agrees, while plain word error rate stays within the stated margin.
Two further checks guard the result:
- Beam robustness. A beam-size sweep confirms that the weighting does not undo MWER's small-beam robustness.
- Gaming check. We inspect whether the model learned to hide errors in cheap edit classes. Signs would be a rising number of low-cost insertions, or plain word error rate rising while weighted error falls, measured against the cost floor.
References
- Better Instruction-Following Through Minimum Bayes Risk
- MBR and QE Finetuning: Training-time Distillation of the Best and Most Expensive Decoding Methods
- State-of-the-art Speech Recognition With Sequence-to-Sequence Models
- Two-Pass End-to-End Speech Recognition
- On Minimum Word Error Rate Training of the Hybrid Autoregressive Transducer
- Optimizing Expected Word Error Rate via Sampling for Speech Recognition
- Distributional LLM-as-a-Judge
- Long Is More for Alignment: A Simple but Tough-to-Beat Baseline for Instruction Fine-Tuning
- ULTRAFEEDBACK: Boosting Language Models with Scaled AI Feedback
- Quality Is a Decision, Not a Measurement: A Safety Rubric Reorders UltraFeedback's Binarized Labels
- RewardBench: Evaluating Reward Models for Language Modeling
- CLEAR: Error Analysis via LLM-as-a-Judge Made Easy
- An approach to efficient generation of high-accuracy and compact error-corrective models for speech recognition