01 Introduction of Intelligent Systems
01 Introduction of Intelligent Systems
Zendi Iklima
[email protected]
Rules & Contract
More than 15 minutes the door of
the classroom will be LOCKED
Intelligent behavior
• to achieve human-level performance in all cognitive
tasks
Systems that act like humans: Turing Test
These cognitive tasks include:
• Natural language processing
for communication with human
• Knowledge representation
to store information effectively & efficiently
• Automated reasoning
to retrieve & answer questions using the stored information
• Machine learning
to adapt to new circumstances
Total Turing Test
Includes two more issues:
• Computer vision
to perceive objects (seeing)
• Robotics
to move objects (acting)
Systems that think like humans: Cognitive Modeling
• Humans as observed from ‘inside’
• How do we know how humans think?
Introspection vs. psychological experiments
• Cognitive Science
• “The exciting new effort to make computers think …
machines with minds in the full and literal sense”
(Haugeland)
• “[The automation of] activities that we associate with
human thinking, activities such as decision-making,
problem solving, learning …” (Bellman)
Systems that think ‘rationally’ "laws of thought"
• 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’)
• “The study of mental facilities through the use of
computational models” (Charniak and McDermott)
• “The study of the computations that make it possible to
perceive, reason, and act” (Winston)
Systems that act rationally: “Rational agent”
• Rational behavior: doing the right thing
• The right thing : that which is expected to
maximize goal achievement, given the available
information.
• Giving answers to questions is ‘acting’.
• I don't care whether a system:
✓ replicates human thought processes
✓ makes the same decisions as humans
✓ uses purely logical reasoning
Systems that act rationally
Logic ➔ only part of a rational agent, not all of
rationality
• Sometimes logic cannot reason a correct conclusion
• At that time, some specific (in domain) human knowledge or
information is used
Weak AI
• Intelligence can partially be mapped to computational processes.
• Intelligence is information processing
• Intelligence can be simulated
Strong AI vs Weak AI
Two main aspects begin to manifest in the early
days of AI
• Cognitive modelling, i.e., the simulation of cognitive
processes through information processing models
• “Spoken words are the symbols of mental experience, and written words are
the symbols of spoken words.” (Aristotle) [3]
Development
2. Knowledge-is-power hypothesis
3. Knowledge levels
3a. Newell’s 3 levels of knowledge
3b. Brachman’s 5 levels of knowledge
40
General Problem Solver
• The General Problem Solver (GPS) is a universal problem solving approach.
• GPS is the first approach that makes the distinction between knowledge of
problems domains and how to solve problems
• GPS does not put any restrictions both on the domain knowledge and on the
task.
• Examples of GPS are: automated theorem proving and generic search methods
Automated theorem proving
• Example:
The automated DB-Information system knows
that a trip from Innsbruck to Vienna costs 120€
Newell’s 3 levels of knowledge: Logic Level
• Encoding of knowledge in a formal language.
• Example:
Price(Innsbruck, Vienna, 120)
Newell’s 3 levels of knowledge: Implementation
Level
• Example:
• As a String “Price(Innsbruck, Vienna, 120)”
• As a value in a matrix
Knowledge levels: Brachman’s 5 Levels of Knowledge
• Implementational Level
• The primitives are pointers and memory cells.
• Allows the construction of data structures with no a priority
semantics
• Logical Level
• The primitives are logical predicates, operators, and propositions.
• An index is available to structure primitives.
• A formal semantic is given to primitives in terms of relations
among objects in the real world
• No particular assumption is made however as to the nature of
such relations
Knowledge levels: Brachman’s 5 Levels of Knowledge
• Epistemological Level
• The primitives are concept types and structuring relations.
• Structuring relations provide structure in a network of conceptual types
or units. (i.e. inheritance: conceptual units, conceptual sub-units)
• The epistemological level links formal structure to conceptual units
• It contains structural connections in our knowledge needed to justify
conceptual inferences.
• Conceptual Level
• The primitives are conceptual relations, primitive objects and actions.
• The primitives have a definite cognitive interpretation, corresponding to
language-independent concepts like elementary actions or thematic
roles
Knowledge levels: Brachman’s 5 Levels of Knowledge
• Linguistic Level
• The primitives are words, and (lingustic) expressions.
• The primitives are associated directly to nouns and verbs of a
specific natural language
• Arbitrary relations and nodes that exist in a domain
Problem Solving Methods
• Problem Solving Methods (PSM) abstract from details
of the implementation of the reasoning process
abstract refine
observables solutions
inference role
Propose & Revise
revise
knowledge
generate acceptable
revise solution
desired
requirements propose C-test violations
design
propose
inference constraints
knowledge
data and knowledge flow
61
ELIZA
• Early computer program capable of natural language processing.
• Written by J. Weizenbaum between 1964 and 1966.
• ELIZA simulated a psychotherapist by reformulating questions posed
by the user.
• Sample ELIZA conversation:
SIRI
• Personal assistant - mobile app for the
iPhone "Just like a real personal
assistant Siri understands what you say,
fulfills tasks and adapts over time to the
preferences. Today, Siri can help you
find things and plan. "
Link: http://groups.csail.mit.edu/lbr/humanoid-robotics-group/cog/
CALO (Cognitive Assistant that Learns and Organizes)
• DARPA funded project, “Personal assistant that learns” – program
• Involves 25 partners, 300+ researchers, including top researchers in AI
• 500+ publications in first four years
• “The goal of the project is to create cognitive software systems, that is, systems
that can reason, learn from experience, be told what to do, explain what they are
doing, reflect on their experience, and respond robustly to surprise. “
(calosystem.org)
• CALO assists its user with six high-level functions:
• Organizing and Prioritizing Information
• Preparing Information Artifacts
• Mediating Human Communications
• Task Management
• Scheduling and Reasoning in Time
• Resource allocation
Link: http://www.calosystem.org/
HAL 9000
• An advanced device capable of performing a variety of tasks and
interacting with its human users (companions?).
• The HAL9000 communicates by voice and can control auxiliary
devices on a spaceship.
• It (he?) has an unfortunate tendency towards obsessing over
minor details or inconsistencies in the instructions given it,
however.
• In the events described in Arthur C. Clarke's “2001: A Space
Odyssey,” HAL's tendency toward obsessive literalism led to the
unfortunate death of most of its spaceship's human crew
Further popular applications
• SEAS (“Synthetic Environment for Analysis and Simulation”)
• Can be used to simulate realistic events; has a world model
• http://www.krannert.purdue.edu/centers/perc/html/aboutperc/seasla
bs/seaslabs.htm
• SYSTRAN
• Early machine translation system
• Foundation for Yahoo’s Babelfish or Google Translator
• http://www.systransoft.com/
• VirtualWoman
• Virtual-reality based chatbot
• http://virtualwoman.net/
• For further references, see
http://en.wikipedia.org/wiki/List_of_notable_artificial_intelligence_projec
ts
Subdomains of AI
• Cognition as information • Machine Learning
processing • Knowledge Engineering
• Artificial neuronal networks • Natural Language Processing
• Heuristic search methods • Image Understanding
• Knowledge representation and • Cognitive Robotics
logic
• Software Agents
• Automatic theorem proving
• Non-monotonic reasoning
• Case-based reasoning
• Planning
Cognition
• Deals with complex software systems that directly interact and
communicate with human users.
• Characteristics of cognitive systems (CS):
• CS are directly integrated in their environment, act in it, and are able to
communicate with it.
• CS are able to direct and adapt their actions based on the environment they
are situated in.
• CS typically represent system-relevant aspects of the environment.
• Their information processing capabilities are characterized through learning
aptitude and anticipation
• Examples of cognitive system:
• Organisms / biological cognitive systems
• Technical systems such as robots or agents
• Mixed human-machine systems
Neural networks
• Neural networks are networks
of neurons as in the real
biological brain.
• Neurons are highly specialized
cells that transmit impulses within
animals to cause a change in a target
cell such as a muscle effector cell or glandular cell.
• The axon, is the primary conduit through which the neuron
transmits impulses to neurons downstream in the signal chain
• Humans: 1011 neurons of > 20 types, 1014 synapses, 1ms-10ms
cycle time
• Signals are noisy “spike trains” of electrical potential
Neural networks
• What we refer to as Neural Networks in the course are mostly Artificial
Neural Networks (ANN).
• ANN are approximation of biological neural networks and are built of
physical devices, or simulated on computers.
• ANN are parallel computational entities that consist of multiple simple
processing units that are connected in specific ways in order to perform
the desired tasks.
• Remember: ANN are computationally primitive approximations of the
real biological brains.
• Application examples: e.g., handwriting recognition, time series
prediction, kernel machines (support vector machines, data
compression, financial predication, speech recognition, computer
vision, protein structures
Search Method
• Search Methods are typically helping humans to solve complex tasks by
generating (optimal) plans (i.e. a set of operations / states) that includes
sequences / actions to reach a goal state.
• Example problem: Tower of Hanoi
• Initial status: ((123)()()) 1
2
• Goal status: (()()(123)) 3
A B C
85
References
• Mandatory reading:
• [1] G. Görz, C.-R. Rollinger, J. Schneeberger (Hrsg.) “Handbuch der künstlichen Intelligenz”
Oldenbourg Verlag, 2003, Fourth edition
• Further reading:
• [2] A. Turing. "Computing Machinery and Intelligence", Mind LIX (236): 433–460, Ocotober, 1950.
• [3] Aristotle “On Interpretation”, 350 B.C.E, see:
http://classics.mit.edu/Aristotle/interpretation.html
• [4] A. Newell, H.A. Simon, “Human Problem Solving” Englewood Cliffs, N.J.: Prentice Hall, 1972
• [5] A. Newell. “The Knowledge Level”, AI Magazine 2 (2), 1981, p. 1-20.
• [6] F. Rosenblatt. “Strategic Approaches to the Study of Brain Models” In: Förster, H.: Principles of
Self-Organization. Elmsford, N.Y.: Pergamon Press, 1962.
• [7] S. Russell, E.H. Wefald. "Do the Right Thing: Studies in Limited Rationality" MIT Press, 1991.
• [8] C. Beierle and G. Kern-Isberner "Methoden wissensbasierter Systeme. Grundlagen,
Algorithmen, Anwendungen" Vieweg, 2005.
References
• [9] J. Weizenbaum. "ELIZA - A Computer Program For the Study of Natural Language
Communication Between Man And Machine", Communications of the ACM 9 (1): p. 36–45, 1966.
• [10] W. Birmingham and G. Klinker “Knowledge Acquisition Tools with Explicit Problem-Solving
Methods” The Knowledge Engineering Review 8, 1 (1993), 5-25
• [11] A. Newell and H. Simon "GPS, a program that simulates human thought" In: Computation &
intelligence: collected readings, pp. 415 - 428, 1995.
• [12] R. J. Brachman “On the Epistemological Status of Semantic Networks” In: N.V. Findler (ed.):
Associative Networks: Representation and Use of Knowledge by Computers. New York: Academic
Press, 1979, 3-50.
• [13] G. Brewka, I. Niemelä, M. Truszczynski “Nonmonotonic Reasoning” In: V. Lifschitz, B. Porter, F.
van Harmelen (eds.), Handbook of Knowledge Representation, Elsevier, 2007, 239-284
• [14] D. Fensel “Problem-Solving Methods: Understanding, Description, Development and Reuse”,,
Springer LNAI 1791, 2000
• [15] E.A. Feigenbaum. “The Art of Artificial Intelligence: Themes and Case Studies of Knowledge
Engineering,” Proceedings of the International Joint Conference on Artificial Intelligence,
Cambridge, MA, 1977
• [16] W.J. Clancey. “Heuristic Classification”, Artificial Intelligence, 27:289-350, 1985
Thank You
Zendi Iklima
[email protected]