SlideShare una empresa de Scribd logo
1 de 13
A Knowledge-driven
approach to
autonomous driving
with large language
models
BY SURESH RAVURI
Introduction to DILU
• The DILU (Decision-making Integration via Language Understanding)
approach addresses the need for autonomous vehicles (AVs) to adapt to
complex, dynamic environments using a hybrid of traditional data-driven
methods and advanced knowledge-driven strategies. This integration helps
AVs make decisions similar to human reasoning, ensuring safer and more
efficient navigation.
DILU Framework overview
The DILU framework consists of three main components:
• Reasoning Module: Utilizes LLMs to interpret sensor data and
environmental context to formulate potential actions.
• Reflection Module: Evaluates the proposed actions based on past
experiences and simulated future scenarios, ensuring decisions are safe and
optimal.
• Memory Module: Stores outcomes of past decisions to refine future
reasoning and reflection processes.
The framework of DiLu: It consists of four modules: Environment, Reasoning, Reflection,
and Memory. In DiLu, the Reasoning module can observe the environment, generate prompts by
combining scenario descriptions and experiences in the Memory module, and decode responses
from
the LLM to finish decision-making. Concurrently, the Reflection module evaluates these decisions,
identifies the unsafe decision to the experiences, and finally updates the revised experiences into
the
Memory module.
Deep dive into the reasoning module
• Scenario Encoding: It begins by encoding the current traffic scenario into a
descriptive text using a standard sentence structure, allowing for a comprehensive
understanding of both static and dynamic elements within the driving scenario.
• Memory Recall: The module then recalls relevant past experiences from the Memory
Module using the current scenario's description. This recall process involves a
vectorized representation of the scenario to find similar past situations.
• Prompt Generation: With the recalled experiences, a tailored prompt consisting of
the system prompts, scenario description, and few-shot experiences is generated.
This prompt prepares the LLM for the reasoning task.
• LLM Processing and Decision Decoding: The LLM receives the prompt and uses
Chain-of-Thought reasoning to articulate a step-by-step logic that culminates in a
decision. This decision is then translated into actionable commands for the vehicle .
Reasoning module. We leverage the LLM’s common-sense knowledge and
query the
experiences from Memory module to make decisions based on the scenario
observation.
Reflection Module Explained
• Assesses Decisions: The Reflection Module evaluates the actions and
decisions made by the Reasoning Module during driving simulations,
categorizing them as either safe or unsafe.
• Error Analysis and Correction: For unsafe decisions, such as those leading
to collisions, the Reflection Module uses LLM to understand and correct the
faulty reasoning that led to the decision.
• Updates Memory Module: The correct reasoning and decisions, after
reflection, are stored in the Memory Module, enriching it with new, safe driving
experiences and strategies for avoiding past mistakes.
• Continuous Learning: By processing the outcomes of past decisions, the
Reflection Module allows DiLu to learn from experience, akin to a novice driver
becoming more skilled over time .
Reflection module: The Reflection module takes recorded decisions from closed-loop
driving tasks as input, it utilizes a summarization and correction module to identify safe and
unsafe
decisions, subsequently revising them into correct decisions through the human knowledge
embedded
in LLM. Finally, these safe or revised decisions are updated into Memory module.
Role of the Memory Module
• Stores Experiences: Archives past driving scenarios and decisions,
facilitating a growing knowledge base.
• Initial Setup: Begins with pre-loaded basic scenarios to establish foundational
decision-making processes.
• Recalls Past Scenarios: During operation, it helps recall similar past
experiences to aid current decision-making.
• Informs Decisions: Uses stored experiences to provide context and support
for new decisions.
• Updates Continuously: Adds new experiences and outcomes to enhance
and update the knowledge base.
Experimental Results
• Detailed discussion of experimental setups using the Highway-env simulation
environment, showcasing how DILU outperforms traditional methods in terms
of decision accuracy, response time, and adaptability under various driving
conditions.
Conclusion and Future Directions
• DiLu integrates human-level knowledge into autonomous systems,
significantly enhancing decision-making and outperforming traditional
methods in generalization.
• It currently experiences decision-making latencies of 5-10 seconds and
occasional hallucinations from LLMs.
• Future improvements will focus on LLM compression and optimization to
reduce latency and enhance both efficiency and effectiveness.
Acknowledgments and References
• The research was supported by Shanghai Artificial Intelligence Laboratory, the National Key R&D
Program of China (Grant No. 2022ZD0160104) and the Science and Technology Commission of
Shanghai Municipality (Grant Nos. 22DZ1100102 and 23YF1462900).
• Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman,
Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et al. Gpt-4 technical report. arXiv
preprint arXiv:2303.08774, 2023.
• Daniel Bogdoll, Jasmin Breitenstein, Florian Heidecker, Maarten Bieshaar, Bernhard Sick, Tim
Fingscheidt, and Marius Z¨ollner. Description of corner cases in automated driving: Goals and
challenges. In Proceedings of the IEEE/CVF International Conference on Computer VisionWorkshop,
pp. 1023–1028, 2021.
• Jan-Aike Bolte, Andreas Bar, Daniel Lipinski, and Tim Fingscheidt. Towards corner case detection for
autonomous driving. In 2019 IEEE Intelligent vehicles symposium (IV), pp. 438–445. IEEE, 2019.
ThankYou!

