Dual-Granularity WER-Gated Policy Optimization
- The paper demonstrates that splitting rewards into token-level refinement and sentence-level reconstruction enhances ASR robustness under diverse acoustic conditions.
- The method employs a WER-threshold gate to dynamically shift focus from local corrections to global structure based on error severity.
- Extensive experiments within the Mega-ASR framework show significant WER reductions, validating the dual-granularity reward shaping strategy.
Searching arXiv for the cited paper and closely related optimization context. Dual-Granularity WER-Gated Policy Optimization (DG-WGPO) is a reinforcement-learning objective introduced in Mega-ASR, a unified ASR-in-the-wild framework that combines scalable compound-data construction with progressive acoustic-to-semantic optimization (Xie et al., 19 May 2026). DG-WGPO is designed for adverse-condition speech recognition settings in which conventional word error rate (WER) ceases to provide sufficiently discriminative supervision. It decomposes reward shaping into a token-level “refinement” reward and a sentence-level “reconstruction” reward, then applies a WER-threshold gate that shifts emphasis between them according to the severity of recognition failure. Within the broader Mega-ASR system, this optimization stage is trained from an Acoustic-to-Semantic Progressive Supervised Fine-Tuning checkpoint and forms part of a pipeline that reports gains on adverse-condition ASR benchmarks and complex compositional acoustic scenarios (Xie et al., 19 May 2026).
1. Position within the Mega-ASR framework
Mega-ASR is presented as a response to an “acoustic robustness bottleneck,” described as a setting in which ASR systems and large audio-LLMs often lose acoustic grounding and produce omissions or hallucinations under severe, compositional distortions (Xie et al., 19 May 2026). The framework combines scalable compound-data construction with progressive acoustic-to-semantic optimization, and DG-WGPO is the policy-optimization component of that training stack.
The surrounding system context is important because DG-WGPO is not introduced as a standalone reward heuristic detached from data or pretraining. Mega-ASR also introduces Voices-in-the-Wild-2M, covering 7 classic acoustic phenomena and 54 physically plausible compound scenarios. The full system is trained with Acoustic-to-Semantic Progressive Supervised Fine-Tuning and DG-WGPO. Extensive experiments report 45.69% vs. 54.01% on VOiCES R4-B-F and 21.49% vs. 29.34% on NOIZEUS Sta-0, and on complex compositional acoustic scenarios the system delivers over 30% relative WER reduction against strong open- and closed-source baselines (Xie et al., 19 May 2026). These figures characterize Mega-ASR as a whole rather than isolating DG-WGPO alone.
2. Motivation: local versus global failure regimes
The method is motivated by an explicit distinction between two acoustic-error regimes. In moderately noisy conditions, defined as approximately , recognition errors are described as mostly local word- or token-level mistakes. In harsher conditions, approximately , the dominant failures become global: dropped phrases, hallucinations, or large-scale omissions (Xie et al., 19 May 2026).
A single WER reward is therefore treated as insufficient because it conflates these regimes and saturates when WER is high, offering little learning signal when it is most needed. DG-WGPO addresses this by splitting the reward into two components. The low-granularity component is a token-level “refinement” reward intended to sharpen local word corrections. The high-granularity component is a sentence-level “reconstruction” reward intended to preserve overall semantic structure. A WER-threshold gate then dynamically shifts emphasis from one granularity to the other.
A common simplification is to assume that conventional WER alone is an adequate RL reward for robust ASR. The reported motivation argues against that simplification: when outputs are severely corrupted, scalar WER can fail to discriminate among qualitatively different failure patterns. This suggests that DG-WGPO should be understood as regime-dependent reward shaping rather than as a replacement for WER per se.
3. Low- and high-granularity reward definitions
Let be the hypothesis sequence of tokens, the reference sequence, the length in tokens, and the conventional word error rate (Xie et al., 19 May 2026). DG-WGPO defines two reward granularities.
For substituted token pairs , the method first defines a character-level substitution similarity:
where is the character-level edit distance.
The token-level refinement reward, denoted , uses three counts: 0, the number of correct tokens; 1, the number of “hard” errors consisting of insertions, deletions, or substitutions with 2; and 3, the number of “soft” substitutions with 4. The reward is
5
with 6 down-weighting soft errors. The paper uses 7 and 8.
The sentence-level reconstruction reward, denoted 9, uses the longest common subsequence in tokens:
0
This formulation combines a subsequence-preservation term with a length-consistency term. The first term favors retention of ordered reference structure; the second penalizes large hypothesis-reference length mismatch.
The distinction between the two rewards is operational rather than merely descriptive. 1 sharpens local lexical correction, whereas 2 measures whether the hypothesis still tracks the global sentence scaffold. A plausible implication is that the method treats severe acoustic corruption primarily as a structural reconstruction problem rather than solely as token replacement.
4. WER-gated fusion and the final reward objective
DG-WGPO introduces a gate based on a WER threshold 3, set to 4 in the paper (Xie et al., 19 May 2026). The dynamic reward is defined piecewise:
5
6
This gate implements the paper’s central design principle. In lower-WER conditions, token refinement is emphasized. In higher-WER conditions, sentence reconstruction becomes dominant. The piecewise weights are fixed and asymmetric rather than continuously learned.
The method does not discard conventional WER. Instead, it keeps a static WER reward anchor:
7
It also defines an anti-repetition gate:
8
The static combined signal is then
9
The final reward interpolates between the static anchor and the gated dynamic signal:
0
with 1 and the paper using 2 (Xie et al., 19 May 2026).
This design makes WER an anchor rather than the sole optimization target. The anti-repetition gate additionally constrains degenerate rollouts. The resulting objective can be read as a two-layer reward structure: a static baseline that preserves conventional ASR fidelity and a dynamic component that reallocates credit assignment according to error regime.
5. Policy optimization procedure
The optimization is performed in DAPO style, where DAPO is “Direct Advantage-based Policy Optimization” (Xie et al., 19 May 2026). The policy 3 is a pretrained ASR policy initialized from an A2S-SFT checkpoint. Given an audio/text prompt, it generates a distribution over token sequences.
For each RL iteration, a minibatch 4 is sampled from the RL training set 5. For each 6, the policy generates 7 completions 8 by sampling, for example with top-9 and temperature. For each sampled completion, the procedure computes 0, the static reward anchor 1, the repetition gate 2, the combined static signal 3, the token-level reward 4, and the sentence-level reward 5. The gate then selects the appropriate mixture to obtain 6, and the final scalar reward is
7
The update uses group-relative normalization. For the 8 rollouts associated with a prompt, the group-mean reward is
9
and the advantage is
0
The method then accumulates log-probabilities 1 and forms the policy gradient
2
Parameters are updated via gradient ascent, or an equivalent PPO/DAPO update with KL clipping (Xie et al., 19 May 2026).
The procedural emphasis on group-relative normalization is not incidental. The reproduction notes state that it is critical to expose intra-group signal. This suggests that DG-WGPO depends not only on the reward definition but also on the variance structure induced by multiple sampled completions per prompt.
6. Empirical comparison, ablations, and reproduction conditions
The paper contrasts DG-WGPO with single-granularity WER optimization (Xie et al., 19 May 2026). In that comparison, “single-granularity WER reward” corresponds to 3 alone. The reported conceptual limitation is that WER-only reward saturates in high-WER regimes, offering little discrimination when policies produce severely corrupted outputs. Empirically, Table 4 reports that replacing DG-WGPO by WER-only rewards yields higher WER on noisy benchmarks. On the Voices benchmark, Vanilla DAPO (WER reward only) gives WER 4, whereas full DG-WGPO gives 5. Ablations further show that removing 6, removing 7, or removing the gated fusion each degrades performance, which the paper interprets as evidence that both granularities and their dynamic weighting are necessary for maximal gains.
The reported reproduction settings are summarized below.
| Parameter | Value | Note |
|---|---|---|
| WER gate 8 | 0.3 | Threshold for dynamic weighting |
| Soft-error discount 9 | 0.4 | Down-weights soft substitutions |
| Dynamic weight 0 | 0.6 | Weights dynamic signal |
| Rollouts per prompt 1 | 12 or 16 | Depends on run |
| RL learning rate | 2 | Cosine decay schedule, warmup 3% |
| KL-penalty coefficient 3 | 0.04 | DAPO setting |
| DAPO clipping | 0.28 | Update constraint |
| Temperature | 0.5 | Generation parameter |
| Top-4 | 0.95 | Generation parameter |
| Repetition penalty | 1.08 | Generation parameter |
| Max length | 256 tokens | Generation parameter |
| Hardware scale | 3–8 GPUs | DAPO framework |
| Effective batch size | 5 transcripts/update | Update scale |
Additional implementation notes are explicit. Static anti-repetition gate thresholds and overlong/output-filtering are enabled to discard degenerate rollouts. The reward computation pipeline should exactly match the piecewise weights above. Group-relative normalization is critical to expose intra-group signal. The method also recommends tuning 6 versus generation noise so that sampled completions are neither too similar, which would weaken signal, nor too diverse, which would increase hallucination risk. Within those conditions, DG-WGPO is described as sharpening ASR robustness under both moderate and severe noise by dynamically focusing learning where it is most needed.