SlideShare a Scribd company logo
1 of 27
AI & KBS



               AI & KBS

               Overview
* A brief history of Artificial Intelligence (AI)
      - requirements of KBS
* Introduction to Knowledge-Based Systems (KBS)
  - definition
  - architecture
  - development tools
* Examples of some KBS
* Characteristics of KBS
AI & KBS

1. The Evolution of AI
 (1) The request of an intelligent machine
  - early robots ---- electro-mechanical devices
  - later robots ---- use computers, ‘dumb’
                     limited and pre-specified tasks
  - ideal robots ---- intelligent machine combines the memory
                     accuracy, and speed of computers with the
                     intelligence and flexibility of humans.

       AI - Computer programs that undertake tasks that, if done
       by people would be described as requiring intelligence.

 * Can computers think?
   - Turing Test
        Imitation game - machine mistaken for a human
       “Computing machinery and intelligence”, Alan Turing, 1950
AI & KBS
                              Wall




In the Turing test a human communicates with an unseen respondent through
a terminal, not knowing if the respondent is a person or a machine. If the tester
mistakes computer answers for human answers, the computer successfully
passes the Turning test.
AI & KBS

                           ELIZA

• Developed by MIT 1966
• Called ELIZA after Shaws play - it could be taught to speak
increasing well
• It picked up words from its conversational partner
• Transform this into a canned response
ELIZA’s opening statement (appears on the terminal screen):
          Do you have any problems?
Human: Yes. I am unhappy. (types response on the terminal screen)
ELIZA: Why are you unhappy?
Human: My friend is mean to me.
ELIZA: Tell me about your friend. (Rogerian Psychoanalyst)

It could fool people into thinking it was a real person but it contained
no intelligence.
AI & KBS
(2) Game playing - early AI emphasis
 - Board games: chess, checkers, & 16-puzzle
 - No ambiguity in representation of the board
   configuration
 - Rules generate large search space: require heuristics
            Move
            1-X

            2-O

            3-X

            4-O

            5-X

    Tic-Tac-Toe game
AI & KBS



(3) Theorem proving
  - The proving of mathematical theorems by a
     computer program
 - Theorems automatically proven from a given
   set of axioms
 - Theorems & axioms expressed in logic and
   logical inferences applied
 - First theorem prover developed in mid-50s but
   breakthrough in 1960s
 - Breakthrough came after introduction of
    Resolution inference rule
AI & KBS



 Theorem proving -Resolution
All Irish are Europeans.
Dave is a Irish.
Therefore, Dave is a European
AI & KBS

(4) Problem solving

 - GPS (General Problem Solver)
   focus on systems with general capability for solving
   different types of problems
 - Problem represented in terms of initial state,
   wished-for final state (goal) and a set of legal
   transitions to transfer states into new states
 - Using states & operators, GPS generates sequence of
    transitions that transform initial state into final state
AI & KBS


- Problems with GPS:


 * efficiency in choosing path to reach the goal
 * GPS did not use specific info about problem at hand
   in selection of state transition
 * GPS examined all states leading to exponential time
  complexity
 * breakthrough in AI towards more specialised
  problem-solving system, i.e.,

          Knowledge-based systems
AI & KBS
(5) Other AI fields - a tree representation
AI & KBS


(6) KBS as real-world problem solvers

 - Problem-solving power does not lie with smart reasoning
   techniques nor clever search algorithms but
   domain dependent real-world knowledge
 - Real-world problems do not have well-defined
   solutions
 - Expertise not laid down in algorithms but are domain
   dependent rules-of-thumb or heuristics (cause-and-effect)
 - KBS allow this knowledge to be represented in
   computer & solution explained
AI & KBS


2. Knowledge-based Systems: A definition

 - A system that draws upon the knowledge of
  human experts captured in a knowledge-base to solve
  problems that normally require human expertise.

 - Heuristic rather than algorithmic
 - Heuristics in search vs. in KBS
    general vs. domain-specific
 - Highly specific domain knowledge
 - Knowledge is separated from how it is used
    KBS = knowledge-base + inference engine
AI & KBS


3. KBS Architecture

                                          Facts    Heuristics, etc.


    Explanation


                  End-user    Inference      Knowledge
     Queries                                 -base
                  interface   engine



   Conclusions
   Expertise                                      Knowledge-
   Recommendations                                representation
   for action                                     schema
