Skip to main content
QUICK REVIEW

[论文解读] Pengi: An Audio Language Model for Audio Tasks

Soham Deshmukh, Benjamin Elizalde|arXiv (Cornell University)|May 19, 2023
Music and Audio ProcessingComputer Science被引用 20
一句话总结

Pengi 将所有音频任务重新表述为文本生成问题,使用以音频前缀为条件的冻结语言模型,从而在不进行特定任务微调的情况下,实现开放式(字幕生成、问答)和闭合式(分类、检索)任务。

ABSTRACT

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

研究动机与目标

  • 为传统上需要特定任务模型的多样化音频任务,提供一个统一的迁移学习方法的动机。
  • 引入一个音频语言模型(ALM),无需微调即可处理开放式和闭合式任务。
  • 利用受指令微调启发的模板,在广泛的音频-文本任务上对模型进行训练。
  • 展示将语言模型以音频前缀绑定/接地在多个领域可以获得强劲的表现。

提出的方法

  • 通过音频编码器(基于 HTSAT/CLAP 的骨干网络)将输入音频表示为连续嵌入序列,并使用一个可训练前缀网络将其映射成一个音频前缀。
  • 使用冻结的文本编码器处理文本提示并将其映射到相应的嵌入前缀。
  • 串联音频前缀和文本前缀,并使一个预训练的冻结自回归语言模型(GPT-2 家族)在给定条件下生成文本输出。
  • 使用交叉熵的字幕/字幕生成目标对输出文本进行训练,使其以音频-文本前缀为条件。
  • 在 3.4 million 个音频-文本对、跨越 8 个模板的训练,以实现指令微调风格的泛化。
  • 在推理阶段,使用束搜索(大小为 5)对音频和提示前缀进行条件化,进行自回归生成文本。

实验结果

研究问题

  • RQ1是否可以使用单一的训练程序将所有音频任务重新表述为音频-文本到文本的生成问题?
  • RQ2统一的 Audio Language Model 是否能够在没有特定任务结构变动的情况下同时实现开放式和闭合式音频任务?
  • RQ3在音频领域中,来自指令微调风格模板的收益是什么?
  • RQ4与任务特定或零-shot 基线相比,Pengi 在多样化下游任务上的表现如何?

主要发现

  • 在评估的 21 个下游任务中,Pengi 在若干开放式任务(Audio Captioning 和 Audio QA)上实现了最先进的性能。
  • Pengi 在多项闭合式音频任务(如分类和检索)上超过基线的零样本模型。
  • 在音频字幕生成方面,Pengi 超越了 AudioCaps 与 Clotho 数据集上的若干有监督模型,研究中报告了显著的相对提升。
  • 线性探针分析表明,下一时刻预测目标有助于在声音事件、音乐和语音情感领域学习通用的音频表示。
  • 与同期的零样本模型相比,Pengi 在声音事件分类方面提供了具有竞争力的零样本表现。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。