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

Slides:



Advertisements
Similar presentations
Artificial Neural Networks
Advertisements

Artificial Intelligence 12. Two Layer ANNs
Biological Inspiration
Artificial Intelligence In the Real World Computing Science University of Aberdeen.
Introduction to Neural Networks
Godfather to the Singularity
Princess Nora University Artificial Intelligence Artificial Neural Network (ANN) 1.
1 Machine Learning: Lecture 4 Artificial Neural Networks (Based on Chapter 4 of Mitchell T.., Machine Learning, 1997)
Neural Networks  A neural network is a network of simulated neurons that can be used to recognize instances of patterns. NNs learn by searching through.
Computer Science Department FMIPA IPB 2003 Neural Computing Yeni Herdiyeni Computer Science Dept. FMIPA IPB.
Artificial Neural Networks - Introduction -
Classification Neural Networks 1
Machine Learning Neural Networks
1 Neural Networks - Basics Artificial Neural Networks - Basics Uwe Lämmel Business School Institute of Business Informatics
Artificial Intelligence (CS 461D)
Carla P. Gomes CS4700 CS 4700: Foundations of Artificial Intelligence Prof. Carla P. Gomes Module: Intro Neural Networks (Reading:
Introduction to Neural Network Justin Jansen December 9 th 2002.
Artificial Neural Networks
Using Neural Networks to Improve the Performance of an Autonomous Vehicle By Jon Cory and Matt Edwards.
CS 484 – Artificial Intelligence
Neural Networks. Background - Neural Networks can be : Biological - Biological models Artificial - Artificial models - Desire to produce artificial systems.
Traffic Sign Recognition Using Artificial Neural Network Radi Bekker
MSE 2400 EaLiCaRA Spring 2015 Dr. Tom Way
Artificial Neural Network Theory and Application Ashish Venugopal Sriram Gollapalli Ulas Bardak.
Data Mining and Neural Networks Danny Leung CS157B, Spring 2006 Professor Sin-Min Lee.
Artificial Neural Nets and AI Connectionism Sub symbolic reasoning.
IE 585 Introduction to Neural Networks. 2 Modeling Continuum Unarticulated Wisdom Articulated Qualitative Models Theoretic (First Principles) Models Empirical.
 The most intelligent device - “Human Brain”.  The machine that revolutionized the whole world – “computer”.  Inefficiencies of the computer has lead.
Artificial Neural Networks An Overview and Analysis.
Explorations in Neural Networks Tianhui Cai Period 3.
Machine Learning Chapter 4. Artificial Neural Networks
Introduction to Artificial Neural Network Models Angshuman Saha Image Source: ww.physiol.ucl.ac.uk/fedwards/ ca1%20neuron.jpg.
Machine Learning Dr. Shazzad Hosain Department of EECS North South Universtiy
LINEAR CLASSIFICATION. Biological inspirations  Some numbers…  The human brain contains about 10 billion nerve cells ( neurons )  Each neuron is connected.
Presented by Scott Lichtor An Introduction to Neural Networks.
AI History, Philosophical Foundations Part 2. Some highlights from early history of AI Gödel’s theorem: 1930 Turing machines: 1936 McCulloch and Pitts.
1 Chapter 11 Neural Networks. 2 Chapter 11 Contents (1) l Biological Neurons l Artificial Neurons l Perceptrons l Multilayer Neural Networks l Backpropagation.
1 Introduction to Neural Networks And Their Applications.
Neural Networks II By Jinhwa Kim. 2 Neural Computing is a problem solving methodology that attempts to mimic how human brain function Artificial Neural.
Neural Networks in Computer Science n CS/PY 231 Lab Presentation # 1 n January 14, 2005 n Mount Union College.
Artificial Intelligence & Neural Network
CSC321 Introduction to Neural Networks and Machine Learning Lecture 3: Learning in multi-layer networks Geoffrey Hinton.
Neural Networks Demystified by Louise Francis Francis Analytics and Actuarial Data Mining, Inc.
Neural Networks Teacher: Elena Marchiori R4.47 Assistant: Kees Jong S2.22
Image Source: ww.physiol.ucl.ac.uk/fedwards/ ca1%20neuron.jpg
Dr.Abeer Mahmoud ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information.
Artificial Neural Systems. Intro Artificial neural systems try to process information in the same way as the human brain does. Traditional computer systems.
Neural Networks. Background - Neural Networks can be : Biological - Biological models Artificial - Artificial models - Desire to produce artificial systems.
Where are we? What’s left? HW 7 due on Wednesday Finish learning this week. Exam #4 next Monday Final Exam is a take-home handed out next Friday in class.
Neural Networks Lecture 4 out of 4. Practical Considerations Input Architecture Output.
1 Azhari, Dr Computer Science UGM. Human brain is a densely interconnected network of approximately neurons, each connected to, on average, 10 4.
Intro. ANN & Fuzzy Systems Lecture 3 Basic Definitions of ANN.
Business Analytics Several odds and ends Copyright © 2016 Curt Hill.
March 31, 2016Introduction to Artificial Intelligence Lecture 16: Neural Network Paradigms I 1 … let us move on to… Artificial Neural Networks.
Artificial Neural Networks This is lecture 15 of the module `Biologically Inspired Computing’ An introduction to Artificial Neural Networks.
Done Done Course Overview What is AI? What are the Major Challenges?
Biological Inspiration
Artificial Intelligence (CS 370D)
How We Think Of Computers
Artificial Neural Networks
Dr. Unnikrishnan P.C. Professor, EEE
Artificial Neural Networks
Introduction to Neural Networks And Their Applications
Classification Neural Networks 1
Face Recognition with Neural Networks
Basics of Deep Learning No Math Required
Done Done Course Overview What is AI? What are the Major Challenges?
Artificial Intelligence 12. Two Layer ANNs
Seminar on Machine Learning Rada Mihalcea
EE 193/Comp 150 Computing with Biological Parts
Presentation transcript:

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 Artificial Intelligence In the Movies ?

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.

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

What Happened? Machines cant 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? Machines cant 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? Machines cant 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 my 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.

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…

Fascinating Brain Facts… 100,000,000,000 = neurons are irretrievably lost each day Each neuron connects to 10, ,000 others Every person on planet make 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 2x10 6 km 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?

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 Biological Inspiration

Now play with the flash animation to see how synapses work mary.php?modGUI=232&compGUI=1828&itemGUI=3160 (Maybe this is a bit too long – about 3 or 4 mins)

The Perceptron add weight 1 output input 1 input 2 input 3 input 4 weight 4 (threshold) weight 2 weight 3

The Perceptron add weight 1 output input 1 input 2 input 3 input 4 weight 4 (threshold) weight 2 weight 3 Save Graph and Data

The Perceptron Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 1Richard Alan Alison Jeff Gail Simon01110 Save Graph and Data

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.2 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 1Richard11010

The Perceptron add 0.15 _ output First last year _ Male _ hardworking _ Lives in halls 0.15 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 1Richard11010

The Perceptron add 0.15 _ output First last year _ Male _ hardworking _ Lives in halls 0.15 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 2Alan11101

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.15 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 2Alan11101

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.15 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 3Alison00100

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.15 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 4Jeff01010

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.15 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 5Gail10111

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.15 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 6Simon01110

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 6Simon01110

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 1Richard11010

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 2Alan11101

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 3Alison00100

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 4Jeff01010

The Perceptron add 0.2 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 5Gail10111

The Perceptron add 0.25 _ output First last year _ Male _ hardworking _ Lives in halls 0.15 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 5Gail10111

The Perceptron add 0.25 _ output First last year _ Male _ hardworking _ Lives in halls 0.15 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 6Simon01110

The Perceptron add 0.25 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = Note: example from Alison Cawsey studentfirst last year maleworks hard Lives in halls First this year 6Simon01110

The Perceptron add 0.25 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = Finished

The Perceptron add 0.25 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = Finished Ready to try unseen examples

The Perceptron add 0.25 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = studentfirst last year maleworks hard Lives in halls First this year James0101?

The Perceptron add 0.25 _ output First last year _ Male _ hardworking _ Lives in halls 0.10 Threshold = 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 Cant capture this relationship

Stock Exchange Example Company NameCompany less than 2 years old Paid dividend >10% last year Share price increases in following year 1Robot Components Ltd Silicon Devices101 3Bleeding Edge Software 000 4Human Interfaces Inc Data Management Inc Intelligent Systems110

Multilayer Networks We saw: perceptron cant capture relationships among inputs Multilayer networks can capture complicated relationships

Stock Exchange Example Hidden Layer

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 Mitchells book Machine Learning

Neural Net example: ALVINN Autonomous vehicle controlled by Artificial Neural Network Drives up to 70mph on public highways

Neural Net example: ALVINN Input is 30x32 pixels = 960 values 1 input pixel 4 hidden units 30 output units Sharp right Straight ahead Sharp left

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

Neural Net example: ALVINN Input is 30x32 pixels = 960 values 1 input pixel 4 hidden units 30 output units Sharp right Straight ahead Sharp left

Neural Net example: 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

Neural Net example: 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

Lets try a more complicated example with the program… In this example well get the program to help us to build the neural network

Neural Network Applications Particularly good for pattern recognition

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten)

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten) Image recognition (e.g. human faces)

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten) Image recognition (e.g. human faces) Robot control - hand-arm-block.mpg

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten) Image recognition (e.g. human faces) Robot control ECG pattern – had a heart attack?

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten) Image recognition (e.g. human faces) Robot control ECG pattern – had a heart attack? Application for credit card or mortgage

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten) Image recognition (e.g. human faces) Robot control ECG pattern – had a heart attack? Application for credit card or mortgage Data Mining on Customers

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten) Image recognition (e.g. human faces) Robot control ECG pattern – had a heart attack? Application for credit card or mortgage Data Mining on Customers Other types of Data Mining - Science

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten) Image recognition (e.g. human faces) Robot control ECG pattern – had a heart attack? Application for credit card or mortgage Data Mining on Customers Other types of Data Mining Spam filtering

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten) Image recognition (e.g. human faces) Robot control ECG pattern – had a heart attack? Application for credit card or mortgage Data Mining on Customers Other types of Data Mining Spam filtering Shape in Go

Neural Network Applications Particularly good for pattern recognition Sound recognition – voice, or medical Character recognition (typed or handwritten) Image recognition (e.g. human faces) Robot control ECG pattern – had a heart attack? Application for credit card or mortgage Data Mining on Customers Other types of Data Mining Spam filtering Shape in Go… and many more!

What are Neural Networks Good For? When training data is noisy, or inaccurate E.g. camera or microphone inputs Very fast performance once network is trained Can accept input numbers from sensors directly Human doesnt need to interpret them first

What are Neural Networks Good For? When training data is noisy, or inaccurate E.g. camera or microphone inputs Very fast performance once network is trained Can accept input numbers from sensors directly Human doesnt need to interpret them first Need a lot of data – training examples Training time could be very long This is the big problem for large networks Network is like a black box A human cant look inside and understand what has been learnt Precise logical rules would be easier to understand Disadvantages?