Académique Documents
Professionnel Documents
Culture Documents
Artificial Intelligence
July-Dec 2018
Text Book: AI by Russel and Norvig
3rd Edition
Texbook
• S. Russell and P. Norvig, Artificial Intelligence: A
Modern Approach, 3rd Eition, Prentice Hall, (third
edition) 2010.
• Intelligent Agents 1, 2
• Search techniques 3, 4
• Knowledge Representation and Reasoning 7, 8
• Logical Inference 9, 10
• PROLOG
• Learning and Neural Networks 18, 19, 20
• Genetic Algorithm
• Fuzzy Systems
Topics in AI course
• Search
– General Graph Search, A*, Admissibility, Monotonicity
– Iterative Deepening, α-β pruning, Application in game playing
• Logic
– Formal System, axioms, inference rules, completeness,
soundness and consistency
– Propositional Calculus, Predicate Calculus, Fuzzy Logic,
Description Logic
• Knowledge Representation
– Semantic Net, Frame, Script, Conceptual Dependency,
Semantic Web
• Uncertain knowledge and Reasoning
– Bayes’ Rule, Probabilistic Reasoning
Other Topics
• Machine Learning
– Supervised Learning, Neural Networks, Support Vector
Machines, Self Organization or Unsupervised Learning
• Evolutionary Computation
– Genetic Algorithm and its Applications
• Man and Machine
– Natural Language Processing, Computer Vision, Expert
Systems, Robot Architectures
AI Course Syllabus
• AI history and applications: Introduction to Artificial Intelligence, Foundations and History of Artificial
Intelligence, Defining AI: Acting Humanly (Turing Test Approach), Thinking Humanly (Cognitive Modeling
Approach), Thinking Rationally (laws of thought approach), Acting Rationally (Rational Agent Approach);
Foundations of Artificial Intelligence; AI techniques, Expert Systems, Applications of Artificial Intelligence,
Intelligent Agents, Structure of Intelligent Agents. Introduction to Computer vision, Natural Language
Possessing, Machine learning, Soft Computing etc.
• Problem solving using Search : Searching for solutions, Uninformed Search Strategies: Breadth-first
Search, Depth-first Search, Depth-limited Search, Iterative Deepening depth-first search, Comparing
uninformed search strategies; constraint satisfaction problems, Heuristic Search Techniques: Hill Climbing,
Simulated Annealing, Best First Search: OR Graphs, Heuristic Functions, A* Algorithm, AND-OR Graphs,
AO* Algorithm, Adversarial Search: Zero-sum perfect information Games, Optimal Decisions and Strategies
in Games, Mini-max Algorithm, Alpha-beta Pruning, Imperfect Real-time decisions, Games that include
chance, State of the art game programs.
• Knowledge Representation & Reasoning: Propositional logic, Theory of first order logic, Inference in First
order logic, Forward & Backward chaining, Resolution, Representations and mappings, Approaches to
Knowledge Representation, Procedural versus Declarative Knowledge; Predicate Logic: Representing Simple
facts, Instance and is-a relationships in Logic, Proposition versus Predicate Logic, Computable Functions and
Predicates, Rules of Inferences and Resolution-refutation, Logic Programming and Horn Clauses; Weak Slot-
and-Filler Structures: Semantic Nets, Frames; Introduction to Semantic Web and ontologies, Strong Slot-
and-Filler Structures: Conceptual Dependency, Scripts
• AI Programming Language (PROLOG): Introduction, How Prolog Works, Backtracking, CUT and FAIL
operators, Built-in Goals, Negation, Lists, Syntax and built-in Functions, Basic list manipulation functions in
PROLOG, Predicates and Conditionals, Input, Output and Local Variables, Iteration and Recursion, recursive
Lists processing, Search in Prolog: Breadth-first, depth-first, Best-first search for AI problem solving
• Probabilistic/Statistical Reasoning: Probability and Bayes’ Theorem, Certainty Factors and Rule-Based
Systems, Bayesian Networks, Exact and approximate inference in Bayesian networks, Markov chains,
Quantifying uncertainty, Intro to Fuzzy Logic; Non-monotonic Reasoning, Truth Maintenance Systems,
probabilistic reasoning over time.
Goal of This Course
• Introduce you to the kinds of problems studied in AI
Marvin Minsky
John McCarthy died in October 2011
13
What is intelligence
• Fast thinking?
• Knowledge?
• Ability to pass as a human?
• Ability to reason logically?
• Ability to learn?
• Ability to perceive and act upon one’s environment?
• Ability to play chess at grand-master’s level?
Experimenter /
Interrogator
Control
Turing test
In his paper Turing suggested:
• The Turing Test is a test designed to get us a step closer to
the answer of the question “Can machines act like human?”.
It consists of a person (judge) asking questions, and a
person and a machine answering.
• The person and the machine must reply as if they were both
human and, at the end of the conversation, the judge must
decide who the machine is.
• If the judge is tricked and chooses wrongly, it would be said
that the machine had “passed” the test, having the capability
to perform human-like conversations. Here, the whole
dialogue is done via written (typed) text.
• 5 minutes to ask whatever he or she wants.
• Task: to determine, only through the questions and
answers typed into a computer terminal, which is which.
Turing Test
• The interrogator then has to guess if the conversation is
with a program or a person, the program passes the test
if it fools the interrogator 30% of the time.
• But the total Turing Test includes a video signal so that the
interrogator can test the subject’s perceptual abilities.
Total Turing Test
• To pass Total Tutoring Test, a computer will need:
– Computer Vision to perceive objects and
– Robotics to manipulate objects and move about.
(from MYCIN)
Expert System: Examples
• DENDRAL: solving the problem of inferring molecular
structure from the information provided by a mass
spectrometer.
3. Even problems with just a few dozen facts can exhaust the
computational resources of any computer unless it has some
guidance as to which reasoning steps to try first.
Systems that think ‘rationally’
• Humans are not always ‘rational?’
• Rational - defined in terms of logic?
• Logic can’t express everything (e.g. uncertainty)
• Logical approach is often not feasible in terms of
computation time (needs ‘guidance’)
• Uncertainty: cannot handle everything – you can guess
wrong ….
• So we cannot always predict when the systems will be
rational
IV Acting Rationally: Rational Agent approach
• In the laws of thought (Logic) approach to AI, the
emphasis is on correct inferences.
• Correct inference is not at all rationality, because there
are often situations where there is no provably correct
thing to do, yet something must still be done.
• There are also ways of acting rationally that can not be
said to involve inference.
• Rational behaviour: doing the right thing, that which
is expected to maximize goal achievement, given the
available information.
• Aristotle: Every art and every inquiry, and similarly every
action and pursuit, is thought to aim at some good.
Agents
• An agent is anything that can be viewed as perceiving its
environment through sensors and acting upon that
environment through actuators.
• Human agent: eyes, ears, and other organs for sensors;
hands, legs, mouth, and other body parts for actuators
• Robotic agent: cameras and infrared range finders for
sensors; various motors for actuators.
Rational Agents
• An agent should strive to "do the right thing", based on
what it can perceive and the actions it can perform.
• But, what does it mean to do the right thing?
• “The right action” is the one that causes the agent to be
most successful.
• But, what does it mean the agent successes?
• The agent generates a sequence of actions according to
the percepts it receives. If the sequence is “desirable”,
then we say the agent performed well.
Rational Agents
• An agent needs a performance measure, an objective
criterion for success of an agent's behavior.
• E.g., performance measure of a vacuum-cleaner agent
could be amount of dirt cleaned up, amount of time taken,
amount of electricity consumed, amount of noise
generated, and etc.
• But, can the above criteria really measure a vacuum-
cleaner agent’s performance?
• According to what you actually want in the environment
OR according to how you think the agent should behave?
Summary
Humanly Rationally
The exciting new effort to make computers think … The study of mental faculties through the
machines with minds, in the full and literal sense use of computational models (Charniak
(Haugeland, 1985). & McDermott, 1985).
Thinking
The automation of activities that we associate with The study of the computation that make
human thinking, activities such as decision-making, it possible to perceive, reason, and act
problem solving, learning (Bellman, 1978). (Winston, 1992).
The art of creating machines that perform functions Computation Intelligence is the study of
that require intelligence when performed by people the design of intelligent agents (Poole et
(Kurzweil, 1990). al., 1998).
The study of how to make computers do things at AI … is concerned with intelligent
which, at the moment, people are better (Rich & behavior in artifacts (Nilsson, 1998).
Knight, 1991).
Acting
AI is often divided into two classes:
• Strong AI
– Makes the bold claim that computers can be made to think
on a level at least equal to humans that they are capable
of cognitive mental states.
– This is the kind of AI that is portrayed in movies like Blade
runner and more recently AI, I Robot, Terminator series,
etc.
• Weak AI
– Simply states that some thinking – like features can be
added to computers to make them more useful,
– That machines can simulate human cognition, in other
words act as if they are intelligent. e.g. already existing
speech recognition software
– Involves GA, ANN, Evolutionary Computation etc.
AI techniques
• Knowledge Representation: This technique addresses the problem
of capturing the full range of knowledge required for intelligent
behavior in a formal language i.e. one suitable for computer
manipulation. Some methods are:
– Predicate Calculus
– Semantic nets (Quillian)
– Frames (Marvin Minsky to represent common sense knowledge)
– Conceptual Dependency (Schank for natural language)
– Scripts (stereo type sequence of events)
Robotics
NLP
Search,
Expert Reasoning,
Systems Learning
Planning
Computer
Vision
The Foundations of Artificial Intelligence
• Philosophy (428 B.C. – present)
• Mathematics (800 B.C. – present)
• Economics(1776 – present)
• Neuroscience (1861 – present)
• Psychology (1879 – present)
• Computer Engineering (1940 – present)
• Control theory and Cybernetics (1948 – present)
• Linguistics (1957 – present)
AI Prehistory
• Philosophy: logic, methods of reasoning mind as physical system
foundations of learning, language, rationality