What is Knowledge Representation and Reasoning? Tommie Meyer - - PowerPoint PPT Presentation

what is knowledge representation and reasoning
SMART_READER_LITE
LIVE PREVIEW

What is Knowledge Representation and Reasoning? Tommie Meyer - - PowerPoint PPT Presentation

What is Knowledge Representation and Reasoning? Tommie Meyer Department of Computer Science University of Cape Town, and Centre for Artificial Intelligence Research (CAIR) ICTAC 2018 tmeyer@cs.uct.ac.za http://www.cs.uct.ac.za/tmeyer 1 /


slide-1
SLIDE 1

What is Knowledge Representation and Reasoning?

Tommie Meyer

Department of Computer Science University of Cape Town, and Centre for Artificial Intelligence Research (CAIR) ICTAC 2018 tmeyer@cs.uct.ac.za http://www.cs.uct.ac.za/˜tmeyer

1 / 43

slide-2
SLIDE 2

Artificial Intelligence

2 / 43

slide-3
SLIDE 3

Knowledge Representation and Reasoning

3 / 43

slide-4
SLIDE 4

Knowledge Representation and Reasoning

4 / 43

slide-5
SLIDE 5

Knowledge Representation and Reasoning

5 / 43

slide-6
SLIDE 6

Knowledge Representation and Reasoning

6 / 43

slide-7
SLIDE 7

Outline of my talk

◮ Knowledge Representation and Reasoning ◮ An example of a KRR system ◮ Description logics ◮ Ontology engineering ◮ KRR and Deep Learning ◮ Conclusion

7 / 43

slide-8
SLIDE 8

Knowledge Representation and Reasoning

Knowledge Representation and Reasoning

◮ Finding appropriate ways of representing knowledge about a

given domain of interest

◮ Developing methods to derive implicit consequences from

explicitly represented information. The dominant approach is logic-based

8 / 43

slide-9
SLIDE 9

Implicit consequences

Italian English Person Lazy LatinLover

{disjoint,covering}

Gentleman Hooligan

{disjoint}

Example due to Enrico Franconi

9 / 43

slide-10
SLIDE 10

Implicit consequences

Simple reasoning example

Italian English Person Lazy LatinLover

{disjoint,covering}

Gentleman Hooligan

{disjoint}

There aren’t any Latin lovers Therefore all Italians are lazy

10 / 43

slide-11
SLIDE 11

Knowledge Representation and Reasoning

All these sub-topics involve logic-based reasoning

◮ Even semantic networks

11 / 43

slide-12
SLIDE 12

Example: Open domain question answering

IBM’s Watson

◮ “An application of advanced Natural Language Processing,

Information Retrieval, Knowledge Representation and Reasoning, and Machine Learning technologies to the field of

  • pen domain question answering”

◮ It comprehensively defeated the all-time best players in the

American TV quiz show Jeopardy!

12 / 43

slide-13
SLIDE 13

Example: IBM’s Watson

Ken Jennings, famous for winning 74 games in a row on the TV quiz show, borrowing a line from a “Simpsons” episode: “I, for one, welcome our new computer overlords.”

13 / 43

slide-14
SLIDE 14

Description Logics

14 / 43

slide-15
SLIDE 15

Description Logics

15 / 43

slide-16
SLIDE 16

Description Logics

A logic-based formalisation of ontologies

◮ Decidable fragments of first-order logic ◮ Concepts: unary predicates; Roles: binary predicates ◮ A formal model-theoretic semantics

Reasoning Services

◮ Instance checking ◮ Concept subsumption and equivalence ◮ Concept satisfiability and knowledge base consistency ◮ Worst case complexity terrible but performs well in practice

16 / 43

slide-17
SLIDE 17

A partial description of the DL ALC

Concept construction

◮ ¬C; C ⊓ D; C ⊔ D; (∀R.C); (∃R.C)

TBox

◮ Subsumption: C ⊑ D; Equivalence C ≡ D

ABox

◮ C(a) and R(a, b)

17 / 43

slide-18
SLIDE 18

A partial description of the DL ALC

TBox

◮ Person ⊑ Animal ⊓ Biped; Person ≡ Man ⊔ Woman ◮ Mother ≡ Woman ⊓ (∃ParentOf.Person) ◮ MotherWithDaughters ≡ Mother ⊓ (∀ ParentOf.Woman)

ABox

◮ MotherWithDaughters(Mary); ParentOf(Mary,Sam)

Implicit consequence: Instance checking

◮ Woman(Sam)

18 / 43

slide-19
SLIDE 19

A partial description of the DL ALC

TBox

