[Paper Review] Pengi: An Audio Language Model for Audio Tasks
Pengi reframes all audio tasks as text-generation problems by using a frozen language model conditioned on an audio prefix, enabling both open-ended (captioning, QA) and closed-ended (classification, retrieval) tasks without task-specific fine-tuning.
In the domain of audio processing, Transfer Learning has facilitated the rise of Self-Supervised Learning and Zero-Shot Learning techniques. These approaches have led to the development of versatile models capable of tackling a wide array of tasks, while delivering state-of-the-art performance. However, current models inherently lack the capacity to produce the requisite language for open-ended tasks, such as Audio Captioning or Audio Question & Answering. We introduce Pengi, a novel Audio Language Model that leverages Transfer Learning by framing all audio tasks as text-generation tasks. It takes as input, an audio recording, and text, and generates free-form text as output. The input audio is represented as a sequence of continuous embeddings by an audio encoder. A text encoder does the same for the corresponding text input. Both sequences are combined as a prefix to prompt a pre-trained frozen language model. The unified architecture of Pengi enables open-ended tasks and close-ended tasks without any additional fine-tuning or task-specific extensions. When evaluated on 22 downstream tasks, our approach yields state-of-the-art performance in several of them. Our results show that connecting language models with audio models is a major step towards general-purpose audio understanding
Motivation & Objective
- Motivate a unified transfer-learning approach for diverse audio tasks that traditionally require task-specific models.
- Introduce an Audio Language Model (ALM) that can handle open-ended and close-ended tasks without fine-tuning.
- Leverage instruction-tuning-inspired templates to train the model on a broad set of audio-text tasks.
- Show that grounding a language model with an audio prefix yields strong performance across multiple domains.
Proposed method
- Represent input audio as a sequence of continuous embeddings via an audio encoder (HTSAT/CLAP-based backbone) and map this with a trainable prefix network to form an audio prefix.
- Use a frozen text encoder to process the textual prompt and map it into a corresponding embedding prefix.
- Concatenate the audio and text prefixes and condition a pre-trained frozen autoregressive language model (GPT-2 family) to generate text output.
- Train with a captioning objective using cross-entropy to predict the output text conditioned on the audio-text prefix.
- Train on 3.4 million audio-text pairs across 8 templates to enable instruction-tuning-style generalization.
- During inference, generate text autoregressively using beam search (size 5) conditioned on the audio and prompt prefixes.
Experimental results
Research questions
- RQ1Can all audio tasks be reformulated as audio-text-to-text generation problems using a single training procedure?
- RQ2Does a unified Audio Language Model enable both open-ended and close-ended audio tasks without task-specific architectural changes?
- RQ3What gains arise from instruction-tuning-like templates in the audio domain?
- RQ4How does Pengi perform across a diverse set of downstream tasks compared to task-specific or zero-shot baselines?
Key findings
- Pengi achieves state-of-the-art performance on several open-ended tasks (Audio Captioning and Audio QA) among the 21 evaluated downstream tasks.
- Pengi outperforms baseline zero-shot models on multiple close-ended audio tasks such as classification and retrieval.
- In audio captioning, Pengi surpasses several supervised models on AudioCaps and Clotho datasets, with substantial relative improvements reported in the study.
- A linear-probe analysis suggests the next-token prediction objective helps learn general-purpose audio representations across sound events, music, and speech emotion domains.
- Pengi provides a competitive zero-shot performance in sound event classification compared to contemporary zero-shot models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.