Knowledge Representation (II)



Similar documents
Reusable Knowledge-based Components for Building Software. Applications: A Knowledge Modelling Approach

Topic 2: Structure of Knowledge-Based Systems

IAI : Expert Systems

Appendix B Data Quality Dimensions

COMPUTATIONAL METHODS FOR A MATHEMATICAL THEORY OF EVIDENCE

Masters in Information Technology

CpSc810 Goddard Notes Chapter 7. Expert Systems

Fourth generation techniques (4GT)

KSE Comp. support for the writing process 2 1

Improving Knowledge-Based System Performance by Reordering Rule Sequences

Course Outline Department of Computing Science Faculty of Science. COMP Applied Artificial Intelligence (3,1,0) Fall 2015

Implementation of hybrid software architecture for Artificial Intelligence System

Business Intelligence and Decision Support Systems

Mapping an Application to a Control Architecture: Specification of the Problem

School of Computer Science

SECURITY METRICS: MEASUREMENTS TO SUPPORT THE CONTINUED DEVELOPMENT OF INFORMATION SECURITY TECHNOLOGY

Integrating Cognitive Models Based on Different Computational Methods

Study Plan for the Master Degree In Industrial Engineering / Management. (Thesis Track)

A Knowledge Base Representing Porter's Five Forces Model

Masters in Computing and Information Technology

Problems often have a certain amount of uncertainty, possibly due to: Incompleteness of information about the environment,

Topic Dempster-Shafer Theory

Artificial Intelligence & Knowledge Management

Masters in Human Computer Interaction

Masters in Advanced Computer Science

Masters in Artificial Intelligence

Masters in Networks and Distributed Systems

How To Develop Software

8. KNOWLEDGE BASED SYSTEMS IN MANUFACTURING SIMULATION

22C:22 (CS:2820) Object-Oriented Software Development

A HYBRID RULE BASED FUZZY-NEURAL EXPERT SYSTEM FOR PASSIVE NETWORK MONITORING

Requirements Analysis Concepts & Principles. Instructor: Dr. Jerry Gao

Multi-ultrasonic sensor fusion for autonomous mobile robots

Hierarchical Judgement Composition: Revisiting the Structural Credit Assignment Problem

Optimal Replacement of Underground Distribution Cables

Knowledge Engineering (Ingeniería del Conocimiento)

Business-Driven Software Engineering Lecture 3 Foundations of Processes

CSC384 Intro to Artificial Intelligence

How To Make Sense Of Data With Altilia

Agenda. Overview. Federation Requirements. Panlab IST Teagle for Partners

COMBINING THE METHODS OF FORECASTING AND DECISION-MAKING TO OPTIMISE THE FINANCIAL PERFORMANCE OF SMALL ENTERPRISES

Maximization versus environmental compliance

Fuzzy Knowledge Base System for Fault Tracing of Marine Diesel Engine

Prediction of DDoS Attack Scheme

BCS HIGHER EDUCATION QUALIFICATIONS Level 6 Professional Graduate Diploma in IT. March 2013 EXAMINERS REPORT. Knowledge Based Systems

Knowledge Management

Chapter 20: Data Analysis

Engineering Process Software Qualities Software Architectural Design

DATA MINING TECHNOLOGY. Keywords: data mining, data warehouse, knowledge discovery, OLAP, OLAM.

VoiceXML-Based Dialogue Systems

Enterprise Resource Planning Analysis of Business Intelligence & Emergence of Mining Objects

RUP Design. Purpose of Analysis & Design. Analysis & Design Workflow. Define Candidate Architecture. Create Initial Architecture Sketch

Chapter 6 Notes. Chemical Composition

Logic gates. Chapter. 9.1 Logic gates. MIL symbols. Learning Summary. In this chapter you will learn about: Logic gates

Portfolio Risk Management. Module 8

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

IF The customer should receive priority service THEN Call within 4 hours PCAI 16.4

Computer Game Programming Intelligence I: Basic Decision-Making Mechanisms

CHAPTER 1 INTRODUCTION

GOAL-BASED INTELLIGENT AGENTS

Bank Customers (Credit) Rating System Based On Expert System and ANN

Semantic Variability Modeling for Multi-staged Service Composition

EC 331: Research in Applied Economics

CS MidTerm Exam 4/1/2004 Name: KEY. Page Max Score Total 139

SureSense Software Suite Overview

Chapter 13: Knowledge Management In Nutshell. Information Technology For Management Turban, McLean, Wetherbe John Wiley & Sons, Inc.

DATA MINING FOR THE MANAGEMENT OF SOFTWARE DEVELOPMENT PROCESS

Requirements Ontology and Multi representation Strategy for Database Schema Evolution 1

Master s Program in Information Systems

Position Paper for Cognition and Collaboration Workshop: Analyzing Distributed Community Practices for Design

IAI : Knowledge Representation

School of Computer Science

A Capability Maturity Model (CMM)

NON-PROBABILITY SAMPLING TECHNIQUES

In Proceedings of the Eleventh Conference on Biocybernetics and Biomedical Engineering, pages , Warsaw, Poland, December 2-4, 1999

