Abstract
Speech Recognition has seen a dramatic shift towards adopting Large Language Models (LLMs), driven by their scalability and multi-tasking capabilities. However, the standard next-token prediction objective often leads to performance limitations and hallucinations. We propose applying Group Relative Policy Optimization (GRPO) to enable reinforcement learning from human feedback (RLHF) for automatic speech recognition (ASR). Using simple rule-based reward functions, we demonstrate significant improvements in word error rate (up to 18.4% relative), a marked reduction in hallucinations, and increased robustness on out-of-domain datasets.
Introduction
While LLMs have revolutionized ASR by treating audio as a sequence completion task, they are prone to hallucinations—generating semantically plausible text not present in the acoustic signal. This often manifests as high insertion rates. Standard training via Cross-Entropy loss does not always align with the goal of minimizing Word Error Rate (WER). We address this by introducing a third stage to the ASR pipeline: RLHF using GRPO.
Methodology: GRPO for ASR
Traditional RLHF methods like PPO require a computationally expensive "Critic" model to estimate state values. GRPO simplifies this by generating a group of $G$ outputs for a single audio prompt and using their relative performance against the group mean to update the policy. This approach is significantly more efficient for ASR tasks.
Rule-Based Rewards
Unlike open-ended chat assistants, ASR has ground-truth transcripts, allowing for objective, rule-based rewards:
- Negated WER: Directly optimizes the primary target metric.
- Exact Match (EM): A binary reward for perfect transcriptions.
- Edit Distance: Penalizes substitutions, deletions, and insertions.
The architecture integrates a Conformer-based speech encoder with a Llama 3 backbone (available in 2B or 8B parameter variants).
Experimental Setup
The models were trained on approximately 88,000 hours of multilingual data, including People Speech, Common Voice, Multilingual Librispeech (MLS), Voxpopuli, and Covost2. Robustness was evaluated on out-of-domain datasets like TEDLIUM and the challenging AMI meeting corpus, which includes far-field audio (SDM) and overlapping speech.
Results and Discussion
Performance Gains
GRPO consistently improved WER across various datasets. As shown in Figure 2, the application of GRPO (WER) or GRPO (EM) generally leads to lower WER compared to the Supervised Fine-Tuning (SFT) baseline for both 2B and 8B models.
Hallucination Suppression
A key finding was GRPO's ability to suppress hallucinations in noisy environments. On the AMI-SDM dataset, the 8B SFT model's WER exceeded 200% due to massive insertion errors. GRPO reduced this to approximately 40% by drastically penalizing these hallucinations.
Key Insights
- WER vs. EM: The WER-based reward proved most robust across different conditions. Exact Match rewards were only effective when the model's initial performance was already high.
- Stability: Setting the KL divergence penalty ($\beta$) to zero did not cause model collapse, suggesting ASR is a more constrained and stable task for RL than general text generation.
- Domain Adaptation: GRPO outperformed standard SFT by 18% to 27% relative when adapting models to the difficult AMI meeting environment.
Conclusion
Applying GRPO to LLM-based speech recognition significantly enhances accuracy and robustness. By leveraging rule-based rewards, we can effectively mitigate hallucinations and improve domain adaptation without the overhead of a separate reward model. Future work will explore semantic rewards to further refine transcription quality.
Summary updated