Hallucination Self-Play: Bootstrapping Reinforced Detector via Evolved Generator

Shiping Yang, Shining Liang, Weihao Liu, Wenbiao Ding, Linjun Shou +2 more
7/8/2026
cs.CLcs.LG
rlrlhf-rlvr-dpo

Official code: maybenotime/Hallucination_Self-Play (1 star, Python, last commit 2026-03-31).

Abstract

Identifying faithfulness hallucinations in LLM-generated outputs remains challenging due to the scarcity of high-quality annotated data. Recent work relies on advanced LLMs to synthesize training data, including rationales, labels, and hallucinated claims.

Show full abstract

However, these methods treat the generator as a static component, limiting iterative improvement of the detector. To address this limitation, we introduce Hallucination Self-Play (HSP), a novel framework that enables the detector to bootstrap with an evolved generator. HSP involves two roles initialized from the same base model, a detector that assesses the faithfulness of model outputs, and a generator that produces increasingly hard-to-detect hallucinated responses. Specifically, the detector is first fine-tuned on human-labeled data and then employed as a reward model to train the generator via reinforcement learning from AI feedback (RLAIF). In turn, the evolved generator synthesizes hallucination data to further optimize the detector through rule-based reinforcement learning. Experiments on RAGTruth and LLM-AggreFact across three model families demonstrate that the proposed framework can progressively enhance a small LLM to match or even outperform advanced LLMs without external supervision. Our code is available at https://github.com/maybenotime/Hallucination_Self-Play.

View on arXivView PDF

Code Implementations(1)

10Python, ShellJun 9, 20258 months ago

Similar Papers

Cite this paper

@article{yang2026hallucination,
  title  = {Hallucination Self-Play: Bootstrapping Reinforced Detector via Evolved Generator},
  author = {Shiping Yang and Shining Liang and Weihao Liu and Wenbiao Ding and Linjun Shou and Lu Cheng and Angel X. Chang},
  year   = {2026},
  eprint = {2607.07993},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.07993v2}
}

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/2607.07993.svg)](https://codeofpaper.com/paper/2607.07993)

Discussion