cs.LGAug 11, 2026

MERA: Model Evolution and Routing with Skill Adaptation for Agentic Systems at Scale

Authors: Yuhang YaoZeyu WangWanyi ChenTongyun YangYuhang HanJie XiaoChengke BaoTianyi Zhao+3 more

Organizations: Carnegie Mellon University · University of California, Los Angeles · Soochow University · Independent Researcher · Shanghai Jiao Tong University · Gradient

Abstract

LLM agents execute heterogeneous sequences of model calls within a single task: some invocations require careful reasoning, while others are structured steps such as formatting or tool-argument construction. Prior routing methods exploit this asymmetry by assigning easy invocations to a cheaper small model and difficult ones to a large model. Such policies reduce inference cost, but they leave the small model's capability unchanged, so attainable savings remain bounded by the work the student can already solve. MERA instead improves the small model itself, using a single model invocation as the unit of adaptation. In each cycle, MERA replays failed student invocations to obtain execution-verified teacher demonstrations, distills recurring procedures into an iteratively updated SkillBook, and fine-tunes a student LoRA adapter via supervised learning and optional GRPO. Routing serves as supporting machinery for deployment: the improved student is served behind a cost-calibrated router with verifier-backed fallback, and a candidate SkillBook, adapter, or router is admitted only when joint replay preserves task quality. Empirically, four-cycle adaptation raises Qwen2.5-Coder-1.5B from 28.7% to 49.7% pass on held-out HumanEval+MBPP. Under verifier-backed fallback, the deployed policy retains 88.3% pass at 60.8% of always-Luna cost. On TAU-2, a fine-tuned Qwen3.5-2B improves from 14/35 to 18/35 and matches an unadapted 4B model. These results indicate that verifier-backed multi-cycle adaptation can increase small-model capability, rather than only routing around a fixed student.

Explore similar work

CardsList
  1. Can One Adapted Model Do It All? Fine-Tuning Strategy Selection for Customer Support LLMs

    Sep 23, 2026Md Tahmid Rahman Laskar, Xue-Yong Fu, Shashi Bhushan TN