Abstract
While self-supervised learning (SSL) has significantly advanced speech processing, the computational cost of fine-tuning massive models remains a barrier. This paper explores parameter-efficient fine-tuning (PEFT) techniques—specifically deep prompt tuning and adapter tuning—applied to the Wav2Seq encoder-decoder architecture. By leveraging a pre-trained generative backbone, the proposed approach achieves a 53% relative improvement in Word Error Rate (WER) for speech recognition compared to previous prompting methods, demonstrating that prompting is viable for complex sequence generation tasks in the speech domain.
Introduction
The paradigm of "pre-train then fine-tune" has become standard in speech processing, with models like HuBERT and Wav2vec 2.0 providing powerful representations. However, traditional fine-tuning (FT) requires updating all model parameters, which is increasingly impractical as model sizes grow. In Natural Language Processing (NLP), parameter-efficient alternatives like prompting and adapters have gained traction, but their application to speech has been limited.
Previous attempts at speech prompting, such as SpeechPrompt, were largely restricted to simple classification tasks (e.g., emotion recognition) and struggled with sequence generation tasks like Automatic Speech Recognition (ASR). Furthermore, most adapter research in speech has focused on encoder-only architectures. This study addresses these gaps by applying PEFT to Wav2Seq, an encoder-decoder model pre-trained on pseudo-labels, to evaluate its effectiveness across both classification and generation tasks.
Methodology
The researchers focus on two primary PEFT strategies integrated into the Wav2Seq framework:
1. Deep Prompt Tuning
Unlike standard prompting which adds vectors only at the input layer, Deep Prompt Tuning prepends trainable prompt vectors to the input of every Transformer layer in both the encoder and the decoder. The underlying weights of the pre-trained Wav2Seq model remain frozen, ensuring that only a tiny fraction of the total parameters are updated.
2. Adapter Tuning
Adapter Tuning involves inserting small "bottleneck" neural networks into the existing Transformer layers. These modules project the hidden states to a lower dimension and then back up, allowing the model to learn task-specific features without modifying the original pre-trained weights.
The choice of Wav2Seq as a backbone is critical. Because it is pre-trained for sequence-to-sequence generation (ASR on pseudo-labels), it provides a more robust foundation for prompting to "steer" the model toward complex transcription tasks compared to decoder-only or encoder-only models.
Experimental Setup
The methods were evaluated across a broad spectrum of speech tasks:
- Classification: Keyword Spotting (Speech Commands) and Intent Classification (Fluent Commands).
- Sequence Generation: ASR using LibriSpeech (100-hour and 10-hour subsets) and Slot Filling (Audio SNIPS).
- Cross-lingual ASR: Multilingual LibriSpeech (MLS) across seven languages, including Dutch, French, German, Italian, Polish, Portuguese, and Spanish.
Key Insights and Results
Performance in Sequence Generation
The study found that the encoder-decoder architecture is the "secret sauce" for successful prompting in speech. Wav2Seq-Prompt achieved a 53% relative reduction in WER for ASR and a 27% improvement in F1 score for slot filling compared to the previous state-of-the-art (SpeechPrompt). These gains were achieved by tuning only approximately 4.3 million parameters—roughly 3% of the total 155 million parameters.
Prompting vs. Adapters
The research revealed a distinct trade-off between the two PEFT methods:
- Low-Resource Superiority: In 10-hour data scenarios and cross-lingual ASR, prompting consistently outperformed adapters. For example, on Dutch ASR, prompting reached a 50.92 WER, while adapters trailed at 52.90. The authors suggest that prompting causes less "disruption" to the model's pre-existing knowledge, making it more robust when data is scarce.
- Scaling with Data: As the training data and parameter budget increase, adapters eventually overtake prompting. Adapters provide more capacity to learn complex transformations required for high-resource tasks.
Architectural Observations
Layer placement proved vital for performance. For ASR tasks, placing prompts in the later layers of the encoder was significantly more effective than placing them in the early layers. Additionally, in Keyword Spotting, Wav2Seq-Prompt actually outperformed full fine-tuning (98.40% vs 98.20% accuracy), demonstrating that PEFT can sometimes provide a beneficial regularizing effect.
Limitations and Future Work
Despite the successes, a "prompting ceiling" was observed; increasing prompt length beyond a certain point (e.g., 120 to 180 vectors) led to diminishing returns or performance degradation in languages like German and Polish. Furthermore, while PEFT is highly efficient, full fine-tuning still maintains a performance lead in high-resource settings (e.g., 100-hour LibriSpeech).
Future research will focus on the theoretical reasons behind optimal layer placement and the potential for hybrid approaches that combine prompting and adapters to maximize both efficiency and capacity.
Summary updated