arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.14348cs.CV
收藏

基于草图的Zero-Shot图像检索,并以可解释的风格

Zero-Shot Everything Sketch-Based Image Retrieval, and in Explainable Style

Samsung AI Centre(三星人工智能中心);University of Edinburgh(爱丁堡大学);University of Surrey(萨里大学);Beijing University of Posts and Telecommunications(北京邮电大学)

Fengyin Lin, Mingkang Li, Da Li, Timothy Hospedales, Yi-Zhe Song, Yonggang Qi

摘要:

本文研究了基于零短草图的图像检索(ZERO-SBIR)的问题,但是与现有技术有两个显著的区别:(i)我们只用一个网络(“一切”)来处理ZERO-SBIR的所有变体(类别间,类别内和交叉数据集),以及(ii)我们真的很想了解这种草图-照片匹配是如何操作的(“可解释的”)。我们的关键创新在于认识到,这样的跨模态匹配问题可以减少到关键的本地补丁组的比较-类似于经验丰富的“词袋”的范例。通过这种变化,我们能够实现上述两个目标,并且不再需要外部语义知识。从技术上讲,我们的是一个基于transformer的跨模态网络,有三个新的组件:(i)一个自我注意模块,带有一个可学习的标记器,用于产生与信息量最大的局部区域相对应的视觉标记,(ii)一个交叉注意模块,用于计算两种模态之间的视觉标记之间的局部对应关系,以及最后(iii)基于核的关系网络,用于组装局部推定匹配并产生草图-照片对的总体相似性度量。实验表明,我们的确实提供了优越的性能在所有的SB-SBIR设置。所有重要的可解释的目标是通过可视化跨模态标记对应来优雅地实现的,并且第一次通过草图到照片合成,通过通用替换所有匹配的照片补丁。代码和型号可在\url{https://github.com/buptLinfy/ZSE-SBIR}上获得。

英文摘要:

This paper studies the problem of zero-short sketch-based image retrieval (ZS-SBIR), however with two significant differentiators to prior art (i) we tackle all variants (inter-category, intra-category, and cross datasets) of ZS-SBIR with just one network (``everything''), and (ii) we would really like to understand how this sketch-photo matching operates (``explainable''). Our key innovation lies with the realization that such a cross-modal matching problem could be reduced to comparisons of groups of key local patches -- akin to the seasoned ``bag-of-words'' paradigm. Just with this change, we are able to achieve both of the aforementioned goals, with the added benefit of no longer requiring external semantic knowledge. Technically, ours is a transformer-based cross-modal network, with three novel components (i) a self-attention module with a learnable tokenizer to produce visual tokens that correspond to the most informative local regions, (ii) a cross-attention module to compute local correspondences between the visual tokens across two modalities, and finally (iii) a kernel-based relation network to assemble local putative matches and produce an overall similarity metric for a sketch-photo pair. Experiments show ours indeed delivers superior performances across all ZS-SBIR settings. The all important explainable goal is elegantly achieved by visualizing cross-modal token correspondences, and for the first time, via sketch to photo synthesis by universal replacement of all matched photo patches. Code and model are available at \url{https://github.com/buptLinfy/ZSE-SBIR}.

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

↑