Top Banner
1 © 2015 The MathWorks, Inc. How to build an autonomous anything Mary Ann Freeman Director of Engineering, MATLAB Products, Deep Learning, Data Analytics MathWorks
60

How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

May 28, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

1© 2015 The MathWorks, Inc.

How to build an autonomous anything

Mary Ann Freeman

Director of Engineering,

MATLAB Products, Deep Learning, Data Analytics

MathWorks

Page 2: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

2

Page 3: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

3

Page 4: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

4

Page 5: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

5

Page 6: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

6

Page 7: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

7

Page 8: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

8

Autonomous Technology

Page 9: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

9

Autonomous

Acting independently

Page 10: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

10

Autonomous Technology

Page 11: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

11

Autonomous Technology

Provides the ability of a system to act

independently of direct human control

Page 12: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

12

Autonomous Technology

Provides the ability of a system to act

independently of direct human control

under unrehearsed conditions

Page 13: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

13

Page 14: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

14

Capabilities of an Autonomous System

Sense

Page 15: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

15

Capabilities of an Autonomous System

Sense

Perceive

Page 16: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

16

Capabilities of an Autonomous System

Learning Algorithms

Optimization

Sense

Perceive

Decide & Plan

Page 17: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

17

Capabilities of an Autonomous System

Control Algorithms

Sense

Perceive

Decide & Plan

Act

Page 18: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

18

Autonomous Technology – Balancing Responsibility

Human

Computer

Re

sp

on

sib

ilit

y

Degree of Autonomy

Page 19: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

19

Bazille’s Studio

Bazille 1870Shuffleton’s Barbershop

Rockwell 1950

Page 20: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

20

Autonomous Artistic Style Classification

Rutgers University

Image

Feature

Extraction

Visual Features

Genre

Classifier

(SVM)

Artist

Classifier

(SVM)

Style

Classifier

(SVM)

Style:

Regionalism

Genre:

Interior

Artist:

Rockwell

Machine

Learning

Classification

Sense

Perceive

Decide & Plan

Act

Page 21: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

21

Where to add autonomy with perception?

▪ Analyze more data

▪ Reduce bias

▪ Improve measurement

quality

▪ Save time

▪ Improve performance

Determine

Loudspeaker

Quality

Virtual Semiconductor

Manufacturing Calibration

Page 22: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

22

Cost of rig: $1,000,000+

Repair cost: $100,000

Cost of valve: $200

Page 23: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

23

Page 24: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

24

Page 25: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

25

Page 26: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

26

Autonomous Service for Predictive Maintenance

Which sensor values should they use?

Decide & Plan

Act

Perceive

Sense

Pressure

Other

variables

Vibration Timing

Temperature

Page 27: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

27

Normal Operation Maintenance NeededMonitor Closely

Autonomous Service for Predictive Maintenance

Sense

Act

Perceive

Decide & Plan

Page 28: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

28

Normal Operation Maintenance NeededMonitor Closely

Autonomous Service for Predictive Maintenance

Sense

Act

Perceive

Decide & Plan

Find out more:

What’s New in Image Processing

and Computer Vision with MATLAB

Roy Fahn, Michael Donnenfeld

Image Processing and Deep Learning

Find out more:

Predictive Maintenance with

MATLAB and Simulink

Mehernaz Savai, MathWorks

Page 29: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

29

Machine Learning or Deep Learning?

1. Normal

2. Monitor

3. Maintain

Classification OutputFeature

ExtractionCorrelation

Analysis

Feature Extraction & Classification

Sensor 1

Sensor 2

Sensor 25

Sensor a

Sensor b

Sensor c

Sensor 1

Sensor 2

Sensor 25

Machine Learning Approach

Deep Learning Approach

1. Normal

2. Monitor

3. Maintain

Output

Page 30: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

30

Machine Learning and Deep Learning

Regression Learner app

▪ Configure and train models using

object detection algorithms(R-CNN, Fast R-CNN, Faster R-CNN)

▪ Leverage pretrained models for

transfer learning(AlexNet, VGG-16, VGG-19)

▪ Import models from Caffe

▪ Train networks using multiple GPUs

Page 31: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

31

Design Deep Learning

& Vision Algorithm

Accelerate and Scale

Training

Deep learning design is easy

in MATLAB

Apps for Ground Truth Labeling,

Pixel Labeling

Pre-trained model importer

Training Visualization

Parallel Computing Toolbox

Train

4x faster than TensorFlow

(on TitanXP)

GPU Coder

7x faster than TensorFlow

5x faster than pyCaffe

(on TitanXP)

2x faster than C++ Caffe

(on Jetson)

High Performance

Embedded Implementation

Mega Release of Deep Learning Capabilities

Page 32: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

32

Design Deep Learning

& Vision Algorithm

Accelerate and Scale

Training

Deep learning design is easy

in MATLAB

Apps for Ground Truth Labeling,

Pixel Labeling

Pre-trained model importer

Training Visualization

Parallel Computing Toolbox

Train

4x faster than TensorFlow

(on TitanXP)

