WHALE Paper: Alternating Weight and Agent Harness Optimization Gains Up to 24 Points
Kangwook_Lee · x · 2026-09-03
A new arXiv paper from Kangwook Lee's group, WHALE (Weight-Harness Alternating LEarning), proposes a simple recipe for jointly optimizing an agent's model weights and its executable harness code:
- Motivation: Agent performance depends on both model parameters and harness code; optimizing either in isolation leaves the system bottlenecked by the frozen counterpart — weight updates change which harness is effective, and harness updates change which capabilities are exposed.
- Method: Alternate two phases — fine-tune the model under the current harness (online rejection-sampling fine-tuning), then search for a better harness under the updated model (Meta-Harness). Switching uses fixed phase durations or an adaptive patience rule to separate real gains from noise.
- Results: With Qwen3.5-2B/4B across search QA, math reasoning, and chess puzzles, WHALE beats weight-only, harness-only, and Fast-Slow Training by 4.15–24.38 points in best mean@8 accuracy. Either component can be the bottleneck: harness search matches peak weight-only accuracy with far fewer rollouts on SearchQA, but math improves only after a weight update.
Related event: WHALE Paper Proposes Alternating Weight and Harness Optimization(7 posts)→
More from coding & agent
- Dev feedback: decoupling rex sessions from native windows is harder to adapt to than expected — alexisgallagher · 2026-12-05
- Salesforce research: buyer agents concede too easily, images boost persuasion ~17% — msrivastav13 · 2026-12-05
- Grok Build launches agent-driven post-quantum cryptography migration after NSA advisory, with $1,000 credits — ns123abc · 2026-12-05
- Seroter's reading list: post-quantum prep, agent harnesses, and life after 99% AI code — rseroter · 2026-12-05
- WSDM Cup 2027 Offers $10k to Build Autonomous Community Notes Agents — sanmikoyejo · 2026-12-05
- Trying Copilot Studio MCP for agent cloning and Power Automate sync: janky but workable — koltregaskes · 2026-12-05