What Is Artificial Intelligence ?: John Mccarthy, Who Coined (Invented) The Term Artificial
What Is Artificial Intelligence ?: John Mccarthy, Who Coined (Invented) The Term Artificial
Solveknowledgeintensivetasks.
Makeanintelligentconnection betweenperceptionandaction.
Enhance human-human, human-computer and computer to computer
interaction / communication.
EngineeringbasedAIGoal
Developconcepts, theoryandpracticeofbuildingintelligentmachines
Emphasisisonsystembuilding.
SciencebasedAIGoal
Develop concepts, mechanisms and vocabulary to understand biological
intelligentbehavior.
Emphasisisonunderstandingintelligentbehavior.
Cognitivescience : Thinkhuman-like
An excitingnewefforttomake
computersthink; thatit is, the machines
withminds, inthe fullandliteral sense.
Focusisnot just onbehavior andI/O, but
looksat reasoning process.
Computational modelastohowresults
were obtained.
Goalisnot just to produce human-like
behaviorbutto produce a sequence of
stepsofthe reasoningprocess, similar to
the stepsfollowed bya human in solving
the same task.
Laws ofThought : ThinkRationally
Thestudy ofmentalfacultiesthroughtheuseofcomputational
models; thatitis, thestudy ofthe computationsthatmakeit
possibletoperceive, reason, and act.
Focusison inferencemechanismsthatareprovablycorrectand
guaranteean optimalsolution.
Developsystemsofrepresentationto allowinference
(conclusion) tobelike “Socratesisaman. Allmen aremortal
(human, earthly) . Therefore Socratesismortal.”
Goalisto formalizethe reasoning processasa systemoflogical
rulesandproceduresforinference.
TuringTest : ActHuman-like
The artof creating machinesthatperform functions
requiring intelligence when performed by people; thatit
isthe study of, how to make computers do thingswhich at
themomentpeopledo better.
Focusison action, and notintelligentbehaviorcentered
around representation of theworld.
A Behavioristapproach, isnot concerned with how to get
resultsbutto the similarity to whathuman results are
Example : TuringTest
3 rooms contain: aperson, acomputer, and an interrogator.
Theinterrogatorcan communicatewith theother 2 byteletype (to avoid
themachineimitatetheappearanceorvoiceoftheperson).
Theinterrogatortries to determinewhich is thepersonand which is
themachine.
Themachinetries tofooltheinterrogatorto believethatitis the
human, and theperson alsotries to convincetheinterrogatorthatit
is thehuman.
Ifthemachinesucceeds in foolingtheinterrogator, then conclude
thatthemachineis intelligent.
Examples
• Techniques, not all "intelligent " butused to behave asintelligent
1. Describe and match 2. Goalreduction
3. Constraint satisfaction 4. Tree Searching
5. Generate and test 6.Rule based systems
Biology-inspiredAItechniquesare
currentlypopular
Artificial Neural Networks
Genetic Algorithms
AntColony Optimization Algorithm
ParticleSwarm Optimization
Cuckoo Search Algorithm
DescribeandMatch
Model is adescription of a system’s behavior .
Finite state model consists of a set of states , a set of input events and
the relations between them. Given a current state and an input event
you can determinethe next current stateof themodel .
Computation model is a finite state machine . It includes of a set of
states, a set of start states, an input alphabet, and a transition
function which maps input symbols and current states to anext state .
Representation of computational system include start and end state
descriptions and a set of possible transition rules that might be applied .
Problem is to find theappropriatetransition rules .
Transition relation: If a pair of states (S , S ') is such that one move
takes the system from S to S', then the transition relation is represented
by S => S
State-transition system is called deterministic if every state has at
most one successor; it is called non-deterministic if at least one state
has morethan one successor.
Puzzle : TowersofHanoiwithonly 2 disks
Examplesof some possibletransitionsbetween statesare
shown for theTowers ofHanoi puzzle.
Example
GoalReduction
Goal-reduction procedures are a special case of the procedural
representationsofknowledgein AI; logic-based representations.
The process involves the hierarchical sub-division of goals into sub-goals,
until the sub-goals which have an immediate solution are reached
andsaid “goalhasbeensatisfied”.
Goal-reduction process is illustrated in the form of AND/OR tree drawn
upside-down.
◊ Goal levels : Higher-level goals are higher in the tree, and lower level goals
arelowerin thetree.
◊ Arcs are directed from a higher-to-lower level node represents the
reductionofhigher-levelgoalto lower-levelsub-goal.
◊ Nodesatthebottomofthetreerepresentirreducibleaction goals.
An AND-OR tree/graph structure can represent relations between goals
and sub-goals, alternative sub-goals and conjoint sub-goals.
ExampleGoal Reduction
AND-OR tree/graph structure to representfactssuch as
“enjoyment”,
“earning/save money”, “old age” etc.
Theabove AND-ORtree/graphstructure describes
◊ Hierarchical relationships between goals and sub-goals
The“goingon strike”isa sub-goalof “earningmore money”, isa
sub-goal of“improving standardof living”, is a sub-goal of
“improving enjoyment of life”.
◊ Alternative ways of trying to solvea goal
The“goingon strike”and“increasingproductivity” are alternative
ways of tryingto“earn more money” (increase pay).
e.g.: “improving standardofliving” and“working less hard” are
alternative ways oftryingto “improve enjoyment oflife”.
◊ Conjoint sub-goals
To “provide for old age”, not onlyneed to “earnmore money”, but
aswell need to “save money”.
ConstraintSatisfactionTechniques
Constraintisa logicalrelation among variables. e.g.
“circle isinside thesquare” – Theconstraintsrelate
objectswithoutprecisely specifying their positions;
moving any one, the relation isstillmaintained.
Constraintsatisfaction isa processof finding asolution to
a setofconstraints– theconstraintsexpressallowed
valuesfor variablesand finding solution isevaluation of
thesevariablesthat satisfiesall constraints.
ConstraintSatisfactionProblem (CSP)
anditssolution
◊ AConstraint Satisfaction Problem (CSP) consistsof :
o Variables, afiniteset X = {x1 , . . . , xn } ,
o Domain, afiniteset Di of possible valueswhicheachvariablexi
cantake,
o Constraints, aset of valuesthat thevariablescansimultaneously
satisfytheconstraint (e.g. D1 != D2)
◊ Asolutionto aCSPis an assignment ofavalue fromits domainto
every variable satisfying every constraint ; that couldbe :
o onesolution, withnopreferenceastowhichone,
o all solutions,
o anoptimal, or agoodsolution - Constraint OptimizationProblem
(COP).
N-Queens puzzle
Problem : Given any integer N, place N queens on N*N
chessboard satisfying constraint that no two queens
threaten each other. (a queen threatens other queens on
samerow, column and diagonal).
Solution :
AcademicDisciplines relevant toAI
Logic, methodsofreasoning, mind asphysical Philosophy
.system, foundationsoflearning, language, rationality