mlsanityData to 7 Oct 2026

VerityMath: Advancing Mathematical Reasoning by Self-Verification Through Unit Consistency

arXiv 2311.07172 ↗First posted 13 Nov 2023cs.CL cs.PLcited by 6

On the map: LLM reasoning → Mathematical reasoning

Abstract (arXiv)

Large Language Models (LLMs), combined with program-based solving techniques, are increasingly demonstrating proficiency in mathematical reasoning. For example, closed-source models such as OpenAI GPT-4 and Claude show excellent results in solving math word problems. However, progress in math word problem-solving for open-source LLMs is limited, and the challenges these models face are not well-studied. In this paper, we study the performance of strong open-source LLMs, including Llama 2 (7B), Code Llama (7B), and Mistral (7B) on math word problems using program-based solving techniques. Specifically, we analyze the outputs of these models when applied to math word problems and identify a category of problems that pose a significant challenge, particularly those involving quantities spanning multiple units. To address this issue, we propose a systematic approach by defining the units for each quantity and ensuring the consistency of these units during mathematical operations. We developed Unit Consistency Programs (UCPs), an annotated dataset of math word problems, each paired with programs containing unit specifications and unit verification routines. We fine-tuned Llama 2 (7B), Code Llama (7B), and Mistral (7B) models with UCPs to produce theirVerityMath variants. Our findings indicate that our approach, which incorporates unit consistency, currently slightly underperforms compared to an approach that does not. To understand the reasons behind this, we conduct an in-depth error analysis and suggest options for future improvements. Our code and dataset are available at https://github.com/vernontoh/VerityMath.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Mathematical reasoning, one of 17 directions in LLM reasoning. Builds on 2 of its 33 references that are in the map. First posted on arXiv 13 Nov 2023.

Builds on

2 of 33 references.

References · 2

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  2. 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 3; 2025: 2.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Large Language Models Struggle with Unreasonability in Math Problems
  2. 2025ReliableMath: Benchmark of Reliable Mathematical Reasoning on Large Language Models
  3. 2025Large Language Models and Mathematical Reasoning Failures
  4. 2024Not All Votes Count! Programs as Verifiers Improve Self-Consistency of Language Models for Math Reasoning
  5. 2025Do LLMs Overthink Basic Math Reasoning? Benchmarking the Accuracy-Efficiency Tradeoff in Language Models
  6. 2023Reasoning in Large Language Models Through Symbolic Math Word Problems
  7. 2024Exposing the Achilles' Heel: Evaluating LLMs Ability to Handle Mistakes in Mathematical Reasoning
  8. 2026Mathematical Reasoning in Large Language Models: Benchmarks, Architectures, Evaluation, and Open Challenges