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

通过学习音频字幕之间的相似性进行基于文本的音频检索

Text-based Audio Retrieval by Learning from Similarities between Audio Captions

Huang Xie, Khazar Khorrami, Okko Räsänen, Tuomas Virtanen

AI总结:

针对音频字幕数据缺乏细粒度相关性的问题,提出利用 Sentence-BERT 字幕相似度和 logistic 函数生成非二元相关性,并结合列表式排序训练,提升基于文本的音频检索性能。

摘要:

本文提出利用音频字幕的相似性来估计音频与字幕的相关性,以用于训练基于文本的音频检索系统。当前的音频字幕数据集(例如 Clotho)包含与标注字幕配对的音频样本,但缺乏除已标注样本之外音频样本与字幕之间的相关性信息。此外,主流方法(例如 CLAP)通常将已标注的配对视为正样本,并将所有其他音频-字幕组合视为负样本,从而假设音频样本与字幕之间存在二元相关性。为了推断音频样本与任意字幕之间的相关性,我们提出了一种方法,该方法基于音频字幕的文本相似性计算非二元的音频-字幕相关性分数。我们通过计算音频字幕的 Sentence-BERT 嵌入之间的余弦相似度来衡量文本相似性,然后使用 logistic 函数将这些相似性转换为音频-字幕相关性分数,从而通过音频样本的已标注字幕将它们与数据集中的所有其他字幕关联起来。为了将计算出的相关性整合到训练中,我们采用了列表式排序目标,其中相关性分数被转换为在给定文本查询下对音频样本进行排序的概率。我们通过证明所提方法在基于文本的音频检索中相比使用二元音频-字幕相关性进行训练的方法取得改进,展示了该方法的有效性。

英文摘要:

This paper proposes to use similarities of audio captions for estimating audio-caption relevances to be used for training text-based audio retrieval systems. Current audio-caption datasets (e.g., Clotho) contain audio samples paired with annotated captions, but lack relevance information about audio samples and captions beyond the annotated ones. Besides, mainstream approaches (e.g., CLAP) usually treat the annotated pairs as positives and consider all other audio-caption combinations as negatives, assuming a binary relevance between audio samples and captions. To infer the relevance between audio samples and arbitrary captions, we propose a method that computes non-binary audio-caption relevance scores based on the textual similarities of audio captions. We measure textual similarities of audio captions by calculating the cosine similarity of their Sentence-BERT embeddings and then transform these similarities into audio-caption relevance scores using a logistic function, thereby linking audio samples through their annotated captions to all other captions in the dataset. To integrate the computed relevances into training, we employ a listwise ranking objective, where relevance scores are converted into probabilities of ranking audio samples for a given textual query. We show the effectiveness of the proposed method by demonstrating improvements in text-based audio retrieval compared to methods that use binary audio-caption relevances for training.

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

↑