mlsanityData to 14 Oct 2026

WHALE: A Simple Recipe for Joint Harness-Weight Optimization

arXiv 2609.00196 ↗First posted 31 Aug 2026cs.LG cs.AIcited by 11

Not on the map. Why?

Abstract (arXiv)

Agent performance depends jointly on the model parameters and the executable harness code that manages context and control flow. Optimizing either component in isolation can leave the system bottlenecked by its frozen counterpart: weight updates can change which harness is effective, while harness updates can change which model capabilities are exposed. Existing joint-adaptation methods optimize weights and textual prompts but leave the broader harness fixed. We propose Weight-Harness Alternating LEarning (WHALE), a simple recipe that alternates two phases: updating the model under the current harness, then searching for a better harness under the updated model. We instantiate these two phases with online rejection-sampling fine-tuning and Meta-Harness, respectively. When to switch is a key design choice: to separate real improvements from noise without over-optimizing against a changing counterpart, WHALE uses either fixed phase durations or an adaptive patience rule over training signals. Using Qwen3.5-2B/4B agents across three domains (search question answering, mathematical reasoning, and chess puzzles), WHALE outperforms weight-only, harness-only, and Fast-Slow Training by 4.15-24.38 percentage points in best mean@8 accuracy. Either component can be the bottleneck: harness search matches peak weight-only accuracy with far fewer rollouts in SearchQA, but improves math accuracy only after a weight update. Small interleaved updates also outperform stagewise weight-then-harness optimization in accuracy and rollout cost. The code is available at https://github.com/krafton-ai/WHALE.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 36 of its 43 references that are in the map. First posted on arXiv 31 Aug 2026.

Builds on

36 of 43 references.

References · 36

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  4. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  5. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  6. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
  7. 2017Billion-scale similarity search with GPUscited by 2,497
  8. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  9. 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
  10. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
  11. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
  12. 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
24 more
  1. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
  2. 2023Large Language Models as Optimizerscited by 864
  3. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 832
  4. 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
  5. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  6. 2023Reinforced Self-Training (ReST) for Language Modelingcited by 500
  7. 2023RRHF: Rank Responses to Align Language Models with Human Feedback without tearscited by 463
  8. 2024AFlow: Automating Agentic Workflow Generationcited by 432
  9. 2024Automated Design of Agentic Systemscited by 407
  10. 2025ReTool: Reinforcement Learning for Strategic Tool Use in LLMscited by 392
  11. 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 349
  12. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
  13. 2015Coordinate Descent Algorithmscited by 219
  14. 2024AgentSquare: Automatic LLM Agent Search in Modular Design Spacecited by 155
  15. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 142
  16. 2024Language Agents as Optimizable Graphscited by 89
  17. 2024Fine-Tuning and Prompt Optimization: Two Great Steps that Work Better Togethercited by 40
  18. 2026Evolving Agents in the Dark: Retrospective Harness Optimization via Self-Preferencecited by 19
  19. 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 15
  20. 2026Learning, Fast and Slow: Towards LLMs That Adapt Continuallycited by 6
  21. 2026Evolutionary System Prompt Learning for Reinforcement Learning in LLMscited by 5
  22. 2025Composing Policy Gradients and Prompt Optimization for Language Model Programscited by 4
  23. 2026P^2O: Joint Policy and Prompt Optimizationcited by 3
  24. 2025Prompt and Parameter Co-Optimization for Large Language Modelscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 11.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnesses
  2. 2026HarnessBandit: Joint Learnability-Transferability Scheduling for Multi-Harness Agentic Reinforcement Learning
  3. 2026CHART: A Harness-Rotation Curriculum for Harness-Robust Search Agents
  4. 2026DemoEvolve: Overcoming Sparse Feedback in Agentic Harness Evolution with Demonstrations
  5. 2026SKIMIX: Multi-Agent Harness-Time Scaling with Skill Mixture for Dynamic Harness Engineering
  6. 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundry
  7. 2026Where Does Harness-Optimization Value Live? Localized Gains and the Budget-Splitting Trap in Self-Evolving LLM Agents
  8. 2026SIA: Self Improving AI with Harness & Weight Updates