Robots and Brains Andrew Ng, Director, Stanford Artificial Intelligence Lab 1 Who wants a robot to clean your house? [Photo Credit: I, Robot] 2 Stanford AI Robot [Credit: Ken Salisbury] 3 4 What’s missing? The software Control 5 Perception Stanford autonomous helicopter 6 Stanford autonomous helicopter GPS Accelerometers Compass 8 [Courtesy of David Shim] 10 Machine learning 12 Machine learning to fly helicopter 13 What’s missing? The software Control 14 Perception “Robot, please find my coffee mug” 15 “Robot, please find my coffee mug” Mug Mug Mug Mug Mug 16 Mug Mug Why is computer vision hard? But the camera sees this: 17 Computer programs (features) for vision 18 SIFT GIST HoG Shape context Textons Spin image Why is speech recognition hard? What a microphone records: “Robot, please find my coffee mug.” 19 Computer programs (features) for audio Spectrogram Flux 20 MFCC ZCR Rolloff The idea: Most of perception in the brain may be one simple program. 21 The “one program” hypothesis Auditory Cortex Auditory cortex learns to see [Roe et al., 1992] 22 The “one program” hypothesis Somatosensory Cortex Somatosensory cortex learns to see [Metin & Frost, 1989] 23 Neurons in the brain 24 Neural Network (Sparse Learning) x1 x2 Output x3 Layer L4 x4 Layer L1 25 Layer L3 Layer L2 How does the brain process images? Visual cortex looks for lines/edges. Neuron #1 of visual cortex (model) 26 Neuron #2 of visual cortex (model) Comparing to Biology Visual cortex 27 Learning algorithm Comparing to Biology Auditory cortex 28 Learning algorithm Computer vision results (NORB benchmark) 30 Classical computer vision (SVM): Neural Network: accuracy accuracy Correctly found mug 31 Mistake Correctly found mug 32 Mistake Correctly found mug 33 Mistake Correctly found mug 34 Mistake Hope of progress in Artificial Intelligence Email: ang@cs.stanford.edu 35 Comparing to Biology Auditory cortex 10 10 10 10 20 20 20 20 30 30 30 30 40 40 40 40 Learning algorithm 50 60 20 40 40 30 50 40 60 50 50 30 30 30 30 30 50 40 40 40 40 40 60 50 50 50 50 50 60 60 60 60 60 40 60 60 80 50 60 20 20 40 40 60 60 80 2080 40 60 80 20 40 60 80 20 40 60 80 10 10 10 10 20 20 20 20 20 20 10 30 10 30 30 30 30 30 20 40 30 50 20 40 40 40 40 40 30 50 50 50 50 50 40 60 60 20 40 60 8050 20 40 60 80 60 60 20 40 20 60 40 80 60 20 40 60 80 60 10 10 20 20 30 30 40 40 50 50 60 60 80 60 20 40 60 60 2080 40 60 80 20 40 20 40 60 40 10 50 60 20 10 40 60 42 30 20 40 20 80 20 20 80 60 80 30 20 60 80 40 60 20 20 40 60 20 40 20 10 30 20 40 20 20 40 20 80 20 10 30 20 60 10 10 80 60 10 10 60 50 10 10 40 60 50 60 10 10 20 40 50 80 Missed Mugs 52 True positives False positives Missed Mugs 53 True positives False positives Missed Mugs 54 True positives False positives Missed Mugs 55 True positives False positives