TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Recall and Learn: A Memory-augmented Solver for Math Word ...

Recall and Learn: A Memory-augmented Solver for Math Word Problems

Shifeng Huang, Jiawei Wang, Jiao Xu, Da Cao, Ming Yang

2021-09-27Findings (EMNLP) 2021 11MathMath Word Problem Solving
PaperPDFCode(official)

Abstract

In this article, we tackle the math word problem, namely, automatically answering a mathematical problem according to its textual description. Although recent methods have demonstrated their promising results, most of these methods are based on template-based generation scheme which results in limited generalization capability. To this end, we propose a novel human-like analogical learning method in a recall and learn manner. Our proposed framework is composed of modules of memory, representation, analogy, and reasoning, which are designed to make a new exercise by referring to the exercises learned in the past. Specifically, given a math word problem, the model first retrieves similar questions by a memory module and then encodes the unsolved problem and each retrieved question using a representation module. Moreover, to solve the problem in a way of analogy, an analogy module and a reasoning module with a copy mechanism are proposed to model the interrelationship between the problem and each retrieved question. Extensive experiments on two well-known datasets show the superiority of our proposed algorithm as compared to other state-of-the-art competitors from both overall performance comparison and micro-scope studies.

Results

TaskDatasetMetricValueModel
Question AnsweringMath23KAccuracy (5-fold)80.8Recall and Learn
Question AnsweringMath23KAccuracy (training-test)82.3Recall and Learn
Math Word Problem SolvingMath23KAccuracy (5-fold)80.8Recall and Learn
Math Word Problem SolvingMath23KAccuracy (training-test)82.3Recall and Learn
Mathematical Question AnsweringMath23KAccuracy (5-fold)80.8Recall and Learn
Mathematical Question AnsweringMath23KAccuracy (training-test)82.3Recall and Learn
Mathematical ReasoningMath23KAccuracy (5-fold)80.8Recall and Learn
Mathematical ReasoningMath23KAccuracy (training-test)82.3Recall and Learn

Related Papers

VAR-MATH: Probing True Mathematical Reasoning in Large Language Models via Symbolic Multi-Instance Benchmarks2025-07-17QuestA: Expanding Reasoning Capacity in LLMs via Question Augmentation2025-07-17Scaling Up RL: Unlocking Diverse Reasoning in LLMs via Prolonged Training2025-07-16Temperature and Persona Shape LLM Agent Consensus With Minimal Accuracy Gains in Qualitative Coding2025-07-15Personalized Exercise Recommendation with Semantically-Grounded Knowledge Tracing2025-07-15Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contamination2025-07-14A Practical Two-Stage Recipe for Mathematical LLMs: Maximizing Accuracy with SFT and Efficiency with Reinforcement Learning2025-07-11Skip a Layer or Loop it? Test-Time Depth Adaptation of Pretrained LLMs2025-07-10