What is Artificial Intelligence?

Similar documents
Introduction To Genetic Algorithms

Genetic Algorithms and Sudoku

Memory Allocation Technique for Segregated Free List Based on Genetic Algorithm

About the Author. The Role of Artificial Intelligence in Software Engineering. Brief History of AI. Introduction 2/27/2013

D A T A M I N I N G C L A S S I F I C A T I O N

Evolutionary SAT Solver (ESS)

Artificial Intelligence (AI)

Overview. Swarms in nature. Fish, birds, ants, termites, Introduction to swarm intelligence principles Particle Swarm Optimization (PSO)

Numerical Research on Distributed Genetic Algorithm with Redundant

CHAPTER 6 GENETIC ALGORITHM OPTIMIZED FUZZY CONTROLLED MOBILE ROBOT

6 Creating the Animation

CSC384 Intro to Artificial Intelligence

Lab 4: 26 th March Exercise 1: Evolutionary algorithms

A Parallel Processor for Distributed Genetic Algorithm with Redundant Binary Number

CS MidTerm Exam 4/1/2004 Name: KEY. Page Max Score Total 139

College of information technology Department of software

A Non-Linear Schema Theorem for Genetic Algorithms

Optimization in Strategy Games: Using Genetic Algorithms to Optimize City Development in FreeCiv

Intelligent Modeling of Sugar-cane Maturation

Introduction to Machine Learning and Data Mining. Prof. Dr. Igor Trajkovski

Alpha Cut based Novel Selection for Genetic Algorithm

Master's projects at ITMO University. Daniil Chivilikhin PhD ITMO University

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

History of Artificial Intelligence. Introduction to Intelligent Systems

Artificial Neural Networks and Support Vector Machines. CS 486/686: Introduction to Artificial Intelligence

Genetic Algorithm. Based on Darwinian Paradigm. Intrinsically a robust search and optimization mechanism. Conceptual Algorithm

A Genetic Algorithm Processor Based on Redundant Binary Numbers (GAPBRBN)

Neural Networks and Back Propagation Algorithm

Genetic Algorithms commonly used selection, replacement, and variation operators Fernando Lobo University of Algarve

Holland s GA Schema Theorem

Hybrid Evolution of Heterogeneous Neural Networks

EXECUTIVE SUPPORT SYSTEMS (ESS) STRATEGIC INFORMATION SYSTEM DESIGNED FOR UNSTRUCTURED DECISION MAKING THROUGH ADVANCED GRAPHICS AND COMMUNICATIONS *

GPSQL Miner: SQL-Grammar Genetic Programming in Data Mining

New binary representation in Genetic Algorithms for solving TSP by mapping permutations to a list of ordered numbers

Practical Applications of Evolutionary Computation to Financial Engineering

Using Genetic Algorithms in Secured Business Intelligence Mobile Applications

School of Computer Science

LOAD BALANCING IN CLOUD COMPUTING

Comparison of Major Domination Schemes for Diploid Binary Genetic Algorithms in Dynamic Environments

Genetic algorithms for changing environments

Research on a Heuristic GA-Based Decision Support System for Rice in Heilongjiang Province

A Robust Method for Solving Transcendental Equations

Learning is a very general term denoting the way in which agents:

School of Computer Science

Original Article Efficient Genetic Algorithm on Linear Programming Problem for Fittest Chromosomes

Asexual Versus Sexual Reproduction in Genetic Algorithms 1

Volume 3, Issue 2, February 2015 International Journal of Advance Research in Computer Science and Management Studies

Jitendra Kumar Gupta 3

Neural Networks algorithms and applications

A Study of Crossover Operators for Genetic Algorithm and Proposal of a New Crossover Operator to Solve Open Shop Scheduling Problem

GA as a Data Optimization Tool for Predictive Analytics

Vol. 35, No. 3, Sept 30,2000 ملخص تعتبر الخوارزمات الجينية واحدة من أفضل طرق البحث من ناحية األداء. فبالرغم من أن استخدام هذه الطريقة ال يعطي الحل

A Genetic-Fuzzy Logic Based Load Balancing Algorithm in Heterogeneous Distributed Systems

Artificial Intelligence and Machine Learning Models

CHAPTER 18 Programming Your App to Make Decisions: Conditional Blocks

A Review And Evaluations Of Shortest Path Algorithms

Neural Network and Genetic Algorithm Based Trading Systems. Donn S. Fishbein, MD, PhD Neuroquant.com

