FG-PRM: Fine-grained Hallucination Detection and Mitigation in Language Model Mathematical Reasoning

Ruosen Li, Ziming Luo, Xinya Du
10/8/2024
cs.CL

No official code found. Best implementation: du-nlp-lab/FG-PRM (0 stars, MIT, last commit 2025-09-18).

Abstract

Hallucinations in large language models (LLMs) pose significant challenges in tasks requiring complex multi-step reasoning, such as mathematical problem-solving. Existing approaches primarily detect the presence of hallucinations but lack a nuanced understanding of their types and manifestations. In this paper, we first introduce a comprehensive taxonomy that categorizes the common hallucinations in mathematical reasoning tasks into six types. We then propose FG-PRM (Fine-Grained Process Reward Model), an augmented model designed to detect and mitigate hallucinations in a fine-grained, step-level manner. To address the limitations of manually labeling training data, we propose an automated method for generating fine-grained hallucination data using LLMs. Our FG-PRM demonstrates superior performance across two key tasks: 1) Fine-grained hallucination detection: classifying hallucination types for each reasoning step; and 2) Verification: ranking multiple LLM-generated outputs to select the most accurate solution. Our experiments show that FG-PRM excels in fine-grained hallucination detection and substantially boosts the performance of LLMs on GSM8K and MATH benchmarks. These results highlight the benefits of fine-grained supervision in enhancing the reliability and interpretability of LLM reasoning processes.

View on arXivView PDF

Code Implementations(1)

du-nlp-lab/FG-PRMCommunity71%
MIT

Repo of paper "Fine-grained Hallucination Mitigation and Detection in Language Model Reasoning"

00Shell, PythonSep 17, 20241 years agoMIT

Similar Papers

Cite this paper

@article{li2024fgprm,
  title  = {FG-PRM: Fine-grained Hallucination Detection and Mitigation in Language Model Mathematical Reasoning},
  author = {Ruosen Li and Ziming Luo and Xinya Du},
  year   = {2024},
  eprint = {2410.06304},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.06304v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.06304.svg)](https://codeofpaper.com/paper/2410.06304)

Discussion