Towards Question Format Independent Numerical Reasoning: A Set of Prerequisite Tasks

Swaroop Mishra, Arindam Mitra, Neeraj Varshney, Bhavdeep Sachdeva, Chitta BaralarXiv 2020

Abstract

Numerical reasoning in Natural Language Processing (NLP) has traditionally been developed within specific task silos, such as Reading Comprehension (RC) or Natural Language Inference (NLI). This specialization often results in models that are brittle to format changes and lack "numerical common sense"—the implicit real-world knowledge humans use daily. We present NUMBERGAME, a new benchmark designed to evaluate format-independent numerical reasoning across eight distinct task types. Our approach involves a unified framework that converts diverse question formats into a standard RC structure and a "knowledge hunting" mechanism to retrieve external facts. Experimental results demonstrate that even state-of-the-art models struggle significantly, particularly on tasks requiring common-sense knowledge, trailing human performance by a wide margin.

1. Introduction

Most progress in NLP-based numerical reasoning has occurred in isolation. Researchers have developed high-performing models for specific datasets like DROP (Reading Comprehension) or EQUATE (Natural Language Inference). However, true numerical reasoning should be format-independent; a model that understands basic arithmetic should be able to apply it regardless of whether the logic is embedded in a narrative, a science question, or a logic puzzle.

Furthermore, current models often lack "numerical common sense." They struggle with problems that require unstated real-world facts—such as knowing that a standard die has six faces—unless that information is explicitly provided in the prompt. This paper addresses these gaps by introducing a unified benchmark and a retrieval-augmented reasoning framework.

2. The NUMBERGAME Benchmark

The authors developed NUMBERGAME, a comprehensive benchmark consisting of eight task formats. This includes four novel datasets introduced in this work and four existing datasets filtered for integration:

  • Novel Datasets: Daily Life Maths (common sense), Domain Knowledge (Chemistry/Physics), Quantitative Comparison, and Completion Type (fill-in-the-blank word problems).
  • Existing Datasets: RC with Explicit/Implicit Math (from DROP), Quantitative NLI (from EQUATE), and Arithmetic Word Problems (from MAWPS).

To enable a single model to handle these diverse inputs, the authors implemented a "Type Converter" that maps every task into a unified Reading Comprehension format consisting of a Passage and a Question.

Table showing the conversion of various task types (NLI, Word Problems, etc.) into a unified Passage/Question format.

3. Methodology

The proposed framework utilizes two primary components to overcome format dependency and knowledge gaps:

  1. Unified Framework: By converting all tasks into an RC format, the model can leverage pre-trained architectures designed for reading comprehension, such as NumNet+v2 or RoBERTa.
  2. Knowledge Hunting (The "Cheatsheet"): To address the lack of common sense, the authors created a "cheatsheet" of external numerical facts. The system uses a retrieval mechanism (Elasticsearch) to "hunt" for relevant facts based on the input question and appends them to the passage before the reasoning stage.
The proposed architecture illustrating the flow from question type conversion to knowledge retrieval from a cheatsheet and final answer generation.

4. Key Results and Insights

The evaluation of state-of-the-art models on NUMBERGAME revealed several critical insights:

  • The Human-Machine Gap: While humans achieved ~95% accuracy across the benchmark, the best models struggled immensely. On "Daily Life Maths" (Type 1), which requires the most common sense, the baseline model scored only ~4.9% Exact Match (EM).
  • Brittleness to Format: Models trained on one format often failed when the same mathematical logic was presented in a different linguistic structure, confirming that current reasoning is heavily tied to surface-level patterns.
  • Vocabulary Diversity: Analysis showed that the novel datasets in NUMBERGAME possess higher average vocabulary sizes and lower sentence similarity than existing benchmarks, making them more resistant to simple pattern-matching shortcuts.
  • The Utility of External Knowledge: Providing the "cheatsheet" improved performance on knowledge-heavy tasks. However, it occasionally introduced noise for simpler tasks, highlighting the challenge of selective knowledge retrieval.

5. Conclusion

NUMBERGAME exposes the limitations of current numerical reasoning models, particularly their inability to generalize across formats and their lack of real-world common sense. While the "knowledge hunting" strategy provides a path forward, future work must focus on more sophisticated, learnable format converters and better integration of open-world knowledge to close the significant gap between machine and human performance.

Summary updated

Abstract

Numerical reasoning is often important to accurately understand the world. Recently, several format-specific datasets have been proposed, such as numerical reasoning in the settings of Natural Language Inference (NLI), Reading Comprehension (RC), and Question Answering (QA). Several format-specific models and architectures in response to those datasets have also been proposed. However, there exists a strong need for a benchmark which can evaluate the abilities of models, in performing question format independent numerical reasoning, as (i) the numerical reasoning capabilities we want to teach are not controlled by question formats, (ii) for numerical reasoning technology to have the best possible application, it must be able to process language and reason in a way that is not exclusive to a single format, task, dataset or domain. In pursuit of this goal, we introduce NUMBERGAME, a multifaceted benchmark to evaluate model performance across numerical reasoning tasks of eight diverse formats. We add four existing question types in our compilation. Two of the new types we add are about questions that require external numerical knowledge, commonsense knowledge and domain knowledge. For building a more practical numerical reasoning system, NUMBERGAME demands four capabilities beyond numerical reasoning: (i) detecting question format directly from data (ii) finding intermediate common format to which every format can be converted (iii) incorporating commonsense knowledge (iv) handling data imbalance across formats. We build several baselines, including a new model based on knowledge hunting using a cheatsheet. However, all baselines perform poorly in contrast to the human baselines, indicating the hardness of our benchmark. Our work takes forward the recent progress in generic system development, demonstrating the scope of these under-explored tasks.
BibTeX
@misc{mishra2020towards,
  author = {Swaroop Mishra and Arindam Mitra and Neeraj Varshney and Bhavdeep Sachdeva and Chitta Baral},
  title = {{Towards Question Format Independent Numerical Reasoning: A Set of Prerequisite Tasks}},
  year = {2020},
  eprint = {2005.08516},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.08516},
}
Figure