4 Knowledge Representation
4 Knowledge Representation
UNIT-4
Knowledge Representation
Objectives of unit 4
4.1 Knowledge & Knowledge representation issues:
4.1.1 General concepts, Definition and importance of
knowledge
4.1.2 Representations and mappings
4.1.3 Approaches to knowledge representation
4.1.4 Frame problem.
4.2 Using predicate knowledge:
4.2.1 Representing instance and Is-a relationship
4.2.2 Computable functions and predicates
4.2.3 Resolutions
4.2.4 Natural deduction.
4.1 Knowledge & Knowledge representation
issues:
4.1.1 General concepts, Definition and importance of knowledge
• Knowledge representation is a core aspect of Artificial
Intelligence (AI) and focuses on how knowledge can be
structured, stored, and used to enable machines to mimic human
decision-making and reasoning.
• Definition of Knowledge:
Knowledge is structured information that is interpreted and
contextualized to provide meaning and support decision-making.
It encompasses facts, concepts, rules, and relationships about the
world.
4.1 Knowledge & Knowledge representation issues:
4.1.1 General concepts, Definition and importance of knowledge
Importance of Knowledge in AI:
•Foundation of Intelligence: Knowledge enables reasoning,
learning, and problem-solving, which are essential for intelligent
behavior.
•Decision-Making: AI systems rely on knowledge to make informed
decisions, whether in diagnosis, planning, or predictions.
•Human-AI Interaction: Representing human-like knowledge allows
AI to interact effectively in natural language and understand
human contexts.
•Efficiency: Properly represented knowledge enables faster
computation and more effective problem-solving.
4.1 Knowledge & Knowledge representation issues:
4.1.2 Representations and mappings
• Representations: Knowledge representation is the method of encoding
information for AI systems to process. It must balance expressiveness
(capturing complex details) and computability (allowing efficient
reasoning).
• Mappings: Mappings define relationships between:
•Real-world entities and their representations in the system (e.g., a
concept like "car" mapped to its attributes: speed, color, brand).
•Abstract and concrete data to make reasoning possible (e.g., mapping
"health condition" to specific symptoms and treatments).
4.1 Knowledge & Knowledge representation issues:
4.1.2 Representations and mappings…
Types of Representations and Mappings:
1.Symbolic: Use symbols and rules (e.g., propositional and predicate
logic).
2.Sub-symbolic: Use neural networks and patterns (e.g., deep
learning models).
3.Hybrid: Combine symbolic and sub-symbolic approaches.
4.1 Knowledge & Knowledge representation issues:
4.1.3 Approaches to knowledge representation
…
.
Unit 4
Conclusion
Predicate logic provides a robust framework for representing and
reasoning with knowledge in AI. It captures relationships, enables
reasoning through resolution and natural deduction, and handles comple
structures like is-a hierarchies and computable functions. These
techniques are foundational in knowledge-based AI systems, theorem
proving, and logic programming languages like Prolog.
Unit 4
6. Which of the following is NOT a key property of a good knowledge representation system?
a) Completeness
b) Redundancy
c) Computational efficiency
d) Expressiveness
Answer: b) Redundancy
Definition
Knowledge Representation:
It is the process of encoding knowledge about the world into a format that a machine can process and
reason about. It includes various techniques such as predicate logic, semantic networks, frames, and
rules to store, retrieve, and manipulate knowledge efficiently.
Frame Problem:
The frame problem refers to the challenge of representing and updating knowledge about a dynamic
world, specifically determining which facts remain unchanged when an action occurs.
Predicate Logic:
Predicate logic is a formal system in which statements are expressed using predicates, quantifiers, and
variables to represent relationships and properties of objects in a domain.
Natural Deduction:
Natural deduction is a method of formal reasoning that derives conclusions from premises using
inference rules, closely mimicking human logical reasoning.
Semantic Network:
A semantic network is a graphical representation of knowledge that uses nodes to represent concepts
and edges to depict relationships between those concepts.
Answer:
Knowledge representation in Artificial Intelligence (AI) is crucial for enabling machines to store, retrieve,
and reason about information. The main approaches are:
1. Logical Representation:
2. Semantic Networks:
3. Frames:
o Example: A "Car" frame may include attributes like "Color," "Model," "Year."
4. Production Rules:
5. Ontology-based Representation:
Each approach has its own advantages and limitations, and the choice depends on the specific problem
being solved.
Answer:
Predicate logic is a powerful tool used in knowledge representation to express complex relationships and
rules about the world. It extends propositional logic by introducing quantifiers and predicates, making it
more expressive and useful in AI.
1. Fact Representation:
2. Instance Relationship:
▪ ∀x (Human(x) → Mortal(x))
▪ Human(Socrates)
▪ ∴ Mortal(Socrates)
3. Expressing Relationships:
4. Rule-based Reasoning:
• Universality – Applicable across various AI domains, including expert systems and natural
language processing.