Inference in Cyc Logical Aspects of Inference Incompleteness

  • Slides: 14
Download presentation
Inference in Cyc • Logical Aspects of Inference • Incompleteness in Searching • Incompleteness

Inference in Cyc • Logical Aspects of Inference • Incompleteness in Searching • Incompleteness from Resource Bounds and Continuable Searches • Efficiency through Heuristics • Inference Features in Cyc Copyright © 2002 Cycorp

Inference Uses Mts for Consistency Mainstream. American. Culture. Mt World. Mythology. Mt • (genls

Inference Uses Mts for Consistency Mainstream. American. Culture. Mt World. Mythology. Mt • (genls Vampire Mythological. Thing) • (genls Vampire Intelligent. Agent) • (isa Loch. Ness. Monster Mythological. Thing) • (isa Loch. Ness. Monster Reptile) In the Mainstream American. Culture. Mt, • Vampire is a kind of mythological thing. • The Loch Ness Monster is a mythological thing. In the World. Mythology. Mt, • Vampire is a kind of intelligent agent. • The Loch Ness Monster is a reptile. Copyright © 2002 Cycorp

Mts Inherit from More General Mts Using #$genl. Mt Universal. Vocabulary. Mt genl. Mt

Mts Inherit from More General Mts Using #$genl. Mt Universal. Vocabulary. Mt genl. Mt Human. Activities. Mt genl. Mt United. States. Social. Life. Mt genl. Mt Mainstream. American. Culture. Mt World. Mythology. Mt Copyright © 2002 Cycorp

Inference is performed Within Mts Universal. Vocabulary. Mt ASK in each Mt: genl. Mt

Inference is performed Within Mts Universal. Vocabulary. Mt ASK in each Mt: genl. Mt (genls Vampire Intelligent. Agent) Human. Activities. Mt Results in each Mt: • True • Not Proven genl. Mt United. States. Social. Life. Mt genl. Mt Mainstream. American. Culture. Mt World. Mythology. Mt Copyright © 2002 Cycorp

Inference Uses Microtheories and Inheritance Microtheory #1 Microtheory #2 Microtheory #3 P Q (P

Inference Uses Microtheories and Inheritance Microtheory #1 Microtheory #2 Microtheory #3 P Q (P and Q) R genl. Mt Microtheory #4 R Copyright © 2002 Cycorp

Two Important Microtheories: #$Base. KB and #$Everything. PSC : always visible to all other

Two Important Microtheories: #$Base. KB and #$Everything. PSC : always visible to all other Mts #$Base. KB #$Everything. PSC Mt 1 Mt 2 Mt 3 Mt 6 can “see” Mt 6, but Mt 4 cannot. Mt 4 : all Mts are visible to this Mt #$Everything. PSC Copyright © 2002 Cycorp

Placing a New Microtheory Mt#0 Mt#1 Mt#3 Mt#6 Mt#7 Mt#2 Mt#5 Mt#4 genl. Mt

Placing a New Microtheory Mt#0 Mt#1 Mt#3 Mt#6 Mt#7 Mt#2 Mt#5 Mt#4 genl. Mt Mt#8 Mt#9 Mt#10 Mt#11 genl. Mt New Mt Copyright © 2002 Cycorp

Inference can be Forward or Backward Forward Inference: • Occurs at UPDATE time •

Inference can be Forward or Backward Forward Inference: • Occurs at UPDATE time • Causes new assertions to be added throughout the KB Backward Inference: • Occurs at QUERY time • Creates conditional proofs to be proven by existing facts New assertion = Conditional proof Query

Forward Inference: Strengths and Weaknesses Forward Inference: At assert time, eagerly attempt to provide

Forward Inference: Strengths and Weaknesses Forward Inference: At assert time, eagerly attempt to provide a deductive chain between what you’re asking and what is already known. + - • larger target for your backward inference to eventually hit • a lot of work at update time • wasted effort in making new conclusions Copyright © 2002 Cycorp

Limitation of Forward Inference There is a certain size of knowledge base beyond which

Limitation of Forward Inference There is a certain size of knowledge base beyond which the space of conclusions you get in a forward fashion is so large that it just becomes unwieldy. New assertion Fan-out of new conclusions/ assertions Assertions which will never be used Copyright © 2002 Cycorp

Limitation to Backward Inference You can have enormous fan-out in the space of proofs

Limitation to Backward Inference You can have enormous fan-out in the space of proofs which you are trying to prove which have no hope of ever targeting anything that is stated in your system. Proofs which will never be proven Fan-out of conditional proofs Query Copyright © 2002 Cycorp

Cyc Supports Both Forward and Backward Inference New assertion Query

Cyc Supports Both Forward and Backward Inference New assertion Query

A Subset of the KB is Marked “Forward” Copyright © 2002 Cycorp

A Subset of the KB is Marked “Forward” Copyright © 2002 Cycorp

Summary • Inference Uses Mts for Consistency • Mts Inherit from More General Mts

Summary • Inference Uses Mts for Consistency • Mts Inherit from More General Mts Using #$genl. Mt • Inference is performed Within Mts • Two Important Microtheories: #$Base. KB and #$Everything. PSC • Inference can be Forward or Backward • A Subset of the KB is Marked “Forward” Copyright © 2002 Cycorp