paper-with-me

홈 › Papers

Optimizing Small Language Models for In-Vehicle Function-Calling

2025-01-04 · Yahya Sowti Khiabani, Farris Atif, Chieh Hsu, Sven Stahlmann, Tobias Michels, Sebastian Kramer, Benedikt Heidrich, M. Saquib Sarfraz, Julian Merten, Faezeh Tafazzoli

We propose a holistic approach for deploying Small Language Models (SLMs) as function-calling agents within vehicles as edge devices, offering a more flexible and robust alternative to traditional rule-based systems. By leveraging SLMs, we simplify vehicle control mechanisms and enhance the user experience. Given the in-vehicle hardware constraints, we apply state-of-the-art model compression techniques, including structured pruning, healing, and quantization, ensuring that the model fits within the resource limitations while maintaining acceptable performance. Our work focuses on optimizing a representative SLM, Microsoft's Phi-3 mini, and outlines best practices for enabling embedded models, including compression, task-specific fine-tuning, and vehicle integration. We demonstrate that, despite significant reduction in model size which removes up to 2 billion parameters from the original model, our approach preserves the model's ability to handle complex in-vehicle tasks accurately and efficiently. Furthermore, by executing the model in a lightweight runtime environment, we achieve a generation speed of 11 tokens per second, making real-time, on-device inference feasible without hardware acceleration. Our results demonstrate the potential of SLMs to transform vehicle control systems, enabling more intuitive interactions between users and their vehicles for an enhanced driving experience.

📄 PDF Abstract BibTeX arXiv:2501.02342

Code (0)

등록된 구현이 없습니다.

Tasks

Model CompressionQuantization

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

ComplexFuncBench: Exploring Multi-Step and Constrained Function Calling under Long-Context Scenario

2025-01-17 · Lucen Zhong, Zhengxiao Du, Xiaohan Zhang, Haiyi Hu 외

Enhancing large language models (LLMs) with real-time APIs can help generate more accurate and up-to-date responses. However, evaluating the function calling abilities of LLMs in real-world scenarios remains under-explor…

Less is More: Optimizing Function Calling for LLM Execution on Edge Devices

2024-11-23 · Varatheepan Paramanayakam, Andreas Karatzas, Iraklis Anagnostopoulos, Dimitrios Stamoulis

The advanced function-calling capabilities of foundation models open up new possibilities for deploying agents to perform complex API tasks. However, managing large amounts of data and interacting with numerous APIs make…

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

TinyAgent: Function Calling at the Edge

2024-09-01 · Lutfi Eren Erdogan, Nicholas Lee, Siddharth Jha, Sehoon Kim 외

Recent large language models (LLMs) have enabled the development of advanced agentic systems that can integrate various tools and APIs to fulfill user queries through function calling. However, the deployment of these LL…

Language ModellingQuantizationSmall Language Model

ODIA: Oriented Distillation for Inline Acceleration of LLM-based Function Calling

2025-07-10 · Hanlong Zhang, Jingsheng Yang, Hao Li, Yuhao He 외 arxiv

Function Calling is a crucial technique that enables Large Language Models (LLMs) to interact with external systems through APIs. However, the high latency associated with LLM-based Function Calling significantly impacts…