Enhancing Numerical Reasoning with the Guidance of Reliable Reasoning Processes

Dingzirui Wang, Longxu Dou, Xuanliang Zhang, Qingfu Zhu, Wanxiang Che

Introduction

Numerical reasoning—the ability to perform mathematical operations based on textual and tabular data—remains a significant challenge for natural language processing (NLP). While Large Language Models (LLMs) show promise, their reasoning processes are often "noisy," containing irrelevant information or hallucinations that can mislead smaller models during fine-tuning. Researchers from the Harbin Institute of Technology have introduced ENCORE, a method designed to improve numerical reasoning in efficient, small-scale models by replacing unstructured natural language rationales with reliable, structured "answer formula decompositions."

Addressing the Reliability Gap

Traditional "Chain of Thought" (CoT) approaches rely on LLM-generated explanations to teach smaller models how to solve problems. However, these rationales are frequently unreliable. They may reference incorrect years, include extraneous text, or fail to map numbers back to their original context in a table.

Comparison between noisy LLM rationales and ENCORE's structured formula decomposition.

As illustrated in the comparison above, LLM-generated rationales often introduce "noise" (e.g., mentioning irrelevant organizational changes). ENCORE mitigates this by forcing the model to output a structured decomposition consisting of operands, operators, and a "Located Formula" that maps values directly to table headers. This ensures that every part of the reasoning process directly supports the final answer.

The ENCORE Framework

The ENCORE (Enhancing NumeriCal reasOning with Reliable procEsses) pipeline moves away from free-form text toward a rigid, logical structure. The process involves four primary stages:

  1. Retrieve: Identifying relevant text and table segments.
  2. Locate: Mapping raw numbers to their structural coordinates (e.g., {Col1, Row1}) to create a Located Formula.
  3. Decompose: Breaking the solution into distinct components: Operands (the data points), Operators (the math logic), and the final Located Formula.
  4. Fine-tune: Training a Seq2Seq model (such as BART-Large or T5) to generate these components sequentially before arriving at the final answer.
The four-step ENCORE pipeline: Retrieve, Locate, Decompose, and Fine-tune.

To further bolster performance, the authors implemented synthetic pre-training tasks—Table Location, Table Calculation, and Hierarchical Table Prediction—to enhance the model's "table literacy" before tackling complex financial datasets. This pre-training significantly improved the model's ability to handle multi-level headers and complex tabular structures.

Key Results and Benchmarks

ENCORE was evaluated across five major benchmarks: FinQA, ConvFinQA, TAT-QA, MathQA, and DROP. The results demonstrate a consistent performance boost, with an average improvement of 1.8% across all datasets.

Notably, on the TAT-QA dataset, ENCORE-guided fine-tuning proved to be approximately 10% more effective than using GPT-3.5-generated rationales. Ablation studies highlighted that the "Operand" extraction phase is the most critical; accurately identifying which numbers to use is the primary hurdle in complex reasoning tasks. Furthermore, the 3B-parameter T5 model equipped with ENCORE achieved state-of-the-art (SOTA) or near-SOTA performance on several benchmarks, proving that structured guidance allows smaller models to compete with massive "black-box" LLMs.

Conclusion

By shifting the focus from natural language explanations to structured formula decompositions, ENCORE provides a more reliable pathway for training efficient numerical reasoning models. While challenges remain in grounding operands when duplicate values appear, the success of ENCORE underscores the value of structural logic over syntactic fluency in mathematical NLP tasks.

Summary updated

BibTeX
@inproceedings{wang2024enhancing,
  author = {Dingzirui Wang and Longxu Dou and Xuanliang Zhang and Qingfu Zhu and Wanxiang Che},
  title = {{Enhancing Numerical Reasoning with the Guidance of Reliable Reasoning Processes}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.acl-long.582},
}
Figure