◮ Person ⊑ Animal ⊓ Biped; Person ≡ Man ⊔ Woman ◮ Mother ≡ Woman ⊓ (∃ParentOf.Person) ◮ MotherWithDaughters ≡ Mother ⊓ (∀ ParentOf.Woman)

ABox

◮ MotherWithDaughters(Mary); ParentOf(Mary,Sam)

Implicit consequence: Subsumption checking

◮ Man ⊑ Person

19 / 43

slide-20
SLIDE 20

A partial description of the DL ALC

TBox

◮ Human ⊑ ∃hasHeart.∃hasPosition.Left ◮ Human⊓SitusInversus ⊑ ∃hasHeart.∃hasPosition.Right ◮ ∃hasHeart.∃hasPosition.Left ⊓

∃hasHeart.∃hasPosition.Right⊑ ⊥ Implicit consequences: Concept unsatisfiability

◮ Human ⊓ SitusInversus ⊑ ⊥ ◮ Add Human(Sam) and SitusInversus(Sam): Inconsistent

20 / 43

slide-21
SLIDE 21

Ontology Engineering

21 / 43

slide-22
SLIDE 22

Ontology Engineering

A formal way to conceptualise an application domain

◮ Concepts of interest in an application domain ◮ Properties describing concept features and attributes ◮ Perhaps some restrictions on the attributes and features

Ontology Engineering

◮ The construction and development of ontologies

22 / 43

slide-23
SLIDE 23

A visual representation of an ontology

23 / 43

slide-24
SLIDE 24

Prot´ eg´ e: An Ontology Editing Tool

24 / 43

slide-25
SLIDE 25

A reasoner at the backend of Prot´ eg´ e

25 / 43

slide-26
SLIDE 26

Ontology Engineering

◮ Tools such as Prot´

eg´ e and the reasoners underlying it are possible because of the Web Ontology Language OWL 2

◮ OWL 2 is the official ontology language endorsed by the World

Wide Web Consortium (W3C)

◮ OWL 2 is based on the description logic known as SROIQ

26 / 43

slide-27
SLIDE 27

OWL 2

OWL 2 Profiles

RDFS OWL 2 QL OWL 2 EL OWL 2 RL OWL 2 DL

Picture courtesy of Roman Kontchakov

27 / 43

slide-28
SLIDE 28

OWL 2 QL and Ontology Based Data Access

  • ntology-based data integration

sources

q

sources sources

  • ntology

conceptual layer data layer

Picture courtesy of Riccardo Rosati

28 / 43

slide-29
SLIDE 29

OWL 2 QL and Ontology Based Data Access

Reasoning

Result

Query

Data Source

Logical Schema Schema / Ontology

Picture courtesy of Riccardo Rosati

29 / 43

slide-30
SLIDE 30

OWL 2 QL and Ontology Based Data Access

Query

Result

Reasoning

Data Source

Logical Schema Schema / Ontology

Picture courtesy of Riccardo Rosati

30 / 43

slide-31
SLIDE 31

OWL 2 QL and Ontology Based Data Access

Reasoning Rewritten Query Query

Result

Reasoning

Data Source

Logical Schema Schema / Ontology

Picture courtesy of Riccardo Rosati

31 / 43

slide-32
SLIDE 32

Artificial Intelligence

32 / 43

slide-33
SLIDE 33

AI vs Consciousness

33 / 43

slide-34
SLIDE 34

Doomsday AI

34 / 43

slide-35
SLIDE 35

Deep Learning

35 / 43

slide-36
SLIDE 36

The Success of Deep Learning

◮ Sophisticated techniques for function fitting coupled with Big

Data

◮ Successful identification of a class of practical applications ◮ We’ve shifted the goal posts a bit

36 / 43

slide-37
SLIDE 37

The Real Surprise Underlying Deep Learning

Some tasks, typically associated with perception or cognition can be approximated to a reasonable extent by fitting functions to data.

37 / 43

slide-38
SLIDE 38

Deep Learning: Successful but Brittle

38 / 43

slide-39
SLIDE 39

AI and the Game of Go

39 / 43

slide-40
SLIDE 40

AI and Poker

40 / 43

slide-41
SLIDE 41

Today, machines lack contextual reasoning capabilities, and their training must cover every eventuality, which is not only costly, but ultimately impossible. We want to explore how machines can acquire human-like communication and reasoning capabilities, with the ability to recognize new situations and environments and adapt to them.

41 / 43

slide-42
SLIDE 42

Conclusion

◮ Deep Learning is function-fitting ◮ KRR is model-fitting ◮ The question is not whether to use Deep Learning, or KRR, or

some other AI technique, but how to combine these techniques

◮ The best way to do so is for AI researchers to be exposed to all

these techniques

42 / 43

slide-43
SLIDE 43

Acknowledgement

43 / 43