Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Scientific Reports
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. scientific reports
  3. articles
  4. article
Dynamic task offloading in vehicular networks using large language models for adaptive low latency decision making
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 15 February 2026

Dynamic task offloading in vehicular networks using large language models for adaptive low latency decision making

  • Zouheir Trabelsi  ORCID: orcid.org/0000-0001-8686-89751 na1,
  • Muhammad Ali  ORCID: orcid.org/0000-0002-1659-54542 na1,
  • Tariq Qayyum  ORCID: orcid.org/0000-0003-3561-96741 na1 &
  • …
  • Asadullah Tariq  ORCID: orcid.org/0000-0002-2791-23471 

Scientific Reports , Article number:  (2026) Cite this article

  • 500 Accesses

  • 1 Altmetric

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Engineering
  • Mathematics and computing

Abstract

Task offloading in vehicular environments is essential for efficient computation and resource utilization among connected vehicles. However, traditional approaches e.g., Deep Reinforcement Learning (DRL) and heuristic methods often struggle with dynamic adaptation, communication overhead, and scalability in dense, fast-changing scenarios. This paper proposes an edge-intelligent framework that leverages a Large Language Model (LLM) deployed at Roadside Unit (RSU) edge nodes to optimize dynamic, multi objective offloading decisions. The LLM is fine tuned on a structured dataset encoding real time vehicular states (mobility, CPU, bandwidth, battery), task characteristics, and historical offloading outcomes, enabling reasoning over multi-dimensional inputs to select vehicle-to-vehicle (V2V) or vehicle-to-edge (V2E) destinations. Experimental evaluation under high-density and highly dynamic conditions demonstrate that the proposed LLM-based scheme outperforms state-of-the-art DRL and Greedy baselines, achieving a 15.3% average reduction in task latency and a 22.1% improvement in energy efficiency over the best DRL baseline, while maintaining a 97.5% task completion rate. Moreover, a fine tuned and quantized deployment reduces inference latency, yielding 1.8\(\times\) faster decision making at the edge crucial for stringent vehicular deadlines. We discuss remaining challenges, including compute footprint at RSUs, end-to-end latency under bursty loads, and energy aware adaptation, and outline optimization opportunities for real world deployment. Collectively, these results establish LLM-driven offloading as a scalable, accurate, and responsive paradigm for next generation vehicular edge intelligence.

Data availability

The datasets generated and/or analysed during the current study are available in the Vehicular Simulation Dataset (VEINS OMNeT++) repository, https://www.kaggle.com/datasets/ranatariq09/vehicular-simulation-dataset-veins-omnet/.

