Abstract
The rapid advancement of Large Language Models (LLMs) has led to their increased integration into mobile devices for personalized assistance, which enables LLMs to call external API functions to enhance their performance. However, challenges such as data scarcity, ineffective question formatting, and catastrophic forgetting hinder the development of on-device LLM agents. To tackle these issues, we propose Alopex, a framework that enables precise on-device function calls using the Fox LLM. Alopex introduces a logic-based method for generating high-quality training data and a novel “description question-output” format for fine-tuning, reducing risks of function information leakage. Additionally, a
data mixing strategy is used to mitigate catastrophic forgetting, combining function call data with textbook
datasets to enhance performance in various tasks. Experimental results show that Alopex improves
function call accuracy and significantly reduces catastrophic forgetting, providing a robust solution for
integrating function call capabilities into LLMs without manual intervention.
| Original language | English |
|---|---|
| Pages (from-to) | 1-12 |
| Journal | arXiv |
| Volume | abs/2411.05209 |
| DOIs | |
| Publication status | Published - 7 Nov 2024 |
Fingerprint
Dive into the research topics of 'Alopex: a computational framework for enabling on-device function calls with LLMs'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver