Lec 1 | Knowledge Flashcards
Terms lang (48 cards)
Agents that reason by operating on internal representations of knowledge
Knowledge Based Agents
An assertion about the world in a knowledge representation language
Sentence
It is based on propositions; statements about the world that can be either true or false
Propositional logic
What are propositional symbols?
Propositional symbols are most often letters (P, Q, R) that are used to represent a proposition.
What are the logical connectives?
not, and, or, implication, and biconditional
Logical Connectives:
Inverses the truth value of the proposition.
Not
Logical Connectives:
Connects two different propositions
And
Logical Connectives:
It is true as long as either one of its arguments is true
Or
Logical Connectives:
Represents a structure of “if P then Q.” Where P is the antecedent and Q is called the consequent
Implication
Logical Connectives:
An implication that goes both directions. You can read it as “if and only if.”
Biconditional
It is an assignment of a truth value to every propositional symbol (a “possible world”).
Model
It is the truth-value assignment that provides information about the world.
Model
A set of sentences known by a knowledge-based agent
Knowledge Base (KB)
This is knowledge that the AI is provided about the world in the form of propositional logic sentences that can be used to make additional inferences about the world.
Knowledge Base (KB)
In every model or world in which sentence α is true, sentence β is also true
Entailment
The process of deriving new sentences
from old ones
Inference
What is the Model Checking algorithm?
To determine if KB ⊨ α (in other words, answering the question: “can we conclude that α is true based on our knowledge base”)
* Enumerate all possible models.
* If in every model where KB is true, α is true as well, then KB entails α (KB ⊨ α).
* Otherwise KB does not entail α
Is the model checking algorithm efficient?
Model Checking is not an efficient algorithm because it has to consider every possible model before giving the answer (a reminder: a query R is true if under all the models (truth assignments) where the KB is true, R is true as well).
What is the difference between the Model Checking Algorithm and the Inference Rules?
Inference rules allow us to generate new information based on existing knowledge without considering every possible model.
What are needed to run the Model Checking algorithm?
- Knowledge Base, which will be used to draw inferences
- A query, or the proposition that we are interested in whether it is entailed by the KB
- Symbols, a list of all the symbols (or atomic propositions) used (in our case, these are rain, hagrid, and dumbledore)
- Model, an assignment of truth and false values to symbols
The process of figuring out how to represent propositions and logic in AI.
Knowledge Engineering
What are the Inference Rules?
Modus Ponens, Elimination, Double Negation Elimination, Biconditional Elimination, De Morgan’s Law, and Distributive Property
Theorem Proving
- Initial state: starting knowledge base
- Actions: inference rules
- Transition model: new knowledge base after inference
- Goal test: checking whether the statement that we are trying to prove is in the KB
- Path cost function: the number of steps in the proof
A powerful inference rule that states that if one of two atomic propositions in an Or proposition is false, the other has to be true.
Resolution