SOPO: Socratic Guided Policy Optimization for Span-Level Hallucination Detection
Abstract
Large Language Models (LLMs) have gained widespread adoption in various natural language processing tasks, but suffer from hallucination issues where they generate unfaithful or inconsistent content. While Reinforcement Learning with Verifiable Rewards (RLVR) has shown promising applications in reasoning tasks, its application to span-level hallucination detection is challenged by localization ambiguity, reward sparsity on hard examples, and uncontrolled length inflation. To address these issues, we introduce Socratic Guided Policy Optimization (SOPO), a multi-turn RL framework for robust hallucination detection. The key innovation of SOPO is a Socratic feedback mechanism, where a teacher model guides the reasoning trajectories during rollout by providing indirect hints inferred from the ground truth. This teacher-guided approach enables the model to generate more effective reasoning trajectories for hard examples, thus alleviating reward sparsity. Furthermore, we incorporate Turn-based Advantage Scaling to penalize verbosity bias, encouraging the model to develop efficient and autonomous reasoning capabilities. Empirical results on RAGTruth demonstrate that SOPO (4B) achieves state-of-the-art performance, surpassing leading proprietary models (e.g., GPT-5) and standard RL baselines, while obtaining higher reported mean scores than GRPO on four out-of-domain benchmarks, with mixed evidence against CAPO. We release our training and evaluation code alongside the 1.7B and 4B SOPO models at https://github.com/patsnap/SOPO.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
- Comments
- 24 pages, 11 figures
Related papers
ReflectPO: Reflection-Guided Policy Optimization for Long-Horizon LLM Agents
Shared title terminologycs.CLRumei Li, Xunliang Cai
Mycelium: A Meta-Study of Hallucination Detection Across Provenance, Typology, and Granularities
Shared title terminologycs.CLJulia Belikova, Elisei Rykov
Pseudo-Labels as Rewards, Not Targets: Group-Relative Policy Optimization for Semi-Supervised ASR
Shared title terminologycs.CLShashi Kumar, Yanis Labrak, Sergio Burdisso et al.
ModernELECTRA: Replaced-Token Detection with Boundary-Window Reconstruction for Compact Encoders that Classify and Embed
Shared title terminologycs.CLMykhailo Shtopko, Ihor Stepanov, Dmytro Vodianytskyi et al.
DKnown-Jev-2: Article-Level Answer-Evidence Classification and Efficient Inference with a Pre-trained Language Model
Shared title terminologycs.CLQi Li, Jianjun Xu, Jiu Li et al.
Hard to Translate, Harder to Detect: Human Analysis Remains Essential in AI Meme Translation
Shared title terminologycs.CLOlga Zamaraeva, Carla Martínez, Carlos Gómez-Rodríguez