Introduction
While modern Natural Language Processing (NLP) models exhibit remarkable linguistic fluency, they often lack a fundamental "math sense." When reasoning about quantities in text—a task known as quantitative Natural Language Inference (NLI)—even state-of-the-art models frequently stumble. This paper introduces EQUATE, a comprehensive benchmark designed to evaluate quantitative reasoning in NLI, revealing that heavyweights like BERT and GPT often fail to outperform simple baselines when logic depends on numerical values rather than linguistic patterns.
The Challenge of Quantitative NLI
NLI involves determining if a "premise" sentence entails, contradicts, or is neutral toward a "hypothesis." While models excel at identifying linguistic synonyms, they struggle with numerical relationships. For instance, if a premise states a company earned "$7 billion" and the hypothesis claims they earned "over $5 billion," a human recognizes an entailment. However, many AI models treat this as a word-matching problem; if the numbers change slightly, the model's logic often collapses. EQUATE addresses this by providing a framework to test whether models truly reason with quantities or merely exploit statistical shortcuts.
The EQUATE Benchmark
The EQUATE framework consists of five distinct evaluation sets, totaling over 9,000 pairs, categorized into natural and synthetic sources.
- Natural Sources: Includes RTE-Quant (arithmetic and ranges), NewsNLI (real-world CNN summaries), and RedditNLI (complex reasoning from economic discussions).
- Synthetic Sources: Includes Stress Test (comparisons and quantifiers) and AwpNLI (arithmetic word problems).
Q-REAS: A Symbolic Baseline
To provide a rigorous point of comparison, the researchers developed Q-REAS, a symbolic reasoning system. Unlike neural models that rely on embeddings, Q-REAS explicitly identifies quantities, parses them into semantic representations called NUMSETS, and utilizes Integer Linear Programming (ILP) to verify mathematical relationships.
Key Results and Insights
The evaluation of nine popular NLI models against EQUATE revealed a significant gap between linguistic fluency and numerical accuracy:
- The Lexical Shortcut Trap: Models like GPT and BERT often score well on natural datasets by picking up on "verbal vibes" or context clues rather than performing actual math. In perturbation tests where only numbers were changed to create contradictions, GPT’s accuracy on NewsNLI dropped from 72% to 51%, while the symbolic Q-REAS maintained 98% accuracy.
- Neural vs. Symbolic Performance: OpenAI GPT was the strongest neural performer on natural text but showed 0% improvement over random guessing on synthetic arithmetic tests (AwpNLI). Conversely, Q-REAS dominated synthetic tests, outperforming neural models by 24.2% on arithmetic-heavy tasks, though it struggled with the linguistic complexity of natural news text.
- The Interplay Problem: The most difficult cases involve the intersection of language and numbers, such as recognizing that "16" and "17" refer to "two teen suspects."
Conclusion
The EQUATE benchmark demonstrates that quantitative reasoning remains a major frontier for NLP. Current state-of-the-art models fail to provide significant improvements over simple majority-class baselines across the full suite of tests. The authors suggest that future progress likely lies in hybrid neuro-symbolic architectures that combine the linguistic depth of Transformers with the precise, rule-based logic of symbolic reasoners.
Summary updated