Intelligent Systems: Reasoning and Recognition

Similar documents
MYCIN. The embodiment of all the clichés of what expert systems are. (Newell)

MYCIN. The MYCIN Task

Study and Analysis of MYCIN expert system

Knowledge based expert systems D H A N A N J A Y K A L B A N D E

Rule-based Expert Systems

Lecture 1: Basic Concepts of Machine Learning

Computerized Adaptive Psychological Testing A Personalisation Perspective

Knowledge-Based - Systems

Major Lessons from This Work

GACE Computer Science Assessment Test at a Glance

We are strong in research and particularly noted in software engineering, information security and privacy, and humane gaming.

FUZZY EXPERT. Dr. Kasim M. Al-Aubidy. Philadelphia University. Computer Eng. Dept February 2002 University of Damascus-Syria

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

AGENDA LEARNING THEORIES LEARNING THEORIES. Advanced Learning Theories 2/22/2016

Millersville University Degree Works Training User Guide

Proof Theory for Syntacticians

Introduction to Simulation

- COURSE DESCRIPTIONS - (*From Online Graduate Catalog )

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Chapter 2 Rule Learning in a Nutshell

Version Space. Term 2012/2013 LSI - FIB. Javier Béjar cbea (LSI - FIB) Version Space Term 2012/ / 18

INSTRUCTIONAL FOCUS DOCUMENT Grade 5/Science

Maximizing Learning Through Course Alignment and Experience with Different Types of Knowledge

A Genetic Irrational Belief System

AQUA: An Ontology-Driven Question Answering System

MINISTRY OF EDUCATION

A Version Space Approach to Learning Context-free Grammars

Thesis-Proposal Outline/Template

Learning Disability Functional Capacity Evaluation. Dear Doctor,

Semi-supervised methods of text processing, and an application to medical concept extraction. Yacine Jernite Text-as-Data series September 17.

PHYSICS 40S - COURSE OUTLINE AND REQUIREMENTS Welcome to Physics 40S for !! Mr. Bryan Doiron

Radius STEM Readiness TM

On-Line Data Analytics

Person Centered Positive Behavior Support Plan (PC PBS) Report Scoring Criteria & Checklist (Rev ) P. 1 of 8

MASTER OF ARTS IN APPLIED SOCIOLOGY. Thesis Option

EXPERT SYSTEMS IN PRODUCTION MANAGEMENT. Daniel E. O'LEARY School of Business University of Southern California Los Angeles, California

Compositional Semantics

How do adults reason about their opponent? Typologies of players in a turn-taking game

DegreeWorks Advisor Reference Guide

Number of students enrolled in the program in Fall, 2011: 20. Faculty member completing template: Molly Dugan (Date: 1/26/2012)

Nanotechnology STEM Program via Research Experience for High School Teachers

The Strong Minimalist Thesis and Bounded Optimality

A student diagnosing and evaluation system for laboratory-based academic exercises

Abstractions and the Brain

Parsing of part-of-speech tagged Assamese Texts

Learning Optimal Dialogue Strategies: A Case Study of a Spoken Dialogue Agent for

Courses in English. Application Development Technology. Artificial Intelligence. 2017/18 Spring Semester. Database access

On Human Computer Interaction, HCI. Dr. Saif al Zahir Electrical and Computer Engineering Department UBC

University of Groningen. Systemen, planning, netwerken Bosman, Aart

Predicting Students Performance with SimStudent: Learning Cognitive Skills from Observation

A. What is research? B. Types of research

Emporia State University Degree Works Training User Guide Advisor

Rule Learning With Negation: Issues Regarding Effectiveness

have to be modeled) or isolated words. Output of the system is a grapheme-tophoneme conversion system which takes as its input the spelling of words,

Document number: 2013/ Programs Committee 6/2014 (July) Agenda Item 42.0 Bachelor of Engineering with Honours in Software Engineering

POLA: a student modeling framework for Probabilistic On-Line Assessment of problem solving performance

Timeline. Recommendations

Evolution of Symbolisation in Chimpanzees and Neural Nets

Language Acquisition Fall 2010/Winter Lexical Categories. Afra Alishahi, Heiner Drenhaus

