06. Logical Agents I Flashcards

1
Q

A knowledge base is an ….

An inference engine …

A

organized collection of facts about the system’s domain (domain-specific content)

interprets and evaluates the facts in the knowledge base in order to provide an answer (domain-independent algorithms)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some possibilities to gain knowledge for a knowledge base?

A

Inference–> Make it possible to derive new knowledge from old knowledge.

Declarative approach–> New knowledge is added from “outside” by providing knowledge

Perception–> New knowledge is added by the agent from its own perception

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Agents can be viewed at two different levels, explain.

A

knowledge level: what they know, regardless of how implemented

implementation level: data structures in the knowledge base and algorithms that manipulate them

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Wumpus world PEAS description

A

see slide 7

Why do we use the PEAS framework to describe this?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Wumpus world characterisation

A

Observable: No – only local perception.
Deterministic: Yes – outcomes are exactly specified.
Episodic: No – sequential since actions change the environment. Static: Yes – Wumpus and pits do not move.
Discrete: Yes.
Single-agent: Yes – Wumpus is essentially a natural feature.
The main challenge is the initial ignorance of the environment; overcoming this ignorance seems to require logical reasoning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Differentiate between syntax, semantics and models.

A

Syntax
Specifies how correct sentences are formed

Semantics
The semantics defines the meaning of sentences, i.e., when a sentence is true.

Model
Models are differently defined depending on the discipline. Here, models are instances which evaluate sentences to true or false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Differentiate between satisfaction and entailment.

A

Satisfaction
If a sentence α is true in model m, we say that m satisfies α. We use the notation M(α) to mean the set of all models of α. => All models in which alpha is true?

Entailment
Entailment is the relationship between two sentences where the truth of one sentence requires the truth of the other sentence, which is written as
α |= β if α entails β.

Formally, entailment is defined as
α |= β if and only if M(α) ⊆ M(β).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

If every model in which KB is true, alpha is also true =>

P entails Q if and only if

A

KB entails alpha

P => Q is always true for any model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Operator precedence in propositional logic:

A

negation, conjunction, disjunction, implication, biconditional (descending order)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Truth tables: Explain the implication logic
P False, Q True: P=> Q

P True, Q False: P=> Q

A

True

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Logical equivalence
Two sentences α and β are logically equivalent if they are true in the same set of models, which is written as α ≡ β. Alternative definition: …

A

α ≡ β if and only if α |= β and β |= α.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Validity
A sentence is valid … (e.g., P ∨ ¬P).
Valid sentences are also known as tautologies.

Satisfiability
A sentence is satisfiable if …, e.g., the expression P1 ∧ P2 is satisfiable for P1 = P2 = true, whereas P1 ∧ ¬P1 is not satisfiable.

A

if it is true in all models

it is true in some model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Inference and Proofs

Modus Ponens

And-Elimination

A

Explain them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Logical Equivalences

A

Slide 36

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Automated Theorem Proving
The previous method was done “by hand”. How can one automate this?
We can use the previously introduced search methods on the following problem:
Initial state: …
Actions: all the inference rules applied to …
Result: the result of an action is to ….
Goal: a state that contains the sentence to prove.

In practical cases, finding a proof can be more efficient than enumeration because…

A

the initial knowledge base.

all the sentences that match the top half of the inference rule.

add the sentence in the bottom half of the inference rule.

not all possible models have to be generated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly