Podcast
Questions and Answers
What is the central component of a knowledge-based agent?
What is the central component of a knowledge-based agent?
What is the technical term used for a statement in a knowledge base?
What is the technical term used for a statement in a knowledge base?
What are the standard operations for adding new sentences and querying the knowledge base?
What are the standard operations for adding new sentences and querying the knowledge base?
Which entity in knowledge representation involves deriving new sentences from old?
Which entity in knowledge representation involves deriving new sentences from old?
Signup and view all the answers
In knowledge representation, what do we call a sentence that is taken as given without being derived from others?
In knowledge representation, what do we call a sentence that is taken as given without being derived from others?
Signup and view all the answers
What is the purpose of ASK operation in a knowledge-based agent?
What is the purpose of ASK operation in a knowledge-based agent?
Signup and view all the answers
What does an agent do each time the agent program runs?
What does an agent do each time the agent program runs?
Signup and view all the answers
What does MAKE-PERCEPT-SENTENCE function do?
What does MAKE-PERCEPT-SENTENCE function do?
Signup and view all the answers
What is the PEAS description used for in the context of agents?
What is the PEAS description used for in the context of agents?
Signup and view all the answers
What is the performance measure in THE WUMPUS WORLD environment?
What is the performance measure in THE WUMPUS WORLD environment?
Signup and view all the answers
What does an agent do if it falls into a pit or is eaten by the wumpus in THE WUMPUS WORLD?
What does an agent do if it falls into a pit or is eaten by the wumpus in THE WUMPUS WORLD?
Signup and view all the answers
What is hidden inside three functions in an agent to implement an interface between sensors and actuators?
What is hidden inside three functions in an agent to implement an interface between sensors and actuators?
Signup and view all the answers
Study Notes
Knowledge Representation
- Knowledge representation is the study of how knowledge is represented.
- It involves two entities: Knowledge Base (KB) and Inference.
Knowledge Base (KB)
- KB is a set of sentences or facts.
- Examples of sentences in KB include a set of statements in a logic language.
- Each sentence is expressed in a knowledge representation language and represents some assertion about the world.
- Sometimes, a sentence is dignified with the name axiom, when it is taken as given without being derived from other sentences.
Inference
- Inference is the process of deriving new sentences from old ones.
- Examples of inference include using a set of logical statements to infer new ones.
Knowledge-Based Agents
- A knowledge-based agent's central component is its Knowledge Base (KB).
- The agent maintains a KB, which may initially contain some background knowledge.
- The agent program does three things:
- TELLs the KB what it perceives.
- ASKs the KB what action it should perform.
- TELLs the KB which action was chosen, and the agent executes the action.
Operations on KB
- TELL operation adds new sentences to the KB.
- ASK operation queries what is known.
- Both operations may involve inference.
Agent Interface
- The details of the representation language are hidden inside three functions:
- MAKE-PERCEPT-SENTENCE constructs a sentence asserting that the agent perceived the given percept at the given time.
- MAKE-ACTION-QUERY constructs a sentence that asks what action should be done at the current time.
- MAKE-ACTION-SENTENCE constructs a sentence asserting that the chosen action was executed.
Wumpus World
- The Wumpus World is a cave consisting of rooms connected by passageways.
- The environment is described by a PEAS description:
- Performance measure: +1000 for climbing out of the cave with the gold, –1000 for falling into a pit or being eaten by the wumpus, –1 for each action taken, and –10 for using up the arrow.
- Environment: A 4×4 grid of rooms.
- Actuators: The agent can move Forward, TurnLeft by 90◦, or TurnRight by 90◦.
- Sensors: The agent perceives the environment.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Learn about knowledge representation in artificial intelligence, including the concept of a knowledge base, inference, and reasoning models. Explore how agents derive new facts from existing knowledge to make informed decisions.