1 / 63

Artificial Intelligence In the Real World

Artificial Intelligence In the Real World. Computing Science University of Aberdeen. Artificial Intelligence In the Real World. Artificial Intelligence In the Movies. Artificial Intelligence In the Real World. Artificial Intelligence In the Movies. Artificial Intelligence In the Real World.

conan
Download Presentation

Artificial Intelligence In the Real World

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Artificial IntelligenceIn the Real World Computing Science University of Aberdeen

  2. Artificial IntelligenceIn the Real World Artificial IntelligenceIn the Movies

  3. Artificial IntelligenceIn the Real World Artificial IntelligenceIn the Movies

  4. Artificial IntelligenceIn the Real World Artificial IntelligenceIn the Movies ?

  5. Artificial Intelligence Began in 1956… Great expectations… “Machines will be capable, within twenty years, of doing any work that a man can do.” Herbert Simon, 1965.

  6. “Machines will be capable, within twenty years, of doing any work that a man can do.” Herbert Simon, 1965. What Happened?

  7. Machines can’t do everything a man can do… People thought machines could replace humans…instead they are usually supporting humans “Machines will be capable, within twenty years, of doing any work that a man can do.” Herbert Simon, 1965. What Happened?

  8. Machines can’t do everything a man can do… People thought machines could replace humans…instead they are usually supporting humans Healthcare, Science, Government, Business, Military… “Machines will be capable, within twenty years, of doing any work that a man can do.” Herbert Simon, 1965. What Happened?

  9. Machines can’t do everything a man can do… People thought machines could replace humans…instead they are usually supporting humans Healthcare, Science, Government, Business, Military… Most difficult problems are solved by human+machine astronomy, nuclear physics, genetics, maths, drug discovery… “Machines will be capable, within twenty years, of doing any work that a man can do.” Herbert Simon, 1965. What Happened?

  10. Neural Networks • Neural Networks are a popular Artificial Intelligence technique • Used in many applications which help humans • The idea comes from trying to copy the human brain…

  11. Fascinating Brain Facts… • 100,000,000,000 = 1011 neurons -100 000 are irretrievably lost each day! • Each neuron connects to 10,000 -150,000 others • Every person on planet make 200 000 phone calls • same number of connections as in a single human brain in a day • Grey part folded to fit - would cover surface of office desk • The gray cells occupy only 5% of our brains • 95% is taken up by the communication network between them • About 2x106km of wiring (to the moon and back twice) • Pulses travel at more than 400 km/h (250 mph) • 2% of body weight… but consumes 20% of oxygen • All the time! Even when sleeping • What about copying neurons in Computers?

  12. Artificial Neural Network (ANN) • loosely based on biological neuron • Each unit is simple, but many connected in a complex network • If enough inputs are received • Neuron gets “excited” • Passes on a signal, or “fires” • ANN different to biological: • ANN outputs a single value • Biological neuron sends out a complex series of spikes • Biological neurons not fully understood Image from Purves et al., Life: The Science of Biology, 4th Edition, by Sinauer Associates and WH Freeman

  13. Now play with the flash animation to see how synapses work http://www.mind.ilstu.edu/curriculum/neurons_intro/flash_summary.php?modGUI=232&compGUI=1828&itemGUI=3160

  14. The Perceptron input1 weight1 input2 weight2 add output weight3 (threshold) weight4 input3 input4

  15. The Perceptron input1 weight1 input2 weight2 add output weight3 (threshold) weight4 input3 Save Graph and Data input4

  16. The Perceptron Save Graph and Data Note: example from Alison Cawsey

  17. The Perceptron First last year _ 0.2 add _ output 0.2 Male _ Threshold = 0.5 0.2 0.2 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  18. The Perceptron First last year _ 0.15 add _ output 0.15 Male _ Threshold = 0.5 0.2 0.15 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  19. The Perceptron First last year _ 0.15 add _ output 0.15 Male _ Threshold = 0.5 0.2 0.15 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  20. The Perceptron First last year _ 0.2 add _ output 0.2 Male _ 0.25 Threshold = 0.5 0.15 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  21. The Perceptron First last year _ 0.2 add _ output 0.2 Male _ 0.25 Threshold = 0.5 0.15 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  22. The Perceptron First last year _ 0.2 add _ output 0.2 Male _ 0.25 Threshold = 0.5 0.15 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  23. The Perceptron First last year _ 0.2 add _ output 0.2 Male _ 0.25 Threshold = 0.5 0.15 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  24. The Perceptron First last year _ 0.2 add _ output 0.2 Male _ 0.25 Threshold = 0.5 0.15 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  25. The Perceptron First last year _ 0.2 add _ output 0.15 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  26. The Perceptron First last year _ 0.2 add _ output 0.15 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  27. The Perceptron First last year _ 0.2 add _ output 0.15 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  28. The Perceptron First last year _ 0.2 add _ output 0.15 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  29. The Perceptron First last year _ 0.2 add _ output 0.15 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  30. The Perceptron First last year _ 0.2 add _ output 0.15 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  31. The Perceptron First last year _ 0.25 add _ output 0.15 Male _ 0.25 Threshold = 0.5 0.15 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  32. The Perceptron First last year _ 0.25 add _ output 0.15 Male _ 0.25 Threshold = 0.5 0.15 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  33. The Perceptron First last year _ 0.25 add _ output 0.10 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  34. The Perceptron First last year _ 0.25 add _ output 0.10 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls • Finished Note: example from Alison Cawsey

  35. The Perceptron First last year _ 0.25 add _ output 0.10 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls • Finished • Ready to try unseen examples Note: example from Alison Cawsey

  36. The Perceptron First last year _ 0.25 add _ output 0.10 Male _ 0.20 Threshold = 0.5 0.10 _ hardworking _ Lives in halls Note: example from Alison Cawsey

  37. The Perceptron 0.25 • Simple perceptron works ok for this example but sometimes will never find weights that fit everything • In our example: • Important: Getting a first last year, Being hardworking • Not so important: Male, Living in halls • Suppose there was an “exclusive or” - • Important: (male) OR (live in halls), but not both • Can’t capture this relationship _ output 0.10 add 0.20 Threshold = 0.5 0.10

  38. Stock Exchange Example

  39. Multilayer Networks • We saw: perceptron can’t capture relationships among inputs • Multilayer networks can capture complicated relationships

  40. Stock Exchange Example Hidden Layer

  41. Neural Net example: ALVINN • Autonomous vehicle controlled by Artificial Neural Network • Drives up to 70mph on public highways Note: most images are from the online slides for Tom Mitchell’s book “Machine Learning”

  42. Neural Net example: ALVINN • Autonomous vehicle controlled by Artificial Neural Network • Drives up to 70mph on public highways • Note: most images are from the online slides for Tom Mitchell’s book “Machine Learning”

  43. ALVINN Sharp right Straight ahead Sharp left 30 output units 4 hidden units 1 input pixel Input is 30x32 pixels = 960 values

  44. ALVINN Sharp right Straight ahead Sharp left 30 output units 4 hidden units Learning means adjusting weight values 1 input pixel Input is 30x32 pixels = 960 values

  45. ALVINN Sharp right Straight ahead Sharp left 30 output units 4 hidden units 1 input pixel Input is 30x32 pixels = 960 values

  46. ALVINN

  47. ALVINN • This shows one hidden node • Input is 30x32 array of pixel values • = 960 values • Note: no special visual processing • Size/colour corresponds to weight on link

  48. ALVINN • Output is array of 30 values • This corresponds to steering instructions • E.g. hard left, hard right • This shows one hidden node • Input is 30x32 array of pixel values • = 960 values • Note: no special visual processing • Size/colour corresponds to weight on link

  49. Let’s try a more complicated example with the program… • In this example we’ll get the program to help us to build the neural network

  50. Neural Network Applications • Particularly good for pattern recognition

More Related