PILOT:通过内部化潜在优化轨迹进行大语言模型的规划
PILOT: Planning via Internalized Latent Optimization Trajectories for Large Language Models
AI总结:
PILOT通过内部化潜在优化轨迹,帮助大语言模型克服长周期任务中的推理不稳定问题,实验显示其在数学和编码基准测试中性能优于基线模型。
摘要:
战略规划对于多步骤推理至关重要,但紧凑的大语言模型(LLMs)往往缺乏制定全局策略的能力,导致长周期任务中出现错误传播。我们的分析表明,LLMs具备潜在的推理能力,当受到教师模型显式计划的条件时可以解锁;然而,运行时依赖外部指导往往不切实际,因为存在延迟和可用性限制。为此,我们提出了PILOT(通过内部化潜在优化轨迹进行规划),这是一种非侵入性的框架,旨在将大模型的战略监督内化为内在的潜在指导。与改变基础权重不同,PILOT使用轻量级的超网络来合成一个查询条件的潜在指导向量。该向量作为内部的引导机制,引导模型的表示向最优推理路径发展。在数学和编码基准测试中的广泛实验表明,PILOT有效稳定了推理轨迹,一致地优于强基线模型(例如,在MATH500上表现提升8.9%),且推理延迟极低。
英文摘要:
Strategic planning is critical for multi-step reasoning, yet compact Large Language Models (LLMs) often lack the capacity to formulate global strategies, leading to error propagation in long-horizon tasks. Our analysis reveals that LLMs possess latent reasoning capabilities that can be unlocked when conditioned on explicit plans from a teacher model; however, runtime reliance on external guidance is often impractical due to latency and availability constraints. To bridge this gap, we propose PILOT (Planning via Internalized Latent Optimization Trajectories), a non-invasive framework designed to internalize the strategic oversight of large models into intrinsic Latent Guidance. Instead of altering backbone weights, PILOT employs a lightweight Hyper-Network to synthesize a query-conditioned Latent Guidance vector. This vector acts as an internal steering mechanism, guiding the model's representations toward optimal reasoning paths. Extensive experiments on mathematical and coding benchmarks demonstrate that PILOT effectively stabilizes reasoning trajectories, consistently outperforming strong baselines (e.g., +8.9% on MATH500) with negligible inference latency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。