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

区域提示微调:利用区域文本提示的细粒度场景文本检测

Region Prompt Tuning: Fine-grained Scene Text Detection Utilizing Region Text Prompt

University of Electronic Science and Technology of China(电子科技大学)

Xingtao Lin, Heqian Qiu, Lanxiao Wang, Ruihang Wang, Linfeng Xu, Hongliang Li

AI总结:

本文提出区域提示微调方法,通过字符与区域视觉token一一对应并结合双向距离损失,融合全局与局部得分图,提升细粒度场景文本检测性能。

摘要:

近年来,提示微调方面的进展已成功地将大规模模型(如对比语言-图像预训练模型 CLIP)适配到场景文本检测等下游任务中。通常,文本提示补充文本编码器的输入,侧重于全局特征而忽略细粒度细节,导致细粒度文本在场景文本检测任务中被忽略。本文提出用于细粒度场景文本检测的区域提示微调(Region Prompt Tuning,RPT)方法,其中提出的区域文本提示有助于关注细粒度特征。区域提示微调方法将区域文本提示分解为单个字符,并将视觉特征图划分为区域视觉 token,在字符与 token 之间建立一一对应关系。这使得一个字符能够匹配一个 token 的局部特征,从而避免细节特征和细粒度文本被遗漏。为实现这一目标,我们引入共享位置嵌入来连接每个字符与其对应的 token,并采用双向距离损失将每个区域文本提示字符与目标“text”对齐。为在细粒度层面细化信息,我们在编码前后实现字符-token 级交互。我们提出的方法将来自图像-文本过程的通用得分图与来自字符-token 匹配的区域得分图相结合,生成最终得分图,该得分图能够平衡全局与局部特征,并输入 DBNet 以检测文本。在 ICDAR2015、TotalText 和 CTW1500 等基准上的实验表明 RPT 具有出色的性能,凸显了其在场景文本检测中的有效性。

英文摘要:

Recent advancements in prompt tuning have successfully adapted large-scale models like Contrastive Language-Image Pre-trained (CLIP) for downstream tasks such as scene text detection. Typically, text prompt complements the text encoder's input, focusing on global features while neglecting fine-grained details, leading to fine-grained text being ignored in task of scene text detection. In this paper, we propose the region prompt tuning (RPT) method for fine-grained scene text detection, where region text prompt proposed would help focus on fine-grained features. Region prompt tuning method decomposes region text prompt into individual characters and splits visual feature map into region visual tokens, creating a one-to-one correspondence between characters and tokens. This allows a character matches the local features of a token, thereby avoiding the omission of detailed features and fine-grained text. To achieve this, we introduce a sharing position embedding to link each character with its corresponding token and employ a bidirectional distance loss to align each region text prompt character with the target ``text''. To refine the information at fine-grained level, we implement character-token level interactions before and after encoding. Our proposed method combines a general score map from the image-text process with a region score map derived from character-token matching, producing a final score map that could balance the global and local features and be fed into DBNet to detect the text. Experiments on benchmarks like ICDAR2015, TotalText, and CTW1500 demonstrate RPT impressive performance, underscoring its effectiveness for scene text detection.

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

↑