[论文解读] IRGen: Generative Modeling for Image Retrieval
IRGen 通过将图像检索视为基于 Transformer 的自回归模型的序列到序列任务,提出了一种新颖的端到端生成建模框架。它引入了一种语义图像分词器,能够生成简短且语义明确的视觉标记序列,在直接从原始图像优化到检索目标的同时,实现了最先进性能——在 In-shop 数据集上,精度@10 比最佳基线高出 20.2%,且保持了高召回率。
While generative modeling has become prevalent across numerous research fields, its integration into the realm of image retrieval remains largely unexplored and underjustified. In this paper, we present a novel methodology, reframing image retrieval as a variant of generative modeling and employing a sequence-to-sequence model. This approach is harmoniously aligned with the current trend towards unification in research, presenting a cohesive framework that allows for end-to-end differentiable searching. This, in turn, facilitates superior performance via direct optimization techniques. The development of our model, dubbed IRGen, addresses the critical technical challenge of converting an image into a concise sequence of semantic units, which is pivotal for enabling efficient and effective search. Extensive experiments demonstrate that our model achieves state-of-the-art performance on three widely-used image retrieval benchmarks as well as two million-scale datasets, yielding significant improvement compared to prior competitive retrieval methods. In addition, the notable surge in precision scores facilitated by generative modeling presents the potential to bypass the reranking phase, which is traditionally indispensable in practical retrieval workflows.
研究动机与目标
- 探索图像检索的生成建模方法,尽管该方法在自然语言处理和视觉领域已取得成功,但该领域此前尚未被探索。
- 将传统上分离的特征提取与近似最近邻(ANN)搜索阶段统一为一个端到端可微分的单一模型。
- 解决将图像表示为简短、语义明确的视觉标记序列的挑战,以适用于自回归生成。
- 实现从原始图像到检索性能的直接优化,绕过启发式处理流程。
提出的方法
- 采用序列到序列的 Transformer 架构,生成用于标识查询图像最近邻的视觉标记。
- 设计一种语义图像分词器,通过注入图像级监督而非像素级监督,以提升语义保真度。
- 利用残差量化递归结构,按序列生成相互依赖的视觉标记,增强对语义关系的建模能力。
- 使用全局图像特征而非图像块嵌入,显著缩短序列长度,提升推理速度。
- 使用对比学习目标端到端训练模型,使预测的视觉标记与真实最近邻对齐。
- 在推理阶段集成束搜索与有效性检查,确保预测的标记对应于数据库中实际存在的图像。
实验结果
研究问题
- RQ1生成建模能否被有效应用于图像检索,将其视为序列到序列任务?
- RQ2如何将图像表示为简短、语义明确的视觉标记序列,以实现高效的自回归检索?
- RQ3端到端训练的生成模型能否在图像检索中超越传统的两阶段流水线(特征提取 + ANN 搜索)?
- RQ4该模型在百万级数据集(如 ImageNet 和 Places365)上表现如何?
- RQ5该模型如何处理训练期间未见的新数据动态更新的数据库?
主要发现
- 在 In-shop Clothes 数据集上,IRGen 的精度@10 比最佳基线高出 20.2%,同时保持了相近的召回率。
- 在 CUB200 和 Cars196 数据集上,IRGen 分别比强基线模型在精度@2 上提升了 6.0% 和 2.4%。
- 在 ImageNet 和 Places365 上,IRGen 分别取得了最高的 MAP@100(76.0 和 44.3),优于 CLIP 和微调后的 CLIP。
- 即使在 K 值增大导致精度下降时,模型在精度@1 时仍保持 97.1% 的高召回率,表明其在 top-k 检索中的鲁棒性。
- 使用束搜索(束大小为 10)的推理速度约为每查询 0.19 秒,表明该生成式检索模型具备可接受的推理速度。
- 当处理训练集中未见的新数据时,模型精度急剧下降,表明需要引入动态更新机制。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。