Lecture 5: Reuse, Adaptation and Retention

Slides:



Advertisements
Similar presentations
Lecture 3: CBR Case-Base Indexing
Advertisements

Case Based Reasoning Lecture 7: CBR Competence of Case-Bases.
Lecture 2: CBR Case Retrieval
Chapter 2: Software Process
Machine Learning Instance Based Learning & Case Based Reasoning Exercise Solutions.
Algorithms + L. Grewe.
Inferences The Reasoning Power of Expert Systems.
Lazy vs. Eager Learning Lazy vs. eager learning
Case Based Reasoning PKB - Antonie. Faced this situation before? Oops the car stopped. –What could have gone wrong? Aah.. Last time it happened, there.
Artificial Intelligence MEI 2008/2009 Bruno Paulette.
Case-Based Reasoning, 1993, Ch11 Kolodner Adaptation method and Strategies Teacher : Dr. C.S. Ho Student : L.W. Pan No. : M Date : 1/7/2000.
1 CS 430 / INFO 430 Information Retrieval Lecture 8 Query Refinement: Relevance Feedback Information Filtering.
CHEF (Hammond, 1987) CHEF is a case-based planner, which can output new recipes given particular ingredients and tastes. Recipes are viewed as plans. They.
Lazy Associative Classification By Adriano Veloso,Wagner Meira Jr., Mohammad J. Zaki Presented by: Fariba Mahdavifard Department of Computing Science University.
Knowledge-based Systems
Case Based Reasoning Melanie Hanson Engr 315. What is Case-Based Reasoning? Storing information from previous experiences Using previously gained knowledge.
Decision Trees Chapter 18 From Data to Knowledge.
Case-based Reasoning System (CBR)
Case-Based Reasoning Ramon López de Mántaras Badia IIIA - CSIC
Instance Based Learning Bob Durrant School of Computer Science University of Birmingham (Slides: Dr Ata Kabán) 1.
Extracting Test Cases by Using Data Mining; Reducing the Cost of Testing Andrea Ciocca COMP 587.
Introduction to Machine Learning Approach Lecture 5.
CBR in Medicine Jen Bayzick CSE435 – Intelligent Decision Support Systems.
Copyright R. Weber Machine Learning, Data Mining ISYS370 Dr. R. Weber.
CBR for Design Upmanyu Misra CSE 495. Design Research Develop tools to aid human designers Automate design tasks Better understanding of design Increase.
Case Adaptation Sources: –Chapter 8 – –
General Purpose Case-Based Planning. General Purpose vs Domain Specific (Case-Based) Planning General purpose: symbolic descriptions of the problems and.
Case-based Reasoning A type of analogical reasoning
Retrieval Models for Question and Answer Archives Xiaobing Xue, Jiwoon Jeon, W. Bruce Croft Computer Science Department University of Massachusetts, Google,
Intelligent Decision Support Systems: A Summary. Case-Based Reasoning Example: Slide Creation Repository of Presentations: -5/9/00: ONR review -8/20/00:
Data Mining Practical Machine Learning Tools and Techniques Chapter 4: Algorithms: The Basic Methods Section 4.6: Linear Models Rodney Nielsen Many of.
1 Compiler Construction (CS-636) Muhammad Bilal Bashir UIIT, Rawalpindi.
Case study of Several Case Based Reasoners Sandesh.
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 29 and 30– Decision Tree Learning; ID3;Entropy.
1 Instance Based Learning Ata Kaban The University of Birmingham.
March 1999Dip HI KBS1 Knowledge-based Systems Alternatives to Rules.
1 CSC 9010 Spring Paula Matuszek CSC 9010 ANN Lab Paula Matuszek Spring, 2011.
CS 682, AI:Case-Based Reasoning, Prof. Cindy Marling1 Chapter 11: Adaptation Methods and Strategies Adaptation is the process of modifying a close, but.
Knowledge Learning by Using Case Based Reasoning (CBR)
Database Processing: Fundamentals, Design, and Implementation, 9/e by David M. KroenkeChapter 8/1 Copyright © 2004 Please……. No Food Or Drink in the class.
Data Mining Practical Machine Learning Tools and Techniques Chapter 4: Algorithms: The Basic Methods Sections 4.1 Inferring Rudimentary Rules Rodney Nielsen.
Strategies for Distributed CBR Santi Ontañón IIIA-CSIC.
1 Knowledge Acquisition and Learning by Experience – The Role of Case-Specific Knowledge Knowledge modeling and acquisition Learning by experience Framework.
AI in Knowledge Management Professor Robin Burke CSC 594.
Case-Based Reasoning in E-Commerce Joe Souto CSE 435.
7 Strategies for Extracting, Transforming, and Loading.
20. september 2006TDT55 - Case-based reasoning1 Retrieval, reuse, revision, and retention in case-based reasoning.
Machine Learning in Practice Lecture 5 Carolyn Penstein Rosé Language Technologies Institute/ Human-Computer Interaction Institute.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
A Guide to SQL, Eighth Edition Chapter Six Updating Data.
CS Machine Learning Instance Based Learning (Adapted from various sources)
Machine Learning in Practice Lecture 2 Carolyn Penstein Rosé Language Technologies Institute/ Human-Computer Interaction Institute.
1 CS 430 / INFO 430 Information Retrieval Lecture 12 Query Refinement and Relevance Feedback.
Instance-Based Learning Evgueni Smirnov. Overview Instance-Based Learning Comparison of Eager and Instance-Based Learning Instance Distances for Instance-Based.
Developing a diagnostic system through integration of fuzzy case-based reasoning and fuzzy ant colony system Expert Systems with Applications 28(2005)
HTBN Batches These slides are intended as a starting point for further discussion of how eTime might be extended to allow easier processing of HTBN data.
Tutoring & Help Systems Deepthi Bollu for CSE495 10/31/2003.
Machine Learning: Ensemble Methods
System.
3.3. Case-Based Reasoning (CBR)
K Nearest Neighbors and Instance-based methods
Case-Based Reasoning.
Case-Based Reasoning System for Bearing Design
Taxonomy of Problem Solving and Case-Based Reasoning (CBR)
CHAPTER 4 PROPOSAL.
CHAPTER 4 PROPOSAL.
MGS 4020 Business Intelligence Ch 1 – Introduction to DSS Jun 7, 2018
Case-Based Reasoning BY: Jessica Jones CSCI 446.
Authors: Barry Smyth, Mark T. Keane, Padraig Cunningham
Data Mining CSCI 307, Spring 2019 Lecture 6
Presentation transcript:

Lecture 5: Reuse, Adaptation and Retention Case Based Reasoning Lecture 5: Reuse, Adaptation and Retention

Outline Re-use Adaptation Retention How to re-use retrieved solutions Why might we want to revise the solution? Types of adaptation Retention Why might we wish to retain cases?

Re-Using Retrieved Solutions Single retrieved solution Re-use this solution Multiple retrieved solutions Vote/average of retrieved solutions Weighted according to Ranking Similarity Iterative retrieval Solve components of the solution one at a time

Multiple Retrievals Whole solution generated in single retrieval Single components generated in each retrieval Parallel Incremental ? Subproblem ? Subproblem ? Problem ? Subproblem Suggested Part Solution Suggested Part Solution Suggested Solution Suggested Solution

When is Adaptation Needed? Classification All solutions likely to be represented in case-base Adaptation corrects for lack of cases Constructive problem solving All “designs” unlikely to be represented in case-base Retrieved cases suggest initial “design” Adaptation alters the “design” to reflect novel feature values Redesign of Gas-taps (Copreci, Spain)

Assumptions for Adaptation Similar problems have similar solutions The effort required to adapt a retrieved solution will be less the more similar it is to the required solution

How to Adapt the Solution Adaptation alters proposed solution takes account of differences between new and retrieved problems Null adaptation - copy retrieved solution Used by CBR-Lite systems Manual or interactive adaptation User adapts the retrieved solution (Adapting is easier than solving?) Automated adaptation CBR system is able to adapt the retrieved solution Adaptation knowledge required

Automated Adaptation Methods Substitution change some part(s) of the retrieved solution simplest and most common form of adaptation Transformation alters the structure of the solution Generative replays the method of deriving the retrieved solution on the new problem method of solution is part of retrieved case most complex form of adaptation

Examples of Adaptation CHEF CBR system to plan Szechuan recipes Hammond (1990) Substitution adaptation substitute ingredients in the retrieved recipe to match the menu Retrieved recipe contains beef and broccoli New menu requires chicken and snowpeas Replace chicken for beef, snowpeas for broccoli Transformation adaptation Add, change or remove steps in the recipe Skinning step added for chicken, not done for beef

Examples of Adaptation Car diagnosis example Symptoms, faults and repairs for brake lights are analogous to those for headlight Substitution: brake light fuse Planning example Train journeys and flights are analogous Transformation: flights need check-in step added

Adaptation in CBR-Works Provides adaptation rules IF a THEN b classic production rules Example Add £1000 to the price of a new car for a different colour

Recalculate price for new colour ? Query::Colour isRegular ? Retrieved::Colour isRegular ? Query::Colour<>Retrieved::Colour ? ?OldPrice := Retrieved::Price ? ?OldPrice be_of_type Integer ? ?NewPrice := ?OldPrice + 1000 ? ?NewPrice be_of_type Integer ! Result::Price := ?NewPrice ! Result::Colour := Query::Colour Conditions Actions

Adaptation in CBR-Works: Example Retrieval without adaptation

Adaptation in CBR-Works: Example Retrieval + adaptation Predicting value of the price attribute

Adaptation in CBR-Works: Example Adaptation rule to predict the value of Price

Other Rules in CBR-Works CBR-Works also uses completion rules to calculate a dependent attribute value set default value alter the feature weights in certain circumstances Used to complete a query fill-in missing data during case creation alter similarity calculations for retrieval

Adaptation in ReCall By default, ReCall uses the vote mechanism of k-NN to predict a value for the target attribute. E.g., the predicted value of the query (shown here in black) will be grey according to a 3-NN algorithm which retrieves 3 similar cases (2 in grey and 1 in beige)

Adaptation in ReCall Alternatively, ReCall allows you to write adaptation rules to predict a value for your query based on a single (most similar) case. You can use ReCall’s own language, or use the more powerful and widely used language Tcl. To find out more: refer to ReCall’s Lab notes.

Two Schools of Thought in CBR Adaptation is the most contentious issue in CBR One group believes adaptation is not important The problem cannot be solved using CBR A CBR system without adaptation capabilities is called CBR Retrieval System Others believe it is vital Without adaptation and generation of new solutions there is no reasoning in CBR A CBR system with adaptation capabilities is called fully-fledged CBR system

Retention What can be learned Forgetting cases New experience to be retained as new case Representing the new case Contents of new case Indexing of new case Forgetting cases For efficiency or because out of date Deleting an old case Old is not necessarily bad Does it leave a gap?

Example Do we need to retain the new case? outlook Yes sunny cloudy rainy humidity No high normal windy true false Outlook=Cloudy Temp.=Cool Humidity=High Windy=False Play= Yes Outlook=Cloudy Temp.=Mild Humidity=High Windy=False Play= No Do we need to retain the new case? Do we need to rebuild the decision tree index?

Summary Reuse Revise Retain Initial solution from retrieved cases Adapt initial solution to reflect differences between new and retrieved problems CBR-Works adaptation rules Retain When to retain and whether to replace Representation and indexing

Reading Research Papers S. Craw, J. Jarmulak & R. Rowe. Learning and Applying Case-Based Adaptation Knowledge. Proceedings 4th ICCBR Conference, p131-145, 2001. www.comp.rgu.ac.uk/staff/smc/papers/iccbr01smc.pdf B. Smyth & M. T. Keane. Adaptation-Guided Retrieval: Questioning the similarity assumption. Artificial Intelligence 102:249-293, 1998. www.cs.ucd.ie/staff/mkeane/SmythKeane98.pdf