An Exploration of Prompt Tuning on Generative Spoken Language Model for Speech Processing Tasks

Kai-Wei Chang, Wei-Cheng Tseng, Shang-Wen Li, Hung-yi Lee

Abstract

Recent advances in Natural Language Processing (NLP) have shown that large-scale language models can be adapted to various downstream tasks through prompt tuning—a method that keeps the model backbone frozen while training only a small set of task-specific parameters. This paper investigates the feasibility of this paradigm for speech processing using a Generative Spoken Language Model (GSLM). We demonstrate that prompt tuning can achieve competitive results on classification tasks such as Keyword Spotting (KS) and Intent Classification (IC) while utilizing as little as 0.05% of the total model parameters.

Introduction

The prevailing approach for utilizing Self-Supervised Learning (SSL) speech models, such as HuBERT or wav2vec 2.0, involves either full fine-tuning or the addition of complex task-specific downstream heads. While effective, this approach incurs significant storage costs—requiring a full model copy per task—and substantial human effort in architectural design. Inspired by the success of prompting in NLP, this work explores whether a frozen generative speech model can be steered toward diverse tasks using continuous prompts.

Methodology: Prompting the GSLM

The proposed framework utilizes the Generative Spoken Language Model (GSLM) as its core. GSLM processes speech by first quantizing raw audio into a sequence of discrete units, which are then modeled by a Unit Language Model (uLM).

Deep Prompt Tuning

Unlike traditional discrete prompts (e.g., text instructions), we employ "continuous prompts"—trainable vectors that are prepended to the input sequence. Crucially, we utilize Deep Prompt Tuning, where these vectors are injected into the attention mechanism of every layer of the Transformer backbone. This allows the model to better integrate task-specific information throughout its depth.

Overview of the prompt tuning framework for GSLM, showing the pipeline from raw audio to discrete units and the conditional generation process within the frozen uLM.

The Verbalizer

To map the model's generated discrete units back into human-interpretable labels (e.g., "Activate Lights"), a frequency-based verbalizer is used. This component maps the output distribution of the uLM to specific task labels based on their occurrence in the training data.

Experimental Results

We evaluated the framework on the SUPERB benchmark, focusing on Keyword Spotting (KS), Intent Classification (IC), and Automatic Speech Recognition (ASR).

Classification Performance

Prompt tuning proved highly effective for classification tasks. For Keyword Spotting, the model achieved 95.16% accuracy with only 0.08M trainable parameters. In Intent Classification, the prompt-tuned model (98.40% accuracy) actually outperformed the fully fine-tuned baseline (98.34%), likely because the generative nature of the uLM excels at capturing correlations between multiple labels (e.g., action and object).

Deep vs. Shallow Prompting

A key finding was the necessity of deep injection. As shown in the figure below, Deep Prompt Tuning consistently outperforms Input (shallow) Prompt Tuning across various parameter scales, highlighting the importance of multi-layer task steering.

Comparison of Input Prompt Tuning vs. Deep Prompt Tuning across different parameter counts, demonstrating the superior performance of deep injection.

Challenges and Limitations

While successful for classification, prompt tuning struggled with long-form sequence generation. In ASR tasks, the Character Error Rate (CER) was significantly higher (26.14%) compared to the fine-tuned baseline (1.48%). This performance gap, termed the "Curse of Long Sequences," suggests that causal decoder-only models like the uLM may require more sophisticated prompting strategies or different architectures to handle complex sequence-to-sequence mapping.

Conclusion

This work presents the first successful application of prompt tuning to generative speech models. By freezing the 151M-parameter backbone and training only a fraction of parameters, we achieve state-of-the-art efficiency for speech classification. Future work will focus on bridging the gap for long-sequence generation and exploring emergent properties in larger-scale speech models.

Summary updated

BibTeX
@inproceedings{chang2022exploration,
  author = {Kai-Wei Chang and Wei-Cheng Tseng and Shang-Wen Li and Hung-yi Lee},
  title = {{An Exploration of Prompt Tuning on Generative Spoken Language Model for Speech Processing Tasks}},
  booktitle = {Interspeech},
  year = {2022},
  doi = {10.21437/interspeech.2022-10610},
}
Figure