ADVANCES IN KNOWLEDGE DISCOVERY IN DATABASES

Brains, Ontologies & Virtual Machines

A Basic Guide to Modeling Techniques for All Direct Marketing Challenges

Neural Networks and Support Vector Machines

Using Adaptive Random Trees (ART) for optimal scorecard segmentation

CHAPTER 15: IS ARTIFICIAL INTELLIGENCE REAL?

Measuring Entertainment and Automatic Generation of Entertaining Games

Software Engineering and Service Design: courses in ITMO University

Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster / October 3, 2012

EFFICIENT DATA PRE-PROCESSING FOR DATA MINING

Recurrent Neural Networks

Practical Introduction to Machine Learning and Optimization. Alessio Signorini

International Journal of Software and Web Sciences (IJSWS)

Evaluation of Different Task Scheduling Policies in Multi-Core Systems with Reconfigurable Hardware

A SURVEY ON GENETIC ALGORITHM FOR INTRUSION DETECTION SYSTEM

Genetic programming with regular expressions

Bit-Level Encryption and Decryption of Images Using Genetic Algorithm: A New Approach

The Use of Evolutionary Algorithms in Data Mining. Khulood AlYahya Sultanah AlOtaibi

Chess Algorithms Theory and Practice. Rune Djurhuus Chess Grandmaster / September 23, 2014

CHAPTER 3 SECURITY CONSTRAINED OPTIMAL SHORT-TERM HYDROTHERMAL SCHEDULING

Course Outline Department of Computing Science Faculty of Science. COMP Applied Artificial Intelligence (3,1,0) Fall 2015

USING GENETIC ALGORITHM IN NETWORK SECURITY

A Brief Study of the Nurse Scheduling Problem (NSP)

Neural Network Design in Cloud Computing

Evolution (18%) 11 Items Sample Test Prep Questions

MANAGING QUEUE STABILITY USING ART2 IN ACTIVE QUEUE MANAGEMENT FOR CONGESTION CONTROL

