L5 - Knowledge representation and reasoning

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/46

47 Terms

1
New cards

What are the general four knowledge representations?

Logical

Rule-based

Graphical

Structured

2
New cards

How does logical representation work?

Uses formal logic to ensure precision and support interference

3
New cards

What are some examples of logical representations?

Propositional and First-Order

4
New cards

How does propositional logic work?

Basic true or false statements

5
New cards

True or False: First-Order logic extends propositional logic with objects, relations and quantifiers

True. It extends for more expressive power

6
New cards

How does rule-based representation work?

Uses condition-action rules to encode knowledge for decision-making

7
New cards

What are some examples of rule-based representations?

Production rules and Constraint Satisfaction Problems

8
New cards

How do production rules work?

‘If-then‘ rules trigger actions based on conditions

9
New cards

How do Constraint Satisfaction Problems work?

For valid solutions, variables and constraints must be satisfied

10
New cards

How does graphical representation work?

Uses graphs or nodes to represent concepts and their relationships

11
New cards

What some examples of graphical representations?

Semantic, Bayesian and Markov networks

12
New cards

How does a semantic network work?

Concepts are nodes and relationships are edges

13
New cards

How does a Bayesian network work?

Probability relationships modelled with directed graphs for reasoning under uncertainty

14
New cards

How does a Markov network work?

Undirected graphs that capture local dependencies among variables

15
New cards

How does structured representation work?

Represents knowledge using structured data formats

16
New cards

What are some examples of structured representations?

Frames and ontologies

17
New cards

What are frames in a structured representation?

Data structures with slots and values that represent stereotypical situations

18
New cards

True or False: Ontologies in a structured representation, are informal definitions of concepts and relationships outside of a domain

False. Ontologies are formal definitions of concepts and relationships within a domain

19
New cards

What is meant by logic, in general?

Formal languages for representing information, so conclusions can be drawn

20
New cards

True or False: Syntax is the meaning of logical statements and semantics is the rules for how to write those statements

False. They are swapped. Syntax = Rules, semantics = Meaning

21
New cards

What is meant by entailment?

One thing follows from another

22
New cards
<p><strong>Diagram</strong>: Knowledge base <strong>KB </strong>entails sentence <strong>a</strong>, only if <strong>a </strong>is true in all worlds where <strong>KB </strong>is true</p>

Diagram: Knowledge base KB entails sentence a, only if a is true in all worlds where KB is true

knowt flashcard image
23
New cards

Examples of entailment, involving KB and a

knowt flashcard image
24
New cards

Diagram: Propositional logic syntax

knowt flashcard image
25
New cards

What is meant by a model in propositional logic?

A specific interpretation that makes the sentence true.

Each specifies true/false for each proposition symbol

26
New cards

Diagram: Propositional logic semantics

knowt flashcard image
27
New cards

True or False: Two statements are logically equivalent, if they always have the same truth value

True. No matter the situation, they always have the same truth value

28
New cards

Diagram: Logical equivalence laws

knowt flashcard image
29
New cards

True or False: A sentence is valid, if it is true in all models

True.

<p><strong>True</strong>. </p>
30
New cards

Diagram: Validity is connected to interference via the Deduction Theorem

knowt flashcard image
31
New cards

True or False: A sentence is satisfiable, if it is true in ALL models

False. A sentence is satisfiable, if it is true in SOME models

32
New cards

True or False: A sentence is unsatisfiable, if it is true in NO models

True

33
New cards

Diagram: Satisfiability is connected to inference via the following

knowt flashcard image
34
New cards

Example of inference

knowt flashcard image
35
New cards

What are the two kinds of proof methods?

Application of inference rules

Model checking

36
New cards

What are some examples of applications of inference rules as a proof method?

Forward and Backward chaining

37
New cards

What is an example of model checking as a proof method?

Truth tables

38
New cards

What are the steps for forward chaining?

Use any rules that would be satisfied in the KB

Add the conclusion to the KB, until query is found

39
New cards

Diagram of example of forward chaining

knowt flashcard image
40
New cards

True or False: In backwards chaining, you work back from the query

True. You work back from what you want to prove

41
New cards

Diagram: Example of backward chaining

knowt flashcard image
42
New cards
<p><strong>True or False</strong>: <strong>FC</strong> is <strong>goal</strong>-<strong>driven</strong> and appropriate for problem solving, whereas <strong>BC</strong> is <strong>data</strong>-<strong>driven</strong>, automatic and processed unconsciously </p>

True or False: FC is goal-driven and appropriate for problem solving, whereas BC is data-driven, automatic and processed unconsciously

False. They are swapped. FC is data-driven while BC is goal-driven.

43
New cards

True or False: Complexity of BC can be much less than linear in size of KB

True.

44
New cards

What is Conjunctive Normal Form?

OR and NOT statements ANDED together

45
New cards

Diagram: CNF example

knowt flashcard image
46
New cards

What is a resolution?

Rule for cancelling out opposites, one at a time

47
New cards

Diagram: Resolution rule

knowt flashcard image