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.
Less is More: Optimizing Function Calling for LLM Execution on Edge Devices
School of Electrical, Computer and Biomedical Engineering, Southern Illinois University(南伊利诺伊大学电气、计算机与生物医学工程学院);The University of Texas at Austin(德克萨斯大学奥斯汀分校)
Online Location Planning for AI-Defined Vehicles: Optimizing Joint Tasks of Order Serving and Spatio-Temporal Heterogeneous Model Fine-Tuning
School of Computer Science and Engineering, Sun Yat-sen University(中山大学计算机科学与工程学院);College of Computing and Data Science, Nanyang Technological University(南洋理工大学计算与数据科学学院);Peng Cheng Laboratory(鹏城实验室)
Optimizing Electric Vehicle Charging Station Placement Using Reinforcement Learning and Agent-Based Simulations
organization= Center for Environmental Intelligence, VinUniversity , city= Hanoi , country= Vietnam;organization= College of Engineering \& Computer Science, VinUniversity , city= Hanoi , country= Vietnam
Optimizing Age of Information in Vehicular Edge Computing with Federated Graph Neural Network Multi-Agent Reinforcement Learning
School of Internet of Things Engineering, Jiangnan University(江南大学物联网工程学院);Tsinghua University(清华大学);Xidian University(西安电子科技大学);Shanghai Jiao Tong University(上海交通大学);University of Kent(肯特大学);Hong Kong University of Science and Technology(香港科技大学)
Optimizing Nursing Care Taxi Dispatch Leveraging Integer Linear Programming Solvers and Machine Learning
Graduate School of Information Science and Technology, The University of Osaka(信息科学与技术研究生学校,大阪大学);Information Networking(信息网络);RIKEN R-CCS(理化学研究所R-CCS);Department of Computer and Control Engineering, Tanta University(计算机与控制工程系,塔塔大学)
Learn2Drive: A neural network-based framework for socially compliant automated vehicle control
Department of Civil Engineering(土木工程系);Department of Electrical and Computer Engineering(电气与计算机工程系);Department of Civil, Environmental, and Architectural Engineering(土木、环境与建筑工程系);The University of Kansas(堪萨斯大学)