What is a Knowledge Representation? COMP34512 Sebastian Brandt - - PowerPoint PPT Presentation

what is a knowledge representation comp34512
SMART_READER_LITE
LIVE PREVIEW

What is a Knowledge Representation? COMP34512 Sebastian Brandt - - PowerPoint PPT Presentation

What is a Knowledge Representation? COMP34512 Sebastian Brandt brandt@cs.manchester.ac.uk (slides by Bijan Parsia bparsia@cs.man.ac.uk) Tuesday, 25 February 2014 Where are we? 2 Tuesday, 25 February 2014 Where are we? Weve been


slide-1
SLIDE 1

What is a Knowledge Representation? COMP34512

Sebastian Brandt brandt@cs.manchester.ac.uk

(slides by Bijan Parsia bparsia@cs.man.ac.uk)

Tuesday, 25 February 2014

slide-2
SLIDE 2

Where are we?

2

Tuesday, 25 February 2014

slide-3
SLIDE 3

Where are we?

  • We’ve been fumbling toward one

– Knowledge Acquisition

  • Including Coursework

– Some formalization – Some thoughts about formalisms

2

Tuesday, 25 February 2014

slide-4
SLIDE 4

Where are we?

  • We’ve been fumbling toward one

– Knowledge Acquisition

  • Including Coursework

– Some formalization – Some thoughts about formalisms

  • But what is it that we’re producing?

– For an answer, we turn to a famous paper

  • “What is a Knowledge Representation?”
  • Randall Davis, Howard Shrobe, and Peter Szolovits (1993)
  • http://bit.ly/whatIsA

2

Tuesday, 25 February 2014

slide-5
SLIDE 5

A question!

3

Tuesday, 25 February 2014

slide-6
SLIDE 6

A question!

  • What is DSS’s definition of a KR?

– It’s not clear that they have one – It’s not clear that there is one! – Characterisation rather than definition

  • I.e., a framework for thinking about and analysing KRs

3

Tuesday, 25 February 2014

slide-7
SLIDE 7

A question!

  • What is DSS’s definition of a KR?

– It’s not clear that they have one – It’s not clear that there is one! – Characterisation rather than definition

  • I.e., a framework for thinking about and analysing KRs
  • They do so by means of a set of “roles”

3

Tuesday, 25 February 2014

slide-8
SLIDE 8

Five Roles

4

Tuesday, 25 February 2014

slide-9
SLIDE 9

Five Roles

  • 1. Surrogate

– That is, a representation

4

Tuesday, 25 February 2014

slide-10
SLIDE 10

Five Roles

  • 1. Surrogate

– That is, a representation

  • 2. Expression of ontological commitment

– of the world

4

Tuesday, 25 February 2014

slide-11
SLIDE 11

Five Roles

  • 1. Surrogate

– That is, a representation

  • 2. Expression of ontological commitment

– of the world

  • 3. Theory of intelligent reasoning

– and our knowledge of it

4

Tuesday, 25 February 2014

slide-12
SLIDE 12

Five Roles

  • 1. Surrogate

– That is, a representation

  • 2. Expression of ontological commitment

– of the world

  • 3. Theory of intelligent reasoning

– and our knowledge of it

  • 4. Medium of efficient computation

– that is accessible to programs

4

Tuesday, 25 February 2014

slide-13
SLIDE 13

Five Roles

  • 1. Surrogate

– That is, a representation

  • 2. Expression of ontological commitment

– of the world

  • 3. Theory of intelligent reasoning

– and our knowledge of it

  • 4. Medium of efficient computation

– that is accessible to programs

  • 5. Medium of human expression

– and usable

4

Tuesday, 25 February 2014

slide-14
SLIDE 14

Five Roles

  • 1. Surrogate

– That is, a representation

  • 2. Expression of ontological commitment

– of the world

  • 3. Theory of intelligent reasoning

– and our knowledge of it

  • 4. Medium of efficient computation

– that is accessible to programs

  • 5. Medium of human expression

– and usable

A KR is a representation of the world and our knowledge

  • f it that is accessible to programs and usable

4

Tuesday, 25 February 2014

slide-15
SLIDE 15

A Surrogate

5

Tuesday, 25 February 2014

slide-16
SLIDE 16

A Surrogate

  • Surrogate?

5

Tuesday, 25 February 2014

slide-17
SLIDE 17

A Surrogate

  • Surrogate?
  • Representations are abstractions

– No representation captures everything – It wouldn't be useful it if did!

5

Tuesday, 25 February 2014

slide-18
SLIDE 18

A Surrogate

  • Surrogate?
  • Representations are abstractions

– No representation captures everything – It wouldn't be useful it if did!

  • The “goodness” of a representation is context sensitive

and interest relative

– It depends on the applications – We might trade off

  • Accuracy for intelligibility
  • Detail for performance

– Other properties might be interest and context independent – But we always exclude something

  • And we may even (deliberately) misrepresent!

5

Tuesday, 25 February 2014

slide-19
SLIDE 19

A Surrogate

  • Surrogate?
  • Representations are abstractions

– No representation captures everything – It wouldn't be useful it if did!

  • The “goodness” of a representation is context sensitive

and interest relative

– It depends on the applications – We might trade off

  • Accuracy for intelligibility
  • Detail for performance

– Other properties might be interest and context independent – But we always exclude something

  • And we may even (deliberately) misrepresent!
  • What does the representation actually represent?

5

Tuesday, 25 February 2014

slide-20
SLIDE 20

Ontological Commitment

6

Tuesday, 25 February 2014

slide-21
SLIDE 21

Ontological Commitment

  • Imperfection of reps entails choice of what to represent

– And how to – Even if we captured everything, organisation matters!

6

Tuesday, 25 February 2014

slide-22
SLIDE 22

Ontological Commitment

  • Imperfection of reps entails choice of what to represent

– And how to – Even if we captured everything, organisation matters!

  • Representation is relational

– See surrogacy – Formalisms (typically) constrain, not determine the relations

  • Model theory (as you shall see)

– Early choices constrain future choices

  • But not entirely!

6

Tuesday, 25 February 2014

slide-23
SLIDE 23

Ontological Commitment

  • Imperfection of reps entails choice of what to represent

– And how to – Even if we captured everything, organisation matters!

  • Representation is relational

– See surrogacy – Formalisms (typically) constrain, not determine the relations

  • Model theory (as you shall see)

– Early choices constrain future choices

  • But not entirely!
  • Formal objects vs. “real” objects

– Cat SubClassOf: Animal – G1 SubClassOf: G2 – What’s the difference?

6

Tuesday, 25 February 2014

slide-24
SLIDE 24

Taxonomic position

7

Tuesday, 25 February 2014

slide-25
SLIDE 25

Taxonomic position

  • Not just hard, but (perhaps) impossible

– No one hierarchy

  • “Discussion of the hierarchies frequently will elicit comments from the

domain expert about the hierarchy structure. Not infrequently in biomedicine, there is no canonical determination of a concept’s correct tree position. For example, meningococcal meningitis may be classified correctly as both a disease of the central nervous systems and a bacterial disease.” —Modeling a description logic vocabulary for cancer research

– Hierarchies aren’t neutral!

  • “In meta-utopia, the lab-coated guardians of epistemology sit down and

rationally map out a hierarchy of ideas...This presumes that there is a "correct" way of categorizing ideas, and that reasonable people, given enough time and incentive, can agree on the proper means for building a hierarchy. Nothing could be farther from the truth. Any hierarchy of ideas necessarily implies the importance of some axes over others.” —

Metacrap: Putting the torch to seven straw-men of the meta-utopia 7

Tuesday, 25 February 2014

slide-26
SLIDE 26

Lab Coat View

Mary Van Rensselaer Buell (1893-1969) http://www.flickr.com/photos/smithsonian/3322785642/

http://www.well.com/~doctorow/metacrap.htm#2.5 8

Tuesday, 25 February 2014

slide-27
SLIDE 27

Lab Coat View

Mary Van Rensselaer Buell (1893-1969) http://www.flickr.com/photos/smithsonian/3322785642/

http://www.well.com/~doctorow/metacrap.htm#2.5 8

Tuesday, 25 February 2014

slide-28
SLIDE 28

Duelling Manufacturers

9

Tuesday, 25 February 2014

slide-29
SLIDE 29

Duelling Manufacturers

9

Tuesday, 25 February 2014

slide-30
SLIDE 30

Duelling Manufacturers

vs

9

Tuesday, 25 February 2014

slide-31
SLIDE 31

Two Views

10

Tuesday, 25 February 2014

slide-32
SLIDE 32

Two Views

10

Tuesday, 25 February 2014

slide-33
SLIDE 33

Two Views

10

Tuesday, 25 February 2014

slide-34
SLIDE 34

Two Views

10

Tuesday, 25 February 2014

slide-35
SLIDE 35

Two Views

10

Tuesday, 25 February 2014

slide-36
SLIDE 36

Two Views

(Navigational, not generalisation)

10

Tuesday, 25 February 2014

slide-37
SLIDE 37

“A KR is not a Data Structure”

  • Critical point!

– ER diagrams* -- 4 levels of views of data:

  • 1. "Information concerning [E] and [R] which exist in our minds."
  • 2. "Information structure -- organization of information in which [E] and [R]

are represented by data. "

  • 3. "Access-path-independent data structure -- the data structures which

are not involved with search schemes, indexing schemes, etc."

  • 4. "Access-path-dependent data structure."

– “the network model, as currently implemented, is mainly

