Answering Questions about Data Visualizations using Efficient Bimodal Fusion

Kushal Kafle, Robik Shrestha, Brian L. Price, Scott Cohen, Christopher Kanan

Abstract

Chart Question Answering (CQA) is a specialized domain of Visual Question Answering that requires high-precision reasoning over abstract data representations. We present PReFIL (Parallel Recurrent Fusion of Image and Language), a streamlined model that achieves state-of-the-art performance on major CQA benchmarks. By integrating multi-scale visual features with linguistic embeddings through early bimodal fusion and recurrent spatial aggregation, PReFIL outperforms complex relational architectures and surpasses human baselines on the FigureQA and DVQA datasets.

Introduction

While Visual Question Answering (VQA) for natural images has seen significant progress, Chart Question Answering (CQA) remains a distinct challenge. Unlike natural photos where semantic context is often redundant, charts—such as bar graphs, pie charts, and line plots—demand extreme precision. A minor shift in a bar's height or a line's color can fundamentally alter the underlying data and the correct answer to a query.

Standard VQA models typically struggle with CQA due to three primary factors:

  1. Precision Requirements: Small visual changes carry high information density.
  2. Textual Integration: Models must perform Optical Character Recognition (OCR) and handle Out-of-Vocabulary (OOV) labels.
  3. Relational Reasoning: Answering comparative questions (e.g., "Is the red bar taller than the blue bar?") requires identifying and comparing distinct abstract symbols.
An example of a Chart Question Answering (CQA) task requiring precise value extraction and relational reasoning.

Methodology

PReFIL introduces a simplified yet effective architecture for CQA, eschewing the complex "Relational Networks" often used in prior work in favor of efficient bimodal fusion.

Multi-stage Image Encoding

To capture both fine-grained details and global structures, PReFIL extracts features from two different depths of a DenseNet-40 backbone. Utilizing both low-level features (e.g., thin lines and color patches) and high-level semantic structures ensures the model maintains the visual precision necessary for data interpretation.

Parallel Bimodal Fusion and Aggregation

The question is processed via an LSTM and concatenated directly with image features at every spatial location. This "early fusion" is followed by 1x1 convolutions that allow the model to learn how the question modulates the visual data. To reason across the spatial layout, PReFIL employs a bidirectional Gated Recurrent Unit (bi-GRU) to scan the fused feature maps, effectively aggregating information across the chart's dimensions.

Experimental Results

The model was evaluated on two primary benchmarks: FigureQA (binary questions on various chart types) and DVQA (open-ended questions on bar charts requiring OCR).

Performance comparison of PReFIL against baselines and human performance on the DVQA and FigureQA datasets.

Key Findings

  • State-of-the-Art Accuracy: PReFIL achieved 94.8% accuracy on FigureQA, surpassing the previous state-of-the-art (76.4%) and the human baseline (91.2%). On DVQA with "Oracle OCR," it reached 96.37% accuracy.
  • The Importance of Low-Level Features: Ablation studies confirmed that incorporating low-level visual features (Layer 14 of DenseNet) alongside high-level features (Layer 40) was critical for success in measurement-based questions.
  • Table Reconstruction: The authors demonstrated that PReFIL could effectively reconstruct raw data tables from images by answering a series of structured, iterative questions about chart elements.

Discussion and Future Work

Despite its success, PReFIL's performance is currently limited by the quality of off-the-shelf OCR engines when "Oracle" text is not provided. Furthermore, existing benchmarks rely on synthetic data and templated questions, which do not fully capture the complexity of real-world infographics or natural human language. Future research will focus on Document-level CQA, integrating charts within the broader context of scientific papers and reports to provide more comprehensive data insights.

Summary updated

BibTeX
@inproceedings{kafle2020answering,
  author = {Kushal Kafle and Robik Shrestha and Brian L. Price and Scott Cohen and Christopher Kanan},
  title = {{Answering Questions about Data Visualizations using Efficient Bimodal Fusion}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2020},
  doi = {10.1109/wacv45572.2020.9093494},
}
Figure