Software Maintenance

LEGO MINDSTORMS Education EV3 Coding Activities

Fragment Analysis and Test Case Generation using F- Measure for Adaptive Random Testing and Partitioned Block based Adaptive Random Testing

An Open Framework for Integrated Qualification Management Portals

Florida Reading for College Success

Modeling user preferences and norms in context-aware systems

CENTRAL MAINE COMMUNITY COLLEGE Introduction to Computer Applications BCA ; FALL 2011

Language Evolution, Metasyntactically. First International Workshop on Bidirectional Transformations (BX 2012)

DIGITAL GAMING & INTERACTIVE MEDIA BACHELOR S DEGREE. Junior Year. Summer (Bridge Quarter) Fall Winter Spring GAME Credits.

A cognitive perspective on pair programming

(Sub)Gradient Descent

KLI: Infer KCs from repeated assessment events. Do you know what you know? Ken Koedinger HCI & Psychology CMU Director of LearnLab

Visual CP Representation of Knowledge

A Comparison of the Rule and Case-based Reasoning Approaches for the Automation of Help-desk Operations at the Tier-two Level

Ecole Polytechnique Fédérale de Lausanne EPFL School of Computer and Communication Sciences IC. School of Computer and Communication Sciences

KS1 Transport Objectives

Evolutive Neural Net Fuzzy Filtering: Basic Description

DEPARTMENT OF PHYSICAL SCIENCES

Page 1 of 11. Curriculum Map: Grade 4 Math Course: Math 4 Sub-topic: General. Grade(s): None specified

A MULTI-AGENT SYSTEM FOR A DISTANCE SUPPORT IN EDUCATIONAL ROBOTICS

Designing a Computer to Play Nim: A Mini-Capstone Project in Digital Design I

1. Answer the questions below on the Lesson Planning Response Document.

The Conversational User Interface

Integrating Meta-Level and Domain-Level Knowledge for Task-Oriented Dialogue

AUTOMATED TROUBLESHOOTING OF MOBILE NETWORKS USING BAYESIAN NETWORKS

The Good Judgment Project: A large scale test of different methods of combining expert predictions

A Case-Based Approach To Imitation Learning in Robotic Agents

Python Machine Learning

Ph.D in Advance Machine Learning (computer science) PhD submitted, degree to be awarded on convocation, sept B.Tech in Computer science and

A Reinforcement Learning Variant for Control Scheduling

INNOWIZ: A GUIDING FRAMEWORK FOR PROJECTS IN INDUSTRIAL DESIGN EDUCATION

Physics 270: Experimental Physics

What is a Mental Model?

Feature-oriented vs. Needs-oriented Product Access for Non-Expert Online Shoppers

Practical Research. Planning and Design. Paul D. Leedy. Jeanne Ellis Ormrod. Upper Saddle River, New Jersey Columbus, Ohio

Competition in Information Technology: an Informal Learning

Enduring Understandings: Students will understand that

An Experimental Comparison of Knowledge Representation Schemes

CS 446: Machine Learning

A Metacognitive Approach to Support Heuristic Solution of Mathematical Problems

Some Principles of Automated Natural Language Information Extraction

Transcription:

Intelligent Systems: Reasoning and Recognition James L. Crowley ENSIMAG 2 and MoSIG M1 Winter Semester 2014 Lecture 2 7 February 2014 Outline: What is Reasoning?...1 Introduction to Expert Systems...2 Expert System = Inference Engine + Domain Knowledge... 2 The MYCIN Expert System...3 MYCIN: An Antibiotics Therapy Advisor.... 4 Facts... 5 PARAMETERS... 7 The MYCIN Confidence Factor... 7 RULES... 8 Evidential Reasoning and combining Hypotheses :... 9 Control... 10 What is Reasoning? Generation of new knowledge by inference. Examples of types of inference using Symbolic Logic Deduction : (p (p q) ) (q) Induction: p(a) q, p(b) q,... x ( p(x) q) Abduction : (q (p q) ) Maybe(p) Today we will a system that uses abduction to diagnose problems and propose solution.

