Lune

KDD2023Top-tier venue

Guiding Mathematical Reasoning via Mastering Commonsense Formula Knowledge

Jiayu Liu, Zhenya Huang, Zhiyuan Ma, Qi Liu, Enhong Chen, Tianhuang Su, Haifeng Liu

Abstract

Math formulas (e.g., "distance = speed X time'') serve as one of the fundamental commonsense knowledge in human cognition, where humans naturally acquire and manipulate them in logical thinking for mathematical reasoning problems. However, existing reasoning models mainly focus on learning heuristic linguistics or patterns to generate answers, but do not pay enough attention on learning with such formula knowledge. Thus, they are not transparent (thus uninterpretable) in terms of understanding and grasping basic mathematical logic. In this paper, to promote a step forward in the domain, we first construct two datasets (Math23K-F and MAWPS-F) with precise annotations of formula usage in each reasoning step for math word problems. Especially, our datasets are refined on the benchmark datasets, and thus ensure the generality and comparability for relevant research. Then, we propose a novel Formula-mastered Solver (FOMAS) with the guidance of mastering formula knowledge to solve the problems. Specifically, we establish FOMAS with two systems drawing insight from the dual process theory, including a Knowledge System and a Reasoning System, to learn and apply formula knowledge, respectively. The Knowledge System accumulates the math formulas, where we propose a novel pretraining manner to mimic how humans grasp the mathematical logic behind them. Then, in the Reasoning System, we develop elaborate formula-guided symbol prediction and goal generation methods that retrieve the necessary formula knowledge from Knowledge System to improve both reasoning accuracy and interpretability. It organically simulates how humans conduct complex reasoning under the explicit instruction of math formulas. Experimental results prove that FOMAS has a stronger reasoning ability and achieves a more interpretable reasoning process, which verifies the necessity of introducing formula knowledge transparently.

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.

13 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

  • Explore What LLM Does Not Know in Complex Question Answering cites SocraticLM: Exploring Socratic Personalized Teaching with Large Language Models
  • Seeking Patterns, Not just Memorizing Procedures: Contrastive Learning for Solving Math Word Problems cites Graph-to-Tree Learning for Solving Math Word Problems
  • Automated Creation of Reusable and Diverse Toolsets for Enhancing LLM Reasoning cites SocraticLM: Exploring Socratic Personalized Teaching with Large Language Models
  • Automated Creation of Reusable and Diverse Toolsets for Enhancing LLM Reasoning cites Decompose, Analyze and Rethink: Solving Intricate Problems with Human-like Reasoning Cycle
  • HMS: A Hierarchical Solver with Dependency-Enhanced Understanding for Math Word Problem cites Graph-to-Tree Learning for Solving Math Word Problems
  • Decompose, Analyze and Rethink: Solving Intricate Problems with Human-like Reasoning Cycle cites HMS: A Hierarchical Solver with Dependency-Enhanced Understanding for Math Word Problem
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers13

  1. SocraticLM: Exploring Socratic Personalized Teaching with Large Language ModelsJiayu Liu, Zhenya Huang, Tong Xiao, Jing Sha et al.NeurIPS 2024 · 65 citations
  2. Decompose, Analyze and Rethink: Solving Intricate Problems with Human-like Reasoning CycleShangzi Xue, Zhenya Huang, Jiayu Liu, Xin Lin et al.NeurIPS 2024 · 55 citations
  3. Bit-mask Robust Contrastive Knowledge Distillation for Unsupervised Semantic HashingLiyang He, Zhenya Huang, Jiayu Liu, Enhong Chen et al.WWW 2024 · 9 citations
  4. Explore What LLM Does Not Know in Complex Question AnsweringXin Lin, Zhenya Huang, Zhiqiang Zhang, Jun Zhou et al.AAAI 2025 · 8 citations
  5. Automated Creation of Reusable and Diverse Toolsets for Enhancing LLM ReasoningZhiyuan Ma, Zhenya Huang, Jiayu Liu, Minmao Wang et al.AAAI 2025 · 8 citations

Builds on15

  1. Graph-to-Tree Learning for Solving Math Word ProblemsJipeng Zhang, Lei Wang, Roy Ka-Wei Lee, Yi Bin et al.ACL 2020 · 129 citations
  2. A Knowledge-Aware Sequence-to-Tree Network for Math Word Problem SolvingQinzhuo Wu, Qi Zhang, Jinlan Fu, Xuanjing HuangEMNLP 2020 · 71 citations
  3. HMS: A Hierarchical Solver with Dependency-Enhanced Understanding for Math Word ProblemXin Lin, Zhenya Huang, Hongke Zhao, Enhong Chen et al.AAAI 2021 · 70 citations
  4. RLogic: Recursive Logical Rule Learning from Knowledge GraphsKewei Cheng, Jiahao Liu, Wei Wang, Yizhou SunKDD 2022 · 57 citations
  5. Seeking Patterns, Not just Memorizing Procedures: Contrastive Learning for Solving Math Word ProblemsZhongli Li, Wenxuan Zhang, Chao Yan, Qingyu Zhou et al.ACL Findings 2022 · 55 citations

Related papers

  1. Learning by Applying: A General Framework for Mathematical Reasoning via Enhancing Explicit Knowledge LearningJiayu Liu, Zhenya Huang, ChengXiang Zhai, Qi LiuAAAI 2023 · 23 citations
  2. LogicSolver: Towards Interpretable Math Word Problem Solving with Logical Prompt-enhanced LearningZhicheng Yang, Jinghui Qin, Jiaqi Chen, Liang Lin et al.EMNLP Findings 2022 · 25 citations
  3. FormulaReasoning: A Dataset for Formula-Based Numerical ReasoningXiao Li, Bolin Zhu, Kaiwen Shi, Sichen Liu et al.ACL Findings 2026
  4. Continual Pre-training of Language Models for Math Problem Understanding with Syntax-Aware Memory NetworkZheng Gong, Kun Zhou, Wayne Xin Zhao, Jing Sha et al.ACL 2022
  5. RMath: A Logic Reasoning-Focused Datasets Toward Mathematical Multistep Reasoning TasksZiyi Hu, Jun Liu, Zhongzhi Liu, Yuzhong Liu et al.AAAI 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines