DRCap:利用检索增强生成解码 CLAP 潜变量以实现零样本音频字幕生成
DRCap: Decoding CLAP Latents with Retrieval-Augmented Generation for Zero-shot Audio Captioning
AI总结:
本文提出 DRCap 零样本音频字幕系统,结合 CLAP 嵌入投影与检索增强 LLM 生成,仅用文本训练即可实现领域内领先及跨领域 SOTA。
摘要:
尽管自动音频字幕生成(AAC)已取得显著进展,但传统的全监督 AAC 模型仍面临两个关键挑战:训练需要昂贵的音频-文本配对数据,以及跨领域迁移时性能下降。为克服这些局限,我们提出 DRCap,这是一个数据高效且灵活的零样本音频字幕生成系统,仅需纯文本数据进行训练,并可快速适应新领域而无需额外微调。DRCap 以对比语言-音频预训练(CLAP)模型和大语言模型(LLM)作为骨干。训练期间,模型使用来自 CLAP 的固定文本编码器预测真实字幕;而在推理期间,文本编码器被替换为音频编码器,以零样本方式为音频片段生成字幕。为缓解 CLAP 模型的模态差距,我们同时采用编码器侧的投影策略和解码器侧的检索增强生成策略。具体而言,音频嵌入首先被投影到文本嵌入支撑集上,以吸收 CLAP 联合多模态空间中的丰富语义信息。同时,从数据存储中检索到的相似字幕作为提示输入,以指导 LLM,并结合外部知识充分利用其强大的生成能力。在投影后的 CLAP 嵌入和检索到的相似字幕的共同条件下,模型能够生成更准确、语义更丰富的文本描述。通过针对目标领域定制文本嵌入支撑集和字幕数据存储,DRCap 以免训练方式获得了适应新领域的强大能力。实验结果表明,DRCap 在领域内场景中优于所有其他零样本模型,并在跨领域场景中达到最先进性能。
英文摘要:
While automated audio captioning (AAC) has made notable progress, traditional fully supervised AAC models still face two critical challenges: the need for expensive audio-text pair data for training and performance degradation when transferring across domains. To overcome these limitations, we present DRCap, a data-efficient and flexible zero-shot audio captioning system that requires text-only data for training and can quickly adapt to new domains without additional fine-tuning. DRCap integrates a contrastive language-audio pre-training (CLAP) model and a large-language model (LLM) as its backbone. During training, the model predicts the ground-truth caption with a fixed text encoder from CLAP, whereas, during inference, the text encoder is replaced with the audio encoder to generate captions for audio clips in a zero-shot manner. To mitigate the modality gap of the CLAP model, we use both the projection strategy from the encoder side and the retrieval-augmented generation strategy from the decoder side. Specifically, audio embeddings are first projected onto a text embedding support to absorb extensive semantic information within the joint multi-modal space of CLAP. At the same time, similar captions retrieved from a datastore are fed as prompts to instruct the LLM, incorporating external knowledge to take full advantage of its strong generative capability. Conditioned on both the projected CLAP embedding and the retrieved similar captions, the model is able to produce a more accurate and semantically rich textual description. By tailoring the text embedding support and the caption datastore to the target domain, DRCap acquires a robust ability to adapt to new domains in a training-free manner. Experimental results demonstrate that DRCap outperforms all other zero-shot models in in-domain scenarios and achieves state-of-the-art performance in cross-domain scenarios.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。