In a breakthrough for automated AI research, scientists have developed a system called AutoTTS that lets an AI agent discover more efficient reasoning algorithms on its own, outperforming human-designed methods while using far less computing power.
The approach, described in a paper by researchers from the University of Maryland, University of Virginia, Washington University in St. Louis, University of North Carolina, Google, and Meta, flips the traditional process: instead of humans writing rules for how an AI model should allocate its thinking time, they create a simulated environment where an AI agent can explore and discover better strategies autonomously.
“Many known methods are really just special cases in a shared control space defined by width (how many solution paths run at once) and depth (how far each one goes),” the authors note. “So why keep plotting paths through this space by hand instead of letting a machine search it?”
How AutoTTS Works
At the heart of AutoTTS is an offline simulation environment. For each task, the team pre-generates several solution paths from a language model and stores them. A control algorithm then decides how to allocate computing resources based on this pre-existing data, without needing to run the actual language model for every test. This allows thousands of variations to be tested cheaply.
The searching is performed by Claude Code, an AI coding agent. Over several rounds, the agent reviews previous attempts, identifies weaknesses, and writes new control algorithms directly in code. To prevent the search from getting lost in a myriad of tiny adjustments, each proposal is limited to one high-level controller that internally sets all other thresholds. Detailed logs from each run show the agent where earlier attempts wasted computation.
Performance Gains
On math benchmarks like AIME and HMMT, the algorithm discovered by the agent achieved better accuracy per unit of compute than established human-designed methods. The most efficient setting reduced token usage by about 70% compared to standard self-consistency (which generates 64 answers in parallel and picks the majority winner), while maintaining accuracy.
The discovered algorithm also transferred successfully to a different model (DeepSeek-R1-Distill-Llama-8B) and a non-math benchmark (GPQA-Diamond). The entire discovery process cost roughly $40 and took 160 minutes.
A Surprising Strategy
Perhaps most intriguing is the logic the AI agent developed. The algorithm tracks how the model’s confidence shifts over several rounds. If confidence barely changes, it opens more solution paths. If it climbs quickly, it skips new ones. Solution paths whose interim results align with the current majority get extra compute. The algorithm only drops divergent paths if they consistently head in the wrong direction over multiple rounds.
The authors describe this coordination as something that would have been nearly impossible to design by hand. “An ablation study shows how much depends on two design choices: drop the single high-level controller, and the agent falls back on extreme shortcuts that save tons of compute in testing but tank accuracy on new tasks. Without detailed logs, the discovered algorithm eats more compute at worse accuracy,” they write.
From Writing Algorithms to Building Search Spaces
The researchers position AutoTTS alongside other work like Google DeepMind’s FunSearch and AlphaEvolve, which use language models as program searchers. The novelty here is applying that idea to test-time scaling, an area previously dominated by hand-crafted rules.
The current version only handles the trade-off between width and depth, not more complex structures like tree searches. The quality of the discovered algorithm also depends on the coding agent—the authors don’t say whether open-source alternatives would work as well.
“The bigger takeaway is that the work shifts where humans come in: instead of inventing the rules themselves, researchers set up the search environment those rules live in. The actual strategy then emerges as code that a language model writes and refines,” the paper concludes.