Analogies and Case-Based Reasoning

Slides:



Advertisements
Similar presentations
Prediction Modeling for Personalization & Recommender Systems Bamshad Mobasher DePaul University Bamshad Mobasher DePaul University.
Advertisements

Machine Learning Instance Based Learning & Case Based Reasoning Exercise Solutions.
CHAPTER 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
The Logic of Intelligence Pei Wang Department of Computer and Information Sciences Temple University.
Jeff Howbert Introduction to Machine Learning Winter Collaborative Filtering Nearest Neighbor Approach.
Oct 14, 2014 Lirong Xia Recommender systems acknowledgment: Li Zhang, UCSC.
Lazy vs. Eager Learning Lazy vs. eager learning
Cognitive Psychology Chapter 7. Cognitive Psychology: Overview  Cognitive psychology is the study of perception, learning, memory, and thought  The.
AVATAR An Improved Solution for Personalized TV based on Semantic Inference Yolanda Blanco Fern á ndez, Jos é J. Pazos Arias, Mart í n L ó pez Nores, Alberto.
Database Management Systems, R. Ramakrishnan1 Computing Relevance, Similarity: The Vector Space Model Chapter 27, Part B Based on Larson and Hearst’s slides.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Introduction to AI & AI Principles (Semester 1) WEEK 8 (07/08) [Barnden’s slides only] John Barnden Professor of Artificial Intelligence School of Computer.
Case Based Reasoning Melanie Hanson Engr 315. What is Case-Based Reasoning? Storing information from previous experiences Using previously gained knowledge.
Case-based Reasoning System (CBR)
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
Classical Techniques: Statistics, Neighborhoods, and Clustering.
Instance Based Learning Bob Durrant School of Computer Science University of Birmingham (Slides: Dr Ata Kabán) 1.
Recommender Systems; Social Information Filtering.
12 -1 Lecture 12 User Modeling Topics –Basics –Example User Model –Construction of User Models –Updating of User Models –Applications.
Analogies Whereas similes and metaphors compare things that are essentially different except for one similarity, analogical arguments compare things that.
Chapter 12 (Section 12.4) : Recommender Systems Second edition of the book, coming soon.
Copyright R. Weber INFO 629 Concepts in Artificial Intelligence Fall 2004 Professor: Dr. Rosina Weber.
Chapter 4: Lecture Notes
Distributed Networks & Systems Lab. Introduction Collaborative filtering Characteristics and challenges Memory-based CF Model-based CF Hybrid CF Recent.
1 Information Filtering & Recommender Systems (Lecture for CS410 Text Info Systems) ChengXiang Zhai Department of Computer Science University of Illinois,
Big Idea 1: The Practice of Science Description A: Scientific inquiry is a multifaceted activity; the processes of science include the formulation of scientifically.
T 7.0 Chapter 7: Questioning for Inquiry Chapter 7: Questioning for Inquiry Central concepts:  Questioning stimulates and guides inquiry  Teachers use.
EMIS 8381 – Spring Netflix and Your Next Movie Night Nonlinear Programming Ron Andrews EMIS 8381.
A Framework of Mathematics Inductive Reasoning Reporter: Lee Chun-Yi Advisor: Chen Ming-Puu Christou, C., & Papageorgiou, E. (2007). A framework of mathematics.
C ASE -B ASED P LANNER P LATFORM FOR RTS G AMES An Introduction Abdelrahman Al-Ogail Ahmed Atta.
Cognitive Psychology: Thinking, Intelligence, and Language
IMPROVING E-COMMERCE COLLABORATIVE RECOMMENDATIONS BY SEMANTIC INFERENCE OF NEIGHBORS’ PRACTICAL EXPERTISE 6 th International Workshop on Semantic Media.
1 Computing Relevance, Similarity: The Vector Space Model.
© 2008 The McGraw-Hill Companies, Inc. Chapter 8: Cognition and Language.
Logic. What is logic? Logic (from the Ancient Greek: λογική, logike) is the use and study of valid reasoning. The study of logic features most prominently.
Chapter 8 Nearest Neighbor Approaches: Memory-Based Reasoning and Collaborative Filtering.
I Robot.
Machine Learning Chapter 5. Artificial IntelligenceChapter 52 Learning 1. Rote learning rote( โรท ) n. วิถีทาง, ทางเดิน, วิธีการตามปกติ, (by rote จากความทรงจำ.
1 Lesson 4 Attitudes. 2 Lesson Outline   Last class, the self and its presentation  What are attitudes?  Where do attitudes come from  How are they.
Knowledge Learning by Using Case Based Reasoning (CBR)
Generic Tasks by Ihab M. Amer Graduate Student Computer Science Dept. AUC, Cairo, Egypt.
Improving Recommendation Lists Through Topic Diversification CaiNicolas Ziegler, Sean M. McNee,Joseph A. Konstan, Georg Lausen WWW '05 報告人 : 謝順宏 1.
Recommender Systems Debapriyo Majumdar Information Retrieval – Spring 2015 Indian Statistical Institute Kolkata Credits to Bing Liu (UIC) and Angshul Majumdar.
1 Knowledge Acquisition and Learning by Experience – The Role of Case-Specific Knowledge Knowledge modeling and acquisition Learning by experience Framework.
Recommender Systems. Recommender Systems (RSs) n RSs are software tools providing suggestions for items to be of use to users, such as what items to buy,
What is Science? Chapter 1, Lesson 1. Using one or more of your senses and tools to gather information. observing.
International Conference on Fuzzy Systems and Knowledge Discovery, p.p ,July 2011.
An Eyetracking Analysis of the Effect of Prior Comparison on Analogical Mapping Catherine A. Clement, Eastern Kentucky University Carrie Harris, Tara Weatherholt,
Analogical Reasoning. What to do... How do you decide what to buy? –Use your past experience. How do you figure out which experience is relevant?
Case-Based Reasoning.
Reflective Thinking. Reflective thinking Critical thinking and reflective thinking are often used synonymously. However, where critical thinking is used.
Organizing Your Legal Analysis
Online Evolutionary Collaborative Filtering RECSYS 2010 Intelligent Database Systems Lab. School of Computer Science & Engineering Seoul National University.
User Modeling and Recommender Systems: recommendation algorithms
CYUT ISKM 2004/01/13 1 Fuzzy logic methods in recommender systems Author: Ronald R. Yager Source:Fuzzy set and systems, Vol. 134, 2003, pp Presented.
CS Machine Learning Instance Based Learning (Adapted from various sources)
PHILOSOPHY OF LANGUAGE Some topics and historical issues of the 20 th century.
Presented By: Madiha Saleem Sunniya Rizvi.  Collaborative filtering is a technique used by recommender systems to combine different users' opinions and.
Collaborative Filtering - Pooja Hegde. The Problem : OVERLOAD Too much stuff!!!! Too many books! Too many journals! Too many movies! Too much content!
ItemBased Collaborative Filtering Recommendation Algorithms 1.
Network Management Lecture 13. MACHINE LEARNING TECHNIQUES 2 Dr. Atiq Ahmed Université de Balouchistan.
Knowledge Representation. A knowledge base can be organised in several different configurations to facilitate fast inferencing Knowledge Representation.
CF Recommenders.
Using Cognitive Science To Inform Instructional Design
Chapter 11: Artificial Intelligence
3.3. Case-Based Reasoning (CBR)
Types of Warrant ANALOGY.
Adopted from Bin UIC Recommender Systems Adopted from Bin UIC.
Case-Based Reasoning.
Habib Ullah qamar Mscs(se)
Presentation transcript:

Analogies and Case-Based Reasoning

Analogy Analogy is either the cognitive process of transferring information from a particular subject (the analogue or source) to another particular subject (the target), or a linguistic expression corresponding to such a process. In a narrower sense, analogy is an inference or an argument from a particular to another particular, as opposed to deduction, induction, and abduction, where at least one of the premises or the conclusion is general. -- Wikipedia An analogy is a relationship between two or more entities which are similar in one or more respects. An analogy is present whenever [one or more of] the following descriptions are present: resemblance, similarity, correspondence, likeness, comparison, counterpart, resemblance of relations, and mapping. -- philosophy.lander.edu

Analogy Analogy plays a significant role in many cognitive tasks, including Problem solving & decision making Perception Memory Creativity Emotion Analogy is particularly important in ordinary language and common sense E.g., the use of proverbs, idioms, metaphors It lies behind basic tasks such as the identification of places, objects and people E.g., face perception and facial recognition systems. Hofstadter: Analogy is "the core of cognition" [Gentner et al. 2001 ]

Non-Argumentative Use of Analogy Literary uses Metaphor: a word or phrase literally denoting one kind of object or idea is used in place of another to suggest a likeness or analogy between them E.g., the ship plows the sea. E.g., his fist was a knotty hammer Similié: a figure of speech comparing two unlike things often introduced by the words, "like" or "as." E.g., cheeks like roses E.g., "And ice mast high came floating by as green as emerald" Use in explanation The atom is (like) a miniature solar system A tree is (like) a factory

Analogical Inference An analogical inference is drawn from a resemblance of relations. J. S. Mill's example of a country which has sent out colonies is termed "the mother country." The colonies stand in the same relation to her as parents do to their children Reasoning by analogy, then, obedience or affection is due by the colonies to the mother country. parents → children mother country → colonies

Analogical Inference The general form of an analogical argument is as follows a, b, c, d stand for entities P, Q, R stand for properties Note that this essentially reduces analogy to a form of induction. a, b, c, d all have the properties P and Q. a, b, c all have the further property R _________________________________ therefore, d probably has the property R

Structured Mapping (Gentner) Analogy depends on the mapping or alignment of the elements of source and target The mapping takes place not only between objects, but also between relations of objects and between relations of relations The whole mapping yields the assignment of a predicate or a relation to the target When used in a computational framework, analogy would require the computation of similarities between the source and the target

High-Level Perception Douglas Hofstadter challenged the shared structure theory and mostly its applications in computer science Argued that there is no line between perception, including high-level perception, and analogical thought. Analogy occurs not only after, but also before and at the same time as high-level perception In high-level perception, humans make representations selecting relevant information from low-level stimuli. Perception is necessary for analogy, but analogy is also necessary for high-level perception. Chalmers (a student of Hofstadter) concluded that analogy is high-level perception. Other claims Analogy is only a metaphor (Forbus, 1998). Hofstadter and Gentner do not defend opposite views, but are instead dealing with different aspects of analogy (Morrison and Dietrich 1995)

Case-Based Reasoning The computational view of analogy has led to an approach called Case-based reasoning (CBR) with many applications in Computer Science and Artificial Intelligence CBR is the process of solving new problems based on the solutions of similar past problems E.g., an auto mechanic who fixes an engine by recalling another car that exhibited similar symptoms E.g., a judge who makes a ruling in a trial based on legal precedents An example of computations CBR: Collaborative Filtering Recommender Systems.

Case-Based Reasoning To solve a current problem The problem is matched against the cases in the case base Similar cases are retrieved The retrieved cases are used to suggest a solution which is tested for success If necessary, the solution is then revised Finally the current problem and the final solution are retained as part of a new case.

Case-Based Reasoning All case-based reasoning methods have in common the following process: retrieve the most similar case (or cases) comparing the case to the library of past cases; reuse the retrieved case to try to solve the current problem; revise and adapt the proposed solution if necessary; retain the final solution as part of a new case. Retrieving a case starts with a (possibly partial) problem description and ends when a best matching case has been found. The subtasks involve: identifying a set of relevant problem descriptors; matching the case and returning a set of sufficiently similar cases (given a similarity threshold of some kind); and selecting the best case from the set of cases returned.

Collaborative Filtering Applies the basic CBR process to user profile data to predict a new user’s preferences Predictions are computed based the other users’ with similar interests scores on items in the new user’s profile i.e. users with similar tastes (aka “nearest neighbors”) requires computing correlations between user u and other users according to interest scores or ratings

Basic Collaborative Filtering Process Current User Record <user, item1, item2, …> Neighborhood Formation Nearest Neighbors Recommendation Engine Combination Function Historical User Records user item rating Recommendations Neighborhood Formation Phase Recommendation Phase Both of the Neighborhood formation and the recommendation phases are real-time components

Collaborative Filtering: Measuring Similarities Pearson Correlation weight by degree of correlation between user U and user J 1 means very similar, 0 means no correlation, -1 means dissimilar Works well in case of user ratings (where there is at least a range of 1-5) Not always possible (in some situations we may only have implicit binary values, e.g., whether a user did or did not select an item) Average rating of user J on all items.

Example Collaborative System Item1 Item 2 Item 3 Item 4 Item 5 Item 6 Correlation with Alice Alice 5 2 3 ? User 1 4 1 -1.00 User 2 0.33 User 3 .90 User 4 0.19 User 5 User 6 0.65 User 7 Prediction  Best match Using k-nearest neighbor with k = 1

Item-based Collaborative Filtering Find similarities among the items based on ratings across users Prediction of item i for user a is based on the past ratings of user a on items similar to i. Suppose: Predicted rating for Karen on Indep. Day will be 7, because she rated Star Wars 7 (using only the most similar item) sim(Star Wars, Indep. Day) > sim(Jur. Park, Indep. Day) > sim(Termin., Indep. Day)

Item-Based Collaborative Filtering Prediction  Item1 Item 2 Item 3 Item 4 Item 5 Item 6 Alice 5 2 3 ? User 1 4 1 User 2 User 3 User 4 User 5 User 6 User 7 Item similarity 0.76 0.79 0.60 0.71 0.75 Best match

Problem with Collaborative Filtering Can be attacked using profile injection attacks consist of a number of "attack profiles" added to the system by providing ratings for various items engineered to bias the system's recommendations Two basic types: “Push attack” (“Shilling”): designed to promote an item “Nuke attack”: designed to demote a item

A Successful Push Attack Item1 Item 2 Item 3 Item 4 Item 5 Item 6 Correlation with Alice Alice 5 2 3 ? User 1 4 1 -1.00 User 2 0.33 User 3 .90 User 4 0.19 User 5 User 6 0.65 User 7 Attack 1 Attack 2 0.76 Attack 3 0.93 Prediction  Best Match “user-based” algorithm using k-nearest neighbor with k = 1

Movielens Recommender System http://movielens.umn.edu