1 / 83

AI: Basic Concepts

AI: Basic Concepts. M.C. Juan Carlos Olivares Rojas jolivares@uvaq.edu.mx February, 2009. Outline. 1.1 Basic Concepts 1.2 Applications 1.3 Intelligent Systems and Learning 1.4 Semantic Networks 1.5 Description and Match Method. Outline. 1.6 Analogy Problems 1.7 Abstraction Recognition

Download Presentation

AI: Basic Concepts

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. AI: Basic Concepts M.C. Juan Carlos Olivares Rojas jolivares@uvaq.edu.mx February, 2009

  2. Outline 1.1 Basic Concepts 1.2 Applications 1.3 Intelligent Systems and Learning 1.4 Semantic Networks 1.5 Description and Match Method

  3. Outline 1.6 Analogy Problems 1.7 Abstraction Recognition 1.8 Knowledge Interpretation

  4. Space Oddisey 2001 • What are the principal features about Artificial Intelligence of this movies? • Quiz 1 • ¿What’s the name of the computer? • ¿What are the nam of the human travelers in the spaceshift? • ¿When te computer was elaborated? • ¿Whose write the movie script?

  5. Basic Concepts • What’s the diference bewtween Artificial Intelligence (AI) and Human Intelligence? • All the sucessfully AI Systems are based on human knowledge and experience. • Most of the AI Systems can be costructed only when the human intelligence can be expresed in easily form (for instance: if x then y).

  6. Basic Concepts • AI Systems extend human experts, but never can’t substituting either “taken” most of human intlligence. • AI Systems don’t have common sense and generallity of human beings. • Human Intelligence are very complex for computing.

  7. Basic Concepts If a problem can not be described, then can not be programmed • Human Intelligence have these features: Reasoning. Behavior. Use of Metaphores and Analogies. Concepts Creating and Use.

  8. Problem • Make a Java Program which calculate if a number give for the user is a Perfect Number or not. • What are the steps for solving this problem?

  9. Inteligence • Capacity to solution all clasess of problems • Intelligence is very subjective. • “Intelligence Distinguished man of animals” • AI is an interdiciplinary science which involves phylosophy, matemathics, biology, electronics, etc,

  10. Turing Test • Alan M. Turing defined in 1950 one form to check if a machine is intelligent or not. • Turing test consist to set two human and one machine in a dark room. The humans and the machine are not visible between their. • One human must act like an Interviewer asking some questions to the other participants.

  11. Turing Test • Turing Test is passed when the interviewer can not distinguished the answer between the human and the machine. • The new AI systems required the perception sense to pass the test.

  12. AI Genesys • Martin Minsky did cotributions to define brain models in computers. • ELIZA of Joseph Weizenbaum and JULIA of Mauldin were the first AI Systems with Intelligent Dialagues. • The first AI Systems were development for solving some problems like chess.

  13. Génesis de la IA • In 1956 John McCarthy and Claude Shanon published “Automata Studies” where defined the Automata Theory. • In 1956 John McCarthy defined the AI concept, reason why he is considered the AI Father. • The AI history is very old. The greeks were the first to use logic to solve a lot of problems.

  14. AI Genesys • In 1965 Chomsky defined the Formal Languages Theories. • McCulloh and Pits in 1943 define the relations between neurons and simple computational elements. • In 1962 Rosenblatt defined the Perceptron and the Neuronal Networks Teories.

  15. Homeworks • Delivery: 05/02/09 • Activitie 1: Make a timeline with the history of AI. 40% • The timeline must be doing with a special software. • The timeline must include antoher events

  16. Homeworks • Activitie 2: Research about cognitive science. 40% • What are the cognitive science? • What are the most important things in cognitive science • Remember 20% are for the work format

  17. 1.2 Applications • Solution Search • Expert System • Natural Language Recognition • Pattern Recognition • Robotic • Machine Learning • Logic • Games • Neuronal Networks • Genetic Algorithms • Virtual Reality

  18. Maze Problem • Additional Homework: Study Graph Theory, Discret Mathematics, Computing Theory (Compilers). Arrays in some high-level programming languages. • How a person in a maze can be exit without lost? • Are there an optimal solution for the problem?

  19. Solution Search • The search term appliend in AI, it’s not mean find a specific information piece in a data reporsitory, this term implies to obtain the best solution for a problem. For instance: • Finding the shortest path between two cities, or the famus “Travelling Sales Problem” (TSP). This is a NP-Complete (Not Polinomal) Problem.

  20. TSP

  21. TSP

  22. Expert Systems • They were the first AI comercial product sucessfully. • These Systems let to introduce some information in an specific knowledge area into a computer (knowledge database), they act like a human expert. • These Systems simulate human reasoning by applicating especific knowledge and inferences.

  23. Natural Language Processing • It’s a complex problem. For example (in spanish): • “Ideas verdes descoloridas duermen furiosamente”, • “Ideas furiosamente verdes descoloridas duermen”.

  24. Natural Language Processing “El banco cierra a las 3:00” “Las almejas están listas para comer” “Las almejas están listas para [ser] comidas [por nosotros]”

  25. Artificial Vision • It’s an application of patter recognition, this area have a lot of application such as: • Medical Diagnostic • Automatic Signal Processing • Automatic Industrial Product • Automatic Vigilance Systems • OCR (Optical Character Recognition)

  26. Robotic • This science implies the concepts of perception, motion (spatial reasoning), planning. • The main problem autonomous robots are interacting with the human-world, because exists many obstacles unexpected events and dinamic environments.

  27. Learning • This area studies the way in how computers can obtain new knowledge to solve a problem. • In this sense, learning means to make a computer which is able to benefit for the experience obtained.

  28. Games • AI is applied in games to give more realism and complexity. Also AI gives the “Physics”. • The n-queens problem consist in putting n chess queens on an n×n chessboard such that none of them is able to capture any other using the standard chess queen's moves. • Activitie: Obtain a Solution in a sheet of paper for a 5x5 chessboard. First 100, Second 80, Third 60 pts.

  29. Genetic Algorithms • It’s a computational technique inspired in biological models which are used to realize eficient search in spatial solution highly huge and complex. • Genetic Algorithms are adaptative methods which can used to implement searches and optimization problems. • This has given the creation of emergence areas such as evolutionary computation and swarm computing algorithms that rely on events of nature.

  30. The Game of Life • The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is the best-known example of a cellular automaton. • The "game" is actually a zero-player game, meaning that its evolution is determined by its initial state, needing no input from human players. One interacts with the Game of Life by creating an initial configuration and observing how it evolves.

  31. The Game of Life • The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, live or dead. • Every cell interacts with its eight neighbours, which are the cells that are directly horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur:

  32. The Game of Life • Any live cell with fewer than two live neighbours dies, as if by needs caused by underpopulation. • Any live cell with more than three live neighbours dies, as if by overcrowding. • Any live cell with two or three live neighbours lives, unchanged, to the next generation. • Any dead cell with exactly three live neighbours becomes a live cell.

  33. The Game of Life

  34. The Game of Life • Find an initial solution with under 16 live cells. The best aproximation wins 100, second 80, third 60 points. • Play the game at: www.bitstorm.org/gameoflife/

  35. Virtual Reality • It’s one of the most recent applications of AI. It’s consist in the construction of programs which achive to fool the human senses, make it belive that we are floating, running or flying in an airplane. • This application has been used in a fligth simulator for pilots, astronauts and drivers.

  36. Intelligent Systems and Learning • Most of the actual system say that they are intelligents (“smart”). • If an application can take autonomous decisions in a real time in independet form, it’s considered intelligent. The main feature of this systems are the “adaptability” like saving energy.

  37. Intelligent Systems and Learning • The most important feature of an Intelligent System are the way to representing the knowledge, the way in which the information is retrived and the way in which adquire new knowledge (learning). • The representation ways (“explicitation”) of knowledge are diverse and it influences in the retrival informtion and learning ways.

  38. Intelligent Systems and Learning • Always that a model is developed it has two represetation: logical and physical. • This representations need “mapping” to working together. • When we have a real life problem, this have to mapping in a computer schema for working in a computational system.

  39. Intelligent System and Knowledge • Tacking back to the Maze Problem ¿How can be represent this model and the knowledge? • It can be represented with a matrix, graph, finite state machine, etc. Also it must rules for play this game. • If we don’t have the two representations we can not understand and learn the game.

  40. Intelligent Systems and Knowledge • In general, knowledge s define by laws and particular languages. Languages define rules. • The same knowledge is structured in diferents represtentation such as database, semantic networks, frames, conceptual maps, etc., but after all it must have the same meaning (semantics).

  41. Homework and Activity • Homework: conceptual maps. • 10% Format • 10% Basic Concepts • 40% Conceptual Map for a student well-know topic • 40% Conceptual Map for a any AI topic. • Note: the conceptual maps must be development in a computational tool.

  42. Homework and Activity • Activity: programming the Game of Life using a High-Level language with a 8x8 matrix. • The program can be in text mode and the user only can set the initial configuration. Using a BitMap Matrix (0 and 1 values) • Activity: programming the right-hand heuristic for solve a maze introduced for a used.

  43. Homework and Activity • ExtraPoint: programming a maze generator. The maze only have one input and one output (It can be the same that input). • The maze generation must be ordened by a algorithm using a spatial solution search. • An easy way is put the input and output, generate one path (the correct path) and later generate other incorrect paths, beginning of the correct path.

  44. Maze Generator We must try to don´t generate a loop

  45. Cellular Automata • It’s a discrete model studied in computing, mathematics, biology and microstructure modeling. • It consists of a regular grid of cells, each in one of a finite number of states. The grid can be in any finite number of dimensions. • Time is also discrete, and the state of a cell at time t is a function of the states of a finite number of cells (neighborhood) at time t − 1.

  46. Cellular Automata • These neighbors are a selection of cells relative to the specified cell, and do not change (though the cell itself may be in its neighborhood, it is not usually considered a neighbor). • Every cell has the same rule for updating, based on the values in this neighbourhood. Each time the rules are applied to the whole grid a new generation is created.

  47. Cellular Automata

  48. Semantic Networks • They are other simple form to explicity knowledge, They are conformed by graphs which coding knowledge in a taxonomic form. • Nodes represent categories and Edges represents the relations between this categories. • There are two types of special relatinoships: Is-A y la Have-A.

  49. Semantic Networks • We can access throught of each concepts to infer knowledge. • The scripts are other way to represent knowledge. They are composed by components called slots, these are a set of elements concept-values. • Scripts are more easily to ntroduce than mind maps.

  50. Semantic Networks

More Related