SOPO:用于跨度级幻觉检测的苏格拉底引导策略优化
SOPO: Socratic Guided Policy Optimization for Span-Level Hallucination Detection
AI总结:
提出SOPO框架,通过苏格拉底反馈机制和回合优势缩放解决LLMs跨度级幻觉检测的问题,在RAGTruth等基准上取得优于现有模型的性能。
摘要:
大语言模型(LLMs)已在多种自然语言处理任务中得到广泛应用,但存在幻觉问题,即生成不忠实或不一致的内容。尽管带可验证奖励的强化学习(RLVR)在推理任务中展现出良好应用前景,但其在跨度级幻觉检测中的应用面临定位模糊、难例上奖励稀疏以及长度不受控膨胀的挑战。为解决这些问题,我们提出苏格拉底引导策略优化(SOPO),这是一种用于鲁棒幻觉检测的多回合强化学习框架。SOPO的核心创新是苏格拉底反馈机制,教师模型在推理过程中通过从真实值推断出的间接提示引导推理轨迹。这种教师引导方法使模型能为硬例生成更有效的推理轨迹,从而缓解奖励稀疏问题。此外,我们引入回合优势缩放以惩罚冗长偏差,鼓励模型发展高效且自主的推理能力。在RAGTruth上的实验结果表明,4B规模的SOPO达到了最先进的性能,超越了领先的专有模型(如GPT-5)和标准强化学习基线,在四个域外基准上的报告平均得分比GRPO更高,与CAPO的对比结果则喜忧参半。我们在该https链接发布了训练和评估代码,以及1.7B和4B规模的SOPO模型。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。