[论文解读] ARTEMIS: Attention-based Retrieval with Text-Explicit Matching and Implicit Similarity
ARTEMIS 提出了一种两模块、文本引导注意力的图像检索模型,使用自由文本修饰符,结合显式文本驱动匹配和隐式相似性,以超越最先进的检索基线,且无需大量预训练或多级特征。
An intuitive way to search for images is to use queries composed of an example image and a complementary text. While the first provides rich and implicit context for the search, the latter explicitly calls for new traits, or specifies how some elements of the example image should be changed to retrieve the desired target image. Current approaches typically combine the features of each of the two elements of the query into a single representation, which can then be compared to the ones of the potential target images. Our work aims at shedding new light on the task by looking at it through the prism of two familiar and related frameworks: text-to-image and image-to-image retrieval. Taking inspiration from them, we exploit the specific relation of each query element with the targeted image and derive light-weight attention mechanisms which enable to mediate between the two complementary modalities. We validate our approach on several retrieval benchmarks, querying with images and their associated free-form text modifiers. Our method obtains state-of-the-art results without resorting to side information, multi-level features, heavy pre-training nor large architectures as in previous works.
研究动机与目标
- 以参考图像和自由文本修饰符作为双重查询来推动图像检索。
- 开发两个互补模块,分别处理显式文本驱动匹配与对目标图像的隐式相似性。
- 使用由文本修饰符引导的轻量级注意力,聚焦于相关的视觉线索。
- 用基于批次的分类损失共同训练这两个模块,以优化检索。
- 在时尚与开放领域数据集上展示出强劲的性能,而无需大量外部信息或大型架构。
提出的方法
- 引入显式匹配(EM)模块,将文本修饰符投影到视觉空间,并应用文本引导的注意力以强调与目标相关的视觉维度。
- 引入隐式相似性(IS)模块,在计算余弦相似度之前,使用文本引导的注意力对参考图像和目标图像特征进行加权。
- 将变换后的文本与被关注的目标特征的内积来计算 EM 分数(s_EM = <T(m) | A_EM(m) ⊙ t>)。
- 将被关注的参考特征和目标特征的余弦相似度用于计算 IS 分数(s_IS = ⟨A_IS(m) ⊙ r | A_IS(m) ⊙ t⟩)。
- 通过晚期融合将 EM 和 IS 分数结合起来:s = s_EM + s_IS。
- 使用基于批次的分类损失(BBC,类似 InfoNCE)对三元组进行训练,以 EM 和 IS 的和作为相容性分数。
实验结果
研究问题
- RQ1双模组方法是否可以同时利用显式文本驱动修改和隐式视觉相似性,以在带文本修饰符的图像检索中实现更好的效果?
- RQ2轻量级、文本引导的注意力机制是否足以在标准基准上超过更重的跨注意力或多级特征方法?
- RQ3独立的 EM 和 IS 组件在时尚和开放领域数据集上的表现与完整的 ARTEMIS 模型相比如何?
- RQ4对 EM 和 IS 模块进行联合训练是否有助于在多样化数据集上的泛化?
主要发现
- ARTEMIS 在 Fashion IQ、Shoes 和 CIRR 基准上取得最先进的结果,无需大量预训练或大型架构。
- EM 和 IS 模块各自贡献互补优势,完整的 ARTEMIS 模型在不同数据集上优于消融版本。
- 轻量级、文本引导的注意力使两种模态在相关视觉线索上的聚焦更有效,带来稳健的性能。
- 不同的骨干配置(ResNet/RN 和 LSTM/BiGRU)显示 ARTEMIS 仍具竞争力,若搭配得当可达到优秀表现。
- 定性结果展示了 EM 如何聚焦于与描述相关的区域,而 IS 则关注参考与目标之间的共享视觉线索。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。