Tianduo Wang, Wei Lu
Mathematical reasoning is regarded as a necessary ability for Language Models (LMs). Recent works demonstrate large LMs' impressive performance in solving math problems. The success is attributed to their Chain-of-Thought (CoT) reasoning abilities, i.e., the ability to decompose complex questions into step-by-step reasoning chains, but such ability seems only to emerge from models with abundant parameters. This work investigates how to incorporate relatively small LMs with the capabilities of multi-step reasoning. We propose to inject such abilities by continually pre-training LMs on a synthetic dataset MsAT which is composed of Multi-step Arithmetic Tasks. Our experiments on four math word problem datasets show the effectiveness of the proposed method in enhancing LMs' math reasoning abilities.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Question Answering | MAWPS | Accuracy (%) | 94.3 | MsAT-DeductReasoner |
| Question Answering | SVAMP | Execution Accuracy | 48.9 | MsAT-DeductReasoner |
| Math Word Problem Solving | MAWPS | Accuracy (%) | 94.3 | MsAT-DeductReasoner |
| Math Word Problem Solving | SVAMP | Execution Accuracy | 48.9 | MsAT-DeductReasoner |
| Mathematical Question Answering | MAWPS | Accuracy (%) | 94.3 | MsAT-DeductReasoner |
| Mathematical Question Answering | SVAMP | Execution Accuracy | 48.9 | MsAT-DeductReasoner |
| Mathematical Reasoning | MAWPS | Accuracy (%) | 94.3 | MsAT-DeductReasoner |
| Mathematical Reasoning | SVAMP | Execution Accuracy | 48.9 | MsAT-DeductReasoner |