mlsanityData to 7 Oct 2026

Generating and Evolving Reward Functions for Highway Driving with Large Language Models

arXiv 2406.10540 ↗First posted 15 Jun 2024cs.AI cs.NE cs.ROcited by 8

On the map: End-to-end autonomous driving → Large language models for driving

Abstract (arXiv)

Reinforcement Learning (RL) plays a crucial role in advancing autonomous driving technologies by maximizing reward functions to achieve the optimal policy. However, crafting these reward functions has been a complex, manual process in many practices. To reduce this complexity, we introduce a novel framework that integrates Large Language Models (LLMs) with RL to improve reward function design in autonomous driving. This framework utilizes the coding capabilities of LLMs, proven in other areas, to generate and evolve reward functions for highway scenarios. The framework starts with instructing LLMs to create an initial reward function code based on the driving environment and task descriptions. This code is then refined through iterative cycles involving RL training and LLMs' reflection, which benefits from their ability to review and improve the output. We have also developed a specific prompt template to improve LLMs' understanding of complex driving simulations, ensuring the generation of effective and error-free code. Our experiments in a highway driving simulator across three traffic configurations show that our method surpasses expert handcrafted reward functions, achieving a 22% higher average success rate. This not only indicates safer driving but also suggests significant gains in development productivity.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Placed in Large language models for driving, one of 9 directions in End-to-end autonomous driving. Builds on 29 of its 46 references that are in the map. First posted on arXiv 15 Jun 2024.

Builds on

29 of 46 references.

Closest ancestors · 9

Same direction, newest first

  1. 2024Engineering Safety Requirements for Autonomous Driving with Large Language Models24 Mar
  2. 2024LimSim++: A Closed-Loop Platform for Deploying Multimodal LLMs in Autonomous Driving2 Feb
  3. 2024LangProp: A code optimization framework using Large Language Models applied to driving18 Jan
  4. 2023LaMPilot: An Open Benchmark Dataset for Autonomous Driving with Language Model Programs7 Dec
  5. 2023A Survey on Multimodal Large Language Models for Autonomous Driving21 Nov
  6. 2023LLM4Drive: A Survey of Large Language Models for Autonomous Driving2 Nov
  7. 2023LanguageMPC: Large Language Models as Decision Makers for Autonomous Driving4 Oct
  8. 2023DiLu: A Knowledge-Driven Approach to Autonomous Driving with Large Language Models28 Sep
  9. 2023Drive as You Speak: Enabling Human-Like Interaction with Large Language Models in Autonomous Vehicles19 Sep

Other references · 20

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2023GAIA-1: A Generative World Model for Autonomous Drivingcited by 618
  3. 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 542
  4. 2017Deep Reinforcement Learning framework for Autonomous Drivingcited by 224
  5. 2018An Introduction to Deep Reinforcement Learningcited by 201
  6. 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
  7. 2023EvoPrompting: Language Models for Code-Level Neural Architecture Searchcited by 129
  8. 2021Reward (Mis)design for Autonomous Drivingcited by 102
  9. 2023Talk2BEV: Language-enhanced Bird's-eye View Maps for Autonomous Drivingcited by 88
  10. 2018Learning Navigation Behaviors End-to-End with AutoRLcited by 70
  11. 2024DriveCoT: Integrating Chain-of-Thought Reasoning with End-to-End Drivingcited by 67
  12. 2019Safe, Efficient, and Comfortable Velocity Control based on Reinforcement Learning for Autonomous Drivingcited by 56
8 more
  1. 2019Simulation-based reinforcement learning for real-world autonomous drivingcited by 51
  2. 2019Human-Like Autonomous Car-Following Model with Deep Reinforcement Learningcited by 47
  3. 2020Driving Behavior Modeling using Naturalistic Human Driving Data with Inverse Reinforcement Learningcited by 46
  4. 2023TrafficGPT: Viewing, Processing and Interacting with Traffic Foundation Modelscited by 45
  5. 2023Can you text what is happening? Integrating pre-trained language encoders into trajectory prediction models for autonomous drivingcited by 30
  6. 2023FollowNet: A Comprehensive Benchmark for Car-Following Behavior Modelingcited by 21
  7. 2023EnsembleFollower: A Hybrid Car-Following Framework Based On Reinforcement Learning and Hierarchical Planningcited by 6
  8. 2019Driving Style Encoder: Situational Reward Adaptation for General-Purpose Planning in Automated Drivingcited by 4

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 5.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Human-centric Reward Optimization for Reinforcement Learning-based Automated Driving using Large Language Models
  2. 2025Are LLMs The Way Forward? A Case Study on LLM-Guided Reinforcement Learning for Decentralized Autonomous Driving
  3. 2024VLM-RL: A Unified Vision Language Models and Reinforcement Learning Framework for Safe Autonomous Driving
  4. 2024LORD: Large Models based Opposite Reward Design for Autonomous Driving
  5. 2025LA-RL: Language Action-guided Reinforcement Learning with Safety Guarantees for Autonomous Highway Driving
  6. 2025ROAD: Responsibility-Oriented Reward Design for Reinforcement Learning in Autonomous Driving
  7. 2024A Review of Reward Functions for Reinforcement Learning in the context of Autonomous Driving
  8. 2025LearningFlow: Automated Policy Learning Workflow for Urban Driving with Large Language Models