References

  1. Creß, C., Bing, Z. & Knoll, A. C. Intelligent transportation systems using roadside infrastructure: A literature survey. IEEE Trans. Intell. Transp. Syst. 25, 6309–6327 (2023).

    Google Scholar 

  2. Ali, M., Malik, A. W. & Rahman, A. U. Clustering-based re-routing framework for network traffic congestion avoidance on urban vehicular roads. J. Supercomput. 79, 21144–21165 (2023).

    Google Scholar 

  3. Yin, L., Luo, J., Qiu, C., Wang, C. & Qiao, Y. Joint task offloading and resources allocation for hybrid vehicle edge computing systems. IEEE Trans. Intell. Transport. Syst. (2024).

  4. Ali, M., Malik, A. W., Rahman, A. U., Iqbal, S. & Hamayun, M. M. Position-based emergency message dissemination for internet of vehicles. Int. J. Distrib. Sens. Netw. 15, 1550147719861585 (2019).

    Google Scholar 

  5. Qayyum, T. et al. Flexible global aggregation and dynamic client selection for federated learning in internet of vehicles. Comput. Mater. Continua 77, 1739 (2023).

    Google Scholar 

  6. Taha, M. B., Talhi, C., Ould-Slimane, H., Alrabaee, S. & Choo, K.-K.R. A multi-objective approach based on differential evolution and deep learning algorithms for vanets. IEEE Trans. Veh. Technol. 72, 3035–3050 (2022).

    Google Scholar 

  7. Khatri, S. et al. Machine learning models and techniques for vanet based traffic management: Implementation issues and challenges. Peer-to-Peer Netw. Appl. 14, 1778–1805 (2021).

    Google Scholar 

  8. Fan, W. et al. Joint task offloading and resource allocation for vehicular edge computing based on v2i and v2v modes. IEEE Trans. Intell. Transp. Syst. 24, 4277–4292 (2023).

    Google Scholar 

  9. Qayyum, T., Malik, A. W., Khan, M. A. & Khan, S. U. Modeling and simulation of distributed fog environment using fognetsim++. Fog Comput. Theory Pract. 293–307 (2020).

  10. Fofana, N., Letaifa, A. B. & Rachedi, A. Intelligent task offloading in vehicular networks: a deep reinforcement learning perspective. IEEE Trans. Veh. Technol. (2024).

  11. Wu, Y., Wu, J., Chen, L., Yan, J. & Han, Y. Load balance guaranteed vehicle-to-vehicle computation offloading for min-max fairness in vanets. IEEE Trans. Intell. Transp. Syst. 23, 11994–12013 (2021).

    Google Scholar 

  12. Liu, J. et al. Rl/drl meets vehicular task offloading using edge and vehicular cloudlet: A survey. IEEE Internet Things J. 9, 8315–8338 (2022).

    Google Scholar 

  13. Dong, S. et al. Task offloading strategies for mobile edge computing: A survey. Comput. Netw. 110791 (2024).

  14. Zhang, S., Yi, N. & Ma, Y. A survey of computation offloading with task types. IEEE Trans. Intell. Transp. Syst. (2024).

  15. Mizrahi, M. et al. State of what art? a call for multi-prompt llm evaluation. Trans. Assoc. Comput. Linguistics 12, 933–949 (2024).

    Google Scholar 

  16. Boateng, G. O. et al. A survey on large language models for communication, network, and service management: Application insights, challenges, and future directions. arXiv preprint arXiv:2412.19823 (2024).

  17. Sun, G. et al. Large language model (llm)-enabled graphs in dynamic networking. IEEE Netw. (2024).

  18. Zhou, H. et al. Large language model (llm) for telecommunications: A comprehensive survey on principles, key techniques, and opportunities. IEEE Commun. Surv. Tutor. (2024).

  19. Goodfellow, I., Bengio, Y., Courville, A. & Bengio, Y. Deep learning, vol. 1 (MIT Press, 2016).

  20. Yan, J., Zhao, X. & Li, Z. Deep reinforcement learning based computation offloading in uav-assisted vehicular edge computing networks. IEEE Internet Things J. (2024).

  21. Li, P., Xiao, Z., Gao, H., Wang, X. & Wang, Y. Reinforcement learning based edge-end collaboration for multi-task scheduling in 6g enabled intelligent autonomous transport systems. IEEE Trans. Intell. Transp. Syst. (2025).

  22. He, Y. et al. A mobile edge computing framework for task offloading and resource allocation in uav-assisted vanets. In IEEE INFOCOM 2021-IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), 1–6 (IEEE, 2021).

  23. Trabelsi, Z., Ali, M. & Qayyum, T. Fuzzy-based task offloading in internet of vehicles (iov) edge computing for latency-sensitive applications. Internet Things 28, 101392 (2024).

    Google Scholar 

  24. Ghaffari, A., Nguyen, H., Saleh, A., Lovén, L. & Gilman, E. Traffic accident prediction and warning system: Integration use case. In Fourth Workshop on Knowledge-infused Learning (KIL 2024) (OpenReview, 2024).

  25. Arshad, U. & Halim, Z. Blockllm: A futuristic llm-based decentralized vehicular network architecture for secure communications. Comput. Electr. Eng. 123, 110027 (2025).

    Google Scholar 

Download references

Funding

No funding was received for this project.

Author information

Author notes
  1. Zouheir Trabelsi, Muhammad Ali and Tariq Qayyum contributed equally to this work.

Authors and Affiliations

  1. College of Information Technology, United Arab Emirates University, Al Ain, 17551, UAE

    Zouheir Trabelsi, Tariq Qayyum & Asadullah Tariq

  2. School of computer and IT, Beaconhouse National University (BNU), Lahore, Pakistan

    Muhammad Ali

Authors
  1. Zouheir Trabelsi
    View author publications

    Search author on:PubMed Google Scholar

  2. Muhammad Ali
    View author publications

    Search author on:PubMed Google Scholar

  3. Tariq Qayyum
    View author publications

    Search author on:PubMed Google Scholar

  4. Asadullah Tariq
    View author publications

    Search author on:PubMed Google Scholar

Contributions

M.A.: Prepared the primary draft and implemented the architecture. Z.T.: Supervised, edited and provided oversight for the project. T.Q.: Assisted in dataset generation, implementation and writing. A.T.: Reviewed the manuscript and provided critical feedback.

Corresponding author

Correspondence to Zouheir Trabelsi.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Trabelsi, Z., Ali, M., Qayyum, T. et al. Dynamic task offloading in vehicular networks using large language models for adaptive low latency decision making. Sci Rep (2026). https://doi.org/10.1038/s41598-026-39791-y

Download citation

  • Received: 17 September 2025

  • Accepted: 09 February 2026

  • Published: 15 February 2026

  • DOI: https://doi.org/10.1038/s41598-026-39791-y

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Task offloading
  • Large language models (LLMs)
  • Autonomous mobility
  • Edge intelligence
  • Intelligent transportation systems (ITS)
  • Latency optimization
Download PDF

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on X
  • Sign up for alerts
  • RSS feed

About the journal

  • About Scientific Reports
  • Contact
  • Journal policies
  • Guide to referees
  • Calls for Papers
  • Editor's Choice
  • Journal highlights
  • Open Access Fees and Funding

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Scientific Reports (Sci Rep)

ISSN 2045-2322 (online)

nature.com sitemap

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing AI and Robotics

Sign up for the Nature Briefing: AI and Robotics newsletter — what matters in AI and robotics research, free to your inbox weekly.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing: AI and Robotics