SlideShare a Scribd company logo
1 of 22
Download to read offline
Chapter 19
          Knowledge in Learning
               Scott Christley
               Alfredo Arvide



CSE 571                 Scott Christley, Chapter 19, Knowledge in Learning
Prior Knowledge
  • Incorporate our existing knowledge
  • Decision trees/lists are attributed-based
          – Much like propositional logic
          – Ontological commitment of just facts
  • Have agent learn FOL sentences
          – Ontological commitment of objects/relations
          – Tradeoff: expressiveness vs. complexity

CSE 571                            Scott Christley, Chapter 19, Knowledge in Learning
Hypothesis Space
  • Consistency of hypotheses with examples
  • False negative, hypothesis says negative but actually is
    positive, need to generalize
  • False positive, hypothesis says positive but actually is
    negative, need to specialize




CSE 571                             Scott Christley, Chapter 19, Knowledge in Learning
Inductive Learning
  • Given the set of all hypotheses, eliminate
    each one that is inconsistent with examples.
          – The set of all hypotheses is infinite!
          – Shrink it yet still be realizable
  • Current-best-hypothesis search
          – Maintain a single hypothesis
          – Generalize it for false negatives
          – Specialize it for false positives

CSE 571                              Scott Christley, Chapter 19, Knowledge in Learning
• Not necessarily lead to the simplest hypothesis
  • Expensive to calculate
  • Frequent backtracking


CSE 571                        Scott Christley, Chapter 19, Knowledge in Learning
Least-commitment search
  • Incremental approach such that consistency
    is guaranteed without backtracking
  • Partial ordering on the hypothesis space
          – Generalization/specialization
          – G-set, most general boundary
          – S-set, most specific boundary



CSE 571                            Scott Christley, Chapter 19, Knowledge in Learning
Least-commitment search




CSE 571                Scott Christley, Chapter 19, Knowledge in Learning
• False positive for Si of S-set, Si too general so remove
  • False negative for Si of S-set, Si too specific so replace
    with immediate generalizations
  • False positive for Gi of G-set, Gi too general so replace
    with immediate specializations
  • False negative for Gi of G-set, Gi too specific so remove
CSE 571                             Scott Christley, Chapter 19, Knowledge in Learning
Least-commitment search
  • Continue until…
          – All examples examined, one hypothesis left
          – Version space collapses, no consistent hypothesis
          – Run out of examples, multiple hypotheses
  • Drawbacks
          – Noise, version space will collapse
          – How to specify S-set and G-set, if unlimited then S-set
            is disjunction of examples and G-set is negations
          – S-set and G-set can grow exponentially

CSE 571                                 Scott Christley, Chapter 19, Knowledge in Learning
Prior Knowledge




  • Entailment constraint
          – Hypothesis Ÿ Descriptions ˜= Classifications


CSE 571                                Scott Christley, Chapter 19, Knowledge in Learning
General Schemes
  • Explanation-based learning (EBL)
          – Hypothesis Ÿ Descriptions ˜= Classifications
          – Background ˜= Hypothesis

  • Relevance-based learning
          – Hypothesis Ÿ Descriptions ˜= Classifications
          – Background Ÿ Classifications Ÿ Descriptions ˜= Hypothesis

  • KBIL and Inductive logic programming
          – Background Ÿ Hypothesis Ÿ Descriptions ˜= Classifications



CSE 571                                      Scott Christley, Chapter 19, Knowledge in Learning
Explanation-based Learning
  • Extract general rules from examples
  • Basic idea
          – Given an example, construct a proof for the goal
            predicate that applies using the background knowledge.
          – In parallel, construct a generalized proof with
            variabilized goal.
          – Construct a new rule, LHS with the leaves of the proof
            tree and RHS with the variabilized goal.
          – Drop any conditions that are always true regardless of
            value of variables in the goal.


CSE 571                                Scott Christley, Chapter 19, Knowledge in Learning
EBL Example
  • KB has the following rules
          –   Rewrite(u,v) Ÿ Simplify(v,w) fi Simplify(u,w)
          –   Primitive(u) fi Simplify(u,u)
          –   ArithmeticUnknown(u) fi Primitive(u)
          –   Number(u) fi Primitive(u)
          –   Rewrite(1 * u, u)
          –   Rewrite(0 + u, u)
  • We want to simplify: 1 * (0 + X)


CSE 571                                  Scott Christley, Chapter 19, Knowledge in Learning
EBL Example




CSE 571            Scott Christley, Chapter 19, Knowledge in Learning
Explanation-based Learning
  • Any partial subtree can be use for the extracted
    general rule, how to choose?
  • Efficiency, Operationality, Generality
          – Too many rules slows down reasoning
          – Rules should provide speed increase by eliminating
            dead-ends and shortening the proof
          – As general as possible to cover the most cases
  • Tradeoffs, how to maximize the efficiency of the
    knowledge base?

CSE 571                                Scott Christley, Chapter 19, Knowledge in Learning
Inductive Logic Programming
  • Combine inductive methods with FOL
  • Rigorous approach
  • Offers complete algorithm
  • Hypotheses are relatively easy to read
  • Because FOL, we are learning
    relationships(predicates) not just attributes of
    objects.
  • ILP can generate new predicates, constructive
    induction algorithm

CSE 571                         Scott Christley, Chapter 19, Knowledge in Learning
ILP Example




  • Know Father, Mother, Married, Male, Female, Parent
  • Might want to learn Grandparent or Ancestor
          – Grandparent(Mum, Charles)
          – ¬Grandparent(Mum, Harry)
CSE 571                                 Scott Christley, Chapter 19, Knowledge in Learning
Top-down Inductive Learning
  • Generalization of decision-tree methods
          – Start with general rule and gradually specialize
  • 12 positive examples, 388 negative
  • Start with the goal predicate
          – fi Grandfather(x,y)
  • Add literals to specialize
          – Father(x,y) fi Grandfather(x,y)        * false negatives
          – Parent(x,z) fi Grandfather(x,y)        * double false positives
          – Father(x,z) fi Grandfather(x,y)        * take this one
  • Continue adding literals
          – Father(x,z) Ÿ Parent(z,y) fi Grandfather(x,y)
  • How and what type of literals to add?
CSE 571                                      Scott Christley, Chapter 19, Knowledge in Learning
ILP with Inverse Resolution
  • “run the proof backward”
  • Instead of C1 and C2 resolve to C
  • Take C and produce C1 and C2 such that
    they resolve together.
  • Alternatively take C and C1 and produce C2




CSE 571                   Scott Christley, Chapter 19, Knowledge in Learning
Inverse Resolution Example




  • Start with empty clause and negation of example
  • Parent(x,z) Ÿ Parent(z,y) fi Grandparent(x,y)

CSE 571                           Scott Christley, Chapter 19, Knowledge in Learning
Inductive Logic Programming
  • An infinite number of clauses C1 and C2 can
    resolve together.
  • Various approaches to restrict the search
          –   Generate most specific, require consistency
          –   Restrict proof strategy, e.g. linear resolution
          –   Restrict language, e.g. Horn clauses
          –   Inference with model checking
          –   Translate to/from propositional clauses
  • Invent new predicates!
  • Completeness
CSE 571                                     Scott Christley, Chapter 19, Knowledge in Learning
Thanks!




CSE 571       Scott Christley, Chapter 19, Knowledge in Learning

More Related Content

What's hot

Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representationSravanthi Emani
 
Analytical learning
Analytical learningAnalytical learning
Analytical learningswapnac12
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceRamla Sheikh
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependencyJismy .K.Jose
 
Semantic nets in artificial intelligence
Semantic nets in artificial intelligenceSemantic nets in artificial intelligence
Semantic nets in artificial intelligenceharshita virwani
 
Control Strategies in AI
Control Strategies in AI Control Strategies in AI
Control Strategies in AI Bharat Bhushan
 
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and AggregationDbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and AggregationBIT Durg
 
State Space Representation and Search
State Space Representation and SearchState Space Representation and Search
State Space Representation and SearchHitesh Mohapatra
 
Intermediate code generation
Intermediate code generationIntermediate code generation
Intermediate code generationRamchandraRegmi
 
I. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AII. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AIvikas dhakane
 
Heuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptHeuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptkarthikaparthasarath
 
Finite Automata in compiler design
Finite Automata in compiler designFinite Automata in compiler design
Finite Automata in compiler designRiazul Islam
 
Variants of Turing Machine
Variants of Turing MachineVariants of Turing Machine
Variants of Turing MachineRajendran
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecturevenkateswarlu G
 

What's hot (20)

Planning
PlanningPlanning
Planning
 
Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representation
 
Analytical learning
Analytical learningAnalytical learning
Analytical learning
 
Knowledge representation In Artificial Intelligence
Knowledge representation In Artificial IntelligenceKnowledge representation In Artificial Intelligence
Knowledge representation In Artificial Intelligence
 
Conceptual dependency
Conceptual dependencyConceptual dependency
Conceptual dependency
 
Semantic nets in artificial intelligence
Semantic nets in artificial intelligenceSemantic nets in artificial intelligence
Semantic nets in artificial intelligence
 
Control Strategies in AI
Control Strategies in AI Control Strategies in AI
Control Strategies in AI
 
Chomsky Normal Form
Chomsky Normal FormChomsky Normal Form
Chomsky Normal Form
 
weak slot and filler
weak slot and fillerweak slot and filler
weak slot and filler
 
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and AggregationDbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
 
State Space Representation and Search
State Space Representation and SearchState Space Representation and Search
State Space Representation and Search
 
Intermediate code generation
Intermediate code generationIntermediate code generation
Intermediate code generation
 
Ch 6 final
Ch 6 finalCh 6 final
Ch 6 final
 
I. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AII. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AI
 
Heuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.pptHeuristic Search Techniques Unit -II.ppt
Heuristic Search Techniques Unit -II.ppt
 
Finite Automata in compiler design
Finite Automata in compiler designFinite Automata in compiler design
Finite Automata in compiler design
 
AI_Planning.pdf
AI_Planning.pdfAI_Planning.pdf
AI_Planning.pdf
 
Variants of Turing Machine
Variants of Turing MachineVariants of Turing Machine
Variants of Turing Machine
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
Chapter 5 of 1
Chapter 5 of 1Chapter 5 of 1
Chapter 5 of 1
 

Viewers also liked

Statistical learning
Statistical learningStatistical learning
Statistical learningSlideshare
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AIVishal Singh
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningRahul Jain
 
Introduction to Statistical Machine Learning
Introduction to Statistical Machine LearningIntroduction to Statistical Machine Learning
Introduction to Statistical Machine Learningmahutte
 
Statistical learning
Statistical learningStatistical learning
Statistical learningSlideshare
 
Amit ppt
Amit pptAmit ppt
Amit pptamitp26
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logicgiki67
 
Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logicankush_kumar
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learningbutest
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.butest
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligencevallibhargavi
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine LearningLior Rokach
 
Ch 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedCh 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedbutest
 
Artificial intelligence cs607 handouts lecture 11 - 45
Artificial intelligence   cs607 handouts lecture 11 - 45Artificial intelligence   cs607 handouts lecture 11 - 45
Artificial intelligence cs607 handouts lecture 11 - 45Sattar kayani
 

Viewers also liked (20)

Learning
LearningLearning
Learning
 
Statistical learning
Statistical learningStatistical learning
Statistical learning
 
Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AI
 
Statistical learning intro
Statistical learning introStatistical learning intro
Statistical learning intro
 
AI: Learning in AI
AI: Learning in AI AI: Learning in AI
AI: Learning in AI
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Lecture3 - Machine Learning
Lecture3 - Machine LearningLecture3 - Machine Learning
Lecture3 - Machine Learning
 
Introduction to Statistical Machine Learning
Introduction to Statistical Machine LearningIntroduction to Statistical Machine Learning
Introduction to Statistical Machine Learning
 
Statistical learning
Statistical learningStatistical learning
Statistical learning
 
Amit ppt
Amit pptAmit ppt
Amit ppt
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logic
 
AI: Planning and AI
AI: Planning and AIAI: Planning and AI
AI: Planning and AI
 
Propositional And First-Order Logic
Propositional And First-Order LogicPropositional And First-Order Logic
Propositional And First-Order Logic
 
An introduction to Machine Learning
An introduction to Machine LearningAn introduction to Machine Learning
An introduction to Machine Learning
 
Machine Learning presentation.
Machine Learning presentation.Machine Learning presentation.
Machine Learning presentation.
 
artificial intelligence
artificial intelligenceartificial intelligence
artificial intelligence
 
Introduction to Machine Learning
Introduction to Machine LearningIntroduction to Machine Learning
Introduction to Machine Learning
 
Ch 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-basedCh 9-1.Machine Learning: Symbol-based
Ch 9-1.Machine Learning: Symbol-based
 
Artificial intelligence cs607 handouts lecture 11 - 45
Artificial intelligence   cs607 handouts lecture 11 - 45Artificial intelligence   cs607 handouts lecture 11 - 45
Artificial intelligence cs607 handouts lecture 11 - 45
 
Cs6659 ai
Cs6659   aiCs6659   ai
Cs6659 ai
 

Recently uploaded

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Recently uploaded (20)

Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 

Chap19

  • 1. Chapter 19 Knowledge in Learning Scott Christley Alfredo Arvide CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 2. Prior Knowledge • Incorporate our existing knowledge • Decision trees/lists are attributed-based – Much like propositional logic – Ontological commitment of just facts • Have agent learn FOL sentences – Ontological commitment of objects/relations – Tradeoff: expressiveness vs. complexity CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 3. Hypothesis Space • Consistency of hypotheses with examples • False negative, hypothesis says negative but actually is positive, need to generalize • False positive, hypothesis says positive but actually is negative, need to specialize CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 4. Inductive Learning • Given the set of all hypotheses, eliminate each one that is inconsistent with examples. – The set of all hypotheses is infinite! – Shrink it yet still be realizable • Current-best-hypothesis search – Maintain a single hypothesis – Generalize it for false negatives – Specialize it for false positives CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 5. • Not necessarily lead to the simplest hypothesis • Expensive to calculate • Frequent backtracking CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 6. Least-commitment search • Incremental approach such that consistency is guaranteed without backtracking • Partial ordering on the hypothesis space – Generalization/specialization – G-set, most general boundary – S-set, most specific boundary CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 7. Least-commitment search CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 8. • False positive for Si of S-set, Si too general so remove • False negative for Si of S-set, Si too specific so replace with immediate generalizations • False positive for Gi of G-set, Gi too general so replace with immediate specializations • False negative for Gi of G-set, Gi too specific so remove CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 9. Least-commitment search • Continue until… – All examples examined, one hypothesis left – Version space collapses, no consistent hypothesis – Run out of examples, multiple hypotheses • Drawbacks – Noise, version space will collapse – How to specify S-set and G-set, if unlimited then S-set is disjunction of examples and G-set is negations – S-set and G-set can grow exponentially CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 10. Prior Knowledge • Entailment constraint – Hypothesis Ÿ Descriptions ˜= Classifications CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 11. General Schemes • Explanation-based learning (EBL) – Hypothesis Ÿ Descriptions ˜= Classifications – Background ˜= Hypothesis • Relevance-based learning – Hypothesis Ÿ Descriptions ˜= Classifications – Background Ÿ Classifications Ÿ Descriptions ˜= Hypothesis • KBIL and Inductive logic programming – Background Ÿ Hypothesis Ÿ Descriptions ˜= Classifications CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 12. Explanation-based Learning • Extract general rules from examples • Basic idea – Given an example, construct a proof for the goal predicate that applies using the background knowledge. – In parallel, construct a generalized proof with variabilized goal. – Construct a new rule, LHS with the leaves of the proof tree and RHS with the variabilized goal. – Drop any conditions that are always true regardless of value of variables in the goal. CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 13. EBL Example • KB has the following rules – Rewrite(u,v) Ÿ Simplify(v,w) fi Simplify(u,w) – Primitive(u) fi Simplify(u,u) – ArithmeticUnknown(u) fi Primitive(u) – Number(u) fi Primitive(u) – Rewrite(1 * u, u) – Rewrite(0 + u, u) • We want to simplify: 1 * (0 + X) CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 14. EBL Example CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 15. Explanation-based Learning • Any partial subtree can be use for the extracted general rule, how to choose? • Efficiency, Operationality, Generality – Too many rules slows down reasoning – Rules should provide speed increase by eliminating dead-ends and shortening the proof – As general as possible to cover the most cases • Tradeoffs, how to maximize the efficiency of the knowledge base? CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 16. Inductive Logic Programming • Combine inductive methods with FOL • Rigorous approach • Offers complete algorithm • Hypotheses are relatively easy to read • Because FOL, we are learning relationships(predicates) not just attributes of objects. • ILP can generate new predicates, constructive induction algorithm CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 17. ILP Example • Know Father, Mother, Married, Male, Female, Parent • Might want to learn Grandparent or Ancestor – Grandparent(Mum, Charles) – ¬Grandparent(Mum, Harry) CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 18. Top-down Inductive Learning • Generalization of decision-tree methods – Start with general rule and gradually specialize • 12 positive examples, 388 negative • Start with the goal predicate – fi Grandfather(x,y) • Add literals to specialize – Father(x,y) fi Grandfather(x,y) * false negatives – Parent(x,z) fi Grandfather(x,y) * double false positives – Father(x,z) fi Grandfather(x,y) * take this one • Continue adding literals – Father(x,z) Ÿ Parent(z,y) fi Grandfather(x,y) • How and what type of literals to add? CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 19. ILP with Inverse Resolution • “run the proof backward” • Instead of C1 and C2 resolve to C • Take C and produce C1 and C2 such that they resolve together. • Alternatively take C and C1 and produce C2 CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 20. Inverse Resolution Example • Start with empty clause and negation of example • Parent(x,z) Ÿ Parent(z,y) fi Grandparent(x,y) CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 21. Inductive Logic Programming • An infinite number of clauses C1 and C2 can resolve together. • Various approaches to restrict the search – Generate most specific, require consistency – Restrict proof strategy, e.g. linear resolution – Restrict language, e.g. Horn clauses – Inference with model checking – Translate to/from propositional clauses • Invent new predicates! • Completeness CSE 571 Scott Christley, Chapter 19, Knowledge in Learning
  • 22. Thanks! CSE 571 Scott Christley, Chapter 19, Knowledge in Learning