Reproduce “Less is More: Optimizing Function Calling for LLM Execution on Edge Devices” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Varatheepan Paramanayakam, Andreas Karatzas, Iraklis Anagnostopoulos, Dimitrios Stamoulis
Researchers from Southern Illinois University and The University of Texas at Austin developed 'Less-is-More,' an approach that optimizes LLM function calling for edge devices by strategically limiting the number of tools presented to the model. This method reduces execution time by up to 70% and power consumption by up to 40% while improving task success rates and tool accuracy by up to 35-40%, all without requiring model fine-tuning.
Key insights
- Presenting LLMs with a strategically reduced, highly relevant subset of tools leads to better decision-making and reduces computational overhead, contrary to the intuition that more tools improve performance.
- A multi-level search strategy, combining individual tool embeddings and tool clusters, allows the system to adapt tool selection based on query complexity and model size.
- Promoting the LLM to first describe 'ideal' tools for a task, rather than immediately searching available ones, improves the relevance of subsequent similarity-based tool selection.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.