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

分离与定位:重新思考基于文本的视觉问答中的文本

Separate and Locate: Rethink the Text in Text-based Visual Question Answering

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Heilongjiang Network Space Research Center(黑龙江省网络空间研究中心)

Chengyang Fang, Jiangnan Li, Liang Li, Can Ma, Dayong Hu

AI总结:

针对TextVQA中OCR文本缺乏语义关联和一维位置嵌入无法表达空间关系的问题,提出SaL方法,通过TSS模块识别语义关系、SCP模块构建空间位置,在TextVQA和ST-VQA上分别提升4.44%和3.96%准确率。

摘要:

基于文本的视觉问答(TextVQA)旨在回答关于图像中文本的问题。该领域的大多数工作专注于设计网络结构或预训练任务。所有这些方法都按阅读顺序(从左到右、从上到下)排列OCR文本以形成序列,并将其视为自然语言“句子”。然而,它们忽略了TextVQA任务中大多数OCR单词之间并不存在语义上下文关系这一事实。此外,这些方法使用一维位置嵌入来顺序构建OCR标记之间的空间关系,这是不合理的。一维位置嵌入只能表示句子中单词之间的左右顺序关系,而不能表示复杂的空间位置关系。为解决这些问题,我们提出了一种名为分离与定位(SaL)的新方法,该方法探索文本上下文线索并设计空间位置嵌入来构建OCR文本之间的空间关系。具体来说,我们提出了一个文本语义分离(TSS)模块,帮助模型识别单词之间是否存在语义上下文关系。然后,我们引入了一个空间圆位置(SCP)模块,帮助模型更好地构建和推理OCR文本之间的空间位置关系。我们的SaL模型在TextVQA和ST-VQA数据集上分别比基线模型高出4.44%和3.96%的准确率。与在6400万个预训练样本上预训练的最先进的预训练方法相比,我们的方法无需任何预训练任务,在TextVQA和ST-VQA上仍分别实现了2.68%和2.52%的准确率提升。我们的代码和模型将在https://github.com/fangbufang/SaL上发布。

英文摘要:

Text-based Visual Question Answering (TextVQA) aims at answering questions about the text in images. Most works in this field focus on designing network structures or pre-training tasks. All these methods list the OCR texts in reading order (from left to right and top to bottom) to form a sequence, which is treated as a natural language ``sentence''. However, they ignore the fact that most OCR words in the TextVQA task do not have a semantical contextual relationship. In addition, these approaches use 1-D position embedding to construct the spatial relation between OCR tokens sequentially, which is not reasonable. The 1-D position embedding can only represent the left-right sequence relationship between words in a sentence, but not the complex spatial position relationship. To tackle these problems, we propose a novel method named Separate and Locate (SaL) that explores text contextual cues and designs spatial position embedding to construct spatial relations between OCR texts. Specifically, we propose a Text Semantic Separate (TSS) module that helps the model recognize whether words have semantic contextual relations. Then, we introduce a Spatial Circle Position (SCP) module that helps the model better construct and reason the spatial position relationships between OCR texts. Our SaL model outperforms the baseline model by 4.44% and 3.96% accuracy on TextVQA and ST-VQA datasets. Compared with the pre-training state-of-the-art method pre-trained on 64 million pre-training samples, our method, without any pre-training tasks, still achieves 2.68% and 2.52% accuracy improvement on TextVQA and ST-VQA. Our code and models will be released at https://github.com/fangbufang/SaL.

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

↑