The SPES Methodology Modeling- and Analysis Techniques

Molecular Formula Determination

A SURVEY ON GENETIC ALGORITHM FOR INTRUSION DETECTION SYSTEM

Jairson Vitorino. PhD Thesis, CIn-UFPE February Supervisor: Prof. Jacques Robin. Ontologies Reasoning Components Agents Simulations

A Fuzzy Logic-Based Information Security Management for Software-Defined Networks

Data Validation with OWL Integrity Constraints

General syllabus for third-cycle courses and study programmes in

Inferred ph in Steam Plant Water Chemistry Monitoring

Test Automation Framework

A Detailed Price Discrimination Example

Graduate Certificate in Systems Engineering

Software Metrics. Lord Kelvin, a physicist. George Miller, a psychologist

IST639 Enterprise Technologies Course Syllabus Spring 2014

INFORMATION SECURITY RISK ASSESSMENT UNDER UNCERTAINTY USING DYNAMIC BAYESIAN NETWORKS

Extracted from Strategic Planning for Political Parties: A Practical Tool International Institute for Democracy and Electoral Assistance 2013.

Transcription:

Knowledge Representation (II) Martin Molina Department of Artificial Intelligence Technical University of Madrid

Constraints Representation The knowledge base is a collection constraints. Each constraint represents an equilibrium relation for the values of qualitative variables. Inference Constraint satisfaction algorithms are applied. For example, the Waltz algorithm progressively refines domains of variables to reach steady states. VARIABLES X1 = {a1, a2, a3,...} X2 = {b1, b2, b3,...}... Xn = {c1, c2, c3,...} CONSTRAINTS R1: X1 + X2 = X5 R2: X2 < X3 * X4... Rm: X2 > X4 + X5 + X6 Advantages and disadvantages + It is a concise representation + It does not impose direction on the reasoning - Efficiency - Must be completed with modularization Martin Molina Technical University of Madrid 2

Example Behavior of a chemical reactor: VARIABLES: Inputs to the chemical reactor: tendency of ammonia: dnh3 {+,0,-} tendency of propylene: dc3h6 {+,0,-} tendency f the air: daire {+,0,-} Internal state of the reactor: tendency of the temperature: dq {+,0,-} Outputs of the reactor: tendency of oxygen: do2 {+,0,-} tendency of carbon monoxide: dco {+,0,-} tendency of cyanide: dcnh {+,0,-} CONSTRAINTS: R1: do2 = dair + dnh3 R2: dcnh = dair - dc3h6 R3: dco = dc3h6 - dnh3 R4: dq = dair * dnh3 OPERATORS: + + 0 -... + + +? 0 + 0 - -? - - Air NH 3 C 3 H 6 O 2 CO CNH Martin Molina Technical University of Madrid Q 3

Approximate reasoning In the real world, people usually solve problems using approximate statements such as: It is almost certain that at 8:00 you will meet a traffic jam at the entrance to the city. Normally, the inflammation of the gums is due to a lack of vitamins. The approach provided by the bi-valuated logic handles only two values (true and false) and it is not appropriate in these situations. Models for approximate reasoning in AI: - Empirical models: MYCIN, Prospector, Dempster and Shafer - Probability-based: Bayesian Networks - Logic-based: Fuzzy logic Martin Molina Technical University of Madrid 4

MYCIN Representation Inference Certainty factor CF(h) between -1 and +1. h1 Certainty of composite formulas: CF(A & B) = min(cf(a), CF(B)) CF(A o B) = max(cf(a), CF(B)) Propagation: CF(h,E) = CF(h,e). max(0,cf(e,e)) r1 CF(h1, e) r2 CF(h1, e) h2 h3 h4 CF(h4) Accumulation: CF1,CF2 > 0 CF=CF1+CF2-CF1.CF2 CF1,CF2 < 0 CF=CF1+CF2+CF1.CF2 CF1.CF2 < 0 CF=(CF1+CF2)/(1-min( CF1, CF2 )) CF(h2) r1 CF(h1, e) Advantages h5 CF(h5) h6 CF(h6) Intuitive, easy knowledge acquisition Simple and efficient computation. Unique value for the unknown CF = 0. (distinguishes uncertainty from ignorance). Martin Molina Technical University of Madrid 5

MYCIN rule base # RISK ASSESSMENT FOR BANK LOANS # client image #---------------------------------------------- IF (client) financial group = interesting,(client) seniority in the bank = old THEN [1.00] (client) image = positive IF (client) financial group = interesante,(client) seniority in the bank = medium THEN [1.00] (client) image = positive IF (client) financial group = interesting,(client) seniority in the bank = recent THEN [0.75] (client) image = positive IF (client) financial group = acceptable,(client) seniority in the bank = old THEN [0.75] (client) image = positive IF (client) financial group = acceptable,(client) seniority in the bank = recent THEN [0.50] (client) image = positive IF (client) financial group = non-existent,(client) seniority in the bank = old THEN [0.75] (client) image = positive IF (client) financial group = non-existent,(client) seniority in the bank = recent THEN [0.25] (client) image = positive IF (client) financial group = rejectable,(client) seniority in the bank = NON - recent THEN [0.25] (client) image = positive Martin Molina Technical University of Madrid 6

