Gradient Remedy for Multi-Task Learning in End-to-End Noise-Robust Speech Recognition

Yuchen Hu, Chen Chen, Ruizhe Li, Qiushi Zhu, Eng Siong Chng

Abstract

Multi-task learning (MTL) combining speech enhancement (SE) and automatic speech recognition (ASR) often suffers from gradient interference, where the auxiliary SE task conflicts with or dominates the primary ASR task. This paper presents Gradient Remedy (GR), a novel optimization technique that projects and rescales gradients to ensure task synergy. By enforcing an acute angle between task gradients and adaptively balancing their magnitudes, GR mitigates the "tug-of-war" effect common in joint training. Evaluations on the RATS and CHiME-4 datasets demonstrate that GR significantly outperforms standard MTL and existing gradient projection methods, achieving up to a 9.3% relative reduction in Word Error Rate (WER) on highly noisy speech.

1. Introduction

In noise-robust Automatic Speech Recognition (ASR), a common architecture involves a two-step pipeline: a Speech Enhancement (SE) module cleans the incoming audio, and an ASR module transcribes the result. While training these components together via Multi-Task Learning (MTL) is theoretically beneficial, it often leads to suboptimal performance due to a fundamental misalignment between objectives.

The SE objective focuses on making audio sound "clean" to human ears (perceptual quality), which does not always align with the ASR objective of extracting linguistic features. This misalignment manifests as gradient interference during backpropagation:

  1. Conflicting Gradients: The directions of the gradients for the two tasks are more than 90° apart, causing the updates for one task to actively degrade the performance of the other.
  2. Dominant Gradients: The auxiliary SE task often produces significantly larger gradients than the primary ASR task, causing the model to prioritize noise reduction over transcription accuracy.

2. Methodology: Gradient Remedy (GR)

To address these issues, the Gradient Remedy (GR) method modifies the gradients of each layer during the training process. GR consists of two primary mechanisms: Gradient Projection and Gradient Rescale.

2.1 Gradient Projection

Existing methods like PCGrad (Projecting Conflicting Gradients) resolve conflicts by projecting one gradient onto the normal plane of the other, making them orthogonal (90°). GR improves upon this by projecting the SE gradient onto a dynamic surface at an acute angle ($\theta$) relative to the ASR gradient. This ensures that the SE task does not merely stop interfering but actively assists the ASR task by moving the model parameters in a direction more consistent with the primary goal.

2.2 Gradient Rescale

Even when directions are aligned, a disproportionately large SE gradient can drown out the ASR signal. GR introduces a rescaling strategy where, if the SE gradient magnitude exceeds a threshold ($K$) relative to the ASR gradient, the SE gradient is adaptively compressed and the ASR gradient is stretched. This uses a ratio based on the cosine of the angle between the gradients to maintain the "dominant" role of the ASR task throughout training.

3. Experimental Setup

The effectiveness of GR was evaluated on two challenging benchmarks for noise-robust speech recognition:

  • RATS (Robust Automatic Transcription of Speech): A dataset featuring extremely noisy radio communication speech, considered one of the most difficult benchmarks in the field.
  • CHiME-4: A standard benchmark for far-field speech recognition in noisy real-world environments such as buses, cafes, and street junctions.

4. Results and Discussion

4.1 Performance on RATS and CHiME-4

The Gradient Remedy approach consistently outperformed standard MTL and other gradient-conflict resolution methods. On the RATS dataset, GR achieved a 47.0% Word Error Rate (WER), a significant improvement over the 51.8% WER of standard MTL and the 50.5% of PCGrad. This represents a 9.3% relative reduction in errors. Similarly, on the CHiME-4 dataset, the method achieved an average 11.1% relative WER reduction over the MTL baseline.

4.2 Key Insights

  • Acute Alignment: The core innovation of GR is the shift from orthogonal to acute gradient alignment. By forcing the auxiliary task to become a "helper," the model achieves better convergence on the primary task.
  • Dynamic Task Hierarchy: Unlike standard MTL, which treats all losses as equal, GR explicitly enforces a hierarchy where ASR is the dominant task. The rescaling mechanism acts as a safeguard against the auxiliary task hijacking the optimization process.
  • Ablation Findings: Ablation studies indicated that while Gradient Projection provides the majority of the performance gains, the Rescale strategy is essential for stabilizing training in scenarios where the SE task is particularly aggressive.

5. Conclusion and Future Work

Gradient Remedy provides a robust framework for multi-task learning in speech recognition by resolving gradient conflicts and magnitude imbalances. While the current study focused on SE and ASR, the logic of GR is potentially applicable to other primary/auxiliary task pairs in fields like computer vision (e.g., depth estimation and object detection). Future research may focus on reducing the computational overhead of calculating projections and exploring the sensitivity of the threshold hyperparameter $K$ across different model architectures.

Summary updated

BibTeX
@inproceedings{hu2023gradient,
  author = {Yuchen Hu and Chen Chen and Ruizhe Li and Qiushi Zhu and Eng Siong Chng},
  title = {{Gradient Remedy for Multi-Task Learning in End-to-End Noise-Robust Speech Recognition}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10096615},
}
Figure