Introduction to Expert Systems Expert systems are a class of software that is useful for domains that are Subjective, Poorly formalized, and require manipulating large numbers of poorly related facts. Examples include diagnosis, counseling, debugging, game playing, design in complex spaces and problem solving. Expert system provides an alternative to algorithmic programming. Expert System = Inference Engine + Domain Knowledge An expert system combines a domain independent "inference engine" with a database of domain knowledge. The domain knowledge is encoded symbolically as rules and facts. Expert Systems are typically constructed by hand coding symbolic expressions of the expertise provided by a "domain expert". Such systems are typically constructed by iterative refinement through the collaboration of a programmer and a domain expert. The programmer "imitates" the system behavior, evoking corrections and advice by the expert. The programmer then encodes these as fact, rules and data structures. The result is a system that proposes solutions to problems using superficial reasoning. Such systems may appear to understand but are in fact superficial. They tend to reason without regard to meaning. The system can make non-sense statements if applied outside their domain. The technologies for "Expert Systems" are based on symbol manipulation, without regard for the meaning of the symbols. Thus Expert Systems are based on symbolic encoding of declarative and procedural knowledge from experts. The reasoning is syntactic. Thus it is shallow. The system cannot judge when it has been asked to solve a problem outside its domain. While Expert Systems technologies provide useful solutions for many applications, there is a fundamental problem: Hand-crafting a knowledge base is generally a very expensive and difficult process. 2-2

The MYCIN Expert System In the 1970's, at Stanford University, Edward Feigenbaum directed a research group named the "Heuristic Programming Project". Their central thesis was Intelligence = Large quantity of domain knowledge and a little bit of reasoning. This led to an investigation into Knowledge Representation Techniques. From 1970 to 1973 the sought to build a system that could interpret data from Mass Spectrograms. A Mass Spectrograph is a device that uses electrical or magnetic fields to determine the masses of atoms or molecules in a sample. A beam of ions is passed through the electrical or magnetic field. The field deflects the ions at different angles depending on their masses, thereby breaking the beam into separate, identifiable bands. The result of their project was a system named DENDRAL. DENDRAL was an un-maintainable "hack". However, by 1973 the group had learned to express declarative knowledge as "rules". It was decided to start over, building a "rule based" system for "anti-biotic Therapy". Penicillin was discovered in 1929 and came into widespread use as an antibiotic in the 1940's. During the 1950's and 1960's a variety of new antibiotics were discovered. Each had unique properties and uses. By the 1970s, most medical doctors required consultation with a specialized expert to prescribe antibiotics. The Stanford University Medical School was a world famous center for research in antibiotics. The Medical School asked the Computer Science School for help. Feigenbaum proposed to construct an "Artificial Expert" antibiotic therapy advisor. The system developed from 1973 to 1978. It evolved into the first true "Expert System". As such it became the model for a new class of systems. 2-3

MYCIN: An Antibiotics Therapy Advisor. By 1975, a large variety of Antibiotics were available. Each antibiotic was effective against a specific set of microbes, and triggered a specific set of side effects. Patients were often allergic to certain families of antibiotics. MYCIN was designed to be used by ordinary doctors who lacked the specialized training required to develop anti-biotic therapies. Specifications: The system was required to be: Easy to use Reliable Able to manipulate large numbers of unrelated facts. Able to use inexact and incomplete facts Able to explain its advice. MYCIN was composed of approximately 500 rules, manipulating a large base of structured facts. The rules provided procedural knowledge to 1) Request or infer the required information 2) Apply specialized knowledge to determine a therapy 3) Provide advice to doctors 4) Respond to questions about its reasoning. Utilisateur Interface Homme-Machine Explication Trace Connaissance du Problème Moteur d'inférence Connaissance du Domaine Acquisition de Connaissance Informaticien Expert 2-4

