arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.05681cs.SDeess.AS
收藏

基于文本感知注意池和先验矩阵修正损失的文本音频检索

Improving Text-Audio Retrieval by Text-aware Attention Pooling and Prior Matrix Revised Loss

Peking University(北京大学)

Yifei Xin, Dongchao Yang, Yuexian Zou

摘要:

在文本-音频检索(TAR)任务中,由于文本和音频之间的内容异构性,文本中包含的语义信息仅与音频中的某些帧相似。然而,现有的作品在不考虑文本的情况下聚合整个音频,例如在帧上的均值池化,这可能对给定文本中未描述的误导性音频信息进行编码。在本文中,我们提出了一个文本感知的注意力池(TAP)模块TAR,这本质上是一个缩放的点积注意力的文本出席其语义上最相似的框架。此外,以前的方法只对每一个单边检索进行softmax,忽略了潜在的交叉检索信息。通过探索每个文本-音频对的内在先验,我们引入先验矩阵修正(PMR)损失来过滤具有高(或低)文本到音频但低(或高)音频到文本相似性得分的硬情况,从而实现双重最佳匹配。实验表明,我们的TAP显着优于各种文本无关的池功能。此外,我们的PMR损失还显示了多个数据集上的稳定性能增益。

英文摘要:

In text-audio retrieval (TAR) tasks, due to the heterogeneity of contents between text and audio, the semantic information contained in the text is only similar to certain frames within the audio. Yet, existing works aggregate the entire audio without considering the text, such as mean-pooling over the frames, which is likely to encode misleading audio information not described in the given text. In this paper, we present a text-aware attention pooling (TAP) module for TAR, which is essentially a scaled dot product attention for a text to attend to its most semantically similar frames. Furthermore, previous methods only conduct the softmax for every single-side retrieval, ignoring the potential cross-retrieval information. By exploring the intrinsic prior of each text-audio pair, we introduce a prior matrix revised (PMR) loss to filter the hard case with high (or low) text-to-audio but low (or high) audio-to-text similarity scores, thus achieving the dual optimal match. Experiments show that our TAP significantly outperforms various text-agnostic pooling functions. Moreover, our PMR loss also shows stable performance gains on multiple datasets.

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

↑