Más contenido relacionado

Similar a A Knowledge-driven approach to autonomous driving with LLMs

1_Expertsystems.ppt
1_Expertsystems.ppt1_Expertsystems.ppt
1_Expertsystems.pptRISHI643981
 
System development life cycle (sdlc)
System development life cycle (sdlc)System development life cycle (sdlc)
System development life cycle (sdlc)Mukund Trivedi
 
CA-SUM Video Summarization
CA-SUM Video SummarizationCA-SUM Video Summarization
CA-SUM Video SummarizationVasileiosMezaris
 
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...Deltares
 
Introduction to Decision Science
Introduction to Decision ScienceIntroduction to Decision Science
Introduction to Decision Sciencekirwin3192
 
Software Developement Life Cycle ppt.pptx
Software Developement Life Cycle ppt.pptxSoftware Developement Life Cycle ppt.pptx
Software Developement Life Cycle ppt.pptxAbcXyz141938
 
Unit 3_Evaluation Technique.pptx
Unit 3_Evaluation Technique.pptxUnit 3_Evaluation Technique.pptx
Unit 3_Evaluation Technique.pptxssuser50f868
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier Fernández Muñoz
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier Fernández Muñoz
 
Chapter 10
Chapter 10Chapter 10
Chapter 10bodo-con
 
SDLC Apresentação - Shift Education of Technology
SDLC Apresentação - Shift Education of TechnologySDLC Apresentação - Shift Education of Technology
SDLC Apresentação - Shift Education of TechnologyRaphaff
 
Modeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxModeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxMaiGaafar
 

Similar a A Knowledge-driven approach to autonomous driving with LLMs (20)

1_Expertsystems.ppt
1_Expertsystems.ppt1_Expertsystems.ppt
1_Expertsystems.ppt
 
System development life cycle (sdlc)
System development life cycle (sdlc)System development life cycle (sdlc)
System development life cycle (sdlc)
 
CA-SUM Video Summarization
CA-SUM Video SummarizationCA-SUM Video Summarization
CA-SUM Video Summarization
 
Software developement life cycle ppt
Software developement life cycle pptSoftware developement life cycle ppt
Software developement life cycle ppt
 
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
DSD-INT 2014 - OpenMI Symposium - Federated modelling of Critical Infrastruct...
 
Software Engineering CSE/IT.pptx
 Software Engineering CSE/IT.pptx Software Engineering CSE/IT.pptx
Software Engineering CSE/IT.pptx
 
Expert system
Expert systemExpert system
Expert system
 
Introduction to Decision Science
Introduction to Decision ScienceIntroduction to Decision Science
Introduction to Decision Science
 
Design Rules.pdf
Design Rules.pdfDesign Rules.pdf
Design Rules.pdf
 
Decision Support System
Decision Support SystemDecision Support System
Decision Support System
 
Software Developement Life Cycle ppt.pptx
Software Developement Life Cycle ppt.pptxSoftware Developement Life Cycle ppt.pptx
Software Developement Life Cycle ppt.pptx
 
Unit 3_Evaluation Technique.pptx
Unit 3_Evaluation Technique.pptxUnit 3_Evaluation Technique.pptx
Unit 3_Evaluation Technique.pptx
 
The security sdlc
The security sdlcThe security sdlc
The security sdlc
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptx
 
Javier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptxJavier_Fernandez_CARS_workshop_presentation.pptx
Javier_Fernandez_CARS_workshop_presentation.pptx
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
SDLC Apresentação - Shift Education of Technology
SDLC Apresentação - Shift Education of TechnologySDLC Apresentação - Shift Education of Technology
SDLC Apresentação - Shift Education of Technology
 
4 sdlc
4 sdlc4 sdlc
4 sdlc
 
PPT for project (1).ppt
PPT for project (1).pptPPT for project (1).ppt
PPT for project (1).ppt
 
Modeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptxModeling&Simulation_Ch01_part 3.pptx
Modeling&Simulation_Ch01_part 3.pptx
 

