Exploring Sparse Spatial Relation in Graph Inference for Text-Based VQA

Sheng Zhou, Dan Guo, Jia Li, Xun Yang, Meng Wang
10/13/2023
30 citations
cs.MMcs.CV

No official code found. Best implementation: zhousheng97/SSGN (4 stars, Python, Apache-2.0, last commit 2024-04-23).

Abstract

Text-based visual question answering (TextVQA) faces the significant challenge of avoiding redundant relational inference. To be specific, a large number of detected objects and optical character recognition (OCR) tokens result in rich visual relationships.

Show full abstract

Existing works take all visual relationships into account for answer prediction. However, there are three observations: (1) a single subject in the images can be easily detected as multiple objects with distinct bounding boxes (considered repetitive objects). The associations between these repetitive objects are superfluous for answer reasoning; (2) two spatially distant OCR tokens detected in the image frequently have weak semantic dependencies for answer reasoning; and (3) the co-existence of nearby objects and tokens may be indicative of important visual cues for predicting answers. Rather than utilizing all of them for answer prediction, we make an effort to identify the most important connections or eliminate redundant ones. We propose a sparse spatial graph network (SSGN) that introduces a spatially aware relation pruning technique to this task. As spatial factors for relation measurement, we employ spatial distance, geometric dimension, overlap area, and DIoU for spatially aware pruning. We consider three visual relationships for graph learning: object-object, OCR-OCR tokens, and object-OCR token relationships. SSGN is a progressive graph learning architecture that verifies the pivotal relations in the correlated object-token sparse graph, and then in the respective object-based sparse graph and token-based sparse graph. Experiment results on TextVQA and ST-VQA datasets demonstrate that SSGN achieves promising performances. And some visualization results further demonstrate the interpretability of our method.

View on arXivView PDF

Code Implementations(1)

zhousheng97/SSGNCommunity62%
Apache-2.0

[IEEE TIP'23] Exploring Sparse Spatial Relation in Graph Inference for Text-Based VQA

40PythonApr 23, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhou2023exploring,
  title  = {Exploring Sparse Spatial Relation in Graph Inference for Text-Based VQA},
  author = {Sheng Zhou and Dan Guo and Jia Li and Xun Yang and Meng Wang},
  year   = {2023},
  eprint = {2310.09147},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.09147v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.09147.svg)](https://codeofpaper.com/paper/2310.09147)

Discussion