TL;DR
SALM (Speech-augmented Language Model) is a new framework from NVIDIA that bridges the gap between frozen Large Language Models (LLMs) and speech processing. By "plugging" an audio encoder into a 2B-parameter LLM, the researchers created a single model that performs on par with specialized systems for speech recognition and translation, while uniquely enabling zero-shot in-context learning—allowing users to "boost" specific keywords simply by including them in the text prompt.
What Problem Does This Paper Address?
While LLMs like GPT-4 have revolutionized natural language processing, their "in-context learning" (ICL) capability—the ability to learn a task from a few examples in a prompt without any weight updates—has been largely absent from the speech domain.
Traditional Automatic Speech Recognition (ASR) and Speech Translation (AST) models are usually "bespoke" (built for one specific task). If you want a traditional ASR model to recognize a new technical term or a rare name (keyword boosting), you typically have to use complex external biasing graphs or retrain parts of the model. The authors of SALM asked: Can we leverage the inherent reasoning and context-following abilities of an LLM to handle speech tasks and keyword boosting through simple prompting?
Methods
The SALM architecture consists of four main components:
- Audio Encoder: A 110M parameter "Fast Conformer" that processes raw audio.
- Modality Adapter: Two Conformer layers that downsample the audio features to match the "information rate" of text (resulting in a 320ms frame shift) and project them into the LLM’s dimensionality.
- Frozen LLM: A 2B-parameter Megatron LLM, which remains unchanged to preserve its massive pre-trained knowledge.
- LoRA Layers: Low-Rank Adaptation layers are added to the LLM. Only these layers and the adapter are trained, making the process computationally efficient.
The most novel training contribution is Speech Supervised In-context Training (Speech ICT). The researchers realized that just because an LLM is good at text-based ICL doesn't mean it will automatically use audio context. During training, they randomly prepended ground-truth words from the audio into the text prompt. This "taught" the model that the text context contains useful hints for decoding the speech signal.
Datasets
The model was trained and evaluated on several standard and internal benchmarks:
- ASR Training: LibriSpeech (960 hours).
- AST Training: English audio paired with pseudo-generated German and Japanese translations (approx. 4.8k hours).
- Evaluation: LibriSpeech (ASR), MuST-C v2 (Translation), and an internal NVIDIA GTC Talk Test Set specifically designed for keyword boosting, filled with technical acronyms and product names.
Key Insights and Ideas
- The "Aha" Moment for ICL: The paper demonstrates that ICL is not just for text. By providing a list of keywords in the prompt (e.g., "The following words may occur in audio: GTC, NVIDIA..."), the model significantly improves its accuracy on those specific terms without any external software or specialized decoding.
- Bridging the Modality Gap: The "Speech ICT" training was essential. Without it, the model struggled to follow the prompt instructions. This suggests that "aligning" speech and text requires more than just matching vector dimensions; you have to train the model to look at the context.
- Multitask Unity: Unlike traditional pipelines that need different models for different languages or tasks, SALM uses a single set of weights. It switches from ASR to Translation simply by changing the text instruction (e.g., "Translate the spoken English to written Mandarin").
Key Results
- Competitive Performance: On LibriSpeech (ASR), SALM achieved a Word Error Rate (WER) of 2.3% (clean) and 4.8% (other), which is very close to highly optimized, task-specific baselines.
- Translation Gains: In Speech Translation (MuST-C), SALM actually outperformed some baselines, hitting a BLEU score of 30.7 for English-to-German.
- Keyword Boosting Success: On the technical GTC dataset, adding keywords to the prompt improved the F-score from 0.35 to 0.61. This proves the model can "listen" for specific terms it is told to expect.
- Rare Word Mastery: Qualitative analysis showed that SALM is much better at correctly identifying rare words (like "kleptomaniac") compared to standard ASR models, which often default to more common, similar-sounding words.
Limitations and Future Work
Despite its success, SALM inherits some of the classic "hallucination" problems of LLMs. In some cases, the model might invent words or stop transcribing too early.
The authors also noted a scalability limit for keyword boosting: as the list of provided keywords grows very long, the precision of the model starts to drop. Future work will focus on improving the model's ability to handle long-context prompts and eliminating the "deletion" errors where the model skips parts of the audio.
Summary updated