NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Discrete Numerical Reasoning Over Unstructured Text

30 concepts23 papers1 proposal

Traditional Machine Reading Comprehension (MRC) has long operated under the "span extraction" paradigm: the answer to a question is assumed to be a contiguous string of text already present in the source document. While models like BERT excel at this form of fuzzy pattern matching, they fundamentally struggle with "crisp" logic. As noted by Neelakantan et al. et al. in Neural Programmer: Inducing Latent Programs with Gradient Descent, standard neural architectures are masters of linguistic similarity but fail at the exact, multi-step reasoning required for arithmetic or database-style queries.

The Discrete Reasoning Gap

The magnitude of this failure was quantified by the DROP benchmark. Dua et al. et al. showed in DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphs that while humans easily perform math on what they read, state-of-the-art models initially lagged by over 60 percentage points. The bottleneck is not a lack of vocabulary, but a lack of internal mechanisms to perform discrete operations—such as addition, sorting, or counting—over the information they extract.

This gap persists even as models grow larger. Fisch et al. et al. observed in the MRQA 2019 Shared Task that while general language understanding has improved, specialized tasks requiring numerical logic remain a frontier where standard pattern matching is insufficient. Even high-performing systems like those in the Aristo Project exhibit a disconnect between linguistic proficiency and the ability to track state changes or perform basic counting, as argued by Clark et al. et al. in From 'F' to 'A' on the N.Y. Regents Science Exams.

Bridging Neural and Symbolic Representations

To solve this, researchers have moved toward hybrid architectures that combine neural flexibility with symbolic precision. One influential approach is to "give the model a calculator." In Giving BERT a Calculator, Andor et al. et al. proposed a system where the neural model identifies relevant numbers and then selects a symbolic operation to execute. Similarly, the Neural Symbolic Reader by Xinyun Chen et al. integrates distributed representations with symbolic programs to handle tasks like counting and sorting that are impossible for pure span-extraction models.

Other researchers focus on the structural relationships between numbers. Kunlong Chen et al. introduced QDGAT, which represents passages as heterogeneous graphs of numbers and entities, using question-directed attention to pass messages between them. This allows the model to "ground" its reasoning in the text more effectively. To further reduce mathematical "hallucinations," Kim et al. et al. developed NC-BERT, which uses specialized attention masking to force the model to prioritize the local context of numbers over pre-trained biases.

Modular Reasoning and Multi-Span Extraction

A key insight in this field is that discrete reasoning is often a multi-step process. Bao et al. et al. proposed OPERA, which uses lightweight symbolic operations as neural modules, providing an interpretable path from question to answer. This modularity is essential because, as Hu et al. et al. noted in A Multi-Type Multi-Span Network, models often struggle to generalize beyond simple addition to more complex operations like multiplication or division.

Furthermore, discrete reasoning often requires aggregating multiple pieces of information. Segal et al. et al. demonstrated in A Simple and Effective Model for Answering Multi-span Questions that treating question answering as a sequence tagging task allows models to extract non-contiguous spans, a necessary step for tasks like counting or listing multiple entities mentioned across a paragraph.

The Challenge of Complex Documents

The frontier of this research now extends to hybrid documents containing both text and tables, common in financial analysis. Zhu et al. et al. introduced TAT-QA and TAT-DQA, benchmarks that require models to perform arithmetic across multi-modal data. Their work highlights that calculating values from visual and tabular data is a significantly higher cognitive hurdle than simple retrieval, as standard models still trail human performance in these domains by a wide margin. As Wang et al. et al. argued in the context of LiveQA, without dedicated modules for discrete reasoning, neural systems will continue to rely on insufficient pattern matching for tasks that demand precise mathematical logic.

Key Foundational Work

Neural Programmer: Inducing Latent Programs with Gradient Descent Arvind Neelakantan (2016) — contributed 1 concept elements to this direction.
Learning a Natural Language Interface with Neural Programmer (2017) — contributed 1 concept elements to this direction.
A Parallel-Hierarchical Model for Machine Comprehension on Sparse Data (2016) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_discrete_reasoning_gap_3d412407,
  title = {discrete reasoning gap},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/discrete-reasoning-gap/rdr_3d41240779aa42b482e679ddeb8e3df1},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-30},
}

This exact version (version 1, frozen text):

@misc{lacuna_discrete_reasoning_gap_3d412407_v1,
  title = {discrete reasoning gap},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/discrete-reasoning-gap/rdr_3d41240779aa42b482e679ddeb8e3df1/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-30},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake