Abstract
Chart Question Answering (CQA) requires fine-grained visual perception and integration of textual context, posing unique challenges compared to standard Visual Question Answering. We present PReFIL (Parallel Recurrent Fusion of Image and Language), a streamlined architecture that fuses multi-level DenseNet features with question embeddings. By utilizing recurrent spatial aggregation and robust OCR integration, PReFIL achieves state-of-the-art performance on the FigureQA and DVQA benchmarks, surpassing human baselines.
Introduction: The Challenges of CQA
While Visual Question Answering (VQA) has advanced significantly in natural scenes, Chart Question Answering (CQA) presents distinct hurdles. In natural images, minor pixel changes rarely alter the scene's meaning. Conversely, in a data visualization, a slight shift in a bar's height or a line's slope can fundamentally change the correct answer.
Standard VQA models often struggle with CQA due to three primary factors:
- Fine-grained perception: The need to distinguish between nearly identical values or small visual markers.
- OCR Integration: Charts rely heavily on text (labels, titles, legends) for context.
- Out-of-Vocabulary (OOV) Handling: Chart labels frequently contain specific names or numerical values not encountered during training.
Existing relational or attention-based models often introduce excessive complexity or require additional supervised annotations that are not always available.
Methodology: The PReFIL Architecture
The proposed PReFIL (Parallel Recurrent Fusion of Image and Language) model employs a streamlined approach to bridge the gap between visual data and linguistic queries.
The architecture consists of several key components:
- Multi-stage Image Encoding: PReFIL utilizes a 40-layer DenseNet to extract features from two distinct depths: "low-level" (layer 14) and "high-level" (layer 40). This dual-stream approach captures both basic visual elements (colors, lines) and abstract semantic information.
- Bimodal Fusion: The question, processed via an LSTM, is concatenated with visual features at every spatial location. These combined features are then passed through 1x1 convolutions to generate bimodal embeddings.
- Recurrent Aggregation: Instead of relying on complex attention mechanisms, PReFIL uses a Bidirectional Gated Recurrent Unit (Bi-GRU) to scan the chart's spatial locations. This allows the model to learn sequential relationships between disparate chart elements, such as a bar and its corresponding legend entry.
- OCR Integration: For text-heavy datasets like DVQA, a dynamic encoding scheme associates spatial positions with text detected via OCR pipelines.
Datasets and Evaluation
PReFIL was evaluated on two primary CQA benchmarks:
- FigureQA: Comprising over 2 million QA pairs across 180,000 images, this dataset focuses on binary (yes/no) reasoning for five chart types (bar, pie, line, etc.).
- DVQA: A massive dataset of over 3 million QA pairs for 300,000 bar charts. It requires open-ended answers and significant OCR capabilities to identify specific data points.
Results and Key Insights
PReFIL established a new state-of-the-art across both benchmarks, demonstrating the efficacy of its design.
Key performance metrics include:
- FigureQA: Accuracy reached 93-95%, significantly exceeding the previous state-of-the-art (Relation Networks at ~72-76%) and the human baseline (~91%).
- DVQA: With perfect ("Oracle") OCR, PReFIL achieved 96.37% accuracy, a massive leap from the previous best of 56.48%.
- Human Comparison: On the DVQA "Test-Novel" split, PReFIL (with improved OCR) outperformed human reasoning by nearly 10% in absolute terms.
Ablation studies highlighted the critical role of "low-level" vision; removing these features led to a significant drop in accuracy, confirming that in charts, fine-grained visual details are essential data points.
Conclusion and Future Directions
While PReFIL shows remarkable performance on synthetic benchmarks, several challenges remain. Real-world "charts in the wild" exhibit much higher variability in style and complexity. Future work should address human-generated, linguistically diverse questions and move toward document-level CQA, where charts are interpreted within the context of surrounding text.
Summary updated