Facts All facts in MYCIN are represented by a "quadruple": (CONTEXT, PARAMETER, VALUE, CF) CONTEXTs structure reasoning and thus provide control. For the MYCIN antibiotic therapy advisor, 10 contexts were required. PERSON: Data about the patient OPERS: Past Medical procedures CURCULS: Medical cultures taken from the patient CURDRUGS: Current drug therapies for the patient CURORGS: Known microbial infections in the patient OPDRUGS: Drugs used during recent medical procedures PRIORCULS: Past medical cultures PRIORDRUGS: Past medical therapies PRIORORGS: Past infections. Contexts are organized in a tree. MYCIN Context Tree was structured to respond to 4 questions. 1) What symptoms does the patient show 2) What microbes infect the patient 3) What antibiotics are effective against the microbes 4) What is the most appropriate antibiotic. The context tree was called the "Dynamic Tree", and was composed of instances of each context. 2-5

Patient-1 Culture-1 Culture-2 Operation-1 Organism-1 Organism-2 Drug-1 Drug-2 Drug-3 The context tree served to focus reasoning. 2-6

PARAMETERS Each context was composed of a number of parameters. Each parameter was described by a data structure. Attributes of Parameters included: Expect : {Y/N, NUMB, ONE_OF, ANY_OF} PROMPT : A sentence to ask for the value of the parameter. LABDATA (Y/N) : Whether the parameter should be requested from the doctor or inferred automatically by the system. (LABDATA was later renamed "ASK-FIRST") LOOKAHEAD: A list of rules for inferring the value of a Parameter. TRANS: An English language explanation of the parameter and the meaning of its values. Extensive pre-coding of English sentences allowed to system to appear capable of intelligent dialog. The MYCIN system could almost pass the Turing Test! PARAMETER Categories: SingleValued: Parameter could take a single value. If multiple values are provided the most likely must be determined. MultiValued: The parameter could have multiple values. A fact was created for each value. Binary: A Boolean value; A single value that can be Yes or No Reasoning between alternative single valued parameters required some for me evidential reasoning. For this, the MYCIN team invented a "Confidence Factor". The MYCIN Confidence Factor ALL facts in MYCIN are labeled with a confidence Factor CF [-1, 1] ALL rules in MYCIN are labeled with a FORCE: CF [-1, 1]. 2-7

RULES MYCIN reasons with goal directed backward chaining rules. Rules in MYCIN implement a form of "ABDUCTION". A B CFR > C At any instant, MYCIN is trying to PROVE a GOAL (C). The goal is the conclusion part of a rule. For this MYCIN attempts to prove the condition part of the rule, A B A B CFR > C = To prove C, try to prove A and B. Allowed Rule Structures: A B C -> D A (B C) -> D (A B C) (D E) -> F Disjunctions of conjunctions are not formally required. However, doctors to explain reasoning often use them. Not allowed A B C -> D A (B (C D)) -> E MYCIN contains templates that allow it to interpret the chain of reasoning as English language sentences 2-8

Evidential Reasoning and combining Hypotheses : Given two hypotheses H1 and H2 H1 H2 -> H3 Conjunction: The confidence for H1 H2 is : CF(H1 H2) = min{ CF(H1), CF(H2) } Disjunction : Confidence for H1 or H2 CF(H1 H2 ) = max { CF(H1), CF(H2) } Rules apply a force "CFR" A B CFR > C CFC = CFR * min { CFA, CFB} A (B C) CFR > D CFD = CFR * min { CFA, max{cfb, CFC}} An important case is when two independent paths reach the same hypothesis: The MYCIN team invented a rule called COMBINE Combine( CF1,CF2 ) = CF1 + CF2 ( 1 - CF1 ) Si CF1 0 et Si CF2 0 CF1 + CF2 Si CF1 CF2 < 0 1 - min{ CF1, CF2 } -Combine( -CF1, -CF2 ) Si CF1 0 et Si CF2 0 Alors : (H1, CF1) et (H2, CF2) et (H1 = H2) -> (H1, CF1 = Combine ( CF1, CF2 ) ) En MYCIN CF( H) = - CF(H) 2-9

Control Two interleaved procedures are used: MONITOR : 2-10

FINDOUT: 2-11

Interactions : At any instant the user may ask WHY? The system provide an interpretation of the trace of reasoning HOW: The system provides the source for a fact. Coupled with the extensive use of preprogrammed sentences, this made the system appear to be intelligent. However the knowledge was shallow. 2-12