arXiv(opens in a new tab)cs.AIOct 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2610.05383

Sibyl: An Efficient Small-large Model Collaboration Framework for Long-horizon Tasks

Zhewei Fang, Yuxin Zhang, Zhenwei Shao, Mengze Li, Zheng Lin, Long Chen, Zhou Yu, Zhe Chen, Zhiwen Chen, Zhaode Wang, chengfei lv

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Small language models (SLMs) offer a promising foundation for on-device agents through low-latency, resource-efficient inference, yet limited reasoning and planning capabilities constrain their performance on long-horizon tasks requiring multistep interaction with the environment. Step-level collaboration between SLMs and larger cloud-hosted models can bridge this gap, but identifying states that warrant cloud assistance remains challenging: the contribution of each cloud call is entangled with subsequent actions and can be assessed only from the final task outcome. Compounding this challenge, the SLM must balance two competing objectives: maximizing task success and minimizing cloud calls. To address this, we propose Sibyl, an algorithm that trains SLM agents to selectively consult cloud models at the step level and internalize their guidance for subsequent decisions, achieving strong task performance with minimal cloud reliance. Sibyl follows a three-stage training pipeline that (1) builds a robust base policy through consultation-free self-evolving reinforcement learning (RL); (2) cold-starts consultation behavior via decisive-disagreement state mining; and (3) jointly optimizes consultation decisions and guidance internalization through consultation-aware RL. Experiments on ALFWorld and WebShop demonstrate that Sibyl, using only a 0.6B-parameter model, outperforms state-of-the-art baselines, including agent training and routing methods, by 95.2% and 80.4% in success rate while averaging only 0.8 and 3.9 cloud calls per trajectory, respectively. We release the code and trained model weights at https://github.com/real-fzw/Sibyl

1 INTRODUCTION

Language model agents have recently shown strong promise on long-horizon tasks such as embodied interaction (Seo et al., 2026; Kwon et al., 2026), web navigation (Yang et al., 2025b; Liu et al., 2026), and software engineering (Antoniades et al., 2025; Zhang et al., 2025a), which require sustained iteration over reasoning, tool use, observation, and revision across many interdependent steps (Shinn et al., 2023; Xu et al., 2026). However, much of this progress has been driven by cloud-hosted large language models (LLMs) (e.g., GPT-5.6 (OpenAI, 2026), Gemini 3.1 Pro (Gemini Team, 2026), Qwen3.7-Max (Qwen Team, 2026), and Kimi K3 (Kimi Team, 2026)), while small language models (SLMs) suitable for edge deployment remain markedly less capable, particularly in the 3B-and-below regime (Liu et al., 2024; Mai et al., 2026). Their limited reasoning and planning degrade decision quality over sustained interaction with the environment, undermining reliability on long-horizon tasks and posing a critical barrier to autonomous-agent deployment in latency- and resource-constrained applications that require efficient on-device execution (Wan et al., 2025; Wen et al., 2024).

A natural solution is edge–cloud collaboration: on-device SLMs handle most steps locally and selectively consult stronger cloud-hosted LLMs (Ong et al., 2025; Liao et al., 2026), combining efficient local execution with advanced reasoning and planning. However, collaboration on long-horizon agentic tasks is fundamentally more challenging than conventional SLM–LLM routing. First,

Task: Cool a pot and place it on the dining table

Figure

Success (%)

ALFWorld 100%

WebShop

Cloud GIGPO Hera SEEDSIBYL

1.7b

Figure 1: Sibyl enables step-level device–cloud collaboration on long-horizon tasks, combining high success with low latency and cost. Right: success-rate comparisons with representative baselines; see § 5 for further results.

model selection is no longer a one-time decision for each task, but a sequence of decisions throughout an evolving trajectory (Zhang et al., 2026). Consequently, the utility of step-level consultation is entangled with subsequent actions and often discernible only from the final outcome, complicating the precise identification of beneficial consultation states required to maximize task success with minimal cloud calls (Feng et al., 2025). Second, existing SLM–LLM collaboration methods typically rely on an external router (Ong et al., 2025; Chen et al., 2024), which is ill-suited to long-horizon agents: routing decisions are tightly coupled with the agent's acting policy, making it difficult to train a separate router that generalizes across diverse, evolving states and remains aligned as the policy is updated. Moreover, a separate router adds supervision overhead and system complexity, complicating end-to-end agent training.

We address these challenges with Sibyl, a policy optimization method that trains SLM agents to selectively consult cloud-hosted LLMs and internalize their guidance; Figure 1 illustrates the step-level collaboration paradigm. Without a separate router, Sibyl treats consultation as an SLM action and optimizes it alongside local actions from trajectory-level outcomes, while progressively reducing cloud reliance through guidance internalization. Sibyl training proceeds in three stages: (1) consultation-free self-evolving reinforcement learning (RL) distills hindsight skills from on-policy trajectories to strengthen SLM agent before introducing cloud assistance; (2) decisive-disagreement state mining identifies states where a one-step cloud intervention turns a failed SLM trajectory into a successful one, providing targeted supervision to cold-start consultation behavior; (3) consultation-aware RL jointly optimizes local actions and cloud calls using trajectory-level outcomes while internalizing LLM guidance through hindsight skill distillation, thereby improving task success and reducing cloud reliance.

Experiments on challenging ALFWorld and WebShop benchmarks demonstrate that Sibyl establishes a new task-success–execution-cost Pareto frontier relative to both state-of-the-art agent training and routing methods. Notably, with only a 0.6B-parameter SLM, Sibyl achieves success rates of 95.2% and 80.4% while averaging only 0.8 and 3.9 cloud calls per trajectory, respectively.

Our contributions are threefold:

• We formulate long-horizon SLM–LLM collaboration as SLM policy optimization over local actions and step-level cloud consultation, eliminating the need for an external router.

• We propose Sibyl, a three-stage training algorithm that enables SLM agents to learn when to ask for cloud assistance and internalize the resulting guidance, thereby minimizing cloud calls while preserving task success.

• Across challenging agent benchmarks, Sibyl advances the success–cost Pareto frontier over state-of-the-art agent training and routing methods.

References (41)