Weak-for-Strong: Training Weak Meta-Agent to Harness Strong Executors
Fan Nie, Lan Feng, Haotian Ye, Weixin Liang, Pan Lu, Huaxiu Yao, Alexandre Alahi, James Zou
TL;DR
The paper tackles the challenge of leveraging powerful, often expensive-to-fine-tune LLMs by introducing Weak-for-Strong Harnessing (W4S), which trains a compact weak meta-agent to design agentic workflows that utilize strong executors. Framed as a multi-turn Markov decision process ($MDP$), and optimized via Reinforcement Learning for Agentic Workflow Optimization (RLAO), W4S enables a 7B meta-agent to generate and refine workflows with environment feedback, without touching the strong models directly. Empirical results across eleven benchmarks show substantial gains (2.9% to 24.6%) over baselines, with robust generalization to unseen tasks and cross-model transfer, while training costs remain modest (about one GPU hour) and test-time costs are low. The approach offers a scalable, controllable alternative to fine-tuning, unlocking latent capabilities of strong executors through learned, task-specific workflow design and coordination.
Abstract
Efficiently leveraging of the capabilities of contemporary large language models (LLMs) is increasingly challenging, particularly when direct fine-tuning is expensive and often impractical. Existing training-free methods, including manually or automated designed workflows, typically demand substantial human effort or yield suboptimal results. This paper proposes Weak-for-Strong Harnessing (W4S), a novel framework that customizes smaller, cost-efficient language models to design and optimize workflows for harnessing stronger models. W4S formulates workflow design as a multi-turn markov decision process and introduces reinforcement learning for agentic workflow optimization (RLAO) to train a weak meta-agent. Through iterative interaction with the environment, the meta-agent learns to design increasingly effective workflows without manual intervention. Empirical results demonstrate the superiority of W4S that our 7B meta-agent, trained with just one GPU hour, outperforms the strongest baseline by 2.9% ~ 24.6% across eleven benchmarks, successfully elevating the performance of state-of-the-art models such as GPT-3.5-Turbo and GPT-4o. Notably, W4S exhibits strong generalization capabilities across both seen and unseen tasks, offering an efficient, high-performing alternative to directly fine-tuning strong models.