Commodity Futures. Price Prediction, an Artificial Intelligence Approach. Ernest A. Foster. (Under the direction of Walter D.

Ant Colony Optimization (ACO)

Genetic Algorithm. Tom V. Mathew Assistant Professor, Department of Civil Engineering, Indian Institute of Technology Bombay, Mumbai

Cellular Automaton: The Roulette Wheel and the Landscape Effect

Pathfinding in Computer Games

An evolutionary learning spam filter system

School of Computer Science

New Modifications of Selection Operator in Genetic Algorithms for the Traveling Salesman Problem

Genetic Algorithm Based Interconnection Network Topology Optimization Analysis

6.2.8 Neural networks for data mining

Projects - Neural and Evolutionary Computing

Artificial neural networks

CSCI-8940: An Intelligent Decision Aid for Battlefield Communications Network Configuration

Spatial Interaction Model Optimisation on. Parallel Computers

Biological Neurons and Neural Networks, Artificial Neurons

Artificial Intelligence for ICT Innovation

Grammatical Differential Evolution

Transcription:

Introduction to Artificial Intelligence What is Artificial Intelligence? One definition: AI is the study of how to make computers do things that people generally do better Many approaches and issues, e.g.: Philosophy Cognitive Science Logic and Rules Search, Game-Playing Neural Networks Evolution 1

Philosophical Discussions Test for intelligence? Turing Test Interrogator Honest Human Computer Philosophical Discussions Physical Symbol Hypothesis Newell & Simon, 1976 The thinking mind consists of the manipulation of symbols. That is, a physical symbol system has the necessary and sufficient means for general intelligent action. If true, then a computer has the necessary means to implement general intelligent action What rights should an intelligent computer have? Counter-arguments Lack of consciousness Lack of self-awareness 2

Cognitive Science Approach AI from the human perspective Psychology and Cognitive Science Example: Sentence Verification Experiment Semantic Network/Memory Model 3

Search and Problem Spaces Searching a Problem Space or State Space for a solution is a common theme in AI relies largely on the computer s ability to search, by brute force, a huge number of possible states Example: Water Jug problem Water Jug State Space Search 4

Classical Game Playing Consider a 2 player game like chess Can t use the previous search technique, too many states On average, about 35 moves can be made If each player makes 50 moves, the number of states to search is 35 100 which is untractable Minimax Solution: Generate a search tree as far ahead as is feasible, compute a heuristic function for each state, and make the move leading to the best state Heuristic function: Computes a number that guesses how close the state is to winning 5

Minimax/Heuristic Example: Othello Heuristic: My pieces His pieces Neurons in the Brain Although heterogeneous, at a low level the brain is composed of neurons A neuron receives input from other neurons (generally thousands) from its synapses Inputs are approximately summed When the input exceeds a threshold the neuron sends an electrical spike that travels that travels from the body, down the axon, to the next neuron(s) 6

Example: Hopfield Networks Many different types of computer-based neural networks Machine learning Given examples, learn the category One is a Hopfield network which is a type of content-addressable memory Network stores attractor points that represent concepts Given a fuzzy input the system converges to the nearest attractor Standard Binary Hopfield Network Recurrent; Every unit is connected to every other unit Weights connecting units are symmetrical w ij = w ji If the weighted sum of the inputs exceeds a threshold, its output is 1 otherwise its output is -1 Units update themselves asynchronously as their inputs change A wab wac B w BC w BD w AD C D w CD 7

Hopfield Memories Setting the weights: A pattern is a setting of on or off for each unit Weights are adjusted so they strengthen connections to other units that are turned on at the same time, weakened if they are turned off at the same time Demo http://www.cbu.edu/~pong/ai/hopfield/hopfield applet.html Evolution in Computers Genetic Algorithms most widely known work by John Holland Form of machine learning Based on Darwinian Evolution In a competitive environment, strongest, most fit of a species survive, weak die Survivors pass their good genes on to offspring Occasional mutation 8

Evolution in Computers Same idea in computers Population of computer program / solution treated like the critters above, typically encoded as a bit string Survival Instinct have computer programs compete with one another in some environment, evolve with mutation and sexual recombination GA s for Computer Problems Population of critters Population of computer solutions Surviving in environment Solving computer problem Fitness measure in nature Fitness measure solving computer problem Fit individuals life, poor die Play God and kill computer solutions that do poorly, keep those that do well. i.e. breed the best solutions typically Fitness Proportionate Reduction Pass genes along via mating Pass genes along through computer mating Repeat process, getting more and more fit individuals in each generation. Usually represent computer solutions as bit strings. 9

The Simple Genetic Algorithm 1. Generate an initial random population of M individuals (i.e. programs or solutions) 2. Repeat for N generations 1. Calculate a numeric fitness for each individual 2. Repeat until there are M individuals in the new population 1. Choose two parents from the current population probabilistically based on fitness (i.e. those with a higher fitness are more likely to be selected) 2. Cross them over at random points, i.e. generate children based on parents (note external copy routine) 3. Mutate with some small probability 4. Put offspring into the new population Crossover Typically use bit strings, but could use other structures Bit Strings: Genotype representing some phenotype Individual 1: 001010001 Individual 2: 100110110 New child : 100110001 has characteristics of both parents, hopefully better than before Bit string can represent whatever we want for our particular problem; solution to a complex equation, logic problem, classification of some data, aesthetic art, music, etc. 10

Example : Traveling Salesman Problem 29 Node Traveling Salesperson Problem 29! = 8.8 trillion billion billion possible asymmetric routes. ASCI White, an IBM supercomputer being used by Lawrence Livermore National Labs to model nuclear explosions, is capable of 12 trillion operations per second (TeraFLOPS) peak throughput Assuming symmetric routes, ASCI White would take 11.7 billion years to exhaustively search the solution space A genetic algorithm approach Randomly generate a population of solutions Each solution represents an entire solution, i.e. a random ordering of nodes representing a loop Given nodes 1-6, we might generate 423651 to represent the loop of visiting 4 first, then 2, then 3, then 6, then 5, then 1, then back to 4 Assign each solution a fitness value Fitness is just the sum of the distance for edges in the loop; lower is more fit Evolve a new, hopefully better, generation of the same number of agents Select two parents randomly, but higher probability of selection if better fitness New generation formed by crossover and mutation 11

Crossover Must combine parents in a way that preserves valid loops Typical cross method, but invalid for this problem Parent 1 = 423651 Parent 2 = 156234 Child 1 = 423234 Child 2 = 156651 Use a form of order-preserving crossover: Parent 1 = 423651 Parent 2 = 156234 Child 1 = 123654 Copy positions over directly from one parent, fill in from left to right from other parent if not already in the child Mutation Randomly swap nodes (may or may not be neighbors) Traveling Salesman Applet: Generates solutions using a genetic algorithm http://www.generation5.org/jdk/demos/tspapplet.html Smart Rockets http://www.blprnt.com/smartrockets/ 12