Talk to Me, Jarvis: An Open-Source Edge-Deployable Voice Assistant Framework for Autonomous Racecars
Organizations: D. Henel, A. Langmann and J. Betz are with the Professorship of Autonomous Vehicle Systems, TUM School of Engineering and Design, Technical University of Munich, 85748 Garching, Germany; Munich Institute of Robotics and Machine Intelligence (MIRMI) · F. Werner is with the Institute of Automotive Technology, TUM School of Engineering and Design, Technical University of Munich, 85748 Garching, Germany; Munich Institute of Robotics and Machine Intelligence (MIRMI)
Abstract
Recent advances in large language models have improved their effectiveness as back-end components for voice assistants, particularly in intent understanding and context-aware input classification. However, online-hosted models introduce network dependency and variable inference latency, limiting their suitability for time-critical autonomous driving applications. In this work, we address these issues by developing Jarvis, an offline voice assistant for high-level behavioral commands of autonomous vehicles. Its architecture integrates speech recognition and synthesis with natural language command classification into a lightweight, local framework. Jarvis core component is a text-to-command classifier, built using a domain-specific fine-tuning of the Mistral 7B model, demonstrating low-latency inference. Our experimental evaluation demonstrates that our solution outperforms larger online-hosted models, achieving 97.63 % intent recognition accuracy with an average processing latency of 1.39 s, making it well-suited for operations requiring quick response times. To support further research and fine-tuning, we provide an open-source implementation.
Figures & tables
| Model | Accuracy [%] | Avg. Latency [s] |
| Online Models | ||
| GPT-4o-2024-11-20 | 76.47 | 3.38 |
| GPT-4o-2024-08-06 | 74.12 | 4.16 |
| o3-mini-2025-01-31 | 85.88 | 21.08 |
| GPT-4-turbo-2024-04-09 | 81.18 | 15.73 |
| GPT-3.5-turbo-0125 | 57.65 | 5.12 |
| Model | Accuracy [%] | Avg. Inference [s] | Epochs | Grad Acc Steps | r | alpha |
| Locally Deployed Models | ||||||
| Mistral-7B | 76.74 | 0.92 | 2 | 4 | 32 | 32 |
| Llama3.1-8B | 75.58 | 0.88 | 3 | 4 | 32 | 32 |
| Llama3.2-3B | 73.26 | 0.67 | 3 | 4 | 32 | 32 |
| Parameter | Value |
| Model Name | Mistral-7B-v0.3-bnb-4bit |
| Accuracy [%] | 97.63 |
| Avg. Inference [s] | 1.39 |
| Learning Rate | |
| Epochs | 2 |
| LoRA Rank ( ) | 32 |
On-Device Language Model Inference
On-device language model inference runs language models locally on phones, computers, and edge devices under tight memory, power, and latency limits.
See all 169 papers