mlsanityData to 13 Oct 2026

Meta-Tool: Efficient Few-Shot Tool Adaptation for Small Language Models

arXiv 2604.20148 ↗First posted 22 Apr 2026cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Can small language models achieve strong tool-use performance without complex adaptation mechanisms? This paper investigates this question through Meta-Tool, a controlled empirical study comparing hypernetwork-based LoRA adaptation against carefully designed few-shot prompting. Using a Llama-3.2-3B-Instruct backbone, we evaluate four adaptation mechanisms--few-shot prompting, documentation encoding, hypernetwork-generated LoRA weights, and value-guided beam search--across four diverse benchmarks: Gorilla APIBench, Spider 2.0, WebArena, and InterCode. Our central finding is a well-supported negative result: despite generating non-trivial weight matrices, the 227.8M-parameter hypernetwork provides no measurable improvement over few-shot prompting alone. Comprehensive ablation studies reveal that few-shot examples contribute +21.5% to performance and documentation contributes +5.0%, while the hypernetwork adds 0%. A 3B model with well-designed prompts achieves 79.7% of GPT-5's average performance at 10 × lower latency. Error analysis across 722 failure cases spanning all shot counts (0--5) shows that at the 5-shot configuration (106 failures), failure modes are task-dependent: schema-heavy tasks (Spider 2.0, WebArena) show near-zero format errors with remaining failures semantic, while format errors dominate on Gorilla (100%) and InterCode (70%). These findings redirect practitioners toward prompt engineering and example curation rather than complex adaptation architectures.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 17 of its 25 references that are in the map. First posted on arXiv 22 Apr 2026.

Builds on

17 of 25 references.

References · 17

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,231
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,502
  3. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,870
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,117
  5. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,953
  6. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,904
  7. 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,313
  8. 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 234
  9. 2024Spider 2.0: Evaluating Language Models on Real-World Enterprise Text-to-SQL Workflowscited by 229
  10. 2025Evaluation and Benchmarking of LLM Agents: A Surveycited by 150
  11. 2023RestGPT: Connecting Large Language Models with Real-World RESTful APIscited by 133
  12. 2024A Closer Look at the Limitations of Instruction Tuningcited by 77
5 more
  1. 2023Agent Lumos: Unified and Modular Training for Open-Source Language Agentscited by 72
  2. 2025The OpenHands Software Agent SDK: A Composable and Extensible Foundation for Production Agentscited by 43
  3. 2024ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agentscited by 36
  4. 2025Search Self-play: Pushing the Frontier of Agent Capability without Supervisioncited by 32
  5. 2024AdaptAgent: Adapting Multimodal Web Agents with Few-Shot Learning from Human Demonstrationscited by 19

Built on by

Not cited yet.