HarnessTTT: Learn to Optimize Harness at Test-Time for Scientific Discovery
Not on the map. Why?
Abstract (arXiv)
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 ErdHos 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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 63 of its 88 references that are in the map. First posted on arXiv 12 Oct 2026.
Builds on
63 of 88 references.
References · 63
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,442
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
38 more
- 2025s1: Simple test-time scalingcited by 1,341
- 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,071
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
- 2023Large Language Models as Optimizerscited by 864
- 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 571
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
- 2023Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervisioncited by 467
- 2024AFlow: Automating Agentic Workflow Generationcited by 432
- 2024Automated Design of Agentic Systemscited by 407
- 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 398
- 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 384
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 356
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
- 2023Large Language Models as Tool Makerscited by 303
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 291
- 2025TTRL: Test-Time Reinforcement Learningcited by 275
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 268
- 2024Sycophancy to Subterfuge: Investigating Reward-Tampering in Large Language Modelscited by 178
- 2025ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolutioncited by 174
- 2025A Survey of Self-Evolving Agents: What, When, How, and Where to Evolve on the Path to Artificial Super Intelligencecited by 170
- 2024AgentSquare: Automatic LLM Agent Search in Modular Design Spacecited by 155
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 148
- 2024LLM-SR: Scientific Equation Discovery via Programming with Large Language Modelscited by 133
- 2023CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsetscited by 129
- 2024Meta-Prompting: Enhancing Language Models with Task-Agnostic Scaffoldingcited by 117
- 2025Alita: Generalist Agent Enabling Scalable Agentic Reasoning with Minimal Predefinition and Maximal Self-Evolutioncited by 116
- 2026Learning to Discover at Test Timecited by 115
- 2026Self-Harness: Harnesses That Improve Themselvescited by 107
- 2024Symbolic Learning Enables Self-Evolving Agentscited by 106
- 2024The Surprising Effectiveness of Test-Time Training for Few-Shot Learningcited by 96
- 2023CREATOR: Tool Creation for Disentangling Abstract and Concrete Reasoning of Large Language Modelscited by 93
- 2025A Self-Improving Coding Agentcited by 79
- 2025Mathematical exploration and discovery at scalecited by 77
- 2024BOND: Aligning LLMs with Best-of-N Distillationcited by 76
- 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 75
- 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 69
50 most cited of 63 All 63 (JSON)
Built on by
Not cited yet.