arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.17370cs.LG
收藏

HarnessTTT:测试时学习优化工具集以实现科学发现

HarnessTTT: Learn to Optimize Harness at Test-Time for Scientific Discovery

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);NVIDIA(英伟达公司);Johns Hopkins University(约翰斯·霍普金斯大学);Stanford University(斯坦福大学);Meta

Yingzi Ma, Yulong Cao, Nanxi Li, Fang Wu, Yizhe Zhang, James Zou, Yejin Choi, Chaowei Xiao

AI总结:

HarnessTTT是测试时学习框架,在冻结执行器的同时训练工具集提议器,在14项科学发现任务中优于OpenEvolve等基线,工具集可迁移至更强执行器。

摘要:

基于语言模型的科学发现需要在有限计算预算内找到最佳有效解决方案。本研究探讨该搜索过程中的反馈如何改进搜索流程,我们提出HarnessTTT,这是一种测试时学习框架,在保持执行器冻结的同时训练工具集提议器。提议器生成可执行工具集,包含系统提示、可复用技能、工具、中间件和执行控制,每个工具集指导一次预算受限的发现展开,其结果为更新提议器提供反馈。面向发现的策略梯度目标结合了差距归一化奖励、留一法优势(RLOO)和最大锐化,以支持高性能提议。生成的组件在执行前经过验证,搜索过程会在多轮中保留最佳有效解决方案和选定的工具集。在数学、系统、GPU内核、启发式编程、天体动力学和生物学的14项发现任务中,使用冻结的9B执行器的HarnessTTT在全部11项基准任务上优于使用相同执行器的OpenEvolve(例如,在圆填充任务上从1.17提升至2.64),在发现微调的Finch-9B上的提升最高达92%,在9项任务中保持了最佳的10B以下开放权重结果,在Erdős最小重叠任务上达到0.380919,优于最佳人类参考值0.380927。将提议器和冻结执行器扩展至27B后,在14项任务中的11项上表现更优,将学习到的工具集迁移至GPT-5.5后,在14项任务中的9项上与任何主干的最强报告系统相当或更优。这些结果共同表明,工具集搜索本身可在测试时学习:训练后的提议器使小型冻结执行器能有效搜索,且其找到的工具集可迁移至更强的执行器。

英文摘要:

Scientific discovery with language models requires finding the best valid solution within a finite computational budget. We study how feedback from this search can improve the procedure used to conduct it. We introduce HarnessTTT, a test-time learning framework that trains a harness proposer while keeping the executor frozen. The proposer generates executable harnesses comprising system prompts, reusable skills, tools, middleware, and execution controls. Each harness guides a budgeted discovery rollout, whose outcome provides feedback for updating the proposer. A discovery-oriented policy-gradient objective combines gap-normalized rewards, leave-one-out advantages (RLOO), and max-sharpening to favor high-performing proposals. Generated components are validated before execution, and the search retains the best valid solution and selected harnesses across rounds. Across fourteen discovery tasks in mathematics, systems, GPU kernels, heuristic programming, astrodynamics, and biology, HarnessTTT with a frozen 9B executor improves on OpenEvolve with the same executor on all eleven benchmark tasks (e.g., from 1.17 to 2.64 on circle packing), improves on the discovery-fine-tuned Finch-9B by up to 92%, holds the best open-weight sub-10B result on nine, and reaches 0.380919 on Erdős minimum overlap, better than the best human reference of 0.380927. Scaling the proposer and frozen executor to 27B improves on eleven of fourteen tasks, and transferring the learned harnesses to GPT-5.5 matches or exceeds the strongest reported system of any backbone on nine of fourteen tasks. Together, these results show that harness search can itself be learned at test time: a trained proposer lets a small frozen executor search effectively, and the harnesses it finds carry over to stronger executors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