ORACLE:通过约束引导的合成数据激发方法优化大语言模型的推理能力
ORACLE: Optimizing Reasoning Abilities of Large Language Models via Constraint-Led Synthetic Data Elicitation
AI总结:
ORACLE通过结合生成式模型与符号监督,实现对多步骤推理数据的细粒度验证,提升大语言模型的推理能力,在六个基准测试中表现优异。
摘要:
训练大语言模型(LLMs)使用合成推理数据已成为增强其推理能力的流行方法,但该范式的效果关键取决于生成多步骤推理数据的质量。为生成高质量推理数据,许多近期方法生成合成推理路径并根据最终答案正确性过滤,通常忽视中间推理步骤中的缺陷。为增强中间推理步骤的验证,先前工作主要依赖代码执行或符号推理引擎。然而,基于代码的验证仅适用于代码或数学任务,而推理引擎需要结构良好且完整的上下文。因此,现有方法在自然语言推理任务中,尤其是涉及模糊或不完整上下文的任务中无法有效工作。在这些任务中,合成数据仍缺乏可靠的检查来验证每个推理步骤。为解决这一挑战,我们引入ORACLE,一种受三段论推理启发的结构化数据生成框架。ORACLE结合了LLM的生成优势与符号监督:LLM生成逐步推理上下文,而符号推理引擎验证每个中间步骤的有效性。通过使用统一的提示模板来激发模块化推理链,ORACLE实现了细粒度、步骤级的验证,促进高质量多步骤推理数据的构建。在六个逻辑、事实和常识推理基准测试中,我们的ORACLE在多个模型上一致优于强基线。
英文摘要:
Training large language models (LLMs) with synthetic reasoning data has become a popular approach to enhancing their reasoning capabilities, while a key factor influencing the effectiveness of this paradigm is the quality of the generated multi-step reasoning data. To generate high-quality reasoning data, many recent methods generate synthetic reasoning paths and filter them based on final answer correctness, often overlooking flaws in intermediate reasoning steps. To enhance the verification of intermediate reasoning steps, prior work primarily resorts to code execution or symbolic reasoning engines. However, code-based validation is restricted to code or mathematical tasks, and reasoning engines require a well-structured and complete context. As a result, existing methods fail to function effectively in natural language reasoning tasks that involve ambiguous or incomplete contexts. In these tasks, synthetic data still lack reliable checks for verifying each reasoning step. To address this challenge, we introduce ORACLE, a structured data generation framework inspired by syllogistic reasoning. ORACLE integrates the generative strengths of LLMs with symbolic supervision: the LLM produces step-wise reasoning contexts, while a symbolic reasoning engine verifies the validity of each intermediate step. By employing a unified prompting template to elicit modular reasoning chains, ORACLE enables fine-grained, step-level validation, facilitating the construction of high-quality multi-step reasoning data. Across six logical, factual, and commonsense reasoning benchmarks, our ORACLE consistently outperforms strong baselines on multiple models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。