Explore the research collection
7 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
ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
Replaced token detection: a small MLM generator fills 15% masks; the discriminator classifies every token as original vs replaced (MLE generator, not adversarial). Learns from all positions. ELECTRA-Small (14M, 4 days on 1 V100) GLUE 79.9 vs BERT-Small 75.1 and GPT 78.8. ELECTRA-Base 85.1 vs BERT-Base 82.2. ELECTRA-400K Large (335M, ~1/4 RoBERTa compute) GLUE 89.0 vs RoBERTa-500K 88.9; ELECTRA-1.75M 89.5 and SQuAD 2.0 test 88.7/91.4. ICLR 2020. Code https://github.com/google-research/electra.
- Paper
The Origin of Edge of Stability
Introduces the edge coupling A_η(x,y)=L(x)+L(y)-(1/(2η))||x-y||^2, a discrete generating function whose x-criticality is the GD update. Differencing consecutive edges yields a propagator with stability boundary 2/η; a second-order expansion telescopes so weighted curvature is forced toward 2/η. Mean-value localization transfers the forcing to the true Hessian eigenvalue on each step segment with no residual gap. Full criticality classifies fixed points and period-two orbits; a center reduction reduces branching to a quartic on the half-amplitude. For two-layer linear nets the transverse theory is width-invariant and period-doubling appears continuously for η>1/σ_1. No official code on the abs page.
- Paper
Decentralized Multi-Agent Systems with Shared Context
DeLM has parallel agents claim subtasks from a queue, read compact verified gists, and admit updates only after evidence checks, with hierarchical unfold (gist→summary→raw) for long sources. On SWE-bench Verified with Gemini 3 Flash: Avg.@1 65.7 / Pass@4 77.4 at $0.12/task vs AOrchestra-Parallel 56.4 / 71.8 at $0.25. Claude Opus 4.6 gains are smaller but still best. LongBench-v2 Multi-Doc QA: highest average across GPT-5.4, Claude Sonnet 4.6, Gemini 3 Flash, DeepSeek-V4-Pro (up to +5.7 pp). Hybrid DeLM+RLM is best on OOLONG and LongBench-v2. Code https://github.com/yuzhenmao/DeLM; project https://yuzhenmao.github.io/DeLM/.
- Paper
Matryoshka attribution: Learning to attribute language model outputs to representations and weights
MAttr learns a single nested attribution ordering over model internals by optimizing a differentiable sigmoid top-k soft interchange-intervention mask while sampling k across sparsities; it avoids a separately tuned sparsity penalty and supports nodes, edges, neurons, SAE features, and weight deltas. On the official private/secret MIB Circuit Localization leaderboard, the live entry “MAttr (edge, 5k steps)” averages 5.6 versus 1.95 for the runner-up (~2.9×), with per-cell values captured in the local dump; the paper reports this official score while its figures report public-test results. A GRPO parameter-level application finds that restoring 1% of Llama-3.1-8B-Instruct parameters (2% for 1B) to base removes refusals while retaining capabilities. Primary links: arXiv abs https://arxiv.org/abs/2609.25518; PDF https://arxiv.org/pdf/2609.25518; X post https://x.com/aryaman2020/status/2102800933659000846; code https://github.com/aryamanarora/matryoshka-attribution; parameter code https://github.com/aryamanarora/matryoshka-attribution-parameters; HF circuits https://huggingface.co/aryaman/mattr-mib-circuits; author https://aryaman.io/; MIB leaderboard https://mib-bench-leaderboard.hf.space/; MIB project https://mib-bench.github.io/.
- Paper
OctoTools: An Agentic Framework with Extensible Tools for Complex Reasoning
arXiv 2502.11271 (submitted 2025-02-16; revised through 2026-04-13). Stanford Zou-group OctoTools: standardized tool cards, high-/low-level planner, executor for command generation, and greedy task-specific toolset optimization. Evaluated on 16 benchmarks (MathVista, MMLU-Pro, MedQA, GAIA-Text, etc.); reports +9.3% avg vs GPT-4o zero-shot and up to +10.6% vs AutoGen/GPT-Functions/LangChain with the same tools. Code at github.com/octotools/octotools; site octotools.github.io. Discord MarkTechPost writeup resolved to this arXiv primary.
- Code
SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas
Fully automated pipeline: sample CNF, LLM-write story+variable mapping, translate clauses to conditions, then LLM+solver bidirectional-entailment checks plus human sample. 2100 puzzles (easy 4-19 / medium 20-30 / hard 31-50 clauses). Unlike FOLIO/P-FOLIO (inference rules) or ZebraLogic (assumes a solution exists), instances can be SAT or UNSAT. o4-mini 89.3% overall but only 65.0% on hard UNSAT (near 50% random). Failure modes: satisfiability bias, context inconsistency, condition omission. GitHub LICENSE field empty; README/HF card say Apache-2.0. EMNLP 2025 (pages 33820-33837).