GPU Coder

7x faster than TensorFlow

5x faster than pyCaffe

(on TitanXP)

2x faster than C++ Caffe

(on Jetson)

High Performance

Embedded Implementation

Mega Release of Deep Learning Capabilities

Find out more:

Deep Learning: Transforming

Engineering and Science

Avinash Nehemiah, MathWorks

Amit Goel, NVIDIA

Page 33: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

33

What are the best predictors?

▪ Data-driven

▪ Model-driven

Name of Presenter

Time and Location

Jet Engine Monitoring

Page 34: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

34

Autonomous Glucose Level Management

Page 35: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

35

Autonomous Glucose Level Management

Bigfoot Biomedical

Sense

Perceive

Decide & Plan

Act

Continuous

Glucose Monitor

Target

Glucose

Level

+ -

Insulin PumpPerson

Page 36: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

36

Autonomous Glucose Level Management

Bigfoot Biomedical

Continuous

Glucose Monitor

Target

Glucose

Level

+ -

Insulin PumpPerson

+ +

Mobile App

Sense

Act

Perceive

Decide & Plan

Page 37: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

37

Autonomous Glucose Level Management

Bigfoot Biomedical

Continuous

Glucose Monitor

Target

Glucose

Level

+ -

Insulin Pump

+ +

Mobile App

Sense

Act

Decide & Plan

Perceive

Person

Virtual Lab

Simulink, Stateflow

Polyspace

Page 38: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

38

Autonomous Glucose Level Management

Bigfoot Biomedical

Continuous

Glucose Monitor

Target

Glucose

Level

+ -

Insulin Pump

+ +

Mobile App

Person

Perceive

Decide & Plan

Act

Sense

Page 39: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

39

Autonomous Glucose Level Management

Bigfoot Biomedical

Continuous

Glucose Monitor

Target

Glucose

Level

+ -

Insulin Pump

+ +

Mobile App

Person

Perceive

Decide & Plan

Act

Sense

Virtual Clinic

MATLAB, Toolboxes

Page 40: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

40

Virtual Clinic

Generating data through simulation

Page 41: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

41

Virtual Clinic

Scaling computations to simulate 50 million patients a day

Page 42: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

42

Where will you get your data?

▪ Simulation

▪ Public repositories

▪ In the field

▪ In the lab

▪ Internet of Things (IoT)

Page 43: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

43

Machine

Memory

Working with Big Data Just Got Easier

Tall arrays in MATLAB

Tall Data

e.g. 100GB~1TB

e.g. 4~8GB

Stream large input signals from MAT-files

Page 44: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

44

CNH Develops Intelligent Filling System for Forage Harvesters

Page 45: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

45

Page 46: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

46

Autonomous Trailer Filling

Control Algorithms

Perceive

Act

Sense

Decide & Plan

Page 47: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

47

Autonomous Trailer Filling

Control AlgorithmsAct

Decide & Plan

Perceive

Sense

Page 48: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

48

Page 49: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

49

Autonomous Trailer Filling

Control Algorithms

• User Input

• Visualization

Embedded Platform

MPC5121e

CANActuators

ECUAct

Perceive

Decide & Plan

Sense

Computer vision and

controls algorithms

3D Cameras

Page 50: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

50

• Driver Input

• Visualization

• Computer

Vision

• Controls

Autonomous Trailer Filling

Act

Perceive

Decide & Plan

Sense

Computer vision and

controls algorithms

Vehicle Display Controller

ECU

Embedded Coder

3D Cameras

CAN

Actuators

Page 51: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

51

How will you put it into production?

▪ Embedded Systems

▪ IT Systems

▪ Cloud

▪ Desktop Apps

Page 52: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

52

Investments in Model-Based Design

Efficient code generation

Floating-point HDL code generation

Christopher Slack, Airbus

Signal Processing, Computer Vision

Page 53: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

53

Investments in Model-Based Design

Efficient code generation

Floating-point HDL code generation

Find out more:

Better Than Hand: Generating

Highly Optimized Code Using

Simulink and Embedded Coder

Mark Danielsen, MathWorks

Page 54: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

54

Investments in Model-Based Design

Detect and fix standards compliance

issues at design timeCode verification in support

of CERT C standard

Page 55: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

55

Page 56: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

56

Page 57: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

57

Page 58: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

58

Capabilities of an Autonomous System

Control Algorithms

Sense

Perceive

Decide & Plan

Act

Page 59: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

59

How to build an autonomous anything

Focus on Perception

• Data-driven

• Model-driven

• Reduce to actionable data

• Take advantage of Big Data

• Use simulation to supplement available data

• Address the architecture

• Leverage Model-Based Design for embedded

• Automate integration with enterprise IT systems

• Look for autonomy in creative places

• Do more than manually possible

Use the Best Predictors

Get the Right Data

Flow to Production

Page 60: How to build an autonomous anything - MathWorks€¦ · Machine Learning and Deep Learning Regression Learner app Configure and train models using object detection algorithms (R-CNN,

60

What is your

autonomous anything?