concerned with level 4; the relational model is mainly concerned with levels 3 and 2; the entity set model is mainly concerned with levels 1 and 2.”

– The KR model is mainly concerned with level 1

– The “cognitive view” – Foreshadow role 5 “medium of human expression”

* Chen, The Entity-Relationship Model-Toward a Unified View of Data

11

Tuesday, 25 February 2014

slide-38
SLIDE 38

12

Tuesday, 25 February 2014

slide-39
SLIDE 39

12

Tuesday, 25 February 2014

slide-40
SLIDE 40

Data Structures?

  • Data structures implement (or realise) representations

– And there is a lot of choice – Many details of the structures play no representational role – That is, those details don’t commit

13

Tuesday, 25 February 2014

slide-41
SLIDE 41

Data Structures?

  • Data structures implement (or realise) representations

– And there is a lot of choice – Many details of the structures play no representational role – That is, those details don’t commit

  • Choices at every level are critical

– But in different ways – (Foreshadow role 4 “medium of efficient computation”)

13

Tuesday, 25 February 2014

slide-42
SLIDE 42

Intelligent Reasoning

  • Representation and reasoning are correlative

– Tendentious, but reasonable – Representation without manipulation (or manipulability)

  • isn't a representation
  • If you can't use it to acquire information, in what sense does it

represent?

14

Tuesday, 25 February 2014

slide-43
SLIDE 43

Intelligent Reasoning

  • Representation and reasoning are correlative

– Tendentious, but reasonable – Representation without manipulation (or manipulability)

  • isn't a representation
  • If you can't use it to acquire information, in what sense does it

represent?

  • Components

– Fundamental conception

  • Deduction, human behavior, etc. etc.

– Sanctioned inferences – Recommended inferences

14

Tuesday, 25 February 2014

slide-44
SLIDE 44

Intelligent Reasoning

  • Representation and reasoning are correlative

– Tendentious, but reasonable – Representation without manipulation (or manipulability)

  • isn't a representation
  • If you can't use it to acquire information, in what sense does it

represent?

  • Components

– Fundamental conception

  • Deduction, human behavior, etc. etc.

– Sanctioned inferences – Recommended inferences

  • There are many many many formalisms

– With different fundamental conceptions – Model theory (we shall see) is pretty unifying

14

Tuesday, 25 February 2014

slide-45
SLIDE 45

Strong Cognitive Adequacy

15

Tuesday, 25 February 2014

slide-46
SLIDE 46

Strong Cognitive Adequacy

  • Should the conception be a model of human reasoning?

– Usually associated with the psychological or neuroscience or commonsense reasoning traditions – KRs can help us understand human intelligence – Flip side, since we are the most successful cognitive agents we know, aping us might be successful

15

Tuesday, 25 February 2014

slide-47
SLIDE 47

Efficient Computation

  • Programs have to work with representations

– The representation management system is a component – Programmers will compensate for inefficient components – (Strong Cognitive Adequacy to Efficient Computation fallacy)

16

Tuesday, 25 February 2014

slide-48
SLIDE 48

Efficient Computation

  • Programs have to work with representations

– The representation management system is a component – Programmers will compensate for inefficient components – (Strong Cognitive Adequacy to Efficient Computation fallacy)

  • Most interesting systems work at “large” scale

– Consider databases

16

Tuesday, 25 February 2014

slide-49
SLIDE 49

Efficient Computation

  • Programs have to work with representations

– The representation management system is a component – Programmers will compensate for inefficient components – (Strong Cognitive Adequacy to Efficient Computation fallacy)

  • Most interesting systems work at “large” scale

– Consider databases

  • Representations get complex quickly

– People need prosthetics to work well with them

16

Tuesday, 25 February 2014

slide-50
SLIDE 50

Human Expression

  • Humans interact with representations

– Effectively – At least of certain kinds

17

Tuesday, 25 February 2014

slide-51
SLIDE 51

Human Expression

  • Humans interact with representations

– Effectively – At least of certain kinds

  • People must work with KRs

– Generating them – Using them to build systems – Using them when using the system

17

Tuesday, 25 February 2014

slide-52
SLIDE 52

Human Expression

  • Humans interact with representations

– Effectively – At least of certain kinds

  • People must work with KRs

– Generating them – Using them to build systems – Using them when using the system

  • Weak Cognitive Adequacy

– KRs must be usable

17

Tuesday, 25 February 2014

slide-53
SLIDE 53

Five Roles

  • 1. Surrogate

– That is, a representation

  • 2. Expression of ontological commitment

– of the world

  • 3. Theory of intelligent reasoning

– and our knowledge of it

  • 4. Medium of efficient computation

– that is accessible to programs

  • 5. Medium of human expression

– and usable

Representing Computing Interacting

18

Tuesday, 25 February 2014