Open-Source LLM-Driven Federated Transformer for Predictive IoV Management
Yazan Otoum, Arghavan Asad, Ishtiaq Ahmad
TL;DR
Open-Source LLM-Driven Federated Transformer for Predictive IoV Management proposes FPoTT, a privacy-preserving IoV framework that unites dynamic prompt optimization, dual-layer cloud–edge federated learning, and Transformer-based synthetic data generation. The approach enables real-time trajectory prediction using open-source LLMs, notably EleutherAI Pythia-1B, achieving around $99.86\%$ accuracy on real NGSIM data and maintaining strong performance on synthetic data. Key contributions include a Prompt Generator for adaptive textual prompts, a two-tier federated architecture for low-latency inference with global knowledge sharing, and a Transformer-based NGSIM data generator to enrich training. The work demonstrates the viability of open-source LLMs for secure, scalable IoV management, offering a cost-effective alternative to proprietary models and highlighting avenues for stronger privacy guarantees and broader deployment in smart mobility ecosystems.
Abstract
The proliferation of connected vehicles within the Internet of Vehicles (IoV) ecosystem presents critical challenges in ensuring scalable, real-time, and privacy-preserving traffic management. Existing centralized IoV solutions often suffer from high latency, limited scalability, and reliance on proprietary Artificial Intelligence (AI) models, creating significant barriers to widespread deployment, particularly in dynamic and privacy-sensitive environments. Meanwhile, integrating Large Language Models (LLMs) in vehicular systems remains underexplored, especially concerning prompt optimization and effective utilization in federated contexts. To address these challenges, we propose the Federated Prompt-Optimized Traffic Transformer (FPoTT), a novel framework that leverages open-source LLMs for predictive IoV management. FPoTT introduces a dynamic prompt optimization mechanism that iteratively refines textual prompts to enhance trajectory prediction. The architecture employs a dual-layer federated learning paradigm, combining lightweight edge models for real-time inference with cloud-based LLMs to retain global intelligence. A Transformer-driven synthetic data generator is incorporated to augment training with diverse, high-fidelity traffic scenarios in the Next Generation Simulation (NGSIM) format. Extensive evaluations demonstrate that FPoTT, utilizing EleutherAI Pythia-1B, achieves 99.86% prediction accuracy on real-world data while maintaining high performance on synthetic datasets. These results underscore the potential of open-source LLMs in enabling secure, adaptive, and scalable IoV management, offering a promising alternative to proprietary solutions in smart mobility ecosystems.
