Logic Contrastive Reasoning with Lightweight Large Language Model for Math Word Problems
Ding Kai, Ma Zhenguo, Yan Xiaoran

TL;DR
This paper introduces a retrieval-enhanced reasoning method for lightweight LLMs tackling math word problems, significantly improving accuracy by integrating logical similarity measures and reference problem sets.
Contribution
It presents a novel retrieval-based approach for mathematical reasoning in lightweight LLMs, combining semantic and logical similarity for better problem-solving performance.
Findings
15.8% improvement over Chain of Thought on SVAMP
21.5% improvement on GSM8K
Large-scale model performance comparable to state-of-the-art
Abstract
This study focuses on improving the performance of lightweight Large Language Models (LLMs) in mathematical reasoning tasks. We introduce a novel method for measuring mathematical logic similarity and design an automatic screening mechanism to construct a set of reference problems that integrate both semantic and logical similarity. By employing carefully crafted positive and negative example prompts, we guide the model towards adopting sound reasoning logic. To the best of our knowledge, this is the first attempt to utilize retrieval-enhanced generation for mathematical problem-solving. Experimental results demonstrate that our method achieves a 15.8% improvement over the Chain of Thought approach on the SVAMP dataset and a 21.5 % improvement on the GSM8K dataset. Further application of this method to a large-scale model with 175 billion parameters yields performance comparable to 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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Mathematics, Computing, and Information Processing
MethodsSparse Evolutionary Training
