arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.00441cs.CVcs.AI

聚焦、区分与提示:释放CLIP潜力以实现高效灵活的场景文本检索

Focus, Distinguish, and Prompt: Unleashing CLIP for Efficient and Flexible Scene Text Retrieval

School of Cyber Science and Engineering, Nanjing University of Science and Technology(南京理工大学网络空间安全学院);State Key Laboratory of Media Convergence and Communication, Communication University of China(中国传媒大学媒体融合与传播国家重点实验室);Lenovo Research(联想研究院);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Laboratory for Advanced Computing and Intelligence Engineering(先进计算与智能工程实验室);College of Computer Science, Nankai University(南开大学计算机学院)

Gangyan Zeng, Yuan Zhang, Jin Wei, Dongbao Yang, Peng Zhang, Yiwen Gao, Xugong Qin, Yu Zhou

AI总结:

本文提出FDP模型,通过聚焦文本区域、区分实词与功能词并引入语义提示和干扰查询辅助,释放CLIP在无OCR场景文本检索中的潜力,实现高效且灵活的检索。

摘要:

场景文本检索旨在从图像库中找出所有包含查询文本的图像。当前方法倾向于采用光学字符识别(OCR)流程,这需要复杂的文本检测和/或识别过程,导致检索效率低且灵活性差。与这些方法不同,本文提出探索对比语言-图像预训练(CLIP)在无OCR场景文本检索中的内在潜力。通过实证分析,我们观察到CLIP作为文本检索器的主要挑战是:1)有限的文本感知尺度,以及2)纠缠的视觉-语义概念。为此,我们提出了一种名为FDP(Focus, Distinguish, and Prompt)的新模型。FDP首先通过将注意力转移到文本区域并探测隐藏的文本知识来聚焦场景文本,然后将查询文本分为实词和功能词进行处理,其中采用了语义感知提示方案和干扰查询辅助模块。大量实验表明,与现有方法相比,FDP显著提高了推理速度,同时取得了更好或具有竞争力的检索精度。值得注意的是,在IIIT-STR基准上,FDP以4倍的速度超越最先进模型4.37%。此外,在短语级和属性感知场景文本检索设置下的额外实验验证了FDP在处理多种形式查询文本方面的独特优势。源代码将在https://github.com/Gyann-z/FDP公开。

英文摘要:

Scene text retrieval aims to find all images containing the query text from an image gallery. Current efforts tend to adopt an Optical Character Recognition (OCR) pipeline, which requires complicated text detection and/or recognition processes, resulting in inefficient and inflexible retrieval. Different from them, in this work we propose to explore the intrinsic potential of Contrastive Language-Image Pre-training (CLIP) for OCR-free scene text retrieval. Through empirical analysis, we observe that the main challenges of CLIP as a text retriever are: 1) limited text perceptual scale, and 2) entangled visual-semantic concepts. To this end, a novel model termed FDP (Focus, Distinguish, and Prompt) is developed. FDP first focuses on scene text via shifting the attention to the text area and probing the hidden text knowledge, and then divides the query text into content word and function word for processing, in which a semantic-aware prompting scheme and a distracted queries assistance module are utilized. Extensive experiments show that FDP significantly enhances the inference speed while achieving better or competitive retrieval accuracy compared to existing methods. Notably, on the IIIT-STR benchmark, FDP surpasses the state-of-the-art model by 4.37% with a 4 times faster speed. Furthermore, additional experiments under phrase-level and attribute-aware scene text retrieval settings validate FDP's particular advantages in handling diverse forms of query text. The source code will be publicly available at https://github.com/Gyann-z/FDP.

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

↑