arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.13676cs.SDcs.AIeess.AS
收藏

一种合理的描述:探索提示模板和类别描述以增强零样本音频分类

A sound description: Exploring prompt templates and class descriptions to enhance zero-shot audio classification

Michel Olvera, Paraskevas Stamatiadis, Slim Essid

AI总结:

本文探索了零样本音频分类中的提示模板与类别描述,发现格式正确的类别标签即具竞争力,并利用大型语言模型生成音频中心描述,实现无需训练的最先进性能。

摘要:

通过对比学习训练的音频-文本模型提供了一种通过自然语言提示(如“这是……的声音”后接类别名称)进行音频分类的实用方法。在本工作中,我们探索了用于零样本音频分类的替代提示模板,证明了存在性能更优的选项。首先,我们发现提示的格式显著影响性能,因此仅用格式正确的类别标签提示模型,其表现即可与优化后的提示模板甚至提示集成相媲美。此外,我们研究用音频中心的描述来补充类别标签。通过利用大型语言模型,我们生成优先考虑声音事件的声学特征以区分类别之间的文本描述,无需大量提示工程。我们表明,使用类别描述进行提示,在主要环境声音数据集上的零样本音频分类中达到了最先进的结果。值得注意的是,该方法无需额外训练,且完全保持零样本。

英文摘要:

Audio-text models trained via contrastive learning offer a practical approach to perform audio classification through natural language prompts, such as "this is a sound of" followed by category names. In this work, we explore alternative prompt templates for zero-shot audio classification, demonstrating the existence of higher-performing options. First, we find that the formatting of the prompts significantly affects performance so that simply prompting the models with properly formatted class labels performs competitively with optimized prompt templates and even prompt ensembling. Moreover, we look into complementing class labels by audio-centric descriptions. By leveraging large language models, we generate textual descriptions that prioritize acoustic features of sound events to disambiguate between classes, without extensive prompt engineering. We show that prompting with class descriptions leads to state-of-the-art results in zero-shot audio classification across major ambient sound datasets. Remarkably, this method requires no additional training and remains fully zero-shot.

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

↑