Exploring Equation as a Better Intermediate Meaning Representation for Numerical Reasoning
Dingzirui Wang, Longxu Dou, Wenbin Zhang, Junyu Zeng, Wanxiang Che

TL;DR
This paper proposes using equations as intermediate meaning representations for numerical reasoning, providing theoretical proof of their advantages and a method to improve their generation accuracy with large language models, leading to better performance on benchmark datasets.
Contribution
It introduces a theoretical comparison of equations versus programs as IMRs and presents a novel method, Bridge, to enhance equation generation accuracy in LLMs for numerical reasoning.
Findings
Achieved 2.2% accuracy improvement on GSM8K dataset
Demonstrated theoretical superiority of equations as IMRs
Enhanced equation generation accuracy with the Bridge method
Abstract
Numerical reasoning is vital for natural language processing models to understand and process numerical information in real-world scenarios. Most current methods first generate the Intermediate Meaning Representations (IMRs) of questions and then generate answers. Current SOTA methods generate programs as IMRs with large language models (LLMs). Intuitively, equations have fewer restrictions and closer semantics to the question than programs, leading to higher generation accuracy. However, current LLMs generate equations worse than programs, where we assume that the equation data is rare in pre-training data compared to programs. So in this paper, we try to use equations as IMRs to solve the numerical reasoning task by addressing two problems: (1) Theoretically, how to prove that the equation is an IMR with higher generation accuracy than programs; (2) Empirically, how to improve the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Software Engineering Research
