Docsity

First Order Logic and Inference - Assignment | CS 662, Assignments of Computer Science

Toggle sidebar
bg1
Artificial Intelligence
Programming
First Order Logic and Inference
Chris Brooks
Department of Computer Science
University of San Francisco
Representation
Propositional Logic has several nice features
Lets us easily express disjunction and negation
“There is a pit in (1,1) or in (2,2)”
“There is not a pit in (1,1)”
This is hard to do in C/Java/Python - variables can
only take on a single value.
There’s no obvious way to assign xthe value “3 or
4” or “some value less than 10”.
Separates declarative knowledge from inference
procedures
Compositional
The meaning of a sentence is a function of the
meaning of its parts.
Departmentof Computer Science — University of San Francisco – p.1/??
Review of Propositional Logic
Sentences are composed of atomic terms conjoined by
operators
P1,1∧B1,2
¬B2,2∨ ¬P1,2
Terms are either true or false.
A model is an assignment of values to terms.
The set of possible worlds that make a sentence true
A model satisfies a sentence if the sentence is true
given the assignments in the model.
Departmentof Computer Science — University of San Francisco
Resolution
Inference can be done using DeMorgan’s, Modus
Ponens, And-elimination, etc
Sound, but not necessarily complete.
Also, search can be inefficient: there might be many
operators that can be applied in a particular state.
Luckily, there is a complete rule for inference that uses a
single operator.
This is called resolution.
A∨Band ¬A∨Callows us to conclude B∨C.
Ais either true or not true. If Ais true, then Cmust
be true.
if Ais false, then Bmust be true.
This can be generalized to clauses of any length.
Departmentof Computer Science — University of San Francisco – p.3/??
Conjunctive Normal Form
Resolution works with disjunctions.
This means that our knowledge base needs to be in this
form.
Conjunctive Normal Form is a conjunction of clauses
that are disjunctions.
(A∨B∨C)∧(D∨E∨F)∧(G∨H∨I)∧...
Every propositional logic sentence can be converted to
CNF.
Departmentof Computer Science — University of San Francisco – p.4/??
Conjunctive Normal Form Recipe
1. Eliminate equivalence
A⇔Bbecomes A⇒B∧B⇒A
2. Eliminate implication
A⇒Bbecomes ¬A∨B
3. Move ¬inwards using double negation and DeMorgan’s
¬(¬A)becomes A
¬(A∧B)becomes (¬A∨ ¬B)
4. Distribute nested clauses
(A∨(B∧C)) becomes (A∨B)∧(A∨C)
Departmentof Computer Science — University of San Francisco
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download First Order Logic and Inference - Assignment | CS 662 and more Assignments Computer Science in PDF only on Docsity!

Artificial IntelligenceProgramming First Order Logic and Inference

Chris BrooksDepartment of Computer ScienceUniversity of San Francisco

Representation Propositional Logic has several nice features^ Lets us easily express disjunction and negation^ “There is a pit in (1,1) or in (2,2)”^ “There is not a pit in (1,1)”^ This is hard to do in C/Java/Python - variables canonly take on a single value.^ There’s no obvious way to

assign^ x^ the value “3 or 4” or “some value less than 10”. Separates declarative knowledge from inferenceprocedures Compositional The meaning of a sentence is a function of themeaning of its parts.

Department of Computer Science — University of San Francisco – p.1/

??

Review of Propositional Logic Sentences are composed of atomic terms conjoined byoperators^ P∧^ B^1 ,^1 1 ,^2 ¬B∨ ¬P^2 ,^2

1 ,^2 Terms are either true or false. A model is an assignment of values to terms.^ The set of possible worlds that make a sentence true A model satisfies a sentence if the sentence is truegiven the assignments in the model.

Department of Computer Science — University of San Fra

Resolution Inference can be done using DeMorgan’s, ModusPonens, And-elimination, etc Sound, but not necessarily complete. Also, search can be inefficient: there might be manyoperators that can be applied in a particular state. Luckily, there is a complete rule for inference that uses asingle operator. This is called

resolution. A ∨ B and ¬A^ ∨^ C^ allows us to conclude

B^ ∨^ C.

A^ is either true or not true. If

A^ is true, then

C^ must

be true. if^ A^ is false, then

B^ must be true. This can be generalized to clauses of any length.

Department of Computer Science — University of San Francisco – p.3/

??

