Lune

EMNLP Findings2022

LogicSolver: Towards Interpretable Math Word Problem Solving with Logical Prompt-enhanced Learning

Zhicheng Yang, Jinghui Qin, Jiaqi Chen, Liang Lin, Xiaodan Liang

Abstract

Recently, deep learning models have made great progress in MWP solving on answer accuracy. However, they are uninterpretable since they mainly rely on shallow heuristics to achieve high performance without understanding and reasoning the grounded math logic. To address this issue and make a step towards interpretable MWP solving, we first construct a high-quality MWP dataset named InterMWP which consists of 11,495 MWPs and annotates interpretable logical formulas based on algebraic knowledge as the grounded linguistic logic of each solution equation. Different from existing MWP datasets, our InterMWP benchmark asks for a solver to not only output the solution expressions but also predict the corresponding logical formulas. We further propose a novel approach with logical prompt and interpretation generation, called LogicSolver. For each MWP, our LogicSolver first retrieves some highly-correlated algebraic knowledge and then passes them to the backbone model as prompts to improve the semantic representations of MWPs. With these improved semantic representations, our Logic-Solver generates corresponding solution expressions and interpretable knowledge formulas in accord with the generated solution expressions, simultaneously. Experimental results show that our LogicSolver has stronger logical formula-based interpretability than baselines while achieving higher answer accuracy with the help of logical prompts, simultaneously. The source code and dataset is available at https://github.com/yangzhch6/InterMWP.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Guiding Mathematical Reasoning via Mastering Commonsense Formula Knowledge cites Graph-to-Tree Learning for Solving Math Word Problems
  • Learning Theorem Rationale for Improving the Mathematical Reasoning Capability of Large Language Models cites Guiding Mathematical Reasoning via Mastering Commonsense Formula Knowledge
  • Analogical Math Word Problems Solving with Enhanced Problem-Solution Association cites Graph-to-Tree Learning for Solving Math Word Problems
  • Analogical Math Word Problems Solving with Enhanced Problem-Solution Association cites Revisiting Pre-Trained Models for Chinese Natural Language Processing
  • Analogical Math Word Problems Solving with Enhanced Problem-Solution Association cites SMART: A Situation Model for Algebra Story Problems via Attributed Grammar
  • SMART: A Situation Model for Algebra Story Problems via Attributed Grammar cites Graph-to-Tree Learning for Solving Math Word Problems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Analogical Math Word Problems Solving with Enhanced Problem-Solution AssociationZhenwen Liang, Jipeng Zhang, Xiangliang ZhangEMNLP 2022 · 18 citations
  2. Guiding Mathematical Reasoning via Mastering Commonsense Formula KnowledgeJiayu Liu, Zhenya Huang, Zhiyuan Ma, Qi Liu et al.KDD 2023 · 11 citations
  3. Learning Theorem Rationale for Improving the Mathematical Reasoning Capability of Large Language ModelsYu Sheng, Linjing Li, Daniel Dajun ZengAAAI 2025 · 3 citations
  4. What Are the Odds? Language Models Are Capable of Probabilistic ReasoningAkshay Paruchuri, Jake Garrison, Shun Liao, John Hernandez et al.EMNLP 2024 · 3 citations
  5. Soft Alignment Objectives for Robust Adaptation of Language GenerationMichal Stefánik, Marek Kadlcík, Petr SojkaACL 2023 · 1 citation

Builds on9

  1. Revisiting Pre-Trained Models for Chinese Natural Language ProcessingYiming Cui, Wanxiang Che, Ting Liu, Bing Qin et al.EMNLP Findings 2020 · 866 citations
  2. KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation ExtractionXiang Chen, Ningyu Zhang, Xin Xie, Shumin Deng et al.WWW 2022 · 488 citations
  3. Graph-to-Tree Learning for Solving Math Word ProblemsJipeng Zhang, Lei Wang, Roy Ka-Wei Lee, Yi Bin et al.ACL 2020 · 129 citations
  4. Semantically-Aligned Universal Tree-Structured Solver for Math Word ProblemsJinghui Qin, Lihui Lin, Xiaodan Liang, Rumin Zhang et al.EMNLP 2020 · 62 citations
  5. SMART: A Situation Model for Algebra Story Problems via Attributed GrammarYining Hong, Qing Li, Ran Gong, Daniel Ciao et al.AAAI 2021 · 33 citations

Related papers

  1. Learning by Analogy: Diverse Questions Generation in Math Word ProblemZihao Zhou, Maizhen Ning, Qiufeng Wang, Jie Yao et al.ACL Findings 2023 · 25 citations
  2. Compositional Mathematical Encoding for Math Word ProblemsZhenwen Liang, Jipeng Zhang, Kehan Guo, Xiaodong Wu et al.ACL Findings 2023 · 4 citations
  3. It Ain't Over: A Multi-aspect Diverse Math Word Problem DatasetJiwoo Kim, Youngbin Kim, Ilwoong Baek, JinYeong Bak et al.EMNLP 2023 · 2 citations
  4. Inter-GPS: Interpretable Geometry Problem Solving with Formal Language and Symbolic ReasoningPan Lu, Ran Gong, Shibiao Jiang, Liang Qiu et al.ACL 2021
  5. Interpretable Math Word Problem Solution Generation via Step-by-step PlanningMengxue Zhang, Zichao Wang, Zhichao Yang, Weiqi Feng et al.ACL 2023 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines