ELASTIC: Numerical Reasoning with Adaptive Symbolic Compiler
About
Numerical reasoning over text is a challenging task of Artificial Intelligence (AI), requiring reading comprehension and numerical reasoning abilities. Previous approaches use numerical reasoning programs to represent the reasoning process. However, most works do not separate the generation of operators and operands, which are key components of a numerical reasoning program, thus limiting their ability to generate such programs for complicated tasks. In this paper, we introduce the numEricaL reASoning with adapTive symbolIc Compiler (ELASTIC) model, which is constituted of the RoBERTa as the Encoder and a Compiler with four modules: Reasoning Manager, Operator Generator, Operands Generator, and Memory Register. ELASTIC is robust when conducting complicated reasoning. Also, it is domain agnostic by supporting the expansion of diverse operators without caring about the number of operands it contains. Experiments show that ELASTIC achieves 68.96 and 65.21 of execution accuracy and program accuracy on the FinQA dataset and 83.00 program accuracy on the MathQA dataset, outperforming previous state-of-the-art models significantly.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Math Word Problem Solving | Math23K (test) | Accuracy84.8 | 73 | |
| Math Word Problem Solving | Math23K (5-fold cross-val) | Accuracy82.9 | 56 | |
| Math Word Problem Solving | MathQA (test) | Accuracy80.3 | 34 | |
| Numerical Question Answering | FinQA (test) | Execution Accuracy68.96 | 33 | |
| Mathematical Equation Generation | MAWPS (5-fold cross-validation) | Accuracy (5-fold)91.8 | 23 | |
| Numerical Question Answering | FinQA 1.0 (test) | Execution Accuracy62.16 | 14 | |
| Numerical Reasoning Question Answering | FinQA v1 (dev) | Execution Accuracy65 | 7 | |
| Numerical Question Answering | MathQA (test) | Program Accuracy83 | 6 |