Knowledge-Representation---Cognitive-Science-at-Northwestern知识表示在西北认知科学课件.ppt
《Knowledge-Representation---Cognitive-Science-at-Northwestern知识表示在西北认知科学课件.ppt》由会员分享,可在线阅读,更多相关《Knowledge-Representation---Cognitive-Science-at-Northwestern知识表示在西北认知科学课件.ppt(44页珍藏版)》请在三一办公上搜索。
1、Knowledge Representation,Praveen ParitoshCogSci 207: Fall 2019: Week 1Thu, Sep 30, 2019,Knowledge RepresentationPrave,Some Representations,Some,Elements of a Representation,Represented world: about what? Representing world: using what? Representing rules: how to map? Process that uses the representa
2、tion: conventions and systems that use the representations resulting from above. Analog versus Symbolic,Elements of a RepresentationRe,Marrs levels of description,Computational: What is the goal of the computation, why is it appropriate, and what is the logic of the strategy by which it can be carri
3、ed out? Algorithmic: How can this computational theory be implemented? In particular, what is the representation for the input and output, and what is the algorithm for the transformation? Implementation: How can the representation and algorithm be realized physically?,Marrs levels of descriptionCo,
4、Marrs levels of description 2,Computational: a lot of cognitive psychologyAlgorithmic: a lot of cognitive scienceImplementation: neuroscience,Marrs levels of description ,A closer look,A closer look,Overview,How knowledge representation worksBasics of logic (connectives, model theory, meaning)Basics
5、 of knowledge representationWhy use logic instead of natural language?QuantifiersOrganizing large knowledge basesOntologyMicrotheoriesResource: OpenCyc tutorial materials,OverviewHow knowledge represen,How Knowledge Representation Works,Intelligence requires knowledgeComputational models of intellig
6、ence require models of knowledgeUse formalisms to write down knowledgeExpressive enough to capture human knowledgePrecise enough to be understood by machinesSeparate knowledge from computational mechanisms that process itImportant part of cognitive model is what the organism knows,How Knowledge Repr
7、esentation W,How knowledge representations are used in cognitive models,Contents of KB is part of cognitive modelSome models hypothesize multiple knowledge bases.,KnowledgeBase,InferenceMechanism(s),LearningMechanism(s),Examples,Statements,Questions,requests,Answers,analyses,How knowledge representa
8、tions,Whats in the knowledge base?,Facts about the specifics of the worldNorthwestern is a private universityThe first thing I did at the party was talk to John.Rules (aka axioms) that describe ways to infer new facts from existing factsAll triangles have three sidesAll elephants are greyFacts and r
9、ules are stated in a formal languageGenerally some form of logic (aka predicate calculus),Whats in the knowledge base?F,Propositional logic,A step towards understanding predicate calculusStatements are just atomic propositions, with no structurePropositions can be true or falseStatements can be made
10、 into larger statements via logical connectives.Examples:C = “Its cold outside” ; C is a propositionO = “Its October” ; O is a propositionIf O then C ;if its October then its cold outside,Propositional logicA step towa,Symbols for logical connectives,Negation: not, , Conjunction: and, Disjunction: o
11、r, Implication: implies, , Biconditional: iff, -Universal quantifier: forall, Existential quantifier: exists, ,Symbols for logical connective,Semantics of connectives,For propositional logic, can define in terms of truth tables,Semantics of connectives For p,Implication and biconditional,AB AB,AB (A
12、B)(BA),Implication and biconditionalA,Rules of inference,There are many rules that enable new propositions to be derived from existing propositionsModus Ponens: PQ, P, derive QdeMorgans law: (AB), derive ABSome properties of inference rulesSoundness: An inference rule is sound if it always produces
13、valid results given valid premisesCompleteness: A system of inference rules is complete if it derives everything that logically follows from the axioms.,Rules of inferenceThere are ma,Predicate calculus,Same connectivesPropositions have structure: Predicate/Function + arguments. R, 2 ; Terms. Terms
14、are not individuals, not propositionsRed(R), (Red R) ; A proposition, written in two ways(southOf UnicornCafe UniHall) ;a proposition(+ 2 2) ; Term, since the function + ranges over numbersQuantifiers enable general axioms to be written(forall ?x (iff (Triangle ?x) (and (polygon ?x) (numberOfSides ?
15、x 3),Predicate calculusSame connect,Model Theory,Meaning of a theory = set of models that satisfy it.Model = set of objects and relationshipsIf statement is true in KB, then the corresponding relationship(s) hold between the corresponding objects in the modeled worldThe objects and relationships in
16、a model can be formal constructs, or pieces of the physical world, or whateverMeaning of a predicate = set of things in the models for that theory which correspond to it.E.g., above means “above”, sort of,Model TheoryMeaning of a theor,Caution: Meaning pertains to simplest model,There is usually an
17、intended model, i.e., what one is representing.A sparse set of axioms can be satisfied by dramatically simpler worlds than those intendedExample: Classic blocks world axioms have ordered pairs of integers as a model( ) block(on A B) p(A) = p(B) & h(A) = h(B)+1(above A B) p(A) = p(B) & h(A) h(B)Moral
18、: Use dense, rich set of axioms,Caution: Meaning pertains to s,Misconceptions about meaning,“Predicates have definitions”Most dont. Their meaning is constrained by the sum total of axioms that mention them.“Logic is too discrete to capture the dynamic fluidity of how our concepts change as we learn”
19、If you think of the set of axioms that constrain the meaning of a predicate as large, then adding (and removing) elements of that set leads to changes in its models.Sometimes small changes in the set of axioms can lead to large changes in the set of models. This is the logical version of a discontin
20、uity.,Misconceptions about meaning“P,Representations as Sculptures,How does one make a statue of an elephant?Start with a marble block. Carve away everything that does not look like an elephant.How does one represent a concept?Start with a vocabulary of predicates and other axioms. Add axioms involv
21、ing the new predicate until it fits your intended model well.Knowledge representation is an evolutionary processIt isnt quick, but incremental additions lead to incremental progressAll representations are by their nature imperfect,Representations as SculpturesH,Introduction to Cycs KR system,These m
22、aterials are based on tutorial materials developed by Cycorp, for training knowledge entry people and ontological engineersFor this class, we have simplified them somewhat.In examinations, you will only be responsible for the simplified versions,Introduction to Cycs KR syste,NL vs. Logic: Expressive
23、ness,NL:Jims injury resulted from his falling.Jims falling caused his injury.Jims injury was a consequence of his falling.Jims falling occurred before his injury.,Logic: identify the common concepts, e.g. the relation: x caused yWrite rules about the common concepts, e.g. x caused y x temporally pre
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Knowledge Representation Cognitive Science at Northwestern 知识 表示 西北 认知科学 课件
链接地址:https://www.31ppt.com/p-1286033.html