paper-with-me

Papers

AgentWeave: Routing Before Reasoning for Efficient Function Calling in Tool-Rich Language Models

2026-08-24 · Saurav Singla, Aarav Singla, Advik Gupta, Parnika Gupta arxiv

Large language models increasingly operate over large collections of tools, functions, APIs, and specialized agents. As the candidate action space grows, a function-calling model must process more schemas, consume more prompt tokens, and distinguish among increasingly similar or irrelevant alternatives. We study a complementary systems strategy: reduce the candidate set before language-model inference while leaving the downstream model unchanged. We introduce AgentWeave, a deterministic pre-inference routing layer that constructs a bounded model-visible action space using eligibility, requirement, capability, and routing signals. We evaluate AgentWeave with a frozen BFCL-derived routing-pressure protocol using the public MadeAgents/Hammer2.1-1.5b model. On 48 fresh BFCL V4 multiple-function tasks, AgentWeave achieves 6/48 (12.5%) native BFCL successes, whereas all-tools, deterministic random top-8, and semantic top-8 baselines each achieve 0/48. The paired success difference is +12.5 percentage points with a 10,000-resample paired bootstrap 95% confidence interval of +4.17 to +22.92 points and exact McNemar p=0.03125. Relative to all-tools exposure, AgentWeave presents 70.18% fewer tools, uses 61.70% fewer input tokens, and exhibits 50.95% lower mean local-model latency. The result is deliberately narrow: this is a BFCL-derived routing-pressure study rather than an official full BFCL leaderboard score, and absolute task success remains low. The evidence nevertheless shows that candidate-space construction can materially affect a fixed model's function-calling behavior and motivates evaluating routing as a distinct stage before model reasoning.

📄 PDF Abstract BibTeX arXiv:2608.23078

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Brief Is Better: Non-Monotonic Chain-of-Thought Budget Effects in Function-Calling Language Agents

2026-04-02 · Xuan Qi arxiv

How much should a language agent think before taking action? Chain-of-thought (CoT) reasoning is widely assumed to improve agent performance, but the relationship between reasoning length and accuracy in structured tool-…

Switchcraft: AI Model Router for Agentic Tool Calling

2026-05-08 · Sharad Agarwal, Pooria Namyar, Alec Wolman, Rahul Ambavat 외 arxiv

Agentic AI systems that invoke external tools are powerful but costly, leading developers to default to large models and overspend inference budgets. Model routing can mitigate this, but existing routers are designed for…

ReFrame: Evidence-Guided Test-Time Safety Alignment in Multimodal Large Language Models

2026-08-21 · Wenzheng Jiang, Xuankun Rong, Yuanzhao Zhai, Dawei Feng 외 arxiv

While multimodal large language models (MLLMs) extend model capabilities beyond text, they also make safety alignment increasingly challenging. Multimodal safety alignment methods must address cross-modal jailbreaks, saf…

R2IF: Aligning Reasoning with Decisions via Composite Rewards for Interpretable LLM Function Calling

2026-04-22 · Aijia Cheng, Kailong Wang, Ling Shi, Yongxin Zhao arxiv

Function calling empowers large language models (LLMs) to interface with external tools, yet existing RL-based approaches suffer from misalignment between reasoning processes and tool-call decisions. We propose R2IF, a r…

Improving Small-Scale Large Language Models Function Calling for Reasoning Tasks

2024-10-24 · Graziano A. Manduzio, Federico A. Galatolo, Mario G. C. A. Cimino, Enzo Pasquale Scilingo 외

Recent advancements in Large Language Models (LLMs) have demonstrated exceptional capabilities in natural language understanding and generation. While these models excel in general complex reasoning tasks, they still fac…

Logical ReasoningMathematical Problem-SolvingMathematical ReasoningNatural Language Understanding