Instance-level image retrieval is the task of searching in a large database for images that match an object in a query image. To address this task, systems usually rely on a retrieval step that uses global image descriptors, and a subsequent step that performs domain-specific refinements or reranking by leveraging operations such as geometric verification based on local features. In this work, we propose Reranking Transformers (RRTs) as a general model to incorporate both local and global features to rerank the matching images in a supervised fashion and thus replace the relatively expensive process of geometric verification. RRTs are lightweight and can be easily parallelized so that reranking a set of top matching results can be performed in a single forward-pass. We perform extensive experiments on the Revisited Oxford and Paris datasets, and the Google Landmarks v2 dataset, showing that RRTs outperform previous reranking approaches while using much fewer local descriptors. Moreover, we demonstrate that, unlike existing approaches, RRTs can be optimized jointly with the feature extractor, which can lead to feature representations tailored to downstream tasks and further accuracy improvements. The code and trained models are publicly available at https://github.com/uvavision/RerankingTransformer.
翻译:要完成这项任务,各系统通常依赖使用全球图像描述仪的检索步骤,以及随后通过利用基于本地特征的几何校验等操作进行特定领域的改进或重新排序的步骤。在这项工作中,我们提议将变压器(RRTs)作为一个通用模型,纳入本地和全球特性,以便以监督的方式重新排列相匹配图像,从而取代相对昂贵的几何校验过程。RRTs是轻量级的,可以很容易地平行化,从而可以将一组最顶级匹配结果重新排到一个前方通道上。我们在重修的牛津和巴黎数据集以及Google Landmarks v2数据集上进行了广泛的实验,表明RRTs在使用更少的本地解码器的同时,比先前的变位方法要快得多。此外,我们证明RRTs可以与地貌提取器联合优化,这可以导致根据下游任务和进一步的精确度改进进行地貌显示。我们可公开获得代码和经过培训的模型。