Introduction
Integrating speech with Large Language Models (LLMs) typically follows one of two paths: cascaded systems or end-to-end (E2E) encoder-LLM architectures. Cascaded systems, which use Automatic Speech Recognition (ASR) to transcribe audio to text, are prone to error accumulation and lose rich acoustic information like tone or emotion. Conversely, E2E models often suffer from task over-fitting; by training specifically on ASR data, they frequently lose the "emergent abilities" (such as zero-shot reasoning) that make LLMs powerful. Wav2Prompt addresses this by aligning speech features directly with the LLM's internal token embedding space, allowing the model to "hear" speech as if it were a native text prompt.
Methodology
The Wav2Prompt framework utilizes a Conformer acoustic encoder to process audio signals. To bridge the temporal gap between high-frequency audio frames and lower-frequency linguistic tokens, it employs a Continuous Integrate-and-Fire (CIF) mechanism.
The core innovation lies in Embedding Matching. Instead of training the encoder to predict discrete text labels, Wav2Prompt minimizes the Mean Squared Error (MSE) between the speech-generated vectors and the LLM’s own native token embeddings. By keeping the LLM frozen and generating "speech prompts," the system preserves the LLM's general-purpose capabilities while enabling robust end-to-end processing.
Experimental Setup
The researchers evaluated Wav2Prompt across several diverse tasks:
- ASR & Spoken Language Understanding (SLU): Evaluated on LibriSpeech and Fluent Speech Commands (FSC).
- Speech Translation (ST): Tested on Europarl-ST (English-Spanish and English-French).
- Question Answering (QA): Evaluated on WikiQA and a question-augmented version of LibriSpeech.
The experiments utilized various 7B-parameter models, including LLaMA-2, BLOOMZ, and Vicuna.
Key Results and Discussion
Wav2Prompt demonstrates a significant advantage in maintaining zero-shot performance while excelling in few-shot adaptation.
As shown in the results for Speech Translation, Wav2Prompt significantly outperforms traditional cascaded and standard E2E approaches in few-shot settings. For example, using the BLOOMZ-7B1 model for English-to-French translation, Wav2Prompt achieved a 23.6 BLEU score, an 8.5-point improvement over the ASR-LLM cascade.
Furthermore, in zero-shot Speech QA, Wav2Prompt achieved 74.21% accuracy, surpassing the ASR-LLM cascade (73.82%). This confirms that the end-to-end connection does not sacrifice the LLM's inherent reasoning capabilities. In intent classification (SLU), the model reached 98.10% accuracy in few-shot scenarios, highlighting its strong task-transfer abilities.
Conclusion
Wav2Prompt successfully bridges the gap between sound and text by treating speech as a continuous prompt within the LLM's native embedding space. This approach prevents task over-fitting and preserves emergent zero-shot abilities while providing superior performance in few-shot learning. Future work will explore scaling to larger models (30B+) and expanding language coverage beyond English-centric datasets.
Summary updated