Explore the research collection
3 entries · Follow this search
- Paper
Training Language Models to Fail Gracefully
RL makes LMs better at tasks, but success-only rewards make guessing rational — when wrong actions corrupt databases or ship broken code, that's costly. This paper trains models to fail gracefully: preserve successful behavior where possible, execute a safe fallback where acting would be unreliable. Rewarding Success > Fallback > Error (1/c/0) with standard policy gradients is brittle: the gradient vanishes near saturated policies (‖∇J_PG‖ = O(1−p_o) as p_o→1), so policies collapse to always-fallback (or never-fallback) — shown empirically with GRPO/RLOO on SafeMaze (100% fallback within a few steps at c=0.4; collapse for every tested c≥0.3). GracefulRL reshapes the landscape with a surrogate objective J = (1−c)·log p_S + c·log(1−p_E): log-barriers at the outcome-simplex edges p_E→1 and p_S→0 keep the gradient non-vanishing (Θ(1)) near suboptimal saturation. The objective coincides with TailRL specialized to the ternary reward; the paper's contribution is the log-barrier reinterpretation plus ε-smoothing of inverse-frequency weights for variance control. Experiments: (1) SafeMaze (navigation; 4M-param ResNet policy) — GracefulRL Pareto-dominates online reward tuning and Delightful PG across 3 seeds; (2) math abstention on Qwen3-1.7B/4B-Base (DAPO-Math-17K, conditioned on five caution levels c∈{0,...,0.8} via prompt suffixes; eval MATH500, AIME 2024–2026, AMC 2022–2024, JEEBench) — Pareto-dominates RLCR+Thresholding at both sizes; on AIME the error rate falls 79.1%→8.9% (88.8% relative) while sacrificing only ~3.1pp success; models verbalize uncertainty in CoT with no fallback annotations; OOD transfer to AbstentionBench (F1 0.677 at c=0.8 vs 0.590 for Qwen3-4B-Instruct); (3) multi-turn Minesweeper (Qwen3-4B-Instruct, irreversible actions) — c=0.5 raises success 67.4%→77.4% and cuts errors 17.0%→6.0% (RLOO collapses to all-fallback); learning to fail gracefully improved success, hypothesized as reward-shaping toward safer states. Author-stated limitations: online RL only (off-policy unstudied), no coding-agent/long-horizon experiments, fallback specification is domain-dependent. Blog: zanette-labs.github.io/failing-gracefully/ (training code and checkpoints linked, exact URLs unverified).
- Paper
[schema]: Frontier Models with the Right Harness Achieve ~99% on ARC-AGI-3 Public
Schema harness (not weight changes) for ARC-AGI-3: observe→deliberate→execute→record with an append-only timeline. Deliberation writes step(state,action), run_backtest over all recorded transitions, run_bfs inside the certified program, commit_actions only. Self-reported Public-set RHAE 98.98% with Opus 4.8+Fable 5 fallback (vs 42.83% same pairing in Claude Code) and 95.35% with GPT-5.6 Sol xhigh/max fallback. Official Sol max was 13.33% Public / 7.78% Semi-private — not a matched harness ablation. Scores unverified by ARC Prize. 50 released trajectories (25+25). Residual: Claude 19/25 games at 100 RHAE, six remaining 89.87–99.10; Sol 20/25 at 100.
- Paper
DiPOD: Diffusion Policy Optimization without Drifting Apart
Diagnoses double drift: RL loosens ELBO from log-likelihood, then FPO/SPG proxy gradients drift from ∇log π. DiPOD interleaves on-policy ELBO self-distillation with adequate policy-gradient steps; the practical form adds a β∇ELBO regularizer to each update (β=0.05 on language). On LLaDA-8B-Instruct zero-shot, SPG+DiPOD reports GSM8K 84.91, MATH500 40.00, Countdown 80.08, Sudoku 97.56 (Sudoku +72.44 vs SPG; authors say first to saturate Sudoku zero-shot). FPO+DiPOD also lifts FPO, especially Countdown/Sudoku. A motion-tracking instantiation on Unitree G1/LAFAN improves FPO++ reward and episode length. Code https://github.com/Astro-Eric/DiPOD-release.