REPOT:通过检查点修复实现可恢复的思维程序
REPOT: Recoverable Program-of-Thought via Checkpoint Repair
AI总结:
提出 RePoT 方法,通过确定性验证重放和 LLM 调用从验证前缀恢复,以解决 Program-of-Thought 中单个无效动作导致轨迹失效的问题,在多个模型和基准上提升成功率。
摘要:
单次 Program-of-Thought (PoT) 生成一个打印基本动作计划的 Python 程序;单个无效动作会无声地使轨迹失效。我们引入 RePoT (可恢复 PoT):一种确定性验证重放,它将计划遍历环境直到第一个无效转换,然后通过一次 LLM 调用从验证前缀恢复。在 PoT 失败的约 14% 的问题上,RePoT 最多增加一次 LLM 调用。在 PuzzleZoo-775 上,RePoT 在四种闭模型配置上比 PoT 提高 +3 到 +11 个百分点,在 gpt-5.4-mini-medium 上达到 96.9% 对比 86.3% 的峰值;与预算匹配的 PoT-retry 基线相比,RePoT 在 Gemini 上明显获胜(+3.8pp,95% CI [+2.2,+5.4]),在 GPT-medium 和 Claude 上处于采样噪声范围内,在 GPT-mini 上失败——这是一种能力扩展模式,我们开始通过自适应 RePoT 解决,这是一种基于规则的调度器,根据验证前缀长度在后缀修复和全新 PoT 重试之间路由(初步)。我们在 PlanBench Blocksworld 上复现(+1.1 到 +11.4pp),在四个开放权重模型上(四个中的三个 +3.3 到 +20.0pp)。在 Derail-550(我们的受控恢复基准)上,每个能够访问检查点信息的条件在 GPT-medium 上达到 >=30%,在 Gemini 上达到 >=70%,而仅错误反馈条件 <=3.1%——表明检查点信息(而非特定的验证前缀尾部)是承载恢复的信号。
英文摘要:
One-shot Program-of-Thought (PoT) emits a Python program that prints a primitive-action plan; a single invalid action silently invalidates the trajectory. We introduce RePoT (Recoverable PoT): a deterministic verified replay that walks the plan through the environment to its first invalid transition, then one LLM call that resumes from the verified prefix. RePoT costs at most one extra LLM call on the ~14% of problems where PoT fails. RePoT beats PoT by +3 to +11pp across four closed-model configurations on PuzzleZoo-775 and peaks at 96.9% vs 86.3% on gpt-5.4-mini-medium; against the matched-budget PoT-retry baseline, RePoT wins decisively on Gemini (+3.8pp, 95% CI [+2.2,+5.4]), is within sampling noise on GPT-medium and Claude, and loses on GPT-mini -- a capability-scaling pattern we begin to address with Adaptive RePoT, a rule-based dispatcher that routes between suffix repair and a fresh PoT retry based on verified-prefix length (preliminary). We replicate on PlanBench Blocksworld (+1.1 to +11.4pp) and on four open-weights models (+3.3 to +20.0pp on three of four). On Derail-550, our controlled recovery benchmark, every condition with access to checkpoint information clears >=30% on GPT-medium and >=70% on Gemini, vs <=3.1% for error-only feedback -- showing that checkpoint information, not the specific verified-prefix tail, is the load-bearing recovery signal.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。