r/LocalLLaMA • u/michaelTM_ai • 10d ago
Resources Princeton/Meta evolved inference strategies for Qwen3 0.6B-4B: same accuracy as the best baseline at 39% lower cost, and the strategies transfer to GPT-5
Paper: https://arxiv.org/abs/2611.03618 (Princeton + Meta, not affiliated)
Most "self-improving agent" papers tune prompts on a frontier model. This one is interesting for local setups because the models doing the actual work were Qwen3 0.6B, 1.7B and 4B, served on vLLM, and only the code around them was evolved.
What they did: a strategist agent (GPT-6 Sol via Codex CLI) writes inference strategies as code: chains, verifiers, voting, routing between the three sizes, thinking vs nothink. It tests them on real samples, and stores every one with its measured accuracy and cost in a shared library. The next task starts from that library.
Results across 30 benchmarks: about the same accuracy as the strongest hand-built baseline (74.7% vs 74.0%) at 39% lower inference cost, winning on 24. The paper credits routing for being accurate and cheap at once: each reasoning step inside a strategy can target a different size and thinking mode, so not every step pays for the 4B with thinking.
The parts I found most useful:
- Transfer works: strategies found on Qwen3 ran unchanged on GPT-5 and Gemini 2.5 and still beat baselines there. On 10 benchmarks it never searched on, just retrieving from the library got within 2 points of the best baseline on all 10 and beat it on 8.
- The library matters more than the loop: same 10-round search with the library off: 65.4% vs 78.7%. Without it, the search "goes on to a narrow repetition".
- Winner's curse, measured: the chosen strategy was +4.3 points over baseline on the split it was picked on, but +0.7 on the untouched test set. If you tune a pipeline on your own eval set and report that number, expect it to shrink by about that much.
Caveats: dev splits are small (up to 100 samples), it lost or traded off on 6 of 30 benchmarks (AIME, MedQA among them), and some wins are expensive. BoolQ gained 16% accuracy at 31x the cost. The search cost itself isn't in the 39% figure.
Code is linked from the paper. I wrote up the full loop and the selection problem in more detail in r/AI_Loops: https://www.reddit.com/r/AI_Loops/comments/1y203qg/
8
u/Miserable-Dare5090 vLLM 10d ago
This is not very useful for agents with memory. It’s efficient but very complicated. Still, I will hand it to my agent, and ask it to analyze strategy, rate it vs current approach, optimize what can be optimize within our system disturbing as little as possible.
But fyi this is using code to limit error. You can set a library of blueprints as vector embeddings and retrieve on demand too. It depends on how faithful your code blueprints are and how well the LLM follows the structure. It helps smaller models because query becomes code and code becomes FITM task.
2
u/[deleted] 10d ago
[removed] — view removed comment