Logic Contrastive Reasoning with Lightweight Large Language Model for Math Word Problems
<|reference_start|>Logic Contrastive Reasoning with Lightweight Large Language Model for Math Word Problems: 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 best results on both aforementioned datasets. Finally, we conduct an analysis of errors during the reasoning process, providing valuable insights and directions for future research on reasoning tasks using large language models.<|reference_end|>
@article{kai2024logic,
    title={Logic Contrastive Reasoning with Lightweight Large Language Model for
  Math Word Problems},
    author={Ding Kai, Ma Zhenguo, Yan Xiaoran},
    journal={arXiv preprint arXiv:2409.00131},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.00131},
    primaryClass={cs.CL cs.AI}
}