Giter Club home page Giter Club logo

drivelm's Introduction

Drive on Language: Unlocking the future where autonomous driving meets the unlimited potential of language.

DriveLM.mp4

πŸ”₯ Highlights of the DriveLM Dataset

In the view of general Vision Language Models

  • 🌳 Structured reasoning, multi-modal Graph-of-Thought testbench.
tree_827.mp4

In the view of full-stack autonomous driving

  • πŸ›£ Completeness in functionality (covering Perception, Prediction and Planning QA pairs).

  • πŸ”œ Reasoning for future events that have not yet happened.
    • Many "What If"-style questions: imagine the future by language.

  • β™» Task-driven decomposition.
    • One scene-level text goal into many frame-level trajectories & planning text descriptions.

Table of Contents

News

  • [2023/08/25] DriveLM dataset demo v1.0 released.

(back to top)

Introduction

DriveLM is an autonomous driving (AD) dataset incorporating linguistic information. Through DriveLM, we want to connect large language models and autonomous driving systems, and eventually introduce the reasoning ability of Large Language Models in autonomous driving (AD) to make decisions and ensure explainable planning.

Specifically, in DriveLM, we facilitate Perception, Prediction, and Planning (P3) with human-written reasoning logic as a connection. To take it a step further, we leverate the ideo of Graph-of-Thought (GoT) to connect the QA pairs in a graph-style structure and use "What if"-style questions to reason about future events that have not happened.

Currently, a demo of the dataset has been released, and the full dataset and the model will be released in the future.

What is Graph-of-Thoughts in AD?

The most exciting aspect of the dataset is that the questions and answers (QA) in P3 are connected in a graph-style structure, with QA pairs as every node, and objects' relationships as the edges. Compared to language-only Tree-of-Thought or Graph-of-Thought, we go a step further towards multi-modality. The reason for doing this in the AD domain is that AD tasks are well-defined per stage, from raw sensor input to final control action.

πŸ“Š Comparison and stats: the first language-driving dataset facilitating P3 and logic

Language Dataset Base Dataset Language Form Perspectives Scale Release?
BDD-X 2018 BDD Description Planning Description & Justification 8M frames, 20k text strings βœ”οΈ
HAD HRI Advice 2019 HDD Advice Goal-oriented & stimulus-driven advice 5,675 video clips, 45k text strings βœ”οΈ
Talk2Car 2019 nuScenes Description Goal Point Description 30k frames, 10k text strings βœ”οΈ
DRAMA 2022 - Description QA + Captions 18k frames, 100k text strings βœ”οΈ
nuScenes-QA 2023 nuScenes QA Perception Result 30k frames, 460k generated QA pairs ❌
DriveLM 2023 nuScenes πŸ’₯ QA + Scene Description πŸ’₯Perception, Prediction and Planning with Logic 30k frames, 360k annotated QA pairs βœ”οΈ

What is included in the DriveLM dataset?

We construct our dataset based on the prevailing nuScenes dataset. The most central element of DriveLM is frame-based P3 QA. Perception questions require the model to recognize objects in the scene. Prediction questions ask the model to predict the future status of important objects in the scene. Planning questions prompt the model to give reasonable planning actions and avoid dangerous ones.

How about the annotation process?

1️⃣ Keyframe selection. Given all frames in one clip, the annotator selects the keyframes that need annotation. The criterion is that those frames should involve changes in ego-vehicle movement status (lane changes, sudden stops, start after a stop, etc.).

2️⃣ Key objects selection. Given keyframes, the annotator needs to pick up key objects in the six surrounding images. The criterion is that those objects should be able to affect the action of the ego vehicle (traffic signals, pedestrians crossing the road, other vehicles that move in the direction of the ego vehicle, etc.).

3️⃣ Question and answer annotation. Given those key objects, we automatically generate questions regarding single or multiple objects about perception, prediction, and planning. More details can be found in our demo data.

(back to top)

Getting Started

(back to top)

License and Citation

All assets and code in this repository are under the Apache 2.0 license unless specified otherwise. The language data is under CC BY-NC-SA 4.0. Other datasets (including nuScenes) inherit their own distribution licenses. Please consider citing our project if it helps your research.

@misc{drivelm2023,
  title={DriveLM: Drive on Language},
  author={DriveLM Contributors},
  howpublished={\url{https://github.com/OpenDriveLab/DriveLM}},
  year={2023}
}

(back to top)

Other Projects

Awesome

OpenDriveLab

Autonomous Vision Group

(back to top)

drivelm's People

Contributors

chengenxie avatar chonghaosima avatar ilnehc avatar jjxjiaxue avatar kashyap7x avatar kxstd avatar renzka avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.