arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.00249eess.AS
收藏

声学提示调优:赋予大语言模型听觉能力

Acoustic Prompt Tuning: Empowering Large Language Models with Audition Capabilities

Jinhua Liang, Xubo Liu, Wenwu Wang, Mark D. Plumbley, Huy Phan, Emmanouil Benetos

AI总结:

提出 APT 适配器,通过指令感知音频对齐器生成软提示并结合课程学习与交错音文输入,使冻结 LLM/VLM 获得音频理解、推理和跨模态问答能力。

摘要:

听觉系统在塑造人类整体感知体验方面发挥着重要作用。尽管主流的大语言模型(LLM)和视觉语言模型(VLM)已在解决多种语言与视觉理解任务上展现出潜力,但其中只有少数能够泛化到音频领域,同时不损害其特定领域能力。在本工作中,我们提出 Acoustic Prompt Tuning(APT,声学提示调优),这是一种新的适配器,通过向 LLM 的输入注入音频嵌入(即软提示),将 LLM 和 VLM 扩展到音频领域。具体而言,APT 使用一个指令感知的音频对齐器,以输入文本和声音为条件生成软提示,作为语言模型的输入。为缓解音频领域的数据稀缺问题,我们提出一种课程学习策略,通过按顺序构建多样化的音频任务来实现。此外,我们通过使用交错的音频-文本嵌入作为输入序列来改进音频语言模型。在这一改进模型中,输入格式不受任何约束,因此它能够处理多种建模任务,例如少样本音频分类和音频比较。为进一步评估音频网络的高级能力,我们引入 natural language audio reasoning(NLAR,自然语言音频推理)这一新任务,通过比较和总结来分析两个音频片段。实验表明,APT 增强的 LLM(即 APT-LLM)在各类任务上取得了与专家模型(即在目标数据集上训练的网络)相比具有竞争力的结果。我们最后展示了 APT 在无需微调的情况下将冻结的 VLM 扩展到音频领域的能力,并在音视频问答中取得了良好结果。我们的代码和模型权重将在 https://github.com/JinhuaLiang/APT 发布。

英文摘要:

The auditory system plays a substantial role in shaping the overall human perceptual experience. While prevailing large language models (LLMs) and visual language models (VLMs) have shown their promise in solving a wide variety of language and vision understanding tasks, only a few of them can be generalised to the audio domain without compromising their domain-specific capability. In this work, we introduce Acoustic Prompt Tuning (APT), a new adapter extending LLMs and VLMs to the audio domain by injecting audio embeddings to the input of LLMs, namely soft prompting. Specifically, APT applies an instruction-aware audio aligner to generate soft prompts, conditioned on both input text and sounds, as the inputs to the language model. To mitigate data scarcity in the audio domain, a curriculum learning strategy is proposed by formulating diverse audio tasks in a sequential manner. Moreover, we improve the audio language model by using interleaved audio-text embeddings as the input sequence. In this improved model, zero constraints are imposed on the input format, thus it is capable of tackling diverse modelling tasks, such as few-shot audio classification and audio comparison. To further evaluate the advanced ability of the audio networks, we introduce natural language audio reasoning (NLAR), a new task that analyses two audio clips by comparison and summarisation. Experiments show that APT-enhanced LLMs (namely APT-LLMs) achieve competitive results compared to the expert models (i.e., the networks trained on the target datasets) across various tasks. We finally demonstrate APT's ability in extending frozen VLMs to the audio domain without fine-tuning, achieving promising results in audio-visual question and answering. Our code and model weights will be released at https://github.com/JinhuaLiang/APT

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