Skip to main content
QUICK REVIEW

[Paper Review] Structured Multimodal Attentions for TextVQA

Chenyu Gao, Qi Zhu|arXiv (Cornell University)|Jun 1, 2020
Multimodal Machine Learning ApplicationsComputer Science67 references16 citations
TL;DR

This paper proposes Structured Multimodal Attentions (SMA), an end-to-end model that enhances text-based visual question answering by jointly reasoning over visual objects, OCR tokens, and their interrelationships via a heterogeneous graph attention network. SMA achieves state-of-the-art performance on TextVQA and ST-VQA by integrating question-conditioned graph attention and iterative answer generation, outperforming prior methods and winning first place in the TextVQA Challenge 2020.

ABSTRACT

In this paper, we propose an end-to-end structured multimodal attention (SMA) neural network to mainly solve the first two issues above. SMA first uses a structural graph representation to encode the object-object, object-text and text-text relationships appearing in the image, and then designs a multimodal graph attention network to reason over it. Finally, the outputs from the above modules are processed by a global-local attentional answering module to produce an answer splicing together tokens from both OCR and general vocabulary iteratively by following M4C. Our proposed model outperforms the SoTA models on TextVQA dataset and two tasks of ST-VQA dataset among all models except pre-training based TAP. Demonstrating strong reasoning ability, it also won first place in TextVQA Challenge 2020. We extensively test different OCR methods on several reasoning models and investigate the impact of gradually increased OCR performance on TextVQA benchmark. With better OCR results, different models share dramatic improvement over the VQA accuracy, but our model benefits most blessed by strong textual-visual reasoning ability. To grant our method an upper bound and make a fair testing base available for further works, we also provide human-annotated ground-truth OCR annotations for the TextVQA dataset, which were not given in the original release. The code and ground-truth OCR annotations for the TextVQA dataset are available at https://github.com/ChenyuGAO-CS/SMA

Motivation & Objective

  • Address the limitations of state-of-the-art VQA models in reading and reasoning over text in images, particularly OCR-based reasoning.
  • Improve multimodal reasoning by modeling complex relationships between objects, text, and their interactions using a structured graph.
  • Overcome the constraints of discriminative answering heads by adopting an iterative, generative answer generation mechanism inspired by M4C.
  • Establish a fair benchmark for TextVQA by providing human-annotated ground-truth OCR annotations to isolate reasoning performance from OCR errors.
  • Investigate the impact of OCR quality on overall VQA accuracy and demonstrate that better reasoning models benefit more from improved OCR.

Proposed method

  • Proposes a Question Self-Attention Module that decomposes questions into six components: object, object-object, object-text, text, text-text, and text-object relations.
  • Constructs a heterogeneous graph with objects and OCR tokens as nodes, and relationships (e.g., spatial, semantic) as edges based on relative distance and question components.
  • Employs a Question-Conditioned Graph Attention Network (GCN) that uses question-derived features to guide attention updates on specific node and edge types.
  • Introduces a global-local attentional answering module that iteratively generates answers by combining global context (question, objects, text) and local OCR embeddings, replacing the <begin> token with summarized features for improved performance.
  • Uses iterative decoding with attention over OCR tokens and general vocabulary, enabling flexible, multi-token answer generation.
  • Leverages a novel upper-bound evaluation using human-annotated ground-truth OCR to decouple reasoning performance from OCR quality.

Experimental results

Research questions

  • RQ1How can multimodal reasoning be improved for TextVQA by explicitly modeling relationships between visual objects, OCR tokens, and their interactions?
  • RQ2To what extent does integrating question-aware graph attention enhance answer generation in multimodal VQA compared to standard attention mechanisms?
  • RQ3How does the performance of a reasoning model scale with increasing OCR accuracy, and does the proposed model benefit disproportionately from better OCR?
  • RQ4What is the true upper bound of reasoning performance on TextVQA when OCR errors are eliminated, and how does it compare to human performance?
  • RQ5Can a generative, iterative answer generation mechanism outperform discriminative baselines in open-vocabulary, multi-token answer settings like TextVQA?

Key findings

  • SMA achieves state-of-the-art performance on the TextVQA validation set with a 50.8% ANLS score, outperforming all non-pretraining models and placing first in the TextVQA Challenge 2020.
  • On the ST-VQA dataset, SMA sets new SOTA for the first two tasks (strongly and weakly contextualized), achieving 0.483 and 0.486 ANLS respectively, and is competitive on the open-vocabulary task.
  • With ground-truth OCR, SMA achieves a 68.81% upper-bound accuracy on TextVQA, demonstrating that the model’s reasoning ability is still far from human-level performance.
  • The model shows a 9.68% accuracy gain when using ground-truth OCR, significantly higher than LoRRA (5.72%) and M4C (8.51%), indicating superior reasoning and answering capacity.
  • The proposed global-local attention module improves performance by nearly 0.5% over the original M4C baseline by incorporating summarized global features instead of a generic <begin> token.
  • SBD-Trans OCR outperforms Rosetta-ml and Rosetta-en, with an Hmean of 0.5244, and models using it show greater performance gains, especially for SMA, which benefits most from improved OCR quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.