Artificial Intelligence (AI) Common AI Methods. Training. Signals to Perceptrons. Artificial Neural Networks (ANN) Artificial Intelligence

Similar documents
Data Mining Part 5. Prediction

ARTIFICIAL NEURAL NETWORK PART I HANIEH BORHANAZAD

Artificial Neural Networks Examination, March 2004

Incremental Stochastic Gradient Descent

EE04 804(B) Soft Computing Ver. 1.2 Class 2. Neural Networks - I Feb 23, Sasidharan Sreedharan

Artificial Neural Networks Examination, June 2005

Lecture 9 Evolutionary Computation: Genetic algorithms

Artificial Neural Networks Examination, June 2004

22c145-Fall 01: Neural Networks. Neural Networks. Readings: Chapter 19 of Russell & Norvig. Cesare Tinelli 1

Artificial Intelligence

Machine Learning. Neural Networks. (slides from Domingos, Pardo, others)

Data Warehousing & Data Mining

Introduction to Neural Networks

CSE 352 (AI) LECTURE NOTES Professor Anita Wasilewska. NEURAL NETWORKS Learning

COMP-4360 Machine Learning Neural Networks

HIGH PERFORMANCE ADAPTIVE INTELLIGENT DIRECT TORQUE CONTROL SCHEMES FOR INDUCTION MOTOR DRIVES

AI Programming CS F-20 Neural Networks

Artificial Neural Network

Perceptron. (c) Marcin Sydow. Summary. Perceptron

Machine Learning. Neural Networks. (slides from Domingos, Pardo, others)