Último

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Último (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

A Knowledge-driven approach to autonomous driving with LLMs

  • 1. A Knowledge-driven approach to autonomous driving with large language models BY SURESH RAVURI
  • 2. Introduction to DILU • The DILU (Decision-making Integration via Language Understanding) approach addresses the need for autonomous vehicles (AVs) to adapt to complex, dynamic environments using a hybrid of traditional data-driven methods and advanced knowledge-driven strategies. This integration helps AVs make decisions similar to human reasoning, ensuring safer and more efficient navigation.
  • 3. DILU Framework overview The DILU framework consists of three main components: • Reasoning Module: Utilizes LLMs to interpret sensor data and environmental context to formulate potential actions. • Reflection Module: Evaluates the proposed actions based on past experiences and simulated future scenarios, ensuring decisions are safe and optimal. • Memory Module: Stores outcomes of past decisions to refine future reasoning and reflection processes.
  • 4. The framework of DiLu: It consists of four modules: Environment, Reasoning, Reflection, and Memory. In DiLu, the Reasoning module can observe the environment, generate prompts by combining scenario descriptions and experiences in the Memory module, and decode responses from the LLM to finish decision-making. Concurrently, the Reflection module evaluates these decisions, identifies the unsafe decision to the experiences, and finally updates the revised experiences into the Memory module.
  • 5. Deep dive into the reasoning module • Scenario Encoding: It begins by encoding the current traffic scenario into a descriptive text using a standard sentence structure, allowing for a comprehensive understanding of both static and dynamic elements within the driving scenario. • Memory Recall: The module then recalls relevant past experiences from the Memory Module using the current scenario's description. This recall process involves a vectorized representation of the scenario to find similar past situations. • Prompt Generation: With the recalled experiences, a tailored prompt consisting of the system prompts, scenario description, and few-shot experiences is generated. This prompt prepares the LLM for the reasoning task. • LLM Processing and Decision Decoding: The LLM receives the prompt and uses Chain-of-Thought reasoning to articulate a step-by-step logic that culminates in a decision. This decision is then translated into actionable commands for the vehicle .
  • 6. Reasoning module. We leverage the LLM’s common-sense knowledge and query the experiences from Memory module to make decisions based on the scenario observation.
  • 7. Reflection Module Explained • Assesses Decisions: The Reflection Module evaluates the actions and decisions made by the Reasoning Module during driving simulations, categorizing them as either safe or unsafe. • Error Analysis and Correction: For unsafe decisions, such as those leading to collisions, the Reflection Module uses LLM to understand and correct the faulty reasoning that led to the decision. • Updates Memory Module: The correct reasoning and decisions, after reflection, are stored in the Memory Module, enriching it with new, safe driving experiences and strategies for avoiding past mistakes. • Continuous Learning: By processing the outcomes of past decisions, the Reflection Module allows DiLu to learn from experience, akin to a novice driver becoming more skilled over time .
  • 8. Reflection module: The Reflection module takes recorded decisions from closed-loop driving tasks as input, it utilizes a summarization and correction module to identify safe and unsafe decisions, subsequently revising them into correct decisions through the human knowledge embedded in LLM. Finally, these safe or revised decisions are updated into Memory module.
  • 9. Role of the Memory Module • Stores Experiences: Archives past driving scenarios and decisions, facilitating a growing knowledge base. • Initial Setup: Begins with pre-loaded basic scenarios to establish foundational decision-making processes. • Recalls Past Scenarios: During operation, it helps recall similar past experiences to aid current decision-making. • Informs Decisions: Uses stored experiences to provide context and support for new decisions. • Updates Continuously: Adds new experiences and outcomes to enhance and update the knowledge base.
  • 10. Experimental Results • Detailed discussion of experimental setups using the Highway-env simulation environment, showcasing how DILU outperforms traditional methods in terms of decision accuracy, response time, and adaptability under various driving conditions.
  • 11. Conclusion and Future Directions • DiLu integrates human-level knowledge into autonomous systems, significantly enhancing decision-making and outperforming traditional methods in generalization. • It currently experiences decision-making latencies of 5-10 seconds and occasional hallucinations from LLMs. • Future improvements will focus on LLM compression and optimization to reduce latency and enhance both efficiency and effectiveness.
  • 12. Acknowledgments and References • The research was supported by Shanghai Artificial Intelligence Laboratory, the National Key R&D Program of China (Grant No. 2022ZD0160104) and the Science and Technology Commission of Shanghai Municipality (Grant Nos. 22DZ1100102 and 23YF1462900). • Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et al. Gpt-4 technical report. arXiv preprint arXiv:2303.08774, 2023. • Daniel Bogdoll, Jasmin Breitenstein, Florian Heidecker, Maarten Bieshaar, Bernhard Sick, Tim Fingscheidt, and Marius Z¨ollner. Description of corner cases in automated driving: Goals and challenges. In Proceedings of the IEEE/CVF International Conference on Computer VisionWorkshop, pp. 1023–1028, 2021. • Jan-Aike Bolte, Andreas Bar, Daniel Lipinski, and Tim Fingscheidt. Towards corner case detection for autonomous driving. In 2019 IEEE Intelligent vehicles symposium (IV), pp. 438–445. IEEE, 2019.