SHARK: A Sequential Head for Agentic Roadmaps over Evolving ToolKits
Function-calling large language model (LLM) agents must plan dependencies across tools and adapt each call to intermediate observations. Existing planners are usually trained separately from the executor. Their plans can be structurally valid yet difficult for the target model to execute. Toolkits also evolve after deployment, but planner updates often require retraining, replay, or growing textual memory. We introduce SHARK, an executor-grounded planner that shares the target model's frozen backbone. During training, SHARK retains teacher-proposed routes with positive target-executor outcomes and fits them with a compact sequential head. During inference, the head provides a non-binding roadmap before execution. The native LM head still generates arguments and revises actions from tool observations. This shared-backbone design removes the need for a separate planner LM. Recursive sufficient-statistic updates incorporate new tools without storing previous tasks. Across three executor families and two tool-use benchmarks, SHARK leads five of six settings and outperforms the strongest baseline by up to 6.64 percentage points. On a continual BFCL stream, SHARK improves AULC by 7.74…
- arXiv
- 2612.05225
- Authors
- Shuquan Man, Huiping Zhuang
- Categories
- cs.AI