arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.06295cs.SDeess.AS
收藏

基于软提示与硬提示的零样本音频描述生成

Zero-Shot Audio Captioning Using Soft and Hard Prompts

School of Artificial Intelligence, Beijing University of Posts and Telecommunications(北京邮电大学人工智能学院);Department of Computer Science and Engineering, Shanghai Jiao Tong University(上海交通大学计算机科学与工程系);Department of Electronic Systems, Aalborg University(奥尔堡大学电子系统系);Centre for Vision, Speech and Signal Processing, University of Surrey(萨里大学视觉、语音与信号处理中心)

Yiming Zhang, Xuenan Xu, Ruoyi Du, Haohe Liu, Yuan Dong, Zheng-Hua Tan, Wenwu Wang, Zhanyu Ma

AI总结:

本文针对传统音频描述生成依赖标注数据且跨域性能差的问题,提出基于CLAP的零样本方法,仅用文本训练,并通过软提示和硬提示缓解模态差异,在AudioCaps和Clotho上取得领先效果。

摘要:

在传统的音频描述生成方法中,模型通常以全监督方式训练,使用包含音频-文本对的人工标注数据集,并在同一数据集的测试集上进行评估。这类方法存在两个局限。第一,这些方法往往依赖大量数据,需要耗时且昂贵的人工标注来获得音频-文本对。第二,这些模型在跨域场景下常常出现性能下降,即当输入音频来自与训练集不同的领域时,而这一问题此前很少受到关注。我们提出一种基于对比语言-音频预训练(CLAP)模型的有效音频描述生成方法来解决这些问题。我们提出的方法在训练时只需要文本数据,使模型能够在跨模态语义空间中从文本特征生成文本。在推理阶段,模型利用CLAP的音频-文本对齐能力,从音频特征中为给定音频生成描述性文本。我们设计了两种策略来缓解文本嵌入与音频嵌入之间的差异:基于混合增强的软提示和基于检索的声学感知硬提示。这些方法旨在增强所提模型的泛化性能,帮助模型更稳健、更准确地生成描述。在AudioCaps和Clotho基准上的大量实验表明了我们所提方法的有效性,该方法在域内场景下优于其他零样本音频描述生成方法,在跨域场景下优于对比方法,凸显了我们方法的泛化能力。

英文摘要:

In traditional audio captioning methods, a model is usually trained in a fully supervised manner using a human-annotated dataset containing audio-text pairs and then evaluated on the test sets from the same dataset. Such methods have two limitations. First, these methods are often data-hungry and require time-consuming and expensive human annotations to obtain audio-text pairs. Second, these models often suffer from performance degradation in cross-domain scenarios, i.e., when the input audio comes from a different domain than the training set, which, however, has received little attention. We propose an effective audio captioning method based on the contrastive language-audio pre-training (CLAP) model to address these issues. Our proposed method requires only textual data for training, enabling the model to generate text from the textual feature in the cross-modal semantic space.In the inference stage, the model generates the descriptive text for the given audio from the audio feature by leveraging the audio-text alignment from CLAP.We devise two strategies to mitigate the discrepancy between text and audio embeddings: a mixed-augmentation-based soft prompt and a retrieval-based acoustic-aware hard prompt. These approaches are designed to enhance the generalization performance of our proposed model, facilitating the model to generate captions more robustly and accurately. Extensive experiments on AudioCaps and Clotho benchmarks show the effectiveness of our proposed method, which outperforms other zero-shot audio captioning approaches for in-domain scenarios and outperforms the compared methods for cross-domain scenarios, underscoring the generalization ability of our method.

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

↑