Machine Learning. Neural Networks. (slides from Domingos, Pardo, others)

) (d o f. For the previous layer in a neural network (just the rightmost layer if a single neuron), the required update equation is: 2.

CS 4700: Foundations of Artificial Intelligence

100 inference steps doesn't seem like enough. Many neuron-like threshold switching units. Many weighted interconnections among units

Bounded Approximation Algorithms

Introduction to Machine Learning

CSC 4510 Machine Learning

Artificial Neural Networks

CMSC 421: Neural Computation. Applications of Neural Networks

Introduction To Artificial Neural Networks

Lecture 7 Artificial neural networks: Supervised learning

Lecture 4: Perceptrons and Multilayer Perceptrons

CSE446: Neural Networks Spring Many slides are adapted from Carlos Guestrin and Luke Zettlemoyer

CS:4420 Artificial Intelligence

AN INTRODUCTION TO NEURAL NETWORKS. Scott Kuindersma November 12, 2009

Using a Hopfield Network: A Nuts and Bolts Approach

In the Name of God. Lecture 9: ANN Architectures

Neural Networks Introduction

Neural Networks DWML, /25

Scaling Up. So far, we have considered methods that systematically explore the full search space, possibly using principled pruning (A* etc.).

Subcellular Localisation of Proteins in Living Cells Using a Genetic Algorithm and an Incremental Neural Network

Artificial Neural Networks

Neural Networks and the Back-propagation Algorithm

Lecture 6. Notes on Linear Algebra. Perceptron

COMPARING PERFORMANCE OF NEURAL NETWORKS RECOGNIZING MACHINE GENERATED CHARACTERS

Evolutionary Computation

Artificial Neural Networks. Historical description

Input layer. Weight matrix [ ] Output layer

Artifical Neural Networks

An Evolution Strategy for the Induction of Fuzzy Finite-state Automata

Introduction Neural Networks - Architecture Network Training Small Example - ZIP Codes Summary. Neural Networks - I. Henrik I Christensen

Neural Networks. Nicholas Ruozzi University of Texas at Dallas

Artificial Neural Networks

Artificial Neural Networks D B M G. Data Base and Data Mining Group of Politecnico di Torino. Elena Baralis. Politecnico di Torino

Data Mining. Preamble: Control Application. Industrial Researcher s Approach. Practitioner s Approach. Example. Example. Goal: Maintain T ~Td

Artificial Neural Networks" and Nonparametric Methods" CMPSCI 383 Nov 17, 2011!

COMP3411: Artificial Intelligence 7a. Evolutionary Computation

Keywords- Source coding, Huffman encoding, Artificial neural network, Multilayer perceptron, Backpropagation algorithm

2- AUTOASSOCIATIVE NET - The feedforward autoassociative net considered in this section is a special case of the heteroassociative net.

ARTIFICIAL INTELLIGENCE. Artificial Neural Networks

Multi-layer Perceptron Networks

Haploid & diploid recombination and their evolutionary impact

#33 - Genomics 11/09/07

ECLT 5810 Classification Neural Networks. Reference: Data Mining: Concepts and Techniques By J. Hand, M. Kamber, and J. Pei, Morgan Kaufmann

Choosing Variables with a Genetic Algorithm for Econometric models based on Neural Networks learning and adaptation.

Plan. Perceptron Linear discriminant. Associative memories Hopfield networks Chaotic networks. Multilayer perceptron Backpropagation

Lab 5: 16 th April Exercises on Neural Networks

Multilayer Perceptron

The Story So Far... The central problem of this course: Smartness( X ) arg max X. Possibly with some constraints on X.

Search. Search is a key component of intelligent problem solving. Get closer to the goal if time is not enough

Part 8: Neural Networks

COMP 551 Applied Machine Learning Lecture 14: Neural Networks

Neural Networks. CSE 6363 Machine Learning Vassilis Athitsos Computer Science and Engineering Department University of Texas at Arlington

SPSS, University of Texas at Arlington. Topics in Machine Learning-EE 5359 Neural Networks

Introduction to Artificial Neural Networks

CS 4700: Foundations of Artificial Intelligence

Convolutional Associative Memory: FIR Filter Model of Synapse

Neural Networks with Applications to Vision and Language. Feedforward Networks. Marco Kuhlmann

Evolutionary Design I

Neural Networks (Part 1) Goals for the lecture

Chapter 1 Introduction

Neural Networks and Fuzzy Logic Rajendra Dept.of CSE ASCET

Forecasting & Futurism

Hopfield Neural Network

Neural Networks biological neuron artificial neuron 1

Artificial Neural Networks

Simple Neural Nets For Pattern Classification

Course 395: Machine Learning - Lectures

Artificial Neural Networks. Edward Gatt

Non-linear Measure Based Process Monitoring and Fault Diagnosis

Nonlinear Classification

COMPUTATIONAL INTELLIGENCE (INTRODUCTION TO MACHINE LEARNING) SS16

COMS 4771 Introduction to Machine Learning. Nakul Verma

NEUROEVOLUTION. Contents. Evolutionary Computation. Neuroevolution. Types of neuro-evolution algorithms

CHAPTER 3. Pattern Association. Neural Networks

CS249: ADVANCED DATA MINING

Artificial Neural Networks

GENETIC ALGORITHM FOR CELL DESIGN UNDER SINGLE AND MULTIPLE PERIODS

Bayesian Networks: Construction, Inference, Learning and Causal Interpretation. Volker Tresp Summer 2014

Artificial Neural Networks

Transcription:

Artificial Intelligence (AI) Artificial Intelligence AI is an attempt to reproduce intelligent reasoning using machines * * H. M. Cartwright, Applications of Artificial Intelligence in Chemistry, 1993, pg. 2, Oxford University Press, Oxford CHEM8711/7711: Artificial Intelligence 2 Common AI Methods Artificial Neural Networks: utilize a computational model of the brain (multiple interconnected neurons) in order to learn Expert Systems: utilize a knowledge base and set of rules (heuristics) in order to provide expert assistance Genetic Algorithms: utilize the concepts of evolution to produce good solutions to a problem from poor random initial guesses CHEM8711/7711: Artificial Intelligence 3 Artificial Neural Networks (ANN) ANN uses perceptrons to mimic the functions of simple neurons: Has multiple input connections (s i ) -> adds up signals arriving on these connections (Σ i w i s i ) Remains off unless the sum reaches a threshold (Θ) Returns to off state after a short time CHEM8711/7711: Artificial Intelligence 4 Signals to Perceptrons Training Training involves both a training stimulus (input to the ANN) and a training target (the desired output) Perceptron learning rules: If output is correct, do nothing If incorrect on signal is given, decrease weights on active inputs If incorrect off signal is given, increase weights on active inputs CHEM8711/7711: Artificial Intelligence 5 CHEM8711/7711: Artificial Intelligence 6

Pattern Recognition A Simple NN Simple perceptrons can be trained to recognize simple patterns (molecules containing rings) The ability to train a perceptron is dependent on having a common ring orientation and size Recognition of rings having different orientations and sizes requires a network of perceptrons (ANN) More generally, problems must be linearly separable for a single perceptron to handle CHEM8711/7711: Artificial Intelligence 7 CHEM8711/7711: Artificial Intelligence 8 Example Problem Monitor temperature (T) and ph in a reaction vessel and sound an alarm if T>95 OR ph<4.5 This is not a single linearly separable problem, but is a conjunction of two linearly separable problems Solving the Problem A minimum of two perceptrons are required One monitors temperature and ignores the ph signal The other monitors ph and ignores the temperature signal CHEM8711/7711: Artificial Intelligence 9 CHEM8711/7711: Artificial Intelligence 10 Training Networks Networks involve multiple layers of perceptrons, but only the target signals of the output perceptrons are known Backpropagation Collects errors from the output perceptrons Errors are divided among the various connections in the network The weights for those connections are adjusted in order to reduce the error A single network can be trained for multiple applications Fault tolerance ANNs handle noisy data reasonably well Trained networks can deal with previously unseen data ANN operate in parallel ANN discover new relationships among input data ANN can cope with fuzzy data Selection of training set determines quality of training Relationships discovered by ANN are not readily translated into human understanding CHEM8711/7711: Artificial Intelligence 11 CHEM8711/7711: Artificial Intelligence 12

Another Neural Net Example Expert Systems Prediction of optimal conditions for protein crystallography in current use at the Center for Biophysical Sciences and Engineering at UAB Robotics used to set up hundreds of crystal growth experiments condition combinations determined by N- factorial analysis growth conditions (ph, concentration, etc) used as input for a back-propagation neural network crystal quality (manually graded on 1-10 scale) used as output using first round crystallization trials, can reliably predict optimal untested combination of conditions to produce highest quality crystals CHEM8711/7711: Artificial Intelligence 13 CHEM8711/7711: Artificial Intelligence 14 Searching the Knowledge Base CHEM8711/7711: Artificial Intelligence 15 Can be used in situations where an expert is not available Can collect input from the user and combine with knowledge base to infer solutions Not applicable to new situations Requires considerable expert input to develop Expert knowledge may not easily be easily fed into the knowledge base Requires constant updates in highly active areas (example: synthetic planning) CHEM8711/7711: Artificial Intelligence 16 Genetic Algorithm (GA) GA Applicability Initialize Population of Starting Solutions Select Fit Population Members Breed New Problem Solutions Many optimization algorithms go up (or down) hills Could be found by GA Would usually be found by hill climbing method GA explores from multiple starting points Generate Next Generation Population CHEM8711/7711: Artificial Intelligence 17 CHEM8711/7711: Artificial Intelligence 18

Representing a Solution Br H O b a N H Binary Representation: Solution Representation Requires 8 Genes: 1. Dihedral Angle Labeled a 2. Dihedral Angle Labeled b 3. Rotation of entire molecule around x axis relative to standard orientation 4. Rotation of entire molecule around y axis relative to standard orientation 5. Rotation of entire molecule around z axis relative to standard orientation (Binary example uses 3 bits to encode 360 degrees at 45 degree increments) 6. Distance in x direction from standard orientation 7. Distance in y direction from standard orientation 8. Distance in z direction from standard orientation (Binary example uses 3 bits to encode from -2.0 to +1.5 in 0.5 Å increments) 0 1 1 0 1 1 0 1 1 0 0 1 1 1 0 0 0 1 0 1 0 1 1 0 Real-Valued Representation Binary Mutation Concern Few single mutations result in small changes to the actual angle value Angle Value Binary Code Value Gray Code Value 0 000 000 45 001 001 90 010 011 135 011 010 180 100 110 225 101 111 270 110 101 315 111 100 120.0 118.2 45.3 121.2 10.1 1.0 1.3 0.8 CHEM8711/7711: Artificial Intelligence 19 CHEM8711/7711: Artificial Intelligence 20 Reproduction: Crossover Reproduction: Mutation Parent 1 Parent 2 0 1 1 0 1 1 0 1 1 0 0 1 1 1 0 0 0 1 0 1 0 0 1 0 0 1 0 1 1 1 1 0 1 0 0 0 0 0 1 1 1 0 Binary Representation: Child (Uniform) crossover 0 1 1 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 1 1 0 0 1 1 0 1 1 0 1 1 0 0 1 1 1 0 0 0 1 0 1 0 1 1 0 Mutate bit 0 1 1 0 1 1 0 0 1 0 0 1 1 1 0 0 0 1 0 1 0 1 1 0 Children (One-Point) 0 1 1 0 1 1 0 1 1 1 0 1 0 0 0 0 0 1 1 1 0 0 1 0 0 1 0 1 1 1 0 0 1 1 1 0 0 0 1 0 1 0 Real-Valued Representation 120.0 118.2 45.3 121.2 10.1 1.0 1.3 0.8 Children (Two-Point) 0 1 1 0 1 1 0 1 1 1 0 1 0 0 0 0 0 1 0 1 0 0 1 0 0 1 0 1 1 1 0 0 1 1 1 0 0 0 1 1 1 0 CHEM8711/7711: Artificial Intelligence 21 Mutate real value 120.0 124.3 45.3 121.2 10.1 1.0 1.3 0.8 CHEM8711/7711: Artificial Intelligence 22 GA Behavior Operates in parallel Able to solve problems with complex landscapes Requires ability to represent problem as a string The solution must be assembled from segments (schema) that confer high fitness CHEM8711/7711: Artificial Intelligence 23 CHEM8711/7711: Artificial Intelligence 24

Related Reading 9.9.1 12.12.5 CHEM8711/7711: Artificial Intelligence 25