AI & KBS

(1) Knowledge-base
                           Heuristics
             Hypothesis                    Rules



     Facts                                           Objects



                          Knowledge-
                          base
   Processes                                          Attributes


                Events
                                            Relationships
                             Definitions
AI & KBS

(2) Knowledge representation formalisms
   & Inference

  KR                 Inference
* Logic              Resolution principle
* Production rules   backward (top-down, goal directed)
                     forward (bottom-up, data-driven)
* Semantic nets &
  Frames             Inheritance & advanced reasoning
* Case-based
  Reasoning          Similarity based
AI & KBS
(3) KBS tools - Shells
 - Consist of KA Tool, Database &
      Development Interface
 - Inductive Shells
   - simplest
   - example cases represented as matrix of known data
     (premises) and resulting effects (conclusions)
   - matrix converted into decision tree or IF-THEN statements
   - examples selected for the tool

  - Rule-based shells
    - simple to complex
    - IF-THEN rules
AI & KBS


- Hybrid shells
  - sophisticate & powerful
  - support multiple KR paradigms & reasoning schemes
  - generic tool applicable to a wide range

- Special purpose shells
  - specifically designed for particular types of problems
  - restricted to specialised problems


-Scratch
  - require more time and effort
  - no constraints like shells
  - shells should be investigated first
AI & KBS

4. Some example KBSs
(1) DENDRAL (chemical)
- Pioneering work developed in 1965 for NASA at
  Stanford University by Buchanan & Feigenbaum
- DENDRAL infers the molecular structure given mass
  spectral data
- Traditional method of generate-and-test, difficulty:
   millions of possible structures might be generated
   to account for data
- Experts used rules-of-thumb to weed-out structures
   that are unlikely to account for the data
- Encoded this expertise & produced program which
  performed as well as an expert chemist
AI & KBS


(2) MYCIN (medicine)

- Developed in 1970 at Stanford by Shortcliffe
- Assist internists in diagnosis and treatment of
   infectious diseases: meningitis & bacterial septicemia
- When patient shows signs of infectious disease, culture
  of blood and urine set to lab (>24hrs) to determine
  bacterial species
- Given patient data (incomplete & inaccurate) MYCIN
  gives interim indication of organisms that are most likely
  cause of infection & drugs to control disease
- Drug interactions & already prescribed drugs taken into
  account
- Able to provide explanation of diagnosis (limited)
AI & KBS
(3) XCON/RI (computer)
 - Configures DEC’s VAX, PDP11 and µVAX
 - DEC offers the customer a wide choice of components
   when purchasing computer equipment, so that
   client achieves a custom-made system
 - Given the customer’s order, configuration is made,
   perhaps involving component replacement or addition
 - Problem: information subject to rapid change &
   configuring a computer system requires
   skills and effort
 - Since 1981, XCON with XSEL assists DEC agents
   in drawing up orders.
AI & KBS

(4) DRILLING ADVISOR (industry)
 - Developed in 1983 by Teknowledge for oil company
   to replace human drilling advisor
 - Problem:drill bits becoming stuck
 - Difficulty: lack of subsurface information on
   location & condition on end of drill
 - (scarcity) expert examines rock pieces, mud, lubricant
   brought up by drilling to determine cause
 - Drilling Advisor uses geological site information,
   conditions of problem, historical information about
   other problems experienced in the past
 - Provide recommendation to correct problem & advice
   on how to change current practices to avoid problem
AI & KBS

(5) Human Resource Management
y   HRM facilitates the most effective use of employees to
    achieve organisational and individual goals
y   HRM KBS forms part of overall strategy (includes DSS &
    EIS)
y   KBS helps decision making for HRM managers with
    heuristic knowledge in unstructured & semi-structured
    problems (job placement & pay rises)
y   Using semantic nets & Prolog, illustrates use of KBS in
    HR planning, recruiting, compensation & labour-
    management relations
      (see Human resource management expert systems
            technology, Byun & Suh, ES, May 94, 11:2)
AI & KBS

