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

MVAM: 面向细粒度图文匹配的多视图注意力方法

MVAM: Multi-View Attention Method for Fine-grained Image-Text Matching

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Alibaba Group(阿里巴巴集团)

Wanqing Cui, Rui Cheng, Jiafeng Guo, Xueqi Cheng

AI总结:

针对双流图文匹配模型单一表征易忽略细粒度信息的问题,提出带多样性目标的多视图注意力方法MVAM,通过多注意力头学习多视角互补表征,在MSCOCO、Flickr30K上取得性能提升。

摘要:

现有双流模型(如CLIP)通过独立表征编码图像与文本,在保证检索速度的同时展现出优异性能,受到工业界与学术界的关注。然而,单一表征往往难以充分捕捉复杂内容,这类模型在匹配过程中可能忽略细粒度信息,导致检索结果未达最优。为克服这一局限并提升双流模型的性能,我们提出一种面向图文匹配的多视图注意力方法(Multi-view Attention Method, MVAM)。该方法利用带有独特视图编码的多样化注意力头,为图像和文本学习多重表征,再将这些表征拼接后用于匹配。我们还引入了多样性目标,明确促使注意力头聚焦于输入数据的不同方面,捕捉互补的细粒度细节。这种多样性使模型能够从多个视角表征图文对,确保对关键内容更全面的理解与对齐。我们的方法让模型得以从不同视角编码图文并聚焦更关键的细节,从而实现更优的匹配性能。我们在MSCOCO和Flickr30K上开展的实验表明,该方法相较现有模型有所提升;进一步的案例研究显示,不同注意力头可聚焦不同内容,实现更全面的表征。

英文摘要:

Existing two-stream models, such as CLIP, encode images and text through independent representations, showing good performance while ensuring retrieval speed, have attracted attention from industry and academia. However, the single representation often struggles to capture complex content fully. Such models may ignore fine-grained information during matching, resulting in suboptimal retrieval results. To overcome this limitation and enhance the performance of two-stream models, we propose a Multi-view Attention Method (MVAM) for image-text matching. This approach leverages diverse attention heads with unique view codes to learn multiple representations for images and text, which are then concatenated for matching. We also incorporate a diversity objective to explicitly encourage attention heads to focus on distinct aspects of the input data, capturing complementary fine-grained details. This diversity enables the model to represent image-text pairs from multiple perspectives, ensuring a more comprehensive understanding and alignment of critical content. Our method allows models to encode images and text from different perspectives and focus on more critical details, leading to better matching performance. Our experiments on MSCOCO and Flickr30K demonstrate enhancements over existing models, and further case studies reveal that different attention heads can focus on distinct content, achieving more comprehensive representations.

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

↑