Enhancing Mathematical Reasoning in LLMs with Background Operators
On the map: LLM reasoning → Mathematical reasoning
Abstract (arXiv)
We propose utilizing background operators for mathematical reasoning in large language models (LLMs). To achieve this, we define a set of fundamental mathematical predicates as the basic building blocks. For each mathematical problem, we develop a Prolog solution that includes problem-specific predicates and intermediate predicates derived from these background operators, ensuring that each solution adheres to the defined operator set. We introduce the MATH-Prolog corpus, which is derived from the counting and probability categories of the MATH corpus. For efficient data augmentation, we apply K-fold cross-validated self-training. This method incrementally generates new Prolog solutions for each fold, incorporating those verified as correct into the training set throughout the model training process. Our experimental results demonstrate that 5-fold crossvalidated self-training effectively identifies new, accurate Prolog solutions, achieving an accuracy of 84.6% on the cross-validated set, and 84.8% on the test set during fine-tuning the Meta-Llama-3.1-8B-Instruct model. This approach successfully uncovers new solutions with fully computable inference steps for previously unseen problems. Additionally, incorporating the background mathematical predicates into the prompt enhances solution coverage.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 14 of its 30 references that are in the map. First posted on arXiv 5 Dec 2024.
Builds on
14 of 30 references.
Closest ancestors · 3
Same direction, newest first
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models5 Feb
- 2023ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving29 Sep
- 2022Lila: A Unified Benchmark for Mathematical Reasoning31 Oct
Other references · 11
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
- 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 995
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2022Large Language Models Can Self-Improvecited by 656
- 2022PAL: Program-aided Language Modelscited by 635
- 2024Reliable Reasoning Beyond Natural Languagecited by 14
- 2024Thought-Like-Pro: Enhancing Reasoning of Large Language Models through Self-Driven Prolog-based Chain-of-Thoughtcited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024MindStar: Enhancing Math Reasoning in Pre-trained LLMs at Inference Time
- 2026Mathematical Reasoning in Large Language Models: Benchmarks, Architectures, Evaluation, and Open Challenges
- 2024LLM Reasoning Engine: Specialized Training for Enhanced Mathematical Reasoning
- 2024Arithmetic Reasoning with LLM: Prolog Generation & Permutation
- 2025A Survey on Large Language Models for Mathematical Reasoning
- 2024Benchmarking Large Language Models for Math Reasoning Tasks
- 2025Evaluating Mathematical Reasoning Across Large Language Models: A Fine-Grained Approach
- 2025Do LLMs Overthink Basic Math Reasoning? Benchmarking the Accuracy-Efficiency Tradeoff in Language Models