Abstract
Multi-task learning (MTL) and attention mechanism have been proven to effectively extract robust acoustic features for various speech-related tasks in noisy environments. In this study, we propose an attention-based MTL (ATM) approach that integrates MTL and the attention-weighting mechanism to simultaneously realize a multi-model learning structure that performs speech enhancement (SE) and speaker identification (SI). The proposed ATM system consists of three parts: SE, SI, and attention-Net (AttNet). The SE part is composed of a long-short-term memory (LSTM) model, and a deep neural network (DNN) model is used to develop the SI and AttNet parts. The overall ATM system first extracts the representative features and then enhances the speech signals in LSTM-SE and specifies speaker identity in DNN-SI. The AttNet computes weights based on DNN-SI to prepare better representative features for LSTM-SE. We tested the proposed ATM system on Taiwan Mandarin hearing in noise test sentences. The evaluation results confirmed that the proposed system can effectively enhance speech quality and intelligibility of a given noisy input. Moreover, the accuracy of the SI can also be notably improved by using the proposed ATM system.
Introduction
Speech signals in real-world environments are frequently degraded by environmental noise, which negatively impacts downstream applications such as hearing aids and automatic speech recognition. While Speech Enhancement (SE) aims to clean the signal and Speaker Identification (SI) aims to label the speaker, these tasks are traditionally handled independently. This research proposes that these tasks are fundamentally linked: speaker-specific characteristics (e.g., pitch, timbre) can serve as a powerful "prior" to help an enhancement model distinguish speech from noise. Conversely, a cleaner signal facilitates more accurate identification. We introduce the Attention-based Multi-Task learning (ATM) framework to exploit this synergy through shared features and an attention mechanism.
Methods
The ATM architecture integrates three key components: an SE Module (LSTM-based for temporal context), an SI Module (DNN-based for classification), and an AttNet. The AttNet takes speaker features from the SI module to compute a weighting vector ($\omega$), which is applied via element-wise multiplication to the SE features. This effectively "tunes" the enhancement filter to the specific speaker's voice.
Two variants were developed: $ATM_{bef}$, where attention is applied before final feature extraction, and $ATM_{ide}$, where weighting occurs within the feature extraction layer. To balance the regression (SE) and classification (SI) objectives, a dynamic weighted loss function was implemented.
Experimental Results
The system was evaluated using the TMHINT (Taiwan Mandarin Hearing In Noise Test) dataset, mixed with various noise types (engine, pink, street, white) at SNRs from 5 to -5 dB. The $ATM_{ide}$ variant consistently outperformed baseline noisy signals and standard single-task LSTM-SE models across all metrics.
Key findings include:
- Enhanced Quality and Intelligibility: $ATM_{ide}$ achieved a PESQ of 1.98 (compared to 1.25 for noisy input) and a STOI of 0.75.
- Signal Reconstruction: The Segmental Signal-to-Noise Ratio Improvement (SSNRI) reached 8.05 dB, surpassing the standard LSTM-SE (7.39 dB) and basic MTL without attention (7.61 dB).
- Robust Feature Learning: t-SNE visualizations demonstrated that the ATM approach produces tighter and more distinct speaker feature clusters than standard SI models, proving the learned features are more discriminative.
Conclusion
The proposed ATM framework demonstrates that knowing who is speaking significantly improves the quality of what is being recovered. By using speaker identity as a spectral mask, the model achieves superior noise robustness. Future work will extend this framework to handle overlapping speech (the "cocktail party problem") and broader language datasets.
Summary updated