5. Typical tasks of KBS
(1) Diagnosis - To identify a problem given a set of symptoms
or malfunctions.
e.g. diagnose reasons for engine failure
(2) Interpretation - To provide an understanding of a situation
from available information. e.g. DENDRAL
(3) Prediction - To predict a future state from a set of data or
observations. e.g. Drilling Advisor, PLANT
(4) Design - To develop configurations that satisfy constraints
of a design problem. e.g. XCON
(5) Planning - Both short term & long term in areas like project
management, product development or financial planning.
e.g. HRM
AI & KBS



(6) Monitoring - To check performance & flag exceptions.
e.g., KBS monitors radar data and estimates the position of
the space shuttle
(7) Control - To collect and evaluate evidence and form opinions
on that evidence.
e.g. control patient’s treatment
(8) Instruction - To train students and correct their performance.
e.g. give medical students experience diagnosing illness
(9) Debugging - To identify and prescribe remedies for
malfunctions.
e.g. identify errors in an automated teller machine network and
ways to correct the errors
AI & KBS

6. Advantages & Limitations
(1) Advantages

 - Increase availability of expert knowledge
      expertise not accessible
      training future experts
 - Efficient and cost effective
 - Consistency of answers
 - Explanation of solution
 - Deal with uncertainty
AI & KBS
(2) Limitations
 -Lack of common sense
 -Inflexible, Difficult to modify
 - Restricted domain of expertise
 - Lack of learning ability
 - Not always reliable
AI & KBS


Overview
- Traditional AI & its limitations for real-world problem
  solving
- KBS emergence in 60’s
  emphasis on specific domain-knowledge rather than GPS
  separation of knowledge and reasoning
  - KBS basic components:
   knowledge-base, inference engine & user-interface
- Examples
- Advantages & limitations

More Related Content

What's hot

Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metricsIndu Sharma Bhardwaj
 
Introduction to computer architecture and organization
Introduction to computer architecture and organizationIntroduction to computer architecture and organization
Introduction to computer architecture and organizationMuhammad Ishaq
 
Chapter 08
Chapter 08Chapter 08
Chapter 08guru3188
 
Software Architecture: Design Decisions
Software Architecture: Design DecisionsSoftware Architecture: Design Decisions
Software Architecture: Design DecisionsHenry Muccini
 
top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnectionSajid Marwat
 
Chap19
Chap19Chap19
Chap19himo
 
Software Configuration Management (SCM)
Software Configuration Management (SCM)Software Configuration Management (SCM)
Software Configuration Management (SCM)Er. Shiva K. Shrestha
 
Chapter 01 - Introduction
Chapter 01 - IntroductionChapter 01 - Introduction
Chapter 01 - IntroductionCésar de Souza
 
Parsing (Automata)
Parsing (Automata)Parsing (Automata)
Parsing (Automata)ROOP SAGAR
 
Structural modeling and analysis
Structural modeling and analysisStructural modeling and analysis
Structural modeling and analysisJIGAR MAKHIJA
 
Placa base
Placa basePlaca base
Placa baseuchetica
 
Rule Based Architecture System
Rule Based Architecture SystemRule Based Architecture System
Rule Based Architecture SystemFirdaus Adib
 
Computer generations (1950–present)
Computer generations (1950–present)Computer generations (1950–present)
Computer generations (1950–present)AJAL A J
 
An overview of Hidden Markov Models (HMM)
An overview of Hidden Markov Models (HMM)An overview of Hidden Markov Models (HMM)
An overview of Hidden Markov Models (HMM)ananth
 
Heuristc Search Techniques
Heuristc Search TechniquesHeuristc Search Techniques
Heuristc Search TechniquesJismy .K.Jose
 
Chapter01 the systems development environment
Chapter01 the systems development environmentChapter01 the systems development environment
Chapter01 the systems development environmentDhani Ahmad
 

What's hot (20)

Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Requirements Engineering
Requirements EngineeringRequirements Engineering
Requirements Engineering
 
Introduction to computer architecture and organization
Introduction to computer architecture and organizationIntroduction to computer architecture and organization
Introduction to computer architecture and organization
 
Chapter 08
Chapter 08Chapter 08
Chapter 08
 
Software Architecture: Design Decisions
Software Architecture: Design DecisionsSoftware Architecture: Design Decisions
Software Architecture: Design Decisions
 
top level view of computer function and interconnection
top level view of computer function and interconnectiontop level view of computer function and interconnection
top level view of computer function and interconnection
 
Microkernel
MicrokernelMicrokernel
Microkernel
 
Chap19
Chap19Chap19
Chap19
 
Software Configuration Management (SCM)
Software Configuration Management (SCM)Software Configuration Management (SCM)
Software Configuration Management (SCM)
 
Chapter 01 - Introduction
Chapter 01 - IntroductionChapter 01 - Introduction
Chapter 01 - Introduction
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Parsing (Automata)
Parsing (Automata)Parsing (Automata)
Parsing (Automata)
 
Structural modeling and analysis
Structural modeling and analysisStructural modeling and analysis
Structural modeling and analysis
 
Placa base
Placa basePlaca base
Placa base
 
Rule Based Architecture System
Rule Based Architecture SystemRule Based Architecture System
Rule Based Architecture System
 
Heuristic search
Heuristic searchHeuristic search
Heuristic search
 
Computer generations (1950–present)
Computer generations (1950–present)Computer generations (1950–present)
Computer generations (1950–present)
 
An overview of Hidden Markov Models (HMM)
An overview of Hidden Markov Models (HMM)An overview of Hidden Markov Models (HMM)
An overview of Hidden Markov Models (HMM)
 
Heuristc Search Techniques
Heuristc Search TechniquesHeuristc Search Techniques
Heuristc Search Techniques
 
Chapter01 the systems development environment
Chapter01 the systems development environmentChapter01 the systems development environment
Chapter01 the systems development environment
 

Viewers also liked

17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based systemTianlu Wang
 
Knowledge-based Systems
Knowledge-based SystemsKnowledge-based Systems
Knowledge-based Systemssaimohang
 
Decision Support System
Decision Support SystemDecision Support System
Decision Support Systemparamalways
 
Decision Support System(DSS)
Decision Support System(DSS)Decision Support System(DSS)
Decision Support System(DSS)Sayantan Sur
 
Knowledge based systems
Knowledge based systemsKnowledge based systems
Knowledge based systemsYowan Rdotexe
 

Viewers also liked (6)

17 1 knowledge-based system
17 1 knowledge-based system17 1 knowledge-based system
17 1 knowledge-based system
 
Knowledge-based Systems
Knowledge-based SystemsKnowledge-based Systems
Knowledge-based Systems
 
Topic 8 expert system
Topic 8 expert systemTopic 8 expert system
Topic 8 expert system
 
Decision Support System
Decision Support SystemDecision Support System
Decision Support System
 
Decision Support System(DSS)
Decision Support System(DSS)Decision Support System(DSS)
Decision Support System(DSS)
 
Knowledge based systems
Knowledge based systemsKnowledge based systems
Knowledge based systems
 

Similar to Knowledge-based Systems

A Platform for Accelerating Machine Learning Applications
 A Platform for Accelerating Machine Learning Applications A Platform for Accelerating Machine Learning Applications
A Platform for Accelerating Machine Learning ApplicationsNVIDIA Taiwan
 
Expert systems from rk
Expert systems from rkExpert systems from rk
Expert systems from rkramaslide
 
Useful Techniques in Artificial Intelligence
Useful Techniques in Artificial IntelligenceUseful Techniques in Artificial Intelligence
Useful Techniques in Artificial IntelligenceIla Group
 
11 expert systems___applied
11 expert systems___applied11 expert systems___applied
11 expert systems___appliedSachin Sharma
 
Ice ss2013
Ice ss2013Ice ss2013
Ice ss2013Jun Hu
 
CV David Bernard
CV David BernardCV David Bernard
CV David Bernardlremy83
 
Brains, Data, and Machine Intelligence (2014 04 14 London Meetup)
Brains, Data, and Machine Intelligence (2014 04 14 London Meetup)Brains, Data, and Machine Intelligence (2014 04 14 London Meetup)
Brains, Data, and Machine Intelligence (2014 04 14 London Meetup)Numenta
 
David Bernard Link
David Bernard LinkDavid Bernard Link
David Bernard Linklremy83
 
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...inside-BigData.com
 
Omniscient H4D 2020 Lessons Learned
Omniscient H4D 2020 Lessons LearnedOmniscient H4D 2020 Lessons Learned
Omniscient H4D 2020 Lessons LearnedStanford University
 
Intro to artificial intelligence
Intro to artificial intelligence Intro to artificial intelligence
Intro to artificial intelligence ankit yadav
 
AI is Impacting HPC Everywhere
AI is Impacting HPC EverywhereAI is Impacting HPC Everywhere
AI is Impacting HPC Everywhereinside-BigData.com
 
Fields in computer science
Fields in computer scienceFields in computer science
Fields in computer scienceUC San Diego
 
Ed Safford III MetroCon 2015 Verification, Validation, and Deployment of Hybr...
Ed Safford III MetroCon 2015 Verification, Validation, and Deployment of Hybr...Ed Safford III MetroCon 2015 Verification, Validation, and Deployment of Hybr...
Ed Safford III MetroCon 2015 Verification, Validation, and Deployment of Hybr...Edward L S Safford III
 

Similar to Knowledge-based Systems (20)

A Platform for Accelerating Machine Learning Applications
 A Platform for Accelerating Machine Learning Applications A Platform for Accelerating Machine Learning Applications
A Platform for Accelerating Machine Learning Applications
 
21AI401 AI Unit 1.pdf
21AI401 AI Unit 1.pdf21AI401 AI Unit 1.pdf
21AI401 AI Unit 1.pdf
 
Expert systems from rk
Expert systems from rkExpert systems from rk
Expert systems from rk
 
Useful Techniques in Artificial Intelligence
Useful Techniques in Artificial IntelligenceUseful Techniques in Artificial Intelligence
Useful Techniques in Artificial Intelligence
 
11 expert systems___applied
11 expert systems___applied11 expert systems___applied
11 expert systems___applied
 
Lecture01
Lecture01Lecture01
Lecture01
 
Intro AI.pdf
Intro AI.pdfIntro AI.pdf
Intro AI.pdf
 
Ice ss2013
Ice ss2013Ice ss2013
Ice ss2013
 
CV David Bernard
CV David BernardCV David Bernard
CV David Bernard
 
Brains, Data, and Machine Intelligence (2014 04 14 London Meetup)
Brains, Data, and Machine Intelligence (2014 04 14 London Meetup)Brains, Data, and Machine Intelligence (2014 04 14 London Meetup)
Brains, Data, and Machine Intelligence (2014 04 14 London Meetup)
 
David Bernard Link
David Bernard LinkDavid Bernard Link
David Bernard Link
 
upload3.pptx
upload3.pptxupload3.pptx
upload3.pptx
 
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
State-Of-The Art Machine Learning Algorithms and How They Are Affected By Nea...
 
Omniscient H4D 2020 Lessons Learned
Omniscient H4D 2020 Lessons LearnedOmniscient H4D 2020 Lessons Learned
Omniscient H4D 2020 Lessons Learned
 
uploadscribd.pptx
uploadscribd.pptxuploadscribd.pptx
uploadscribd.pptx
 
Adarsh gupta ppt
Adarsh gupta pptAdarsh gupta ppt
Adarsh gupta ppt
 
Intro to artificial intelligence
Intro to artificial intelligence Intro to artificial intelligence
Intro to artificial intelligence
 
AI is Impacting HPC Everywhere
AI is Impacting HPC EverywhereAI is Impacting HPC Everywhere
AI is Impacting HPC Everywhere
 
Fields in computer science
Fields in computer scienceFields in computer science
Fields in computer science
 
Ed Safford III MetroCon 2015 Verification, Validation, and Deployment of Hybr...
Ed Safford III MetroCon 2015 Verification, Validation, and Deployment of Hybr...Ed Safford III MetroCon 2015 Verification, Validation, and Deployment of Hybr...
Ed Safford III MetroCon 2015 Verification, Validation, and Deployment of Hybr...
 

