Skip to main content
QUICK REVIEW

[Paper Review] CLEVR-Math: A Dataset for Compositional Language, Visual and Mathematical Reasoning

Adam Dahlgren Lindström, Savitha Sam Abraham|arXiv (Cornell University)|Aug 10, 2022
Multimodal Machine Learning ApplicationsComputer Science49 citations
TL;DR

CLEVR-Math introduces a multimodal dataset of simple math word problems combining text and images, and evaluates neural and neuro-symbolic baselines showing poor compositional generalization to chains of operations.

ABSTRACT

We introduce CLEVR-Math, a multi-modal math word problems dataset consisting of simple math word problems involving addition/subtraction, represented partly by a textual description and partly by an image illustrating the scenario. The text describes actions performed on the scene that is depicted in the image. Since the question posed may not be about the scene in the image, but about the state of the scene before or after the actions are applied, the solver envision or imagine the state changes due to these actions. Solving these word problems requires a combination of language, visual and mathematical reasoning. We apply state-of-the-art neural and neuro-symbolic models for visual question answering on CLEVR-Math and empirically evaluate their performances. Our results show how neither method generalise to chains of operations. We discuss the limitations of the two in addressing the task of multi-modal word problem solving.

Motivation & Objective

  • Motivate studying multi-modal math word problems that require envisioning state changes in a scene.
  • Extend CLEVR with addition/subtraction tasks and six question templates to test compositional reasoning.
  • Provide open-source data and analyze baseline neural and neuro-symbolic methods on the dataset.

Proposed method

  • Extend CLEVR with three new functions (subtraction, addition, choose-based operation) and 13 templates focused on addition/subtraction.
  • Annotate each problem with a functional program corresponding to the CLEVR function set.
  • Evaluate CLIP-based neural baselines and NS-VQA neuro-symbolic baselines on varying data sizes and with/without multihop training.
  • Use scene graphs or comparable representations to execute parsed programs and derive answers.
  • Provide zero-shot multihop evaluation by training only single-hop questions and testing on multihop questions.

Experimental results

Research questions

  • RQ1Can standard neural VQA models solve multimodal math word problems that require multi-step reasoning?
  • RQ2Do neuro-symbolic approaches generalize compositionally to chains of operations in a multimodal setting?
  • RQ3How do training data size and presence of multihop questions affect performance of neural vs. neuro-symbolic baselines?
  • RQ4What are the failure modes of current methods on CLEVR-Math, especially for multi-hop and adversarial questions?

Key findings

  • NS-VQA generally outperforms CLIP across most templates on CLEVR-Math except for multihop questions.
  • Neither method achieves strong generalization to multihop/chain-of-operations questions.
  • NS-VQA performs well with relatively small data (e.g., higher accuracy with fewer examples) and plateaus with more data, suggesting overfitting to program-level signals.
  • CLIP scales with data but plateaus at a lower accuracy and frequently makes off-by-one errors in answers.
  • Multihop questions see large performance degradation for both models, highlighting challenges in compositional language and reasoning.
  • When trained on multihop data, both methods improve, but fail to fully generalize in zero-shot multihop scenarios.

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.