Knowledge Representation Systems Notes
Introduction to Knowledge Representation Systems
- Definition: Knowledge Representation (KR) systems are frameworks in AI for representing world information used to solve complex tasks like reasoning, planning, and learning.
- Human vs Machine: Humans excel in understanding and interpreting knowledge, while machines rely on KR and reasoning to perform tasks.
What to Represent in AI Systems
- Object: Facts about objects (e.g., Guitars contain strings).
- Event: Actions occurring in the world.
- Performance: Knowledge about processes.
- Meta-knowledge: Knowledge about knowledge.
- Facts: Truths about reality.
- Knowledge-Base: Central component of knowledge-based agents (denoted as KB).
- Knowledge: Familiarity gained through experience.
Types of Knowledge in AI
- Declarative Knowledge: Facts and concepts, expressed in sentences.
- Procedural Knowledge: Knowledge about how to perform tasks (e.g., rules, strategies).
- Meta-knowledge: Knowledge about other types of knowledge.
- Heuristic Knowledge: Expert rules based on experience (not guaranteed).
- Structural Knowledge: Basic relationships between concepts.
Knowledge and Intelligence Relation
| Aspect | Knowledge | Intelligence |
|---|
| Definition | Information stored and recalled | Ability to process and apply knowledge |
| Nature | Static (stored facts) | Dynamic (problem-solving process) |
| Role | Provides content for reasoning | Drives decision-making and learning |
| Example in AI | Knowledge base in expert systems | Neural networks for learning tasks |
AI Knowledge Cycle
- Acquire: Collect knowledge (data, rules).
- Represent: Encode knowledge in a structured format.
- Process: Derive insights (inference or learning).
- Utilize: Apply knowledge to solve problems.
- Refine: Learn from outcomes and update KB.
- Store and Manage: Maintain integrity and accessibility.
- Feedback Loop: Iterate for improvement.
Types of Knowledge Representation
- Logical Representation: Based on formal logic.
- Procedural Representation: Knowledge as actions.
- Semantic Networks: Graph-based knowledge representation.
- Frames: Represent stereotypical situations.
Knowledge Representation Using Logic
- Logic: Formal language to represent and infer information.
- Propositional Logic: Deals with true/false statements.
- Predicate Logic: Extends propositional logic with quantifiers and variables.
Propositional Logic
- Key Features: 0 and 1, uses symbolic variables (e.g., P, Q).
- Connectives: Negation (¬), Conjunction (∧), Disjunction (∨), Implication (→), Biconditional (↔).
- Truth Values: Each statement must be true (T) or false (F).
- Inference Rules: Derive new knowledge (e.g., Modus Ponens).
Resolution in Propositional Logic
- Resolution: Inference rule for proving statements through contradiction.
- Conjunctive Normal Form (CNF): Logical expressions standardized into conjunctions of disjunctions.
Knowledge-Based Systems (KBS)
- Definition: Programs using knowledge and reasoning to solve complex problems.
- Key Features: Knowledge representation, reasoning, user interface.
- Components: Knowledge base (facts, rules), inference engine (forward/backward chaining), user interface, explanation subsystem, and knowledge acquisition.
Applications of Knowledge-Based Systems
- Domains: Medical diagnosis, customer support, engineering, education, business decision-making.
Expert Systems
- Definition: AI systems simulating human decision-making in specific domains.
- Components: Knowledge Base, Inference Engine, User Interface, Explanation System.
- Development Process: Problem identification, knowledge acquisition, representation, system design, implementation, testing, deployment.
Semantic Networks in AI
- Definition: Graph-based knowledge representation with nodes as concepts and edges as relationships.
- Types: Definitional, assertional, inheritance semantic networks.
- Inference Mechanisms: Property inheritance, transitivity, default reasoning.
Frames in AI
- Definition: Data structure for knowledge representation, representing structured knowledge about objects.
- Example Structure: Frame for "Car" with slots for attributes.