Knowledge-based Systems

  • 1. AI & KBS AI & KBS Overview * A brief history of Artificial Intelligence (AI) - requirements of KBS * Introduction to Knowledge-Based Systems (KBS) - definition - architecture - development tools * Examples of some KBS * Characteristics of KBS
  • 2. AI & KBS 1. The Evolution of AI (1) The request of an intelligent machine - early robots ---- electro-mechanical devices - later robots ---- use computers, ‘dumb’ limited and pre-specified tasks - ideal robots ---- intelligent machine combines the memory accuracy, and speed of computers with the intelligence and flexibility of humans. AI - Computer programs that undertake tasks that, if done by people would be described as requiring intelligence. * Can computers think? - Turing Test Imitation game - machine mistaken for a human “Computing machinery and intelligence”, Alan Turing, 1950
  • 3. AI & KBS Wall In the Turing test a human communicates with an unseen respondent through a terminal, not knowing if the respondent is a person or a machine. If the tester mistakes computer answers for human answers, the computer successfully passes the Turning test.
  • 4. AI & KBS ELIZA • Developed by MIT 1966 • Called ELIZA after Shaws play - it could be taught to speak increasing well • It picked up words from its conversational partner • Transform this into a canned response ELIZA’s opening statement (appears on the terminal screen): Do you have any problems? Human: Yes. I am unhappy. (types response on the terminal screen) ELIZA: Why are you unhappy? Human: My friend is mean to me. ELIZA: Tell me about your friend. (Rogerian Psychoanalyst) It could fool people into thinking it was a real person but it contained no intelligence.
  • 5. AI & KBS (2) Game playing - early AI emphasis - Board games: chess, checkers, & 16-puzzle - No ambiguity in representation of the board configuration - Rules generate large search space: require heuristics Move 1-X 2-O 3-X 4-O 5-X Tic-Tac-Toe game
  • 6. AI & KBS (3) Theorem proving - The proving of mathematical theorems by a computer program - Theorems automatically proven from a given set of axioms - Theorems & axioms expressed in logic and logical inferences applied - First theorem prover developed in mid-50s but breakthrough in 1960s - Breakthrough came after introduction of Resolution inference rule
  • 7. AI & KBS Theorem proving -Resolution All Irish are Europeans. Dave is a Irish. Therefore, Dave is a European
  • 8. AI & KBS (4) Problem solving - GPS (General Problem Solver) focus on systems with general capability for solving different types of problems - Problem represented in terms of initial state, wished-for final state (goal) and a set of legal transitions to transfer states into new states - Using states & operators, GPS generates sequence of transitions that transform initial state into final state
  • 9. AI & KBS - Problems with GPS: * efficiency in choosing path to reach the goal * GPS did not use specific info about problem at hand in selection of state transition * GPS examined all states leading to exponential time complexity * breakthrough in AI towards more specialised problem-solving system, i.e., Knowledge-based systems
  • 10. AI & KBS (5) Other AI fields - a tree representation
  • 11. AI & KBS (6) KBS as real-world problem solvers - Problem-solving power does not lie with smart reasoning techniques nor clever search algorithms but domain dependent real-world knowledge - Real-world problems do not have well-defined solutions - Expertise not laid down in algorithms but are domain dependent rules-of-thumb or heuristics (cause-and-effect) - KBS allow this knowledge to be represented in computer & solution explained
  • 12. AI & KBS 2. Knowledge-based Systems: A definition - A system that draws upon the knowledge of human experts captured in a knowledge-base to solve problems that normally require human expertise. - Heuristic rather than algorithmic - Heuristics in search vs. in KBS general vs. domain-specific - Highly specific domain knowledge - Knowledge is separated from how it is used KBS = knowledge-base + inference engine
  • 13. AI & KBS 3. KBS Architecture Facts Heuristics, etc. Explanation End-user Inference Knowledge Queries -base interface engine Conclusions Expertise Knowledge- Recommendations representation for action schema
  • 14. AI & KBS (1) Knowledge-base Heuristics Hypothesis Rules Facts Objects Knowledge- base Processes Attributes Events Relationships Definitions
  • 15. AI & KBS (2) Knowledge representation formalisms & Inference KR Inference * Logic Resolution principle * Production rules backward (top-down, goal directed) forward (bottom-up, data-driven) * Semantic nets & Frames Inheritance & advanced reasoning * Case-based Reasoning Similarity based
  • 16. AI & KBS (3) KBS tools - Shells - Consist of KA Tool, Database & Development Interface - Inductive Shells - simplest - example cases represented as matrix of known data (premises) and resulting effects (conclusions) - matrix converted into decision tree or IF-THEN statements - examples selected for the tool - Rule-based shells - simple to complex - IF-THEN rules
  • 17. AI & KBS - Hybrid shells - sophisticate & powerful - support multiple KR paradigms & reasoning schemes - generic tool applicable to a wide range - Special purpose shells - specifically designed for particular types of problems - restricted to specialised problems -Scratch - require more time and effort - no constraints like shells - shells should be investigated first
  • 18. AI & KBS 4. Some example KBSs (1) DENDRAL (chemical) - Pioneering work developed in 1965 for NASA at Stanford University by Buchanan & Feigenbaum - DENDRAL infers the molecular structure given mass spectral data - Traditional method of generate-and-test, difficulty: millions of possible structures might be generated to account for data - Experts used rules-of-thumb to weed-out structures that are unlikely to account for the data - Encoded this expertise & produced program which performed as well as an expert chemist
  • 19. AI & KBS (2) MYCIN (medicine) - Developed in 1970 at Stanford by Shortcliffe - Assist internists in diagnosis and treatment of infectious diseases: meningitis & bacterial septicemia - When patient shows signs of infectious disease, culture of blood and urine set to lab (>24hrs) to determine bacterial species - Given patient data (incomplete & inaccurate) MYCIN gives interim indication of organisms that are most likely cause of infection & drugs to control disease - Drug interactions & already prescribed drugs taken into account - Able to provide explanation of diagnosis (limited)
  • 20. AI & KBS (3) XCON/RI (computer) - Configures DEC’s VAX, PDP11 and µVAX - DEC offers the customer a wide choice of components when purchasing computer equipment, so that client achieves a custom-made system - Given the customer’s order, configuration is made, perhaps involving component replacement or addition - Problem: information subject to rapid change & configuring a computer system requires skills and effort - Since 1981, XCON with XSEL assists DEC agents in drawing up orders.
  • 21. AI & KBS (4) DRILLING ADVISOR (industry) - Developed in 1983 by Teknowledge for oil company to replace human drilling advisor - Problem:drill bits becoming stuck - Difficulty: lack of subsurface information on location & condition on end of drill - (scarcity) expert examines rock pieces, mud, lubricant brought up by drilling to determine cause - Drilling Advisor uses geological site information, conditions of problem, historical information about other problems experienced in the past - Provide recommendation to correct problem & advice on how to change current practices to avoid problem
  • 22. AI & KBS (5) Human Resource Management y HRM facilitates the most effective use of employees to achieve organisational and individual goals y HRM KBS forms part of overall strategy (includes DSS & EIS) y KBS helps decision making for HRM managers with heuristic knowledge in unstructured & semi-structured problems (job placement & pay rises) y Using semantic nets & Prolog, illustrates use of KBS in HR planning, recruiting, compensation & labour- management relations (see Human resource management expert systems technology, Byun & Suh, ES, May 94, 11:2)
  • 23. AI & KBS 5. Typical tasks of KBS (1) Diagnosis - To identify a problem given a set of symptoms or malfunctions. e.g. diagnose reasons for engine failure (2) Interpretation - To provide an understanding of a situation from available information. e.g. DENDRAL (3) Prediction - To predict a future state from a set of data or observations. e.g. Drilling Advisor, PLANT (4) Design - To develop configurations that satisfy constraints of a design problem. e.g. XCON (5) Planning - Both short term & long term in areas like project management, product development or financial planning. e.g. HRM
  • 24. AI & KBS (6) Monitoring - To check performance & flag exceptions. e.g., KBS monitors radar data and estimates the position of the space shuttle (7) Control - To collect and evaluate evidence and form opinions on that evidence. e.g. control patient’s treatment (8) Instruction - To train students and correct their performance. e.g. give medical students experience diagnosing illness (9) Debugging - To identify and prescribe remedies for malfunctions. e.g. identify errors in an automated teller machine network and ways to correct the errors
  • 25. AI & KBS 6. Advantages & Limitations (1) Advantages - Increase availability of expert knowledge expertise not accessible training future experts - Efficient and cost effective - Consistency of answers - Explanation of solution - Deal with uncertainty
  • 26. AI & KBS (2) Limitations -Lack of common sense -Inflexible, Difficult to modify - Restricted domain of expertise - Lack of learning ability - Not always reliable
  • 27. AI & KBS Overview - Traditional AI & its limitations for real-world problem solving - KBS emergence in 60’s emphasis on specific domain-knowledge rather than GPS separation of knowledge and reasoning - KBS basic components: knowledge-base, inference engine & user-interface - Examples - Advantages & limitations