r/AI_Loops • u/michaelTM_ai • 8d ago
A self-improving agent loop picked its best strategy at +4.3 points. On the untouched test set it was +0.7. Princeton/Meta's Strategist, broken down
Princeton and Meta posted Strategist (arXiv 2611.03618): an agent that writes, tests and keeps inference strategies (the code around a model call: chains, verifiers, voting, routing) for other models. The models stay frozen; only the strategy code evolves. Two numbers in it are useful for anyone building loops, and neither is the headline.
The loop
- Retrieve: search a shared library of past strategies ("blueprints"), each stored with a measurement card (accuracy, cost) and notes from earlier runs. It also returns a few blueprints from unrelated domains as "inspiration"
- Propose: 5 candidates per round, and every round must include at least one brand-new design, one that wraps an existing blueprint, and one straight reuse. Forced exploration, built in
- Evaluate: run each candidate on real samples; train and validation splits guide the search, a separate hidden split picks the winner, and a 200-sample test split is never touched until the end
- Accumulate: every candidate, winners and losers, goes back into the library as reusable structure, with its numbers and an analysis note. Task-specific prompts are stripped so the next task can reuse it
- Repeat for 10 rounds per task, then move to the next task with a bigger library
The strategist was GPT-6 Sol via Codex CLI. The executor models were small: Qwen3 0.6B, 1.7B and 4B.
Result: across 30 benchmarks, about the same accuracy as the strongest baseline (74.7% vs 74.0%) at 39% lower cost, winning on 24. Strategies found on Qwen3 then ran unchanged on GPT-5 and Gemini 2.5 and still beat baselines there.
Number 1: the library is most of the effect
Same loop, library turned off: 65.4% vs 78.7% on their 10-benchmark ablation set, a 13-point drop. Their note on why: without inspirations, the search "goes on to a narrow repetition". The loop alone just circles. The memory of what worked elsewhere is what moves it.
Number 2: selection is partly luck, and they measured it
The final pick was 4.3 points above baseline on the hidden split it was selected on, but only 0.7 points above on the untouched test split. That 3.6-point gap is the winner's curse: if you pick the best of many candidates on one set, that set flatters your pick. Their candidates didn't overfit during search (train and hidden stayed within 1.2 to 2.5 points), but the act of choosing did. Every table they report uses the test split, which is the honest move.
Where it breaks
- Lost or traded off on 6 of 30 benchmarks, including AIME and MedQA (accuracy for cost)
- Some wins cost a lot: on BoolQ, +16% accuracy at 31x the baseline's cost
- Small executors, small splits (up to 100 samples per dev split). Unclear how the gains hold for frontier models as executors, beyond the transfer test
- Search cost per task isn't in the headline. The 39% saving is inference cost after the search
The one thing to steal
Keep a fourth split nobody selects on. Most home-built loops tune on one set and report the best score on that same set, which bakes in exactly the 4.3 vs 0.7 gap above. If your loop picks a winner, your real number is on data the pick never saw.
Question: does anyone keep a strategy library across tasks in their own setup, or does every loop start from scratch?
2
u/a4mula 7d ago edited 7d ago
yes, from workflows of predefined agent roles, to temporal driven backstage set ansible playbooks, being supported by otel and Prometheus with an 8 layer index (registry, graph, vector, git, catalog, roadmap, telemetry, transcripts) supported by a custom lens tool that provides scoped and scaled slices of the index based on permissions. Everything as Code. A session start packet for an average Manager Class is about 20k including the system prompt (tools, skills, workflow), and lens data based on just their own scope, helpers are a fraction of that because they don't carry lens slices, they get that directly from the Manager. Don't forget to ensure that your helpers are returning bounded receipts instead of Prose. Prose is the enemy, .MD is the enemy, everything as code, including A2A between agents.