Explore the research collection
2 entries · Follow this search
- Paper
Sentry: Learning to Recover from LLM Agent Failures at Test Time
Test-time framework for recovering LLM agents from failures, from Stanford's ACE (Agentic Context Engineering) team. Core finding: failure knowledge is conditional — how it reaches the agent matters as much as what it contains. Failure lessons kept in context misfire when their failure is absent: ACE-style memory that keeps past failure lessons in context for every task distracts the agent (e.g., on WebShop the agent found the right product then kept comparing alternatives and never acted); simply removing failure lessons improves ACE by +17% on WebShop and +14% on Mind2Web Replay. Conversely, runtime-intervention methods (AgentGuard) act only on failure but learn nothing — fixed rules can fire at the wrong time (a 'no progress' warning made the agent abandon correctly picked product options). Sentry combines both: it learns from experience like ACE, but keeps failure knowledge in a separate playbook outside the agent's main context; a failure detector watches for failures, retrieves failure-specific guidance (hard repair for invalid actions, soft repair with hints), and a verifier checks recovery without access to task rewards — the playbook is updated only if recovery succeeded. Results on WebShop, AppWorld, SWE-bench Lite, Mind2Web Replay: +37% over the best runtime-intervention baseline on average (up to +77% on WebShop), +39% over ACE; ACE+Sentry combined performs best overall, with task-level and failure-level learning as complementary. Learned lessons transfer to held-out tasks; controlled experiments confirm exposing the full playbook hurts even when relevant lessons remain available on demand. CC BY 4.0 license. Directly relevant to the user's agent app (memory design: storing knowledge is easy, deciding when the agent sees it is what matters) and to Launch Helm's intervention/control angle.
- Paper
Frontier LLMs Still Struggle with Simple Reasoning Tasks
DeepMind/Princeton (cite Malek et al.; arXiv 2507.07313). Procedurally generated tasks with tunable tediousness (word/char counting, FOL eval/negation, MathGAP-style proof trees, travel planning) keep the same difficulty while increasing computation; even o1/o3/Gemini 2.5 Pro/R1 degrade as parameters grow (error accumulation, long context, statistical shortcuts, poor state tracking, OOD vocab, copy/tokenization). Unpuzzles: 97 famous puzzles plus minimally edited trivial unpuzzles; models score far higher on hard originals than on easy unpuzzles (gaps 9–54 pp) via memorized solutions and "reasoning delirium." Context-shifted unpuzzles (64 numerical items) restore accuracy, isolating wording/memorization. Complements GSM-Symbolic-style perturbations by decreasing difficulty rather than increasing it.