paper-with-me

Papers

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

2023-11-13 · Vernon Toh Yan Han, Ratish Puduppully, Nancy F. Chen

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.

📄 PDF Abstract BibTeX arXiv:2311.07172

Code (1)

vernontoh/veritymath 공식 구현 pytorch

Tasks

MathMathematical ReasoningMath Word Problem Solving

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Adam 설명 없음
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Position-Wise Feed-Forward Layer 설명 없음

Similar Papers 제목 키워드 기반

Beyond Words: A Mathematical Framework for Interpreting Large Language Models

2023-11-06 · Javier González, Aditya V. Nori

Large language models (LLMs) are powerful AI tools that can generate and comprehend natural language text and other complex information. However, the field lacks a mathematical framework to systematically describe, compa…

Forward-Backward Reasoning in Large Language Models for Mathematical Verification

2023-08-15 · Weisen Jiang, Han Shi, Longhui Yu, Zhengying Liu 외

Self-Consistency samples diverse reasoning chains with answers and chooses the final answer by majority voting. It is based on forward reasoning and cannot further improve performance by sampling more reasoning chains wh…

Mathematical Reasoning

Scaling Generative Verifiers For Natural Language Mathematical Proof Verification And Selection

2025-11-17 · Sadegh Mahdavi, Branislav Kisacanin, Shubham Toshniwal, Wei Du 외 arxiv

Large language models have achieved remarkable success on final-answer mathematical problems, largely due to the ease of applying reinforcement learning with verifiable rewards. However, the reasoning underlying these so…

Reinforcement Learning

DeepSeekMath-V2: Towards Self-Verifiable Mathematical Reasoning

2025-11-27 · Zhihong Shao, Yuxiang Luo, Chengda Lu, Z. Z. Ren 외 arxiv

Large language models have made significant progress in mathematical reasoning, which serves as an important testbed for AI and could impact scientific research if further advanced. By scaling reasoning with reinforcemen…

Reinforcement LearningMathematical Reasoning

FABSVer: Faster Training and Better Self-Verification for LLM Mathematical Reasoning

2026-05-27 · Haihui Pan, Junwei Bao, Hongfei Jiang, Yang Song arxiv

While large language models have made significant progress in mathematical reasoning, they remain unreliable at judging the correctness of their own solutions. Existing approaches that equip models with self-verification…

Mathematical Reasoning