Research paper on LLM-based autonomous driving
Top 94.3% on sourcepulse
DiLu is a closed-loop, self-evolving framework for autonomous driving that integrates common-sense knowledge and memory with large language models (LLMs). It aims to provide a more intelligent and robust approach to autonomous driving challenges, targeting researchers and developers in the field.
How It Works
DiLu employs a four-module architecture: Environment, Reasoning, Reflection, and Memory. It leverages LLMs to process and reason about driving scenarios, incorporating a memory component for retaining and recalling past experiences. The reflection module allows for self-improvement by analyzing past actions and updating the memory, creating a knowledge-driven, evolving system.
Quick Start & Requirements
conda create -n dilu python=3.8
), activate it (conda activate dilu
), and install dependencies (pip install -r requirements.txt
).langchain==0.0.335
, openai==0.28.1
, chromadb==0.3.29
), and OpenAI API keys (or Azure OpenAI credentials).config.yaml
.python run_dilu.py
. Simulation videos and logs are saved in the results
folder.python ./visualize_results.py
and access the demo at http://127.0.0.1:7860
.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The highway-env
window may appear unresponsive during execution, but the terminal output indicates normal operation. Specific library versions are required, necessitating careful environment management.
1 year ago
1+ week