21
Deep Learning Based Motion Planning For Autonomous Vehicle Using Spatiotemporal LSTM Network Zhengwei Bai MentorBaigen Cai 2018.12.01

Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

Deep Learning Based Motion Planning For

Autonomous Vehicle Using Spatiotemporal LSTM Network

Zhengwei Bai

Mentor:Baigen Cai

2018.12.01

Page 2: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

第 2 页

知 行 合 一

Contents

1 Self Intro.

2 Project Intro.

3 Deep Learning Algorithm

4 Experiment & Result

5 Conclusion

Page 3: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

3

Self Introduction

Zhengwei Bai

2nd Year Master of Beijing Jiaotong University

School of Electronic Information Engineering

Autonomous Driving & Vehicle Infrastructure Cooperative Systems(VICS)

Page 4: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

Project Intro.

Page 5: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

5

Motivation

- About 1.25 million people die each year as a result of road traffic crashes

- Without sustained action, road traffic crashes are predicted to become the seventh

leading cause of death by 2030

72%

16%

7%5%

Cause of Traffic Crashes

Driver

Driver + Road

Driver + Vehicle

Vehicle

Page 6: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

6

Background

Path planning

Motion planning

Motion control

Road Capacity

Service Level

……

Human

Vehicle

Road

Human2Vehicle

H-V-R Coupling

Vehicle2Vehicle

Traffic Efficiency

Vehicle2Road

Extrinsic Features of Traffic System

ITS is essentially a multi-variable complex system with human-vehicle coupling

Car-following Lane changeDriving Behavior Path Planning Interwoven road Intersection

Autonomous Vehicle : a Crucial part of ITS

Page 7: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

7

Related Works

Imagination

Model Free : DL based Learning Process

Model Based : Pre-defined control strategies

Deep Learning: More adaptive to the complexity in real traffic scenarios

Page 8: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

9

Project Overview

Camera Data Motion Planning

Preprocessing

DL Algorithm

Frame combination

Raw image Steering angle

Visualization

- Input: Human-level Control Through Deep Reinforcement Learning (Nature)

- Algorithm: Convolutional LSTM + 3D-CNN + FCNN

- Output: Motion planning (Steering angle)

Page 9: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

Deep Learning Algorithm

Page 10: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

10

Data Preprocessing

Frame Combination:Time based 3 continuous frames Fuse into a higher dimensional data format

Raw imageDim: 320*160*3

Time series

Multi-frame dataDim: 320*160*3*3

Single frame image Time based visual data

Camera Data

Page 11: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

11

Convolutional LSTM

- Conv-LSTM :

- Based on multi-frame picture segments

- Use batch normalization between two layers

Extracting the temporal hidden feature information

𝑖𝑡: Input gate at time t

𝑓𝑡: Forget gate at time t

𝐶𝑡: LSTM cell at time t

𝑜𝑡 : Out put gate at time t

𝐻𝑡: Hidden gate at time t

Page 12: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

12

3D-CNN

- 3D-CNN :

- Build a cube by stacking multiple consecutive frames

- Use the 3D convolution kernel in the cube

2D-CNN 3D-CNN

Capturing the temporal and spatial features of time based image stream

Page 13: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

Pre-processing Batchnormalization Batchnormalization Batchnormalization Batchnormalization Flatten Full connection

Raw data Visualization

Spatiotemporal LSTM Network

13

Final DL Model

Learning the data from both spatial and temporal dimensions

Preprocess Convolutional LSTM Net 3D-CNN FCNN

𝐿𝑒𝑎𝑘𝑦𝑅𝑒𝐿𝑈 = ቊ−0.2 ∗ 𝑥, 𝑥 < 0

𝑥, 𝑥 ≤ 0𝑀𝑆𝐸 𝑥, 𝑦 =

1

𝑛𝑠𝑎𝑚𝑝𝑙𝑒𝑠

𝑖=0

𝑛𝑠𝑎𝑚𝑝𝑙𝑒𝑠−1

(𝑥𝑖 − 𝑦𝑖)2

Activation Function Loss Function

Page 14: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

14

Experiment

- Experimental platform:ubuntu16.04LTS + Tensorflow + Keras

+ + +

Dataset content:• 80GB data• Raw image data and vehicle actual state data • Collected from the vehicle-based sensors respectively

Inter i7-6700 CPU @ 3.4GHz

32 GB RAM

NVIDIA GTX 980 GPU

- Database:Comma-ai Dataset

Page 15: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

22

Progress of Experiment Making

Page 16: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

Experiment & Result

Page 17: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

17

Result & Visualization

Contrast experimental results Visualization Results

Spatiotemporal LSTM Network : Get more accurate and stable results

- Our method: high accurate and stable

- Hotz’s method: Can achieve the high

accuracy sometime but with higher

fluctuation

Page 18: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

18

Result Video

Page 19: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

19

Conclusion

- It can drive vehicle!! But not smart at all scenario

- The Spatiotemporal LSTM Network has the ability to learn the data from

both spatial and temporal dimensions.

- Spatial: more precise results in motion output

- Temporal: more stable motion in complex scenario

- Changing layers and parameters can cause much better result

- Need more 3D-CNN layer, more FCNN layer!

- More training time!!

Page 20: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

BeijingJiaotongUniversity

34

- Training the algorithm with a better computer in lab!

- Read and implement more papers to reinforce my DL algorithm

- Training and testing algorithms with more dataset

- Compare the results in different sensor data

- Lidar + Image

- Only Image

- Only Lidar

- Implement in a real vehicle?

After This Project...

Page 21: Deep Learning Based Motion Planning For Autonomous Vehicle ... · 1 Self Intro. 2 Project Intro. 3 Deep Learning Algorithm 4 Experiment & Result 5 Conclusion. Beijing Jiaotong University

THANK YOU !

Zhengwei Bai Mentor: Baigen Cai