Remaining problems Low level: The system to be build initially is described in terms not directly transferable to representations. Progressive refinement is needed to achieve the required detail. Uniformity: The use of a uniform tecnique (as rules) can hide the different types of knowledge involved in the system. Need for combination: The combined use of various techniques of representation (when the system is complex) requires proper organization and structure. Martin Molina Technical University of Madrid 7

Traditional solutions for structuring Contexts Multiple representation Meta-rules Agendas Blackboard Problem spaces Generic tasks Martin Molina Technical University of Madrid 8

Contexts The management of contexts is a partition in the knowledge base according to a division in knowledge areas of phases of reasoning. They are usually associated with production rules. Knowledge base: Context 1 R0: If Then - R1: If - Then - R2: If - Then - R3: If - Then - R4: If - Then - Context 2 R5: If - Then - R6: If - Then - R7: If - Then - R8: If - Then - R9: If - Then - Context 3 R10: If - Then - R11: If - Then - R12: If - Then - R13: If - Then - R14: If - Then - They facilitate the understanding of the organization of the knowledge base and improve the efficiency of the inference process. In general, contexts have a flat structure, even though recent approaches raise the possibility of using hierarchical organizations with heritage management. Martin Molina Technical University of Madrid 9

Multiple representation This method adds various representation tecniques into a single knowledge base. For example: Rules+ Restrictions+ Frames+ MYCIN The combined use of these representations can help select the best representation for each case. It can introduce an improvement in the organization, given that one representation (such as frames) may facilitate the structuring of another (such as rules). However, this method itself does not provide a context appropriate to carry out an appropriate organization. It can lead to heterogeneous databases with a high degree of complexity. Martin Molina Technical University of Madrid 10

Meta-rules The meta-rules are based on the idea of formulating knowledge about knowledge (metaknowledge). They are rules that make statements about elements of the knowledge base. Example: IF the culture of the current body was not in vain and there are rules that relate the current body with possible previous infections, THEN such rules should not be considered In general the meta-rules represent strategies of the use of domain knowledge (control knowledge). Meta-rules are formulated at a higher level of abstraction, which facilitates a more structured vision of the knowledge base. However, the use of meta-rules usually does not provide a clear separation between domain knowledge and control, which can lead to complex databases difficult to maintain. Martin Molina Technical University of Madrid 11

Agenda The agenda is a first step in the explicit presentation of a dynamic component of control. The agenda follows the intuitive idea of explicit formulation of the tasks that are pending to be realized, organized by various degrees of priority, which is updated dynamically during the process of reasoning. The agenda considers the existence of tasks to perform which may correspond to sets of rules. Sample format: Priority 1: Task 1, Task 2, Task 3 Priority 2: Task 4, Task 5 Priority 3: Task 6, Task 7, Task 8 Priority 4: Task 9, Task 10 Each task can include information such as: <Precondition,Action,Insertion,Elimination,etc.> The agenda focuses more on aspects of control in the modular organization of knowledge, but is a step ahead in the separation of control knowledge from the domain knowledge. Martin Molina Technical University of Madrid 12

Blackboard The blackboard is a more evolved control structure that separates the control knowledge and provides the possibility to modularize the knowledge in different areas. It includes the following components: Blackboard Pizarra Control Fuente Knowledge de Conocimiento source Fuente Knowledge de Conocimiento source Fuente Knowledge de Conocimiento source Fuente Knowledge de Conocimiento source This is a model that does not always coincide with the perception of problems by experts, so it is seen more as a computing solution than a description of a form of reasoning. Martin Molina Technical University of Madrid 13

Problem spaces The problem areas organize knowledge based on goals to be achieved at different levels of depth. They basically follows the following process of reasoning: 1. Each problem space develops a local search using an area of modular knowledge to achieve a particular goal. 2. When for a given space it is not possible to find the solution, there is a sub-goal which is analyzed in a space problem of greater depth. sub-goaling Space Problem sub-goaling Space Problem Space Problem sub-goaling Space Problem This tecnique provides a modularization of knowledge at different levels of depth with ability to apply learning tecniques. Martin Molina Technical University of Madrid 14

Generic tasks A generic task is a module that associates to a class of problems (for ex. design) a knowledge representation and an inference strategy. Generic Task KB Inference Generic Task Generic Task KB Inference KB Inference Generic Task KB Inference The arquitecture of a final system is seen as structured collection of instances of these tasks in a particular domain. One of the main contributions of this concept is that the system presents a modularization of components with their own methods of inference and knowledge bases. The resulting sysem provides an organization to a higher level of abstraction in classes of tasks. Martin Molina Technical University of Madrid 15

Limitations The previous structuring techniques represent a major step in the modular organization of knowledge to build complex systems. However, they are solutions which are close to a model of computing in general, following a computable model instead of a close imitation of a process of reasoning. Consequently, the resulting architectures do not necessarily follow the steps in solving the problem that the experts handle. It is necessary to have models that focus more on making an overall process of reasoning and the role that plays the knowledge in that process in more abstract terms. Martin Molina Technical University of Madrid 16