Conjunctive Normal Form Resolution works with disjunctions. This means that our knowledge base needs to be in thisform. Conjunctive Normal Form is a conjunction of clausesthat are disjunctions. (A^ ∨^ B^ ∨^ C)^ ∧

(D^ ∨^ E^ ∨^ F^ )^

∧^ (G^ ∨^ H^ ∨^ I)

∧^ ...

Every propositional logic sentence can be converted toCNF.

Department of Computer Science — University of San Francisco – p.4/

??

Conjunctive Normal Form Recipe 1. Eliminate equivalence^ A^ ⇔^ B^ becomes

A^ ⇒^ B^ ∧^ B^ ⇒

A

  1. Eliminate implication^ A^ ⇒^ B

becomes^ ¬A

∨^ B

  1. Move^ ¬^ inwards using double negation and DeMorgan’s^ ¬(¬A)^

becomes^ A ¬(A ∧ B)^ becomes^ (

¬A^ ∨ ¬B)

  1. Distribute nested clauses^ (A^ ∨^ (B

∧^ C))^ becomes

(A^ ∨^ B)^ ∧^ (A

∨^ C) Department of Computer Science — University of San Fra

Example B⇔^ (P∨^1 ,^1 1 ,^2

P)^2 ,^1

Eliminating equivalence produces:^ (B⇒^ (P^1 ,^1

∨^ P))^ ∧^ (( 1 , 2 2 ,^1

P∨^ P)^ ⇒^1 ,^2 2 ,^1

B)^1 ,^1

Removing implication gives us:^ (¬B∨^ (P^1 ,^1

∨^ P))^ ∧^1 , 2 2 ,^1

(¬(P∨^ P^1 ,^2 2 ,^1

)^ ∨^ B)^1 ,^1 Department of Computer Science — University of San Francisco – p.6/

??

Example We then use DeMorgan’s rule to move negation inwards:^ (¬B∨^ P^1 ,^1

∨^ P)^ ∧^ ((¬, 2 2 ,^1

P∧ ¬P)^ ∨^1 ,^2 2 ,^1

B)^1 ,^1

Finally, we distribute OR over AND:^ (¬B∨^ P^1 ,^1

∨^ P)^ ∧^ (¬ 1 , 2 2 ,^1

P∨^ B)^ ∧^1 ,^2 1 ,^1

(¬P∨^ B^2 ,^1 1 ,^1

Now we have clauses that can be plugged into aresolution theorem prover. (can break ANDs intoseparate sentences) They’re less readable by a human, but morecomputationally useful.

Department of Computer Science — University of San Francisco – p.7/

??

Proof By Refutation Once your KB is in CNF, you can do resolution byrefutation.^ In math, this is called proof by contradiction Basic idea: we want to show that sentence

A^ is true.

Insert^ ¬A^ into the KB and try to derive a contradiction.

Department of Computer Science — University of San Fra

Example Notation:^ R1: Robot1 is on.^ R2: Robot 2 is on.^ ChR1: Robot 1 is at the charger.^ ChR2: Robot 2 is at the charger.^ lowR1: Robot 1 has low power.^ lowR2: Robot 2 has low power.^ moveChR1: Robot 1 should move onto the charger.^ moveChR2: Robot 2 should move onto the charger.

Department of Computer Science — University of San Francisco – p.9/

??

Example Encode Convert to CNF:^ If robot 1 is off, then robot 2 is off.^ If robot 2 is off, then it will be located on the charger,and if it is not off, then robot 2 will not be located onthe charger.^ If robot 1 is off, then it will be located on the charger,and if it is not off, then robot 1 will not be located onthe charger.^ If Robot 1 is on, and its power is low, then it shouldmove to the charger.^ Robot 1’s power is low.^ Robot 2 is on. Use resolution with refutation to prove that Robot 1should move to the charger.

Department of Computer Science — University of San Francisco – p.10/

??

Expressivity We would like the sorts of structures that are useful inprogramming languages. In particular, we would like:^ Objects: Wumpi, pits, gold, vacuum cleaners, etc.^ Variables: how do we talk about objects withoutknowing their names?^ Relations: These can include:^ Unary relations (or properties): smelly(wumpus),shiny(gold), sleepy(student), etc.^ Binary relations: brother-of(bart, lisa),holding(agent, gold), after(Tuesday, Monday)^ n-ary relations: simpsons(homer, marge, bart, lisa)^ These are sometimes called

predicates Functions: father-of(bart) = homer,fall-classes(student) = AI, etc. First-order logic

gives us all of this.

Department of Computer Science — University of San Fran

Nesting quantifiers Often, we’ll want to express more complexquantifications. For example, “every person has amother”^ ∀x∃ymother

(x, y) Notice the scope - for each

x, a different

y^ is

(potentially) chosen. What if we said^

∃y∀xmother(

x, y)? this is not a problem when nesting quantifiers of thesame type. ∀x∀y brotherOf

(x, y)^ ⇒^ siblingOf

(x, y)^ and ∀y∀x brotherOf

(x, y)^ ⇒^ siblingOf

(x, y)^ are equivalent. We often write that as ∀x, y brotherOf

(x, y)^ ⇒^ siblingOf

(x, y)^ Department of Computer Science — University of San Francisco – p.18/

??

Negation We can negate quantifiers^ ¬∀x yellow

(x)^ says that it is not true that everyone isyellow. ∃x ¬yellow(x)^ has the same meaning - there issomeone who is not yellow. ¬∃x daughterOf^ (Bart, x

)^ says that there does not exist anyone who is Bart’s daughter. ∀x^ ¬daughterOf

(Bart, x)^ says that for all individuals they are not Bart’s daughter. In fact, we can use DeMorgan’s rules with quantifiersjust like with^ ∧^ and

Department of Computer Science — University of San Francisco – p.19/

??

More examples A husband is a male spouse^ ∀x, y husband

(x, y)^ ⇔^ spouse

(x, y)^ ∧^ male(

x)

Two siblings have a parent in common^ ∀x, y sibling

(x, y)^ ⇔¬(x = y) ∧ ∃pP arent(x, p

)^ ∧^ P arent(y, p

Everyone who goes to Moe’s likes either Homer orBarney (but not both)^ ∀x goesT o

(moes, x)^ ⇒ (Likes(x, Homer)^ ⇔ ¬Likes

(x, Barney))^ Department of Computer Science — University of San Fran

More examples Everyone knows someone who is angry at Homer.^ ∀x∃y knows

(x, y)^ ∧^ angryAt

(y, homer) Everyone who works at the power plant is scared of Mr.Burns^ ∀x worksAt

(P owerP lant, x

)^ ⇒^ scaredOf

(x, burns) Department of Computer Science — University of San Francisco – p.21/

??

Audience Participation Everyone likes Lisa. Someone who works at the power plant doesn’t likeHomer. (both ways) Bart, Lisa, and Maggie are Marge’s only children. People who go to Moe’s are depressed. There is someone in Springfield who is taller thaneveryone else. When a person is fired from the power plant, they go toMoe’s Everyone loves Krusty except Sideshow Bob Only Bart skateboards to school Someone with large feet robbed the Quickie-mart.

Department of Computer Science — University of San Francisco – p.22/

??

Representing useful knowledge in F We can use FOL to represent class/subclassinformation, causality, existence, and disjoint sets. Example: Let’s suppose we are interested in building anagent that can help recommend music. We want it to be able to reason about musical artists,songs, albums, and genres. It would be tedious to enter every bit of informationabout every artist; instead, we’ll enter some rules and letour agent derive entailed knowledge.

Department of Computer Science — University of San Fran

Music example ∀x genre(x, P unk

)^ →^ genre(x, Rock

)^ - subclass: all Punk songs are Rock songs. member(JohnLennon, Beatles

)^ ∧

member(P aulM cCartney, Beatles

)^ ∧

member(GeorgeHarrison, Beatles

)^ ∧

member(RingoStarr, Beatles

)^ ∧ ∀x member

(x, Beatles)^ →

x^ ∈ {John, P aul, George, Ringo

}^ - exclusive membership: John, Paul, George, and Ringo are the Beatles. perf ormedBy

(Beatles, W hiteAlbum

)^ The WhiteAlbum is a Beatles album ∀x, y, zmember

(x, y)∧perf ormedBy

(y, z)^ →^ playedOn

(x, z)

if someone is a member of a group, and that groupperformed an album, then that person played on thatalbum.

Department of Computer Science — University of San Francisco – p.24/

??

Music example genre(HolidaysInT heSun, P unk

)^ - “Holidays in the Sun” is a Punk song. ∀x genre(x, Rock

)^ →^ likes(Bob, x

)^ Bob likes all rock songs.^ We should be able to infer that Bob will like “Holidaysin the Sun” ∀w, x, y, z likes

(x, y)∧member

(z, y)∧perf ormedBy

(z, w)^ →

likes(x, w)^ - If someone likes albums by a band Y, and Zis a member of band Y, then that person will like albumsby person Z.

Department of Computer Science — University of San Francisco – p.25/

??

Inference in Propositional logic We talked about two basic mechanisms for performinginference in propositional logic:^ Forward chaining: Begin with the facts in your KB.Apply inference rules until no more conclusions canbe drawn.^ Backward chaining: Begin with a fact (or its negation)that you wish to prove. Find facts that will justify thisfact. Work backwards until you find facts in your KBthat support (contradict) the fact you wish to prove.

Department of Computer Science — University of San Fran

Inference in FOL Can we do the same sorts of inference with First-orderlogic that we do with propositional logic? Yes, with some extra details. Need to keep track of variable bindings (substitution)

Department of Computer Science — University of San Francisco – p.27/

??

Inference in FOL As with propositional logic, we’ll need to convert ourknowledge base into a canonical form. In the simplest approach, we can convert our FOLsentences to propositional sentences. We do this byremoving quantification.^ we leave in predicates for readability, but remove allvariables.

Department of Computer Science — University of San Francisco – p.28/

??

Removing quantifiers Universal Instantiation: we can always substitute aground term for a variable. This will typically be a term that occurs in some othersentence of interest. Choose a substitution for

x^ that helps us with our proof. ∀xLivesIn(x, Springf ield

)^ ⇒^ knows(x, Homer

Since this is true for all

x, we can substitute {x^ =^ Bart} LivesIn(Bart, Springf ield

)^ ⇒^ knows(Bart, Homer

Department of Computer Science — University of San Fran

Unification What if there is more than one substitution that canmake two sentences look the same?^ Sibling(Bart, x

), Sibling(y, z

can produce

{Bart/y, x/z}

or {x/Bart, y/Bart, z/Bart

the first unification is more general than the second - itmakes fewer commitments. We want to find the

most general unifier

when

performing inference.^ (This is the heuristic in our search.)

Department of Computer Science — University of San Francisco – p.36/

??

Unification Algorithm To unify two sentences, proceed recursively. If either sentence is a single variable, find a unificationthat binds the variable to a constant. Else, call unify in the first term, followed by the rest ofeach sentence.^ Sibling(x, Bart

)^ ∧^ P laysSax

(x)^ and^ Sibling

(Lisa, y)

We can unify

Sibling(x, Bart

)^ and^ Sibling

(Lisa, y)

with^ {x/Lisa, y/Bart

The process of finding a complete set of substitutions isa search process.^ State is the list of substitutions^ Successor function is the list of potential unificationsand new substitution lists.

Department of Computer Science — University of San Francisco – p.37/

??

Forward Chaining Basic idea: Begin with facts and rules (implications) Continually apply Modus Ponens until no new facts canbe derived. Requires^ definite clauses^ Implications with positive clauses in the antecedent^ Positive facts

Department of Computer Science — University of San Fran

Forward Chaining Algorithm while^ (1)^ :for^ rule^ in^

rules^ :if (can_unify(rule,^ facts))

: fire_rule(rule)assert^ consequent

facts if^ (no^ rules^ fired)

: return

Department of Computer Science — University of San Francisco – p.39/

??

Example The law says that it is a crime for an American to sell weapons to hostile nations. The countryof Nono, an enemy of America, has some missiles. All of its missiles were sold to it byColonel West, who is an American. Prove that West is a criminal.^ It is a crime for an American to sell weapons to hostile nations.^1 .American(x)

∧^ W eapon(y)^ ∧^ Hostile

(z)^ ∧^ Sells(x, y, z)^

⇒^ Criminal(x)

Nono has missiles. 2 .∃xOwns(N ono, x

)^ ∧^ M issile(x) Use Existential Elimination to substitute

Mfor^ x^1 3 .Owns(N ono, M^1

),^4 .M issile(M)^1

Department of Computer Science — University of San Francisco – p.40/

??

Example Prove that West is a criminal.^ All Nono’s missiles were sold to it by Colonel West.^5 .M issile(x)^ ∧^

Owns(N ono, x)^ ⇒

Sells(W est, x, N ono

) Missiles are weapons. 6 .M issile(x)^ ⇒^ W eapon

(x) An enemy of America is a hostile nation. 7 .Enemy(x, America

)^ ⇒^ Hostile(x) West is American 8 .American(W est) Nono is an enemy of America 9 .Enemy(N ono, America

)

We want to forward chain until we can show allthe antecedents of 1.

Department of Computer Science — University of San Fran

Example Algorithm: Repeatedly fire all rules whose antecedentsare satisfied. Rule 6 matches with Fact 4.

{x/M}. Add^1

W eapon(M)^1

Rule 5 matches with 3 and 4.

{x/M}. Add^1 Sells(W est, M

, N ono) 1 Rule 7 matches with 9.

{x/N ono}. Add

Hostile(N ono

Iterate again. Now we can match rule 1 with

{x/W est, y/M

, z/N ono} 1

and conclude

Criminal(W est

).^ Department of Computer Science — University of San Francisco – p.42/

??

Analyzing basic forward chaining Forward chaining is sound, since it uses Modus Ponens. Forward chaining is complete for definite clauses. Works much like BFS This basic algorithm is not very efficient, though.^ Finding all possible unifiers is expensive^ Every rule is rechecked on every iteration.^ Facts that do not lead to the goal are generated.

Department of Computer Science — University of San Francisco – p.43/

??

Backward Chaining Basic idea: work backward from the goal to the factsthat must be asserted for the goal to hold. Uses Modus Ponens (in reverse) to focus search onfinding clauses that can lead to a goal. Also uses definite clauses. Search proceeds in a depth-first manner.

Department of Computer Science — University of San Fran

Backward Chaining Algorithm goals^ =^ [goal_to_prove]substitution_list

=^ [] while^ (not^ (empty(goals)))

: goal^ =^ goals.dequeueunify(goals,^ substitution_list)foreach^ sentence

in^ KBif (unify(consequent(sentence,

q))) goals.push(antecedents(sentence))

Department of Computer Science — University of San Francisco – p.45/

??

Backward Chaining Example To Prove:^1 .Criminal

(W est) To prove 1, prove: 2 .American(W est

),^3 .W eapon(y

)4.Hostile(z)

.Sells(W est, y, z

2 unifies with 8. To prove: 3 .W eapon(y)

.Hostile(z)5.Sells

(W est, y, z) 6 unifies with 3

{x/M}. To prove:^1

.^6 .M issile(M

),^4 .Hostile(z 1

)5.Sells(W est, M

, z) 1

We can unify 6 with 2

{x/M}^ and add^1

Owns(N ono, M

to the KB. To prove:

4 .Hostile(z)

.Sells(W est, M

, z) 1

To prove^ Hostile

(z), prove^ Enemy

(z, America). To prove: 7 .Enemy(z, America

),^5 .Sells(W est, M

, z),^6 .M issile 1

(M)^1

Department of Computer Science — University of San Francisco – p.46/

??

Backward Chaining Example We can unify 7 with

Enemy(N ono, America

){x/N ono}.

To prove:^5 .Sells

(W est, M, N ono^1

),^6 .M issile(M

To prove^ Sells

(W est, M, N ono^1

), prove^ M issile

(M)^ and^1

Owns(N ono, M

)^ To prove: 1 8 .Owns(N ono, M

),^6 .M issile( 1

M)^1

8 resolves with the fact we added earlier. To prove: 6 .M issile(M^1

M issile(M)^1

resolves with 5. The list of goals is empty, so we are done.

Department of Computer Science — University of San Fran

Resolution Algorithm s = [useful^ facts]able^ =^ all^ facts^ in

KB fact^ =^ sos.popforeach^ fact^ in

usableresolve fact^ with^ usable simplify^ clauses,

remove^ duplicates

and^ tautologies if^ a^ clause^ has

no^ literals^ :return refutation^ found tilsos^ =^ []

Department of Computer Science — University of San Francisco – p.54/

??

Resolution Example 1 .¬American(x)^ ∨ ¬

W eapon(y)^ ∨ ¬Sells

(x, y, z)^ ∨ ¬Hostile

(z)^ ∨^ Criminal(x)

2 .¬M issile(x)^ ∨ ¬Owns

(N ono, x)^ ∨^ Sells(west, x, N ono

)

3 .¬Enemy(x, America

)^ ∨^ Hostile(x) 4 .¬M issile(x)^ ∨^ W eapon

(x) 5 .Owns(N ono, M^1

) 6 .M issile(M)^17 .American(W est

) 8 .Enemy(N ono, America

) 9 .¬Criminal(W est

)^ (added)

Department of Computer Science — University of San Francisco – p.55/

??

Resolution Example Resolve 1 and 9. Add 10 .¬American(W est

)^ ∨ ¬W eapon(y)^ ∨ ¬

Sells(W est, y, z)^ ∨ ¬

Hostile(z)

Resolve 10 and 7. Add

11 .¬W eapon(y)^ ∨ ¬

Sells(W est, y, z)^ ∨ ¬

Hostile(z)

Resolve 11 and 4. Add

12 .¬M issile(y)^ ∨ ¬

Sells(W est, y, z)^ ∨ ¬

Hostile(z)

Resolve 12 and 6. Add

13 .Sells(W est, M^1

, z)^ ∨ ¬Hostile(z) Resolve 13 and 2. Add

14 .¬M issile(M)^1

∨ ¬Owns(N ono, M

)^ ∨^ Hostile(N ono 1 )

Resolve 14 and 6. Add

15 .¬Owns(N ono, M

1 )^ ∨ ¬Hostile(N ono

)

Resolve 15 and 5. Add

16 ¬Hostile(N ono

) Resolve 16 and 3. Add

17 .¬Enemy(N ono, America

). Resolve 17 and 8. Contradiction!

Department of Computer Science — University of San Fran

Analyzing Resolution Resolution is refutation complete - if a sentences isunsatisfiable, resolution will discover a contradiction. Cannot always derive all consequences from a set offacts. Can produce nonconstructive proofs for existentialgoals.^ Prove^ ∃xlikes

(x, Homer)^ will be proven, but without an answer for who

x^ is. Can use full FOL, rather than just definite clauses.

Department of Computer Science — University of San Francisco – p.57/

??

Rule-based Systems The if-then form of constructing a knowledge base turnsout to be very effective in practice.^ A good fit with the ways in which human expertsdescribe knowledge.^ Rules of this form can also be learned. Forward chaining also fits well with decision-making anddiagnostic scenarios.^ Given some inputs, decide on the best course ofaction.

Department of Computer Science — University of San Francisco – p.58/

??

Efficient Forward Chaining Recall that basic forward chaining tries to match everyrule with asserted facts on every iteration.^ This is known as “rules finding facts.” In practice, this is not very efficient.^ The knowledge base does not change drasticallybetween iterations.^ A few facts are asserted or retracted at each step. Also, many rules have similar left-hand sides - canmatches be combined?

Department of Computer Science — University of San Fran

Rete Rete remembers past partial matches of rules andretains this information across iterations. Only new facts are tested against the left-hand side of arule.^ “Facts finding rules.” Rete compiles a set of rules into a network, wherenodes in the network represent tests or conditions on arule’s left-hand side. As facts match these nodes, activtion propagatesthrough the network.

Department of Computer Science — University of San Francisco – p.60/

??

Rete Example Let’s say we have the following rules: ;;;^ this^ is^ the^

syntax^ used^ by^

the^ CLIPS^ expert

system

(defrule^ drink-beer(thirsty^ homer)=>(assert^ (drink-beer

homer))) (defrule^ go-to-moes(thirsty^ homer)(at^ homer^ ˜moes)=>(assert^ (at^ homer

moes))) (defrule^ happy-homer(drink-beer^ homer)(at^ homer^ moes)(friday)=>(assert^ (happy

homer))) What would the network look like?

Department of Computer Science — University of San Francisco – p.61/

??

Rete Example thirstyhomer fire drink-beer

Single-input nodesreceive a fact, test it, and at homer friday!moespropagate. Two-input nodes group fire go-to-moesand unify facts thatmatch each parent. fire happy- We can also share nodeshomeramong rules, which im-proves efficiency. Department of Computer Science — University of San Fran

Practical Expert Systems Rete inspired a whole generation of expert systems.^ One of the most successful AI technologies.^ Nice fit with the way human experts describeproblems. Made it possible to construct large-scale rule-basedsystems.^ Locating oil deposits, controlling factories, diagnosingillness, troubleshooting networks, etc. Most expert systems also include a notion of

uncertainty

We’ll examine this in the context of Bayesiannetworks. We will see this idea of networks of information again.

Department of Computer Science — University of San Francisco – p.63/

??