Evolving in Thought Space: Training a Small Model at Test Time Unlocks Better Discoveries
Chonghe Jiang, Ao Qu, Siyuan Liu, Ruoyun Ma, Zijian Zhou, Dingyi Zhuang, Bo Liu, Han Zheng, Hanfei Yu, Baichuan Mo, Jinhua Zhao, Paul Pu Liang
Abstract
Open-ended scientific discovery often requires repeatedly proposing and evaluating candidate solutions. LLM-based systems can support this process by generating and refining executable solutions from verifier feedback. Methods such as TTT-Discover use test-time training (TTT) to update the solution-generating LLM from verifier feedback, adapting its generation policy to improve subsequent proposals on the target problem. However, this becomes expensive when reliable execution requires a large model, since training must maintain gradients, optimizer states, and policy statistics while repeatedly generating long, structured outputs. It also complicates credit assignment: outcome-level verifier feedback must jointly evaluate the high-level strategy and its low-level implementation. In this work, we introduce Guidance-TTT, which separates these roles. A compact guidance model is trained at test time to propose high-level strategic changes, while a frozen execution model implements them as complete executable solutions. At each step, the system selects a promising previously discovered solution, proposes a change, executes and verifies it, and updates only the guidance model using an adaptive group-relative RL objective. This concentrates test-time learning on short strategic decisions while retaining the implementation capability of a substantially stronger model without adapting it. Without web access, Guidance-TTT produces strong solutions across four distinct domains: combinatorial optimization (Polyomino Packing), heuristic programming (AHC058), machine learning (Lasso), and GPU kernel optimization (TriMul). Across these tasks, it outperforms the best solutions reported in prior work while remaining competitive with state-of-the-art results on public online leaderboards. Code is available at https://github.com/Human-Agent-Society/reef/tree/guidance-ttt-support.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
- Comments
- 35 pages, including references and appendice
Related papers
ThinkFuse: Trajectory-Aware Test-Time Fusion for Small Reasoning Models
Shared title terminologycs.AIMyunghoon Kang, Jungseob Lee, Jaehyung Seo et al.
Verify Less, Evolve More: Training Idea-Level Critics for Verification-Efficient ML Evolving Agents
Shared title terminologycs.AIJiamu Bai, Lizhu Zhang, Xin Yu et al.
Test-Time Agent Evolution for Long-Horizon Legal Reasoning
Shared title terminologycs.AIHaotian Chen, Shuaicheng Niu, Haocong Rao et al.
Learning to Outgrow a Theory: Experimental Discovery Beyond the Initial Hypothesis Space
Shared title terminologycs.AISiYuan Ma, Albert Gao, Chunzheng Zhu et al.
Do Small Language Models Learn to Negotiate? A Controlled Scaling Study of RL-Trained Sellers
Shared title terminologycs.AIPedro Tabacof, Sagar Joglekar
A Generative AI Agent to Emulate Interactive Human-driven Vehicles for Automated Driving Testing in Urban Areas
Shared title terminologycs.AIJia Hu, Changjian Yu, Panqu Wang et al.