Abstract
This paper introduces a novel framework for managing vehicular edge computing (VEC) by replacing traditional Multi-Agent Reinforcement Learning (MARL) with Large Language Model (LLM) in-context learning. By combining Lyapunov optimization for queue stability with LLM-based decision-making, the authors achieve superior task offloading and resource allocation performance. The framework specifically addresses the "estimation bias" inherent in Digital Twin (DT) models, demonstrating enhanced robustness and efficiency in dynamic vehicular environments.
Introduction
In Vehicular Edge Computing (VEC), vehicles offload computationally intensive tasks to roadside servers to meet stringent latency and energy requirements. However, two primary challenges hinder optimal performance: the dynamic complexity of vehicular environments and the inaccuracy of Digital Twin (DT) models. Vehicles generate heterogeneous tasks under massive uncertainty regarding task volume and channel quality. While DTs are employed to mirror physical vehicles in the cloud for decision support, a "mapping bias" often exists between the digital replica and the real-world entity. Traditional Deep Reinforcement Learning (DRL) methods often struggle with these deviations and require extensive training.
System Model and Methodology
The proposed architecture bridges control theory and generative AI to create a robust offloading mechanism.
System Architecture
The network consists of a physical layer with mobile vehicles, a base station equipped with a VEC server, and a Cloud Digital Twin Layer. The DT layer maintains virtual replicas of vehicles to facilitate centralized decision-making.
Lyapunov-Guided LLM Decision Making
To ensure long-term stability of the server's task queues, the framework utilizes the Lyapunov "drift-plus-penalty" function. This transforms complex long-term constraints into tractable short-term optimization problems solved at each time slot.
Instead of traditional iterative solvers, the authors employ Llama 3.1-8b as the decision-making engine via In-Context Learning (ICL). A pre-trained MARL model generates a "case set" of state-action-reward triplets. These historical "good" decisions are provided to the LLM as context. By processing this context alongside current vehicle states (position, speed, channel gain), the LLM predicts optimal offloading ratios and resource allocations without requiring further weight updates.
Experimental Results
The framework was evaluated in a simulated environment with 20MHz bandwidth and 400GHz total edge resources.
Energy Efficiency and Robustness
A key finding is the LLM's resilience to DT estimation bias. When the DT's estimated resources deviated from the actual physical state, the LLM-based approach outperformed MARL.
As shown in the results, the LLM effectively manages energy consumption even as the number of vehicles increases. Specifically, the model's ability to generalize from context allows it to "smooth over" estimation errors better than rigid neural networks.
Quality of Service (QoS) and Latency
The LLM-based method maintained a higher QoS than both MARL and Single-Agent RL (SARL) as vehicle competition for resources intensified. Furthermore, the approach consistently resulted in lower task processing latency by effectively managing server queues to prevent bottlenecks.
Discussion and Conclusion
This research demonstrates that LLMs can function as effective optimization solvers for numerical tasks in VEC. By abstracting complex mathematical problems into natural language prompts, the system leverages the "reasoning" capabilities of generative AI to bypass the hyperparameter tuning required by DRL.
However, challenges remain regarding inference speed and deployment costs. Running models like Llama 3.1-8b introduces computational overhead that may impact real-time performance. Future work will focus on utilizing lightweight, distilled LLMs and multi-agent LLM architectures to enhance scalability and reduce latency in real-world vehicular deployments.
Summary updated