REPOT: Recoverable Program-of-Thought via Checkpoint Repair

Hugging Face Daily Papers Papers

Summary

RePoT improves Program-of-Thought by enabling deterministic recovery from invalid actions through checkpoint-based repair, achieving higher success rates across multiple models and benchmarks.

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.
Original Article
View Cached Full Text

Cached at: 05/29/26, 03:02 PM

Paper page - REPOT: Recoverable Program-of-Thought via Checkpoint Repair

Source: https://huggingface.co/papers/2605.30052

Abstract

RePoT improves upon one-shot Program-of-Thought by enabling deterministic verified replay and recovery through environment interaction, achieving higher success rates across multiple models and benchmarks.

One-shotProgram-of-Thought(PoT) emits a Python program that prints a primitive-action plan; a single invalid action silently invalidates the trajectory. We introduceRePoT(Recoverable PoT): a deterministicverified replaythat walks the plan through the environment to its first invalid transition, then oneLLM callthat resumes from the verified prefix.RePoTcosts at most one extraLLM callon the ~14% of problems where PoT fails.RePoTbeats 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,RePoTwins 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 AdaptiveRePoT, 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 tocheckpoint informationclears >=30% on GPT-medium and >=70% on Gemini, vs <=3.1% forerror-only feedback-- showing thatcheckpoint information, not the specific verified-prefix tail, is the load-bearing recovery signal.

View arXiv pageView PDFProject pageGitHub0Add to collection

Get this paper in your agent:

hf papers read 2605\.30052

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2605.30052 in a model README.md to link it from this page.

Datasets citing this paper1

#### parsa-mz/puzzlezoo Viewer• Updatedabout 11 hours ago • 1.7k • 3

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2605.30052 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

Lost in Recovery: Demystifying Recovery Behavior of Computer-Use Agents via Goal-Oriented Action Replay

Hugging Face Daily Papers

ReTrace is a scalable evaluation framework for systematically studying recovery behavior in computer-use agents, formalizing Transition-Consistent Recovery via goal-oriented action replay after controlled error injection. The study finds that ideal recovery unlocks latent task completion capabilities, current agents fail to exploit their recovery potential, and accurate model-based recovery yields measurable end-to-end gains.

Durable execution without history replay

Hacker News Top

The article introduces Transparent Continuation Checkpointing (TCC), a novel approach for durable execution that checkpoints program continuations to improve recovery latency compared to traditional history replay methods, based on prototype evaluations.