SlideShare a Scribd company logo
Knowledge Processing Computer Science Department California Polytechnic State University San Luis Obispo, CA, U.S.A. Franz J. Kurfess
Acknowledgements Some of the material in these slides was developed for a lecture series sponsored by the  European Community   under the  BPD program with  Vilnius University  as host institution
Use and Distribution of these Slides These slides are primarily intended for the students in classes I teach. In some cases, I only make PDF versions publicly available. If you would like to get a copy of the originals (Apple KeyNote or Microsoft PowerPoint), please contact me via email at  [email_address] . I hereby grant permission to use them in educational settings. If you do so, it would be nice to send me an email about it. If you’re considering using them in a commercial environment, please contact me first.  Franz Kurfess: Knowledge Processing
Overview Knowledge Processing Motivation Objectives Chapter Introduction Knowledge Processing as Core AI Paradigm Relationship to KM Terminology Knowledge Acquisition Knowledge Elicitation Machine Learning Knowledge Representation Logic Rules Semantic Networks Frames, Scripts Knowledge Manipulation Reasoning KQML Important Concepts and Terms Chapter Summary Franz Kurfess: Knowledge Processing
Bridge-In Franz Kurfess: Knowledge Processing
Pre-Test Franz Kurfess: Knowledge Processing
Motivation the  representation and manipulation of knowledge  has been essential for the development of humanity as we know it the use of  formal methods  and  support from machines  can improve our knowledge representation and reasoning abilities intelligent reasoning  is a  very complex phenomenon , and may have to be described in a variety of ways a basic understanding of knowledge representation and reasoning is important for the organization and management of knowledge Franz Kurfess: Knowledge Processing
Objectives be familiar with the commonly used  knowledge representation  and  reasoning methods understand different  roles  and  perspectives  of knowledge representation and reasoning methods examine the  suitability of knowledge representations  for specific tasks evaluate  the representation methods and reasoning mechanisms employed in computer-based systems Franz Kurfess: Knowledge Processing
Chapter Introduction Knowledge Processing as Core AI Paradigm Relationship to KM Terminology Franz Kurfess: Knowledge Processing
Relationship to KM Franz Kurfess: Knowledge Processing KP/AI KM representation methods suited for KP by computers representation of knowledge in formats suitable for humans reasoning performed by computers essential reasoning performed by humans mostly limited to symbol manipulation support from computers very demanding in terms of computational power emphasis often on documents can be used for “grounded” systems larger granularity interpretation (“meaning”) typically left to humans mainly intended for human use
Knowledge Processes Human knowledge and networking Information databases and technical networking [Skyrme 1998] Franz Kurfess: Knowledge Processing Chaotic knowledge processes Systematic information and knowledge processes
Knowledge Cycles [Skyrme 1998] Franz Kurfess: Knowledge Processing Create Product/ Process Knowledge Repository Codify Embed Diffuse Identify Classify Access Use/Exploit Collect Organize/ Store Share/ Disseminate
Knowledge Representation Types of Knowledge Factual Knowledge Subjective Knowledge Heuristic Knowledge Deep and Shallow Knowledge Knowledge Representation Methods Rules, Frames, Semantic Networks Blackboard Representations Object-based Representations Case-Based Reasoning Knowledge Representation Tools Franz Kurfess: Knowledge Processing
Types of Knowledge The field that investigates knowledge types and similar questions is  epistemology Factual Knowledge Subjective Knowledge Heuristic Knowledge Deep and Shallow Knowledge Other Types of Knowledge Franz Kurfess: Knowledge Processing
Factual Knowledge verifiable through experiments, formal methods, sometimes commonsense reasoning often created by authoritative sources typically not under dispute in the domain community often incorporated into reference works, textbooks, domain standards Franz Kurfess: Knowledge Processing
Subjective Knowledge relies on individuals insight, experience possibly subject to interpretation more difficult to verify especially if the individuals possessing the knowledge are not cooperative different from  belief both are subjective, but beliefs are not verifiable Franz Kurfess: Knowledge Processing
Heuristic Knowledge based on rules or guidelines that frequently help solving problems often derived from practical experience working in a domain as opposed to theoretical insights gained from deep thoughts about a topic verifiable through experiments Franz Kurfess: Knowledge Processing
Deep and Shallow Knowledge deep knowledge enables explanations and plausibility considerations  possibly including formal proofs shallow knowledge may be sufficient to answer immediate questions, but not for explanations heuristics are often an example of shallow knowledge Franz Kurfess: Knowledge Processing
Other Types of Knowledge procedural knowledge knowing how to do something declarative knowledge expressed through statements that can be shown to be true or false prototypical example is mathematical logic tacit knowledge implicit, unconscious knowledge that can be difficult to express in words or other representations a priori  knowledge independent on experience or empirical evidence e.g. “everybody born before 1983 is older than 20 years” a posteriori  knowledge dependent of experience or empirical  evidence e.g. “X was born in 1983” Franz Kurfess: Knowledge Processing
Roles of Knowledge Representation (KR) KR as Surrogate Ontological Commitments Fragmentary Theory of Intelligent Reasoning Medium for Computation Medium for Human Expression [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
KR as Surrogate a substitute for the thing itself enables an entity to determine consequences by thinking rather than acting reasoning about the world through operations on the representation reasoning or thinking are inherently  internal  processes the  objects  of reasoning are mostly  external  entities (“things”) some objects of reasoning are internal, e.g. concepts, feelings, ... [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
Surrogate Aspects Identity correspondence between the surrogate and the intended referent in the real world Fidelity Incompleteness Incorrectness Adequacy Task User [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
Surrogate Consequences perfect representation is impossible the only completely accurate representation of an object is the object itself incorrect reasoning is inevitable if there are some flaws in the world model, even a perfectly sound reasoning mechanism will come to incorrect conclusions [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
Ontological Commitments terms (formalisms, methods, constructs) used to represent the world by selecting a representation a decision is made about how and what to see in the world like a set of glasses that offer a sharp focus on part of the world, at the expense of blurring other parts necessary because of the inevitable imperfections of representations useful to concentrate on relevant aspects pragmatic because of feasibility constraints [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
Ontological Commitments Examples logic views the world in terms of individual entities and relationships between the entities enforces the assignment of truth values to statements rules entities and their relationships expressed through rules frames prototypical objects semantic nets entities and relationships displayed as a graph [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
KR and Reasoning a knowledge representation indicates an initial conception of intelligent inference often reasoning methods are associated with representation technique first order predicate logic and deduction rules and modus ponens the association is often implicit the underlying inference theory is fragmentary the representation covers only parts of the association intelligent reasoning is a complex and multi-faceted phenomenon [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
KR for Reasoning a representation suggests answers to fundamental questions concerning reasoning: What does it mean to reason intelligently? implied reasoning method What can possibly be inferred from what we know? possible conclusions What should be inferred from what we know? recommended conclusions [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
KR and Computation from the AI perspective, reasoning is a computational process machines are used as reasoning tools without efficient ways of implementing such computational process, it is practically useless e.g. Turing machine most representation and reasoning mechanisms are modified for efficient computation e.g. Prolog vs. predicate logic [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
Computational Medium computational environment for the reasoning process reasonably efficient organization and representation of knowledge so that reasoning is facilitated may come at the expense of understandability by humans unexpected outcomes of the reasoning process lack of transparency of the reasoning process even though the outcome “makes sense”, it is unclear how it was achieved Franz Kurfess: Knowledge Processing
KR for Human Expression a knowledge representation or expression method that can be used by humans to make statements about the world expression of knowledge expressiveness, generality, preciseness communication of knowledge among humans between humans and machines among machines typically based on natural language often at the expense of efficient computability [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
Knowledge Acquisition Incorporating Knowledge into a Repository human mind human-readable book, magazine, etc computer-based Knowledge Acquisition Types Knowledge Elicitation conversion of human knowledge into a format suitable for computers Machine Learning extraction of knowledge from data  Franz Kurfess: Knowledge Processing
Acquisition of Knowledge Published Sources Physical Media Digital Media People as Sources Interviews Questionnaires Formal Techniques Observation Techniques Knowledge Acquisition Tools automatic interactive Franz Kurfess: Knowledge Processing
Knowledge Elicitation knowledge is already present in humans, but needs to be converted into a form suitable for computer use requires the collaboration between a domain expert and a knowledge engineer domain expert has the domain knowledge, but not necessarily the skills to convert it into computer-usable form knowledge engineer assists with this conversion this can be a very lengthy, cumbersome and error-prone process Franz Kurfess: Knowledge Processing
Machine Learning extraction of higher-level information from raw data based on statistical methods results are not necessarily in a format that is easy for humans to use the organization of the gained knowledge is often far from intuitive for humans examples decision trees rule extraction from neural networks Franz Kurfess: Knowledge Processing
Knowledge Fusion integration of human-generated and machine-generated knowledge sometimes also used to indicate the integration of knowledge from different sources, or in different formats can be both conceptually and technically very difficult different “spirit” of the knowledge representation used different terminology different categorization criteria different representation and processing mechanisms e.g. graph-oriented vs. rules vs. data base-oriented Franz Kurfess: Knowledge Processing
Knowledge Representation Mechanisms Logic Rules Semantic Networks Frames, Scripts Franz Kurfess: Knowledge Processing
Logic syntax: well-formed formula a formula or sentence often expresses a fact or a statement semantics: interpretation of the formula  “meaning” is associated with formulae often compositional semantics axioms as basic assumptions generally accepted within the domain inference rules for deriving new formulae from existing ones Franz Kurfess: Knowledge Processing
KR Roles and Logic surrogate very expressive, not very suitable for many types of knowledge ontological commitments objects, relationships, terms, logic operators fragmentary theory of intelligent reasoning deduction, other logical calculi medium for computation yes, but not very efficient medium for human expression only for experts Franz Kurfess: Knowledge Processing
Rules syntax:  if … then … semantics: interpretation of rules usually reasonably understandable initial rules and facts often capture basic assumptions and provide initial conditions generation of new facts, application to existing rules forward reasoning: starting from known facts backward reasoning: starting from a hypothesis Franz Kurfess: Knowledge Processing
KR Roles and Rules surrogate reasonably expressive, suitable for some types of knowledge ontological commitments objects, rules, facts fragmentary theory of intelligent reasoning modus ponens, matching, sometimes augmented by probabilistic mechanisms medium for computation reasonably efficient medium for human expression mainly for experts Franz Kurfess: Knowledge Processing
Semantic Networks syntax: graphs, possibly with some restrictions and enhancements semantics: interpretation of the graphs initial state of the graph propagation of activity, inferences based on link types Franz Kurfess: Knowledge Processing
KR Roles and Semantic Nets surrogate limited to reasonably expressiveness, suitable for some types of knowledge ontological commitments nodes (objects, concepts), links (relations) fragmentary theory of intelligent reasoning conclusions based on properties of objects and their relationships with other objects medium for computation reasonably efficient for some types of reasoning medium for human expression easy to visualize Franz Kurfess: Knowledge Processing
Frames, Scripts syntax: templates with slots and fillers semantics: interpretation of the slots/filler values initial values for slots in frames complex matching of related frames Franz Kurfess: Knowledge Processing
KR Roles and Frames surrogate suitable for well-structured knowledge ontological commitments templates, situations, properties, methods fragmentary theory of intelligent reasoning conclusions are based on relationships between  frames medium for computation ok for some problem types medium for human expression ok, but sometimes too formulaic Franz Kurfess: Knowledge Processing
Knowledge Manipulation Reasoning KQML Franz Kurfess: Knowledge Processing
Reasoning generation of new knowledge items from existing ones frequently identified with  logical  reasoning strong formal foundation very restricted methods for generating conclusions sometimes expanded to capture various ways to draw conclusions based on methods employed by humans requires a formal specification or implementation to be used with computers Franz Kurfess: Knowledge Processing
KQML stands for Knowledge Query and Manipulation Language language and protocol for exchanging information and knowledge Franz Kurfess: Knowledge Processing
KQML Performatives basic query performatives  evaluate, ask-if, ask-about, ask-one, ask-all  multi-response query performatives  stream-about, stream-all  response performatives  reply, sorry  generic informational performatives  tell, achieve, deny, untell, unachieve  generator performatives  standby, ready, next, rest, discard, generator  capability-definition performatives  advertise, subscribe, monitor, import, export  networking performatives  register, unregister, forward, broadcast, route.  Franz Kurfess: Knowledge Processing
KQML Example 1 query (ask-if  :sender A  :receiver B  :language Prolog  :ontology foo  :reply-with id1  :content ``bar(a,b)'' )  reply (sorry  :sender B  :receiver A  :in-reply-to id1  :reply-with id2 )  agent A (:sender) is querying the agent B (:receiver), in Prolog (:language)  about the truth status of ``bar(a,b)'' (:content) Franz Kurfess: Knowledge Processing
KQML Example 2 query (stream-about :language KIF :ontology motors `:reply-with q1  :content motor1) reply (tell :language KIF :ontology motors :in-reply-to q1  : content (= (val (torque motor1) (sim-time 5) (scalar 12 kgf))  (tell :language KIF :ontology structures :in-reply-to q1  : content (fastens frame12 motor1))  (eos :in-repl-to q1) agent A asks agent B to tell all it knows about motor1.  B replys with a sequence of tells terminated with a sorry.  Franz Kurfess: Knowledge Processing
Post-Test Franz Kurfess: Knowledge Processing
Evaluation Criteria Franz Kurfess: Knowledge Processing
KP/KM Activity select a domain that requires significant human involvement for dealing with knowledge identify at least two candidates for  knowledge representation reasoning evaluate their suitability  human perspective understandable and usable for humans computational perspective storage, processing Franz Kurfess: Knowledge Processing
KP/KM Activity Outcomes 2007 Images with Metadata Extracting contact information from text Qualitative and quantitative knowledge about cheese making  Visualization of astronomy data Surveillance/security KM Marketing Face recognition Visual marketing Franz Kurfess: Knowledge Processing
Important Concepts and Terms automated reasoning belief network cognitive science computer science deduction frame human problem solving inference intelligence knowledge acquisition knowledge representation linguistics logic machine learning natural language ontology ontological commitment predicate logic probabilistic reasoning propositional logic psychology rational agent rationality reasoning rule-based system semantic network surrogate taxonomy Turing machine Franz Kurfess: Knowledge Processing
Summary Knowledge Processing there are different types of knowledge knowledge acquisition can be conceptually difficult and time-consuming popular knowledge representation methods for computers are based on mathematical logic,  if ... then  rules, and graphs computer-based reasoning depends on the knowledge representation method, and can be computationally very challenging Franz Kurfess: Knowledge Processing
Franz Kurfess: Knowledge Processing

More Related Content

PPTX
Coronary Arteries
PPTX
Introduction to mechanical engineering design & manufacturing with
PPTX
Principles of aerosol therapy
PPTX
Aerosol therapy
PPTX
Cpb effects on central nervous system
PPTX
Introduction to exercise testing
PPTX
Exercise stress testing
PPTX
Blood pumps
Coronary Arteries
Introduction to mechanical engineering design & manufacturing with
Principles of aerosol therapy
Aerosol therapy
Cpb effects on central nervous system
Introduction to exercise testing
Exercise stress testing
Blood pumps

What's hot (10)

PPTX
Oxygenators
PPT
10.heat transfer during cpb
PPT
PPT
Extracorporeal circulation - CPB, ECMO
PPTX
What is the future outlook for Mechanical Engineers?
PPTX
Lecture 9: Energy Conservation
PDF
Aerosol therapy
PPTX
Humidification
PPTX
CARDIOPULMONARY BYPASS
PPTX
COMMUNITY BASED REHABILITATION AND INSTITUTIONAL BASED REHABILITAION
Oxygenators
10.heat transfer during cpb
Extracorporeal circulation - CPB, ECMO
What is the future outlook for Mechanical Engineers?
Lecture 9: Energy Conservation
Aerosol therapy
Humidification
CARDIOPULMONARY BYPASS
COMMUNITY BASED REHABILITATION AND INSTITUTIONAL BASED REHABILITAION
Ad

Viewers also liked (9)

PDF
PDF
数码单反教程 -摄影基础知识——用最通俗易懂的语言来解释(1)
PDF
雷军 2011年小米手机发布会演讲ppt(全)
PPT
2010年世界大学排名
RTF
Pradeep
PDF
Meineche poem
PPT
Digital marketing workshop 2013
PDF
AS ICT (OCR) G061 3.1.1 Data, Information, Knowledge & Processing booklet
PPT
Informatics stppt ch1
数码单反教程 -摄影基础知识——用最通俗易懂的语言来解释(1)
雷军 2011年小米手机发布会演讲ppt(全)
2010年世界大学排名
Pradeep
Meineche poem
Digital marketing workshop 2013
AS ICT (OCR) G061 3.1.1 Data, Information, Knowledge & Processing booklet
Informatics stppt ch1
Ad

Similar to Knowledge processing (20)

PPTX
module-2 ppt knowledge representation computer application
PDF
Knowledge Representation techniques in Artificial Intelligence
PPTX
AI_Unit-3 complete Notes.pptx from RAJIV GANDHI UNIVERSITY
PPTX
Teaching LMMs for Image Quality Scoring and Interpreting
PPTX
Artificial Intelligence_ Knowledge Representation
PPTX
Module-3-AI-Fundamentals_Logical agent-Part-1.pptx
PDF
Lec 3 knowledge acquisition representation and inference
PPTX
Knowledge Representation in AI.pptx
PPTX
Knowledge-Based agent and representation.pptx
PPTX
Artificial Intelligence - Reason and Planning
PPTX
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptx
PPT
6 KBS_ES.ppt
PPTX
MODULE-2_AI_Computer_Science_Engineering.pptx
PPT
KNOWLEDGE REPRESENTATION ISSUES.ppt
PPTX
Siks December 2008 History Of Knowledge Representation
PPTX
PAIML - UNIT 2dfbdfbvdfvdvdfvdfvdfv.pptx
PPTX
uploadscribd2.pptx
PPTX
Knowledge representation
PPTX
Knowledge base system
PPTX
Lec 09
module-2 ppt knowledge representation computer application
Knowledge Representation techniques in Artificial Intelligence
AI_Unit-3 complete Notes.pptx from RAJIV GANDHI UNIVERSITY
Teaching LMMs for Image Quality Scoring and Interpreting
Artificial Intelligence_ Knowledge Representation
Module-3-AI-Fundamentals_Logical agent-Part-1.pptx
Lec 3 knowledge acquisition representation and inference
Knowledge Representation in AI.pptx
Knowledge-Based agent and representation.pptx
Artificial Intelligence - Reason and Planning
PPT ON INTRODUCTION TO AI- UNIT-1-PART-3.pptx
6 KBS_ES.ppt
MODULE-2_AI_Computer_Science_Engineering.pptx
KNOWLEDGE REPRESENTATION ISSUES.ppt
Siks December 2008 History Of Knowledge Representation
PAIML - UNIT 2dfbdfbvdfvdvdfvdfvdfv.pptx
uploadscribd2.pptx
Knowledge representation
Knowledge base system
Lec 09

More from 孔子 无敌 (20)

PDF
《产品营收拆分脉络图》来自Game res游资网
PPTX
如何掌控自己的时间和生活(上)By louiechot
PPTX
如何掌控自己的时间和生活(上)By louiechot
PPTX
交享团笔试
PPT
麦肯锡方法论:发现和分析问题的七个步骤
KEY
外联部内训
DOC
办公室文员职位实习报告
DOC
一套比较详细的财务流程
PPT
06 说服力,工作型ppt该这样做(逻辑篇)-2011版
PPT
13 关于名博的哪些事
PDF
雷军 2011年小米手机发布会演讲ppt(全)
TXT
TXT
TXT
TXT
TXT
多了一个
PPTX
有效使用数据图表(节选)
PPTX
空中客车介绍
PPTX
别告诉我你懂运动时尚 Final
PPTX
艾瑞咨询:2010年中国互联网行业发展解析
《产品营收拆分脉络图》来自Game res游资网
如何掌控自己的时间和生活(上)By louiechot
如何掌控自己的时间和生活(上)By louiechot
交享团笔试
麦肯锡方法论:发现和分析问题的七个步骤
外联部内训
办公室文员职位实习报告
一套比较详细的财务流程
06 说服力,工作型ppt该这样做(逻辑篇)-2011版
13 关于名博的哪些事
雷军 2011年小米手机发布会演讲ppt(全)
多了一个
有效使用数据图表(节选)
空中客车介绍
别告诉我你懂运动时尚 Final
艾瑞咨询:2010年中国互联网行业发展解析

Recently uploaded (20)

PDF
International_Financial_Reporting_Standa.pdf
PDF
Complications of Minimal Access-Surgery.pdf
PDF
Empowerment Technology for Senior High School Guide
PDF
IGGE1 Understanding the Self1234567891011
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
advance database management system book.pdf
PDF
Hazard Identification & Risk Assessment .pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
HVAC Specification 2024 according to central public works department
PPTX
20th Century Theater, Methods, History.pptx
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PPTX
Computer Architecture Input Output Memory.pptx
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
International_Financial_Reporting_Standa.pdf
Complications of Minimal Access-Surgery.pdf
Empowerment Technology for Senior High School Guide
IGGE1 Understanding the Self1234567891011
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Environmental Education MCQ BD2EE - Share Source.pdf
Virtual and Augmented Reality in Current Scenario
advance database management system book.pdf
Hazard Identification & Risk Assessment .pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
FORM 1 BIOLOGY MIND MAPS and their schemes
Introduction to pro and eukaryotes and differences.pptx
HVAC Specification 2024 according to central public works department
20th Century Theater, Methods, History.pptx
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
TNA_Presentation-1-Final(SAVE)) (1).pptx
Computer Architecture Input Output Memory.pptx
Cambridge-Practice-Tests-for-IELTS-12.docx

Knowledge processing

  • 1. Knowledge Processing Computer Science Department California Polytechnic State University San Luis Obispo, CA, U.S.A. Franz J. Kurfess
  • 2. Acknowledgements Some of the material in these slides was developed for a lecture series sponsored by the European Community under the BPD program with Vilnius University as host institution
  • 3. Use and Distribution of these Slides These slides are primarily intended for the students in classes I teach. In some cases, I only make PDF versions publicly available. If you would like to get a copy of the originals (Apple KeyNote or Microsoft PowerPoint), please contact me via email at [email_address] . I hereby grant permission to use them in educational settings. If you do so, it would be nice to send me an email about it. If you’re considering using them in a commercial environment, please contact me first. Franz Kurfess: Knowledge Processing
  • 4. Overview Knowledge Processing Motivation Objectives Chapter Introduction Knowledge Processing as Core AI Paradigm Relationship to KM Terminology Knowledge Acquisition Knowledge Elicitation Machine Learning Knowledge Representation Logic Rules Semantic Networks Frames, Scripts Knowledge Manipulation Reasoning KQML Important Concepts and Terms Chapter Summary Franz Kurfess: Knowledge Processing
  • 5. Bridge-In Franz Kurfess: Knowledge Processing
  • 6. Pre-Test Franz Kurfess: Knowledge Processing
  • 7. Motivation the representation and manipulation of knowledge has been essential for the development of humanity as we know it the use of formal methods and support from machines can improve our knowledge representation and reasoning abilities intelligent reasoning is a very complex phenomenon , and may have to be described in a variety of ways a basic understanding of knowledge representation and reasoning is important for the organization and management of knowledge Franz Kurfess: Knowledge Processing
  • 8. Objectives be familiar with the commonly used knowledge representation and reasoning methods understand different roles and perspectives of knowledge representation and reasoning methods examine the suitability of knowledge representations for specific tasks evaluate the representation methods and reasoning mechanisms employed in computer-based systems Franz Kurfess: Knowledge Processing
  • 9. Chapter Introduction Knowledge Processing as Core AI Paradigm Relationship to KM Terminology Franz Kurfess: Knowledge Processing
  • 10. Relationship to KM Franz Kurfess: Knowledge Processing KP/AI KM representation methods suited for KP by computers representation of knowledge in formats suitable for humans reasoning performed by computers essential reasoning performed by humans mostly limited to symbol manipulation support from computers very demanding in terms of computational power emphasis often on documents can be used for “grounded” systems larger granularity interpretation (“meaning”) typically left to humans mainly intended for human use
  • 11. Knowledge Processes Human knowledge and networking Information databases and technical networking [Skyrme 1998] Franz Kurfess: Knowledge Processing Chaotic knowledge processes Systematic information and knowledge processes
  • 12. Knowledge Cycles [Skyrme 1998] Franz Kurfess: Knowledge Processing Create Product/ Process Knowledge Repository Codify Embed Diffuse Identify Classify Access Use/Exploit Collect Organize/ Store Share/ Disseminate
  • 13. Knowledge Representation Types of Knowledge Factual Knowledge Subjective Knowledge Heuristic Knowledge Deep and Shallow Knowledge Knowledge Representation Methods Rules, Frames, Semantic Networks Blackboard Representations Object-based Representations Case-Based Reasoning Knowledge Representation Tools Franz Kurfess: Knowledge Processing
  • 14. Types of Knowledge The field that investigates knowledge types and similar questions is epistemology Factual Knowledge Subjective Knowledge Heuristic Knowledge Deep and Shallow Knowledge Other Types of Knowledge Franz Kurfess: Knowledge Processing
  • 15. Factual Knowledge verifiable through experiments, formal methods, sometimes commonsense reasoning often created by authoritative sources typically not under dispute in the domain community often incorporated into reference works, textbooks, domain standards Franz Kurfess: Knowledge Processing
  • 16. Subjective Knowledge relies on individuals insight, experience possibly subject to interpretation more difficult to verify especially if the individuals possessing the knowledge are not cooperative different from belief both are subjective, but beliefs are not verifiable Franz Kurfess: Knowledge Processing
  • 17. Heuristic Knowledge based on rules or guidelines that frequently help solving problems often derived from practical experience working in a domain as opposed to theoretical insights gained from deep thoughts about a topic verifiable through experiments Franz Kurfess: Knowledge Processing
  • 18. Deep and Shallow Knowledge deep knowledge enables explanations and plausibility considerations possibly including formal proofs shallow knowledge may be sufficient to answer immediate questions, but not for explanations heuristics are often an example of shallow knowledge Franz Kurfess: Knowledge Processing
  • 19. Other Types of Knowledge procedural knowledge knowing how to do something declarative knowledge expressed through statements that can be shown to be true or false prototypical example is mathematical logic tacit knowledge implicit, unconscious knowledge that can be difficult to express in words or other representations a priori knowledge independent on experience or empirical evidence e.g. “everybody born before 1983 is older than 20 years” a posteriori knowledge dependent of experience or empirical evidence e.g. “X was born in 1983” Franz Kurfess: Knowledge Processing
  • 20. Roles of Knowledge Representation (KR) KR as Surrogate Ontological Commitments Fragmentary Theory of Intelligent Reasoning Medium for Computation Medium for Human Expression [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 21. KR as Surrogate a substitute for the thing itself enables an entity to determine consequences by thinking rather than acting reasoning about the world through operations on the representation reasoning or thinking are inherently internal processes the objects of reasoning are mostly external entities (“things”) some objects of reasoning are internal, e.g. concepts, feelings, ... [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 22. Surrogate Aspects Identity correspondence between the surrogate and the intended referent in the real world Fidelity Incompleteness Incorrectness Adequacy Task User [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 23. Surrogate Consequences perfect representation is impossible the only completely accurate representation of an object is the object itself incorrect reasoning is inevitable if there are some flaws in the world model, even a perfectly sound reasoning mechanism will come to incorrect conclusions [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 24. Ontological Commitments terms (formalisms, methods, constructs) used to represent the world by selecting a representation a decision is made about how and what to see in the world like a set of glasses that offer a sharp focus on part of the world, at the expense of blurring other parts necessary because of the inevitable imperfections of representations useful to concentrate on relevant aspects pragmatic because of feasibility constraints [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 25. Ontological Commitments Examples logic views the world in terms of individual entities and relationships between the entities enforces the assignment of truth values to statements rules entities and their relationships expressed through rules frames prototypical objects semantic nets entities and relationships displayed as a graph [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 26. KR and Reasoning a knowledge representation indicates an initial conception of intelligent inference often reasoning methods are associated with representation technique first order predicate logic and deduction rules and modus ponens the association is often implicit the underlying inference theory is fragmentary the representation covers only parts of the association intelligent reasoning is a complex and multi-faceted phenomenon [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 27. KR for Reasoning a representation suggests answers to fundamental questions concerning reasoning: What does it mean to reason intelligently? implied reasoning method What can possibly be inferred from what we know? possible conclusions What should be inferred from what we know? recommended conclusions [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 28. KR and Computation from the AI perspective, reasoning is a computational process machines are used as reasoning tools without efficient ways of implementing such computational process, it is practically useless e.g. Turing machine most representation and reasoning mechanisms are modified for efficient computation e.g. Prolog vs. predicate logic [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 29. Computational Medium computational environment for the reasoning process reasonably efficient organization and representation of knowledge so that reasoning is facilitated may come at the expense of understandability by humans unexpected outcomes of the reasoning process lack of transparency of the reasoning process even though the outcome “makes sense”, it is unclear how it was achieved Franz Kurfess: Knowledge Processing
  • 30. KR for Human Expression a knowledge representation or expression method that can be used by humans to make statements about the world expression of knowledge expressiveness, generality, preciseness communication of knowledge among humans between humans and machines among machines typically based on natural language often at the expense of efficient computability [Davis, Shrobe, Szolovits, 1993] Franz Kurfess: Knowledge Processing
  • 31. Knowledge Acquisition Incorporating Knowledge into a Repository human mind human-readable book, magazine, etc computer-based Knowledge Acquisition Types Knowledge Elicitation conversion of human knowledge into a format suitable for computers Machine Learning extraction of knowledge from data Franz Kurfess: Knowledge Processing
  • 32. Acquisition of Knowledge Published Sources Physical Media Digital Media People as Sources Interviews Questionnaires Formal Techniques Observation Techniques Knowledge Acquisition Tools automatic interactive Franz Kurfess: Knowledge Processing
  • 33. Knowledge Elicitation knowledge is already present in humans, but needs to be converted into a form suitable for computer use requires the collaboration between a domain expert and a knowledge engineer domain expert has the domain knowledge, but not necessarily the skills to convert it into computer-usable form knowledge engineer assists with this conversion this can be a very lengthy, cumbersome and error-prone process Franz Kurfess: Knowledge Processing
  • 34. Machine Learning extraction of higher-level information from raw data based on statistical methods results are not necessarily in a format that is easy for humans to use the organization of the gained knowledge is often far from intuitive for humans examples decision trees rule extraction from neural networks Franz Kurfess: Knowledge Processing
  • 35. Knowledge Fusion integration of human-generated and machine-generated knowledge sometimes also used to indicate the integration of knowledge from different sources, or in different formats can be both conceptually and technically very difficult different “spirit” of the knowledge representation used different terminology different categorization criteria different representation and processing mechanisms e.g. graph-oriented vs. rules vs. data base-oriented Franz Kurfess: Knowledge Processing
  • 36. Knowledge Representation Mechanisms Logic Rules Semantic Networks Frames, Scripts Franz Kurfess: Knowledge Processing
  • 37. Logic syntax: well-formed formula a formula or sentence often expresses a fact or a statement semantics: interpretation of the formula “meaning” is associated with formulae often compositional semantics axioms as basic assumptions generally accepted within the domain inference rules for deriving new formulae from existing ones Franz Kurfess: Knowledge Processing
  • 38. KR Roles and Logic surrogate very expressive, not very suitable for many types of knowledge ontological commitments objects, relationships, terms, logic operators fragmentary theory of intelligent reasoning deduction, other logical calculi medium for computation yes, but not very efficient medium for human expression only for experts Franz Kurfess: Knowledge Processing
  • 39. Rules syntax: if … then … semantics: interpretation of rules usually reasonably understandable initial rules and facts often capture basic assumptions and provide initial conditions generation of new facts, application to existing rules forward reasoning: starting from known facts backward reasoning: starting from a hypothesis Franz Kurfess: Knowledge Processing
  • 40. KR Roles and Rules surrogate reasonably expressive, suitable for some types of knowledge ontological commitments objects, rules, facts fragmentary theory of intelligent reasoning modus ponens, matching, sometimes augmented by probabilistic mechanisms medium for computation reasonably efficient medium for human expression mainly for experts Franz Kurfess: Knowledge Processing
  • 41. Semantic Networks syntax: graphs, possibly with some restrictions and enhancements semantics: interpretation of the graphs initial state of the graph propagation of activity, inferences based on link types Franz Kurfess: Knowledge Processing
  • 42. KR Roles and Semantic Nets surrogate limited to reasonably expressiveness, suitable for some types of knowledge ontological commitments nodes (objects, concepts), links (relations) fragmentary theory of intelligent reasoning conclusions based on properties of objects and their relationships with other objects medium for computation reasonably efficient for some types of reasoning medium for human expression easy to visualize Franz Kurfess: Knowledge Processing
  • 43. Frames, Scripts syntax: templates with slots and fillers semantics: interpretation of the slots/filler values initial values for slots in frames complex matching of related frames Franz Kurfess: Knowledge Processing
  • 44. KR Roles and Frames surrogate suitable for well-structured knowledge ontological commitments templates, situations, properties, methods fragmentary theory of intelligent reasoning conclusions are based on relationships between frames medium for computation ok for some problem types medium for human expression ok, but sometimes too formulaic Franz Kurfess: Knowledge Processing
  • 45. Knowledge Manipulation Reasoning KQML Franz Kurfess: Knowledge Processing
  • 46. Reasoning generation of new knowledge items from existing ones frequently identified with logical reasoning strong formal foundation very restricted methods for generating conclusions sometimes expanded to capture various ways to draw conclusions based on methods employed by humans requires a formal specification or implementation to be used with computers Franz Kurfess: Knowledge Processing
  • 47. KQML stands for Knowledge Query and Manipulation Language language and protocol for exchanging information and knowledge Franz Kurfess: Knowledge Processing
  • 48. KQML Performatives basic query performatives evaluate, ask-if, ask-about, ask-one, ask-all multi-response query performatives stream-about, stream-all response performatives reply, sorry generic informational performatives tell, achieve, deny, untell, unachieve generator performatives standby, ready, next, rest, discard, generator capability-definition performatives advertise, subscribe, monitor, import, export networking performatives register, unregister, forward, broadcast, route. Franz Kurfess: Knowledge Processing
  • 49. KQML Example 1 query (ask-if :sender A :receiver B :language Prolog :ontology foo :reply-with id1 :content ``bar(a,b)'' ) reply (sorry :sender B :receiver A :in-reply-to id1 :reply-with id2 ) agent A (:sender) is querying the agent B (:receiver), in Prolog (:language) about the truth status of ``bar(a,b)'' (:content) Franz Kurfess: Knowledge Processing
  • 50. KQML Example 2 query (stream-about :language KIF :ontology motors `:reply-with q1 :content motor1) reply (tell :language KIF :ontology motors :in-reply-to q1 : content (= (val (torque motor1) (sim-time 5) (scalar 12 kgf)) (tell :language KIF :ontology structures :in-reply-to q1 : content (fastens frame12 motor1)) (eos :in-repl-to q1) agent A asks agent B to tell all it knows about motor1. B replys with a sequence of tells terminated with a sorry. Franz Kurfess: Knowledge Processing
  • 51. Post-Test Franz Kurfess: Knowledge Processing
  • 52. Evaluation Criteria Franz Kurfess: Knowledge Processing
  • 53. KP/KM Activity select a domain that requires significant human involvement for dealing with knowledge identify at least two candidates for knowledge representation reasoning evaluate their suitability human perspective understandable and usable for humans computational perspective storage, processing Franz Kurfess: Knowledge Processing
  • 54. KP/KM Activity Outcomes 2007 Images with Metadata Extracting contact information from text Qualitative and quantitative knowledge about cheese making Visualization of astronomy data Surveillance/security KM Marketing Face recognition Visual marketing Franz Kurfess: Knowledge Processing
  • 55. Important Concepts and Terms automated reasoning belief network cognitive science computer science deduction frame human problem solving inference intelligence knowledge acquisition knowledge representation linguistics logic machine learning natural language ontology ontological commitment predicate logic probabilistic reasoning propositional logic psychology rational agent rationality reasoning rule-based system semantic network surrogate taxonomy Turing machine Franz Kurfess: Knowledge Processing
  • 56. Summary Knowledge Processing there are different types of knowledge knowledge acquisition can be conceptually difficult and time-consuming popular knowledge representation methods for computers are based on mathematical logic, if ... then rules, and graphs computer-based reasoning depends on the knowledge representation method, and can be computationally very challenging Franz Kurfess: Knowledge Processing