Research Article

Fine-Tuning Large Language Models Using Entity Hallucination Index for Text Summarization

DOI:

10.3791/68962

January 9th, 2026

In This Article

Summary

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

We propose a reinforcement-learning-based fine-tuning approach for large language models that uses the Enti Hallucination Index (EHI) as a reward signal to reduce entity-level hallucination in text summarization. Experiments on meeting transcripts show that this method improves entity faithfulness and accuracy.

Abstract

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Recent advancements in large language models (LLMs) have led to notable improvements in abstractive summarization quality. However, hallucination - especially entity-level hallucination where non-existent or incorrect entities are introduced - remains a critical challenge. In this work, we propose a reward-driven fine-tuning framework for summarization models using the Entity Hallucination Index (EHI) as a guiding metric. The methodology here begins with generating initial summaries from pre-trained models such as Flan-T5, DistilBART, and Mistral (or other popular LLM) on structured transcript datasets, XSUM. We compute EHI by extracting named entities from both generated summaries and gold references, evaluating precision, and penalizing fabricated entities. The fine-tuning process is guided by reinforcement learning, where EHI serves as the reward signal. We adopt a REINFORCE-style update mechanism to optimize the summarization model towards maximizing entity faithfulness. Experiments demonstrate that models fine-tuned with EHI achieve lower hallucination rates without compromising informativeness. Furthermore, we show that EHI-guided models generalize better on out-of-domain summarization tasks, suggesting enhanced robustness. The approach here offers a practical direction for improving factuality in summarization, emphasizing the critical role of accurate entity representation.

Introduction

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

Abstractive summarization models, powered by large language models (LLMs), have achieved impressive results across various domains. However, a persistent challenge remains hallucination, where generated summaries include incorrect or fabricated information not grounded in the source input1,2. In high-stakes applications such as meeting summarization, medical reporting, or financial documentation, hallucinations, particularly involving named entities, can significantly undermine trustworthiness and utility3.

Researchers conducted a large-scale....

Access restricted. Please log in or start a trial to view this content.

Protocol

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The objective of this study is to fine-tune a language model (LM) to generate summaries with reduced entity hallucination. Hallucinations occur when a model "confidently produces incorrect or irrelevant output" because it generates text according to statistical likelihood rather than factual verification. This is achieved by designing a reward function based on the Entity Hallucination Index (EHI) and applying reinforcement learning to maximize it.

Problem formulation
Given an input document Xi, the goal is to generate a summary Yi such that entities mentioned in Yi are grounded in X

Access restricted. Please log in or start a trial to view this content.

Results

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The experiments here focus on quantitative evidence for the impact that EHI-guided fine-tuning makes in reducing entity-level hallucinations across multiple model architectures and datasets. The results demonstrate consistent improvements in hallucination metrics while maintaining factual consistency and preserving question-answering capabilities.

Dataset performances
Dialogue dataset performance:
Table 5 presents the results for hallu.......

Access restricted. Please log in or start a trial to view this content.

Discussion

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

QA-based metrics (e.g., FEQA/QuestEval/QAFactEval) and NLI-based metrics (e.g., FactCC/SummaC) require auxiliary QA/entailment components and often provide sentence-level judgments. In contrast, EHI is a lightweight, reference-free, entity-level score that (i) directly targets the primary failure mode we observe -- entity hallucination; (ii) is model-agnostic and fast to compute; and (iii) serves as a dense reward for RL fine-tuning. Empirically, EHI complements QA/NLI metrics by pinpointing which entities drive factuali.......

Access restricted. Please log in or start a trial to view this content.

Disclosures

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,

The authors have nothing to disclose.

Materials

List of materials used in this article
NameCompanyCatalog NumberComments
Colab NVIDIA A100 GPUNVIDIAN/AGoogle Colaboratory Pro
DistilBART (Encoder–Decoder)Hugging Facehttps://huggingface.co/sshleifer/distilbart-cnn-12-6
dslim/bert-base-NERHugging Face (dslim)https://huggingface.co/dslim/bert-base-NERFine-tuned BERT base for English NER
Evaluation Models  QAGS (QA-based)Salesforce ResearchN/AFactuality classifier
Evaluation Models (Factuality) FactCCGoogle ResearchN/AFactuality classifier
Flan-T5 (Encoder–Decoder)Googlehttps://huggingface.co/docs/transformers/main/en/model_doc/flan-t5open-source, text-to-text, large language model
Hugging Face TransformersHugging Face, Inc.https://huggingface.co/docs/transformers/indexModel loading & fine-tuning
Nous-Hermes-2-Mistral-7B-DPOMistralhttps://huggingface.co/NousResearch/Nous-Hermes-2-Mistral-7B-DPO7 billion parameter Language model
Programming Language
Python 3.10 (Colab runtime)
Python Software FoundationVersion 3.10Core implementation
StreamlitOpen Source https://streamlit.io/Factuality classifier
XLSUM datasetBUEThttps://github.com/csebuetnlp/xl-sum
XSUM datasetUniversity of Edinburghhttps://github.com/EdinburghNLP/XSum

References

Loading...
$$\rightleftharpoonup{xx}$$ $$\longleftharp{xx}$$, $$\longrightharp{xx}$$,
  1. Maynez, J., Narayan, S., Bohnet, B., McDonald, R. On faithfulness and factuality in abstractive summarization. Proc Annu Meet Assoc Comput Linguist. 2020, 173-173 (2020).
  2. FEQA: A question answering evaluation framework for faithfulness assessment in abstractive summarization. Durmus, E., He, H., Diab, M. Proc Conf Empir Methods Nat Lang Process, , 454-454 (2020).
  3. A short summary of automatic summarization.

Access restricted. Please log in or start a trial to view this content.

Reprints and Permissions

Request permission to reuse the text or figures of this JoVE article

Request Permission

Tags

Large Language ModelsEntity HallucinationText SummarizationEntity Hallucination IndexAbstractive SummarizationReinforcement LearningNamed Entity ExtractionModel Fine TuningSummarization RobustnessFactuality Improvement
Video Coming Soon

Related Articles