DEV Community

Papers Mache
Papers Mache

Posted on

Joint weight‑harness optimization approaches fine‑tuned model performance

Alternating updates of model weights and executable harnesses can reach accuracy on par with full fine‑tuning while consuming a fraction of the training compute. The WHALE recipe shows that interleaving a short weight‑update phase with a lightweight harness search yields agents whose performance rivals that of models trained end‑to‑end, overturning the prevailing assumption that massive weight sweeps are unavoidable for strong adaptation [1].

Before WHALE, joint‑adaptation research largely focused on tuning model parameters together with static textual prompts, leaving the surrounding harness code immutable. Fast–Slow Training introduced a two‑stage schedule but still treated the harness as a fixed backdrop, limiting gains when the model’s capabilities shifted during fine‑tuning [1].

"WHALE outperforms weight‑only, harness‑only, and Fast‑Slow Training by 4.15–24.38 percentage points in best accuracy" (as reported in [1]). This margin materialises across search question answering, mathematical reasoning with Python execution, and chess puzzles, where the alternating pipeline attains the same mean@8 scores as full fine‑tuning yet requires dramatically fewer rollouts and far less GPU time [1].

The study does not settle whether the gains persist at scales beyond Qwen 3.5‑2B/4B or across domains that demand richer multimodal harnesses. Its reliance on online rejection‑sampling for harness discovery may become a bottleneck as code complexity grows, suggesting an open question: can more sophisticated search strategies preserve the compute advantage while scaling to larger agents [1].

If these findings hold broadly, engineering pipelines should replace monolithic fine‑tuning with a lightweight alternating schedule whenever an agent’s control flow can be expressed in a programmable harness. Benchmarks that currently report only weight‑only baselines ought to incorporate joint weight‑harness tracks, exposing the true cost‑effectiveness of rapid model adaptation.

References

  1. WHALE: A Simple Recipe for Joint Harness-Weight Optimization

Top comments (0)