Definition of AIActing humanly: The Turing Test approach
Thinking humanly: The cognitive modeling approach
Thinking rationally: The “laws of thought” approach(Logic)
Acting rationally: The rational agent approach 
Turing testnatural language processing to enable it to communicate successfully in English;
knowledge representation to store what it knows or hears;
automated reasoning to use the stored information to answer questions and to draw new conclusions;
machine learning to adapt to new circumstances and to detect and extrapolate patterns.
total Turing test
computer vision to perceive objects;
robotics to manipulate objects and move about. 
Agents and EnvironmentsAn agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators. We use the term percept to refer to the agent’s perceptual inputs at any given instant. An agent’s percept sequence is the complete history of everything the agent has ever perceive. 
PEASPerformance measure, Environment, Actuators, Sensors 
Knowledge BaseConceptually, a set of sentences;
.Defined by TELL/ASK interface 
Declarative ApproachProgram an agent by TELLing it things
Equivalently, construct and install a KB
Advantages
1.Flexibility: knowledge independent of how it would be used
2.Transparency to humans
3.Agent behavior malleable via language 
Knowledge RepresentationKnowledge representation language: notation for expressing a KB
Consist of
Syntax: defines the legal sentences
Semantics: facts in the world to which sentences correspond, an interpretation for symbols in the logic
Logic: KR language with welldefined syntax and semantics
Model: Specifies truth or falsity of sentences 
Properties of SentencesValid: True in all models
Satisfiable: True in some model 
  Rational agentFor each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever builtin knowledge the agent has. 
AutonomyA system is autonomous that its behavior is determined by its own percepts, rather than the prior knowledge of its designer. 
CoherenceActions must be consistent with beliefs and desires. Necessary for knowledgelevel understanding of computer programs. 
Agent DesignsTable Lookup, Simple Reflex, Modelbased, Goalbased, Utilitybased, Learning 
Environment Propertiesfully/partially observable, single/multi, deterministic/stochastic, episodic/sequential, static/dynamic, discrete/continuous, known/unknown 
Admissibility and ConsistencyAdmissibility: h(n) ≤ c(n), where c(n) is the true cost of a solution along the current path through n.
Consistency: h(n) ≤ c(n,a,n')+h(n').
Optimality: If h is admissible and consistent, A* is optimal.
A* is optimal, complete and optimally efficient among all algorithms that extend search paths from root. 
Entailment and InferenceEntailment: α = β if and only if M(α) ⊆ M(β). Truth of β is contained in α. α = β if and only if the sentence (α ⇒ β) is valid. α ≡ β if and only if α = β and β = α.
Inference: α  β means β can be derived from α.
An inference algorithm that derives only entailed sentences is called sound.
An inference algorithm is complete if it can derive any sentence that is entailed 
FOL to CNF1.Translate bidirectionals to implications
2.Translate implications to disjunctions
3.Move negations inward (Use De Morgan’s laws until only atoms are negated)
4.Standardize variables
5.Eliminate existentials via skolemization
6.Drop universal quantifiers
7.Distribute and associate into CNF 
  Uninformed search strategiesBreadthfirst, Uniformcost, Depthfirst, Depthlimited, Iterativedeepening, Bidirectional, Graph search 
AnalysisCriterion  BFS  UC  Complete  Yes  Yes  Optimal  Yes  Yes  Time  O(b^{d+1})  O(b^{1+floor(C*/e)})  Space  O(b^{d+1})  O(b^{1+floor(C*/e)}) 
AnalysisCriterion  DFS  DLDFS  IDDFS  Complete  No  No  Yes  Optimal  No  No  Yes  Time  O(b^{m})  O(b^{L})  O(b^{d})  Space  O(bm)  O(bL)  O(bd) 
Informed SearchPriorityfirst(PFS), Greedy, A*, Iterativedeepening A*, heuristics and admissibility/consistency 
Flavors of PFSNumber of edges from origin: BFS
g(n), the path cost from the initial state(node) to node n: UCS(Dijkstra)
h(n), the estimated path cost from node n to goal: Greedy Search
f(n)=g(n)+h(n), the estimated cost of a path passing through n: A* search 
Memorybounded heuristic searchiterativedeepening A* (IDA*)
Recursive bestfirst search (RBFS): best first search with linear space 
Local search strategiesHillclimbing/stochastic, beam, simulated annealing, genetic algorithms 
Local search summaryKey advantages
1.Very little memory
2.Can often find reasonable solutions in large or infinite state spaces where systematic approaches are unsuitable
3.Better answers the more time spent
Disadvantages
Usually incomplete and not optimal 
Constraint propagationDefinition: Propagating the implications of a constraint on one variable onto other variables.
kconsistent: for any consistent assignment of k1 variables, exists consistent value of any kth(Node/Arc/Path)
Strongly kconsistent: jconsistent for all j less than or equal to k 
Constrain Satisfaction SearchBacktracking
Minimum remaining values heuristic: choose variable with fewest legal values remaining
Degree heuristic: choose variable with largest number of constraints
Forward checking: delete inconsistent values ahead
Backjumping
Basic: backtrack to most recent decision
ConflictDirected: backtrack to most recent variable in conflict with 

Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment