Download presentation
Presentation is loading. Please wait.
Published byPatricia Butler Modified over 9 years ago
1
1 Lectures on Artificial Intelligence (CS 364) 1 Khurshid Ahmad Professor of Artificial Intelligence Centre for Knowledge Management September 2001
2
2 K NOWLEDGE R EPRESENTATION ‘The idea of explicit representations of knowledge, manipulated by general purpose inference algorithms, dates back to the philosopher Leibniz, who envisioned a calculus of propositions that exceed in its scope and power the differential calculus he has developed’ (Brachman, Levesque and Reiter 1991:1)
3
3 K NOWLEDGE R EPRESENTATION 'A representation is a set of conventions about how to describe a class of things. A description makes use of the conventions of a representation to describe some particular thing.' (Winston 1992:16). ‘Good representations make important objects and relations explicit, expose natural constraints, and bring objects and relations together’ (ibid: 44) The representation principle Once a problem is described using an appropriate representation, the problem is almost solved.
4
4 Semantic Networks; Frames; Conceptual Dependency Grammar; Conceptual Graphs; Predicate and Modal Logic Conceptual or Terminological Logics K NOWLEDGE R EPRESENTATION A number of knowledge representation schemes (or formalisms) have been used to represent the knowledge of humans in a systematic manner. This knowledge is represented in a KNOWLEDGE BASE such that it can be retrieved for solving problems. Amongst the well- established knowledge representation schemes are:
5
5 Procedural Schemes ( Production Rules ) Propositional Schemes ( Semantic Nets; Frames; ConceptualDependency Grammar, Conceptual Graphs; Logics ) Analogical Schemes ( Matrices ) K NOWLEDGE R EPRESENTATION A number of knowledge representation schemes (or formalisms) have been used to represent the knowledge of humans in a systematic manner. This knowledge is represented in a KNOWLEDGE BASE such that it can be retrieved for solving problems. Amongst the well- established knowledge representation schemes are:
6
6 K NOWLEDGE R EPRESENTATION A Brief History of Knowledge Representation 1960's: Taxonomy, inheritance and knowledge 'networks‘ 1970's: Structuring the semantic network & the rise of logic 1980's: 'Semantic networks' with semantics & logic for change 1990's: Meta-knowledge representation, belief representation
7
7 K NOWLEDGE R EPRESENTATION A Brief History of Knowledge Representation 1960's: Taxonomy, inheritance and knowledge 'networks‘ Semantic Nets, Frames, Predicate Logic 1970's: Structuring the semantic network & the rise of logic Structured Semantic Networks Logic for Problem Solving: Program = Logic + Control Fuzzy Logic and Uncertainty Representation 1980's: 'Semantic networks' with semantics & logic for change The 'epistemologically explicit' KL-ONE language; Temporal Logic, Deviant Logic, Non-monotonic Logics 1990's: Meta-knowledge representation, belief representation Theoretically well-grounded networks & Pierce movement Representing Belief Default Logics, Temporal reasoning Mixed representation systems
8
8 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Ross Quillian (1966 and 1968) was among the early AI workers to develop a computational model which represented 'concepts' as hierarchical networks. This model was amended with some additional psychological assumptions to characterise the structure of [human] semantic memory.
9
9 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Collins and Quillian (1969) proposed that Concepts can be represented as hierarchies of inter-connected concept nodes (e.g. animal, bird, canary) Any concept has a number of associated attributes at a given level ( e.g. animal --> has skin; eats etc.) Some concept nodes are superordinates of other nodes (e.g. animal >bird) and some are subordinates (canary< bird) For reasons of cognitive economy, subordinates inherit all the attributes of their superordinate concepts Some instances of a concept are excepted from the attributes that help [humans] to define the superordinates (e.g. ostrich is excepted from flying) Various [psychological] processes search these hierarchies for information about the concepts represented
10
10 K NOWLEDGE R EPRESENTATION : NETWORKS& M EANING A Hierarchical Network salmon lays eggs; swims upstream, is pink, is edible ostrich runs fast, cannot fly, is tall canary can sing, is yellow bird can fly, has wings, has feathers fish can swim, has fins, has gills animal can breathe, can eat, has skin is-a
11
11 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING is-a salmon lays eggs; swims upstream, is pink, is edible ostrich runs fast, cannot fly, is tall canary can sing, is yellow bird can fly, has wings, has feathers fish can swim, has fins, has gills animal can breathe, can eat, has skin is-a From the above taxonomic organisation of knowledge about a number of different animals, and one can conclude, by ‘inheriting properties down the taxonomy’, that canaries, ostriches and salmon all have skin and can breathe. But we as humans can also make exceptions to inherited properties in that we can represent an unflighted bird in a (sub-) hierarchy of birds by simply noting the exception, 'can't fly'.
12
12 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING is-a salmon lays eggs; swims upstream, is pink, is edible ostrich runs fast, cannot fly, is tall canary can sing, is yellow bird can fly, has wings, has feathers fish can swim, has fins, has gills animal can breathe, can eat, has skin is-a Collins and Quillian showed carried out a number of test on human subjects and found that the subjects recognise propositions lower down the hierarchy (canary is a yellow bird) as compared to propositions higher up the hierarchy more readily than higher above (canary has skin).
13
13 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING A semantic network is a structure for representing knowledge as a pattern of interconnected nodes and arcs. Nodes in the net represent concepts of entities, attributes, events, values. Arcs in the network represent relationships that hold between the concepts animal can breathe, can eat, has skin salmon lays eggs; swims upstream, is pink, is edible ostrich runs fast, cannot fly, is tall canary can sing, is yellow bird can fly, has wings, has feathers fish can swim, has fins, has gills is-a
14
14 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Concepts labeled C111 and C112 inherit all the attributes of C11 which, in turn, inherits all the attributes of C1; similarly C121 inherits attributes of C12 and C12 of C1. All arcs are labeled is-a, which relates superordinates (C1) to subordinates (C11, C12) to instances (C111, C112, C121). C1 C1’s attributes C121 C121’s attributes C112 C112’s attributes C111 C111’s attributes C11 C11’s attributes C12 C12’s attributes is-a
15
15 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Quillian’s semantic network: A graph theoretic data structure whose nodes represent word senses and whose arcs express binary semantic relationships between these word senses. Quillian gave an account, perhaps first used by a computer scientist, of the associate features of human memory that incorporated a spreading activation model of computation.
16
16 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Type Hierarchies Lattices: Sharon is an experimental physicist and is a professional singer Person Artist Scientist PerformerMusician TheoristExperimentalist Singer Physicist Lecturer Sharon
17
17 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING The problem with the nets had been the interpretation associated with the nodes which in turn relates to the two problems of 'logical' and 'heuristic' adequacy. There are five major area of concerns here: First, what does or should the node represent: a class of objects or does the node represent an instance of an object? Second, it is not clear whether the nodes represent the canonical instance of a concept or does the node represent the set of all instances of the object. Third, the semantics of a link that define new objects and a link that relate existing objects, particularly those dealing with 'intrinsic' characteristics of a given object. Fourth, how does one deal with the problems of comparison between objects (or classes of objects) through their attributes: essentially the problem of comparing object instances: Fifth, what mechanisms there are to handle 'quantification' in semantic network formalisms
18
18 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING The above five problem lead to the conclusion that the semantic representation is beset by the twin problems of logical and heuristic inadequacy: Logical inadequacy: A semantic network is representationally inappropriate because the semantic nets could not make many of the distinctions, even pretty simple logical systems can make: between a specific instance of an object, a class of objects, all objects, no object, some objects, etc. Heuristic inadequacy: Semantic networks do not contain the knowledge which helps in searching a given network
19
19 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Schema and Frames The schema for the psychologist Otto Selz is a network of concepts for 'guiding the thinking process', and for the experimental psychologist Fredrick Bartlett it was an active organisation of past experiences and reactions used in thinking and in perception. In its later rendering this notion of schema was taken over by AI researchers during the 1950's and 1960's as a basic building block for organising, storing and retrieving knowledge. There are two dominant and interlinked themes to be found in the knowledge representation literature of that time.
20
20 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Schema and Frames The term frames appears to have at least five senses in The Oxford Dictionary of Computing: 1.The total amount of information presented in a display at any one time. 2.…………………………………………….. 5.A frame is a list of named SLOTS. Each slot can hold a fact, a POINTER to a slot in another frame, a RULE for deriving the value of the slot, or a PROCEDURE for calculating the value. Frames can be used to represent the knowledge about a particular object or event
21
21 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Schema and Frames Consider the following objects and events: 1. Bill is a cat; 2. Opus is a penguin 3. The year 2000 flood in Chichester 4. Sophie and Edward’s wedding.
22
22 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Schema and Frames Living objects 1 & 2 can be described as follows: Opus Penguin membersubset Birds Animal subset BillCat membersubset Mammals subset
23
23 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Schema and Frames Events 3 & 4 can be described as follows: Chichester Flood a kind of Disaster Event a kind of Sophie & Edwards Wedding Celebration a kind of a kind of a kind of
24
24 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Schema and Frames Penguin Opus member Bill likes Penguin Opus member Bill likes A semantic network A frame network
25
25 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Schema and Frames: Representing Instances Penguin Opus member likes subset flight Bill Birds Legs flight Animal subset vitality subset No Yes 2 flightNo Yes
26
26 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Schema and Frames: Handling Exceptions Mammals Legs Feeds young Animal subset vitality subset Yes 4 flightNo Yes subset Legs flightYes 2 Bats Cats subset Climbs treesYes
27
27 K NOWLEDGE R EPRESENTATION: NETWORKS& M EANING Event AKO Time Date Place Disaster AKO Damage Fatalities Earthquake AKO Magnitude Fault Flood AKO Depth Area Fire AKO Engines Firemen Inheritance of Properties
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.