10-603/15-826A: Multimedia Databases and Data Mining Text - part II C. Faloutsos.

Slides:



Advertisements
Similar presentations
CMU SCS : Multimedia Databases and Data Mining Lecture #17: Text - part IV (LSI) C. Faloutsos.
Advertisements

CMU SCS : Multimedia Databases and Data Mining Lecture #19: SVD - part II (case studies) C. Faloutsos.
Chapter 5: Introduction to Information Retrieval
Effective Keyword Based Selection of Relational Databases Bei Yu, Guoliang Li, Karen Sollins, Anthony K.H Tung.
Temple University – CIS Dept. CIS616– Principles of Data Management V. Megalooikonomou Text Databases (some slides are based on notes by C. Faloutsos)
15-826: Multimedia Databases and Data Mining
CMU SCS : Multimedia Databases and Data Mining Lecture #16: Text - part III: Vector space model and clustering C. Faloutsos.
What is missing? Reasons that ideal effectiveness hard to achieve: 1. Users’ inability to describe queries precisely. 2. Document representation loses.
DIMENSIONALITY REDUCTION BY RANDOM PROJECTION AND LATENT SEMANTIC INDEXING Jessica Lin and Dimitrios Gunopulos Ângelo Cardoso IST/UTL December
10-603/15-826A: Multimedia Databases and Data Mining SVD - part II (more case studies) C. Faloutsos.
Search and Retrieval: More on Term Weighting and Document Ranking Prof. Marti Hearst SIMS 202, Lecture 22.
Query Operations: Automatic Local Analysis. Introduction Difficulty of formulating user queries –Insufficient knowledge of the collection –Insufficient.
Text Databases. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Data Mining Multimedia Databases Text databases Image and video.
Database Management Systems, R. Ramakrishnan1 Computing Relevance, Similarity: The Vector Space Model Chapter 27, Part B Based on Larson and Hearst’s slides.
Clustering… in General In vector space, clusters are vectors found within  of a cluster vector, with different techniques for determining the cluster.
Multimedia and Text Indexing. Multimedia Data Management The need to query and analyze vast amounts of multimedia data (i.e., images, sound tracks, video.
Chapter 5: Query Operations Baeza-Yates, 1999 Modern Information Retrieval.
Ch 4: Information Retrieval and Text Mining
Modern Information Retrieval Chapter 2 Modeling. Can keywords be used to represent a document or a query? keywords as query and matching as query processing.
Modeling Modern Information Retrieval
Hinrich Schütze and Christina Lioma
IR Models: Latent Semantic Analysis. IR Model Taxonomy Non-Overlapping Lists Proximal Nodes Structured Models U s e r T a s k Set Theoretic Fuzzy Extended.
Text and Web Search. Text Databases and IR Text databases (document databases) Large collections of documents from various sources: news articles, research.
1 CS 430 / INFO 430 Information Retrieval Lecture 3 Vector Methods 1.
Slide 1 EE3J2 Data Mining EE3J2 Data Mining - revision Martin Russell.
Information retrieval Finding relevant data using irrelevant keys Example: database of photographic images sorted by number, date. DBMS: Well structured.
10-603/15-826A: Multimedia Databases and Data Mining SVD - part I (definitions) C. Faloutsos.
Ranking by Odds Ratio A Probability Model Approach let be a Boolean random variable: document d is relevant to query q otherwise Consider document d as.
Modern Information Retrieval Chapter 2 Modeling. Can keywords be used to represent a document or a query? keywords as query and matching as query processing.
Multimedia Databases Text II. Outline Spatial Databases Temporal Databases Spatio-temporal Databases Multimedia Databases Text databases Image and video.
Multimedia Databases LSI and SVD. Text - Detailed outline text problem full text scanning inversion signature files clustering information filtering and.
E.G.M. PetrakisDimensionality Reduction1  Given N vectors in n dims, find the k most important axes to project them  k is user defined (k < n)  Applications:
CMU SCS : Multimedia Databases and Data Mining Lecture #30: Conclusions C. Faloutsos.
Chapter 5: Information Retrieval and Web Search
Clustering Unsupervised learning Generating “classes”
1 Vector Space Model Rong Jin. 2 Basic Issues in A Retrieval Model How to represent text objects What similarity function should be used? How to refine.
Modern Information Retrieval: A Brief Overview By Amit Singhal Ranjan Dash.
Query Operations J. H. Wang Mar. 26, The Retrieval Process User Interface Text Operations Query Operations Indexing Searching Ranking Index Text.
Feature selection LING 572 Fei Xia Week 4: 1/29/08 1.
Xiaoying Gao Computer Science Victoria University of Wellington Intelligent Agents COMP 423.
Latent Semantic Analysis Hongning Wang Recap: vector space model Represent both doc and query by concept vectors – Each concept defines one dimension.
IR Models J. H. Wang Mar. 11, The Retrieval Process User Interface Text Operations Query Operations Indexing Searching Ranking Index Text quer y.
CpSc 881: Information Retrieval. 2 Recall: Term-document matrix This matrix is the basis for computing the similarity between documents and queries. Today:
Clustering Supervised vs. Unsupervised Learning Examples of clustering in Web IR Characteristics of clustering Clustering algorithms Cluster Labeling 1.
Basic Machine Learning: Clustering CS 315 – Web Search and Data Mining 1.
1 Motivation Web query is usually two or three words long. –Prone to ambiguity –Example “keyboard” –Input device of computer –Musical instruments How can.
Video Google: A Text Retrieval Approach to Object Matching in Videos Josef Sivic and Andrew Zisserman.
Chapter 6: Information Retrieval and Web Search
1 Computing Relevance, Similarity: The Vector Space Model.
Introduction to Digital Libraries hussein suleman uct cs honours 2003.
University of Malta CSA3080: Lecture 6 © Chris Staff 1 of 20 CSA3080: Adaptive Hypertext Systems I Dr. Christopher Staff Department.
Collocations and Information Management Applications Gregor Erbach Saarland University Saarbrücken.
Vector Space Models.
Web Search and Text Mining Lecture 5. Outline Review of VSM More on LSI through SVD Term relatedness Probabilistic LSI.
E.G.M. PetrakisText Clustering1 Clustering  “Clustering is the unsupervised classification of patterns (observations, data items or feature vectors) into.
CIS750 – Seminar in Advanced Topics in Computer Science Advanced topics in databases – Multimedia Databases V. Megalooikonomou Text Databases (some slides.
CMU SCS : Multimedia Databases and Data Mining Lecture #18: SVD - part I (definitions) C. Faloutsos.
1 CS 430 / INFO 430 Information Retrieval Lecture 3 Searching Full Text 3.
Natural Language Processing Topics in Information Retrieval August, 2002.
Xiaoying Gao Computer Science Victoria University of Wellington COMP307 NLP 4 Information Retrieval.
1 Text Categorization  Assigning documents to a fixed set of categories  Applications:  Web pages  Recommending pages  Yahoo-like classification hierarchies.
15-826: Multimedia Databases and Data Mining
15-826: Multimedia Databases and Data Mining
15-826: Multimedia Databases and Data Mining
15-826: Multimedia Databases and Data Mining
15-826: Multimedia Databases and Data Mining
Chapter 5: Information Retrieval and Web Search
Large scale multilingual and multimodal integration
15-826: Multimedia Databases and Data Mining
Latent Semantic Analysis
Presentation transcript:

10-603/15-826A: Multimedia Databases and Data Mining Text - part II C. Faloutsos

Multi DB and D.M.Copyright: C. Faloutsos (2001)2 Outline Goal: ‘Find similar / interesting things’ Intro to DB Indexing - similarity search Data Mining

Multi DB and D.M.Copyright: C. Faloutsos (2001)3 Indexing - Detailed outline primary key indexing secondary key / multi-key indexing spatial access methods fractals text multimedia...

Multi DB and D.M.Copyright: C. Faloutsos (2001)4 Text - Detailed outline text –problem –full text scanning –inversion –signature files –clustering –information filtering and LSI

Multi DB and D.M.Copyright: C. Faloutsos (2001)5 Vector Space Model and Clustering keyword queries (vs Boolean) each document: -> vector (HOW?) each query: -> vector search for ‘similar’ vectors

Multi DB and D.M.Copyright: C. Faloutsos (2001)6 Vector Space Model and Clustering main idea: document...data... aaron zoo data V (= vocabulary size) ‘indexing’

Multi DB and D.M.Copyright: C. Faloutsos (2001)7 Vector Space Model and Clustering Then, group nearby vectors together Q1: cluster search? Q2: cluster generation? Two significant contributions ranked output relevance feedback

Multi DB and D.M.Copyright: C. Faloutsos (2001)8 Vector Space Model and Clustering cluster search: visit the (k) closest superclusters; continue recursively CS TRs MD TRs

Multi DB and D.M.Copyright: C. Faloutsos (2001)9 Vector Space Model and Clustering ranked output: easy! CS TRs MD TRs

Multi DB and D.M.Copyright: C. Faloutsos (2001)10 Vector Space Model and Clustering relevance feedback (brilliant idea) [Roccio’73] CS TRs MD TRs

Multi DB and D.M.Copyright: C. Faloutsos (2001)11 Vector Space Model and Clustering relevance feedback (brilliant idea) [Roccio’73] How? CS TRs MD TRs

Multi DB and D.M.Copyright: C. Faloutsos (2001)12 Vector Space Model and Clustering How? A: by adding the ‘good’ vectors and subtracting the ‘bad’ ones CS TRs MD TRs

Multi DB and D.M.Copyright: C. Faloutsos (2001)13 Outline - detailed main idea cluster search cluster generation evaluation

Multi DB and D.M.Copyright: C. Faloutsos (2001)14 Cluster generation Problem: – given N points in V dimensions, –group them

Multi DB and D.M.Copyright: C. Faloutsos (2001)15 Cluster generation Problem: – given N points in V dimensions, –group them

Multi DB and D.M.Copyright: C. Faloutsos (2001)16 Cluster generation We need Q1: document-to-document similarity Q2: document-to-cluster similarity

Multi DB and D.M.Copyright: C. Faloutsos (2001)17 Cluster generation Q1: document-to-document similarity (recall: ‘bag of words’ representation) D1: {‘data’, ‘retrieval’, ‘system’} D2: {‘lung’, ‘pulmonary’, ‘system’} distance/similarity functions?

Multi DB and D.M.Copyright: C. Faloutsos (2001)18 Cluster generation A1: # of words in common A2: normalized by the vocabulary sizes A3:.... etc About the same performance - prevailing one: cosine similarity

Multi DB and D.M.Copyright: C. Faloutsos (2001)19 Cluster generation cosine similarity: similarity(D1, D2) = cos( θ ) = sum(v 1,i * v 2,i ) / len(v 1 )/ len(v 2 ) θ D1 D2

Multi DB and D.M.Copyright: C. Faloutsos (2001)20 Cluster generation cosine similarity - observations: related to the Euclidean distance weights v i,j : according to tf/idf θ D1 D2

Multi DB and D.M.Copyright: C. Faloutsos (2001)21 Cluster generation tf (‘term frequency’) high, if the term appears very often in this document. idf (‘inverse document frequency’) penalizes ‘common’ words, that appear in almost every document

Multi DB and D.M.Copyright: C. Faloutsos (2001)22 Cluster generation We need Q1: document-to-document similarity Q2: document-to-cluster similarity ?

Multi DB and D.M.Copyright: C. Faloutsos (2001)23 Cluster generation A1: min distance (‘single-link’) A2: max distance (‘all-link’) A3: avg distance A4: distance to centroid ?

Multi DB and D.M.Copyright: C. Faloutsos (2001)24 Cluster generation A1: min distance (‘single-link’) –leads to elongated clusters A2: max distance (‘all-link’) –many, small, tight clusters A3: avg distance –in between the above A4: distance to centroid –fast to compute

Multi DB and D.M.Copyright: C. Faloutsos (2001)25 Cluster generation We have document-to-document similarity document-to-cluster similarity Q: How to group documents into ‘natural’ clusters

Multi DB and D.M.Copyright: C. Faloutsos (2001)26 Cluster generation A: *many-many* algorithms - in two groups [VanRijsbergen]: theoretically sound (O(N^2)) –independent of the insertion order iterative (O(N), O(N log(N))

Multi DB and D.M.Copyright: C. Faloutsos (2001)27 Cluster generation - ‘sound’ methods Approach#1: dendrograms - create a hierarchy (bottom up or top-down) - choose a cut-off (how?) and cut cat tigerhorsecow

Multi DB and D.M.Copyright: C. Faloutsos (2001)28 Cluster generation - ‘sound’ methods Approach#2: min. some statistical criterion (eg., sum of squares from cluster centers) –like ‘k-means’ –but how to decide ‘k’?

Multi DB and D.M.Copyright: C. Faloutsos (2001)29 Cluster generation - ‘sound’ methods Approach#3: Graph theoretic [Zahn]: –build MST; –delete edges longer than 2.5* std of the local average

Multi DB and D.M.Copyright: C. Faloutsos (2001)30 Cluster generation - ‘sound’ methods Result: why ‘3’? variations Complexity?

Multi DB and D.M.Copyright: C. Faloutsos (2001)31 Cluster generation - ‘iterative’ methods general outline: Choose ‘seeds’ (how?) assign each vector to its closest seed (possibly adjusting cluster centroid) possibly, re-assign some vectors to improve clusters Fast and practical, but ‘unpredictable’

Multi DB and D.M.Copyright: C. Faloutsos (2001)32 Cluster generation - ‘iterative’ methods general outline: Choose ‘seeds’ (how?) assign each vector to its closest seed (possibly adjusting cluster centroid) possibly, re-assign some vectors to improve clusters Fast and practical, but ‘unpredictable’

Multi DB and D.M.Copyright: C. Faloutsos (2001)33 Cluster generation one way to estimate # of clusters k: the ‘cover coefficient’ [Can+] ~ SVD

Multi DB and D.M.Copyright: C. Faloutsos (2001)34 Outline - detailed main idea cluster search cluster generation evaluation

Multi DB and D.M.Copyright: C. Faloutsos (2001)35 Evaluation Q: how to measure ‘goodness’ of one distance function vs another? A: ground truth (by humans) and –‘precision’ and ‘recall’

Multi DB and D.M.Copyright: C. Faloutsos (2001)36 Evaluation precision = (retrieved & relevant) / retrieved –100% precision -> no false alarms recall = (retrieved & relevant)/ relevant –100% recall -> no false dismissals

Multi DB and D.M.Copyright: C. Faloutsos (2001)37 Text - Detailed outline text –problem –full text scanning –inversion –signature files –clustering –information filtering and LSI

Multi DB and D.M.Copyright: C. Faloutsos (2001)38 LSI - Detailed outline LSI –problem definition –main idea –experiments

Multi DB and D.M.Copyright: C. Faloutsos (2001)39 Information Filtering + LSI [Foltz+,’92] Goal: – users specify interests (= keywords) –system alerts them, on suitable news-documents Major contribution: LSI = Latent Semantic Indexing –latent (‘hidden’) concepts

Multi DB and D.M.Copyright: C. Faloutsos (2001)40 Information Filtering + LSI Main idea map each document into some ‘concepts’ map each term into some ‘concepts’ ‘Concept’:~ a set of terms, with weights, e.g. –“data” (0.8), “system” (0.5), “retrieval” (0.6) -> DBMS_concept

Multi DB and D.M.Copyright: C. Faloutsos (2001)41 Information Filtering + LSI Pictorially: term-document matrix (BEFORE)

Multi DB and D.M.Copyright: C. Faloutsos (2001)42 Information Filtering + LSI Pictorially: concept-document matrix and...

Multi DB and D.M.Copyright: C. Faloutsos (2001)43 Information Filtering + LSI... and concept-term matrix

Multi DB and D.M.Copyright: C. Faloutsos (2001)44 Information Filtering + LSI Q: How to search, eg., for ‘system’?

Multi DB and D.M.Copyright: C. Faloutsos (2001)45 Information Filtering + LSI A: find the corresponding concept(s); and the corresponding documents

Multi DB and D.M.Copyright: C. Faloutsos (2001)46 Information Filtering + LSI A: find the corresponding concept(s); and the corresponding documents

Multi DB and D.M.Copyright: C. Faloutsos (2001)47 Information Filtering + LSI Thus it works like an (automatically constructed) thesaurus: we may retrieve documents that DON’T have the term ‘system’, but they contain almost everything else (‘data’, ‘retrieval’)

Multi DB and D.M.Copyright: C. Faloutsos (2001)48 LSI - Detailed outline LSI –problem definition –main idea –experiments

Multi DB and D.M.Copyright: C. Faloutsos (2001)49 LSI - Experiments 150 Tech Memos (TM) / month 34 users submitted ‘profiles’ (6-66 words per profile) concepts

Multi DB and D.M.Copyright: C. Faloutsos (2001)50 LSI - Experiments four methods, cross-product of: –vector-space or LSI, for similarity scoring –keywords or document-sample, for profile specification measured: precision/recall

Multi DB and D.M.Copyright: C. Faloutsos (2001)51 LSI - Experiments LSI, with document-based profiles, were better precision recall (0.25,0.65) (0.50,0.45) (0.75,0.30)

Multi DB and D.M.Copyright: C. Faloutsos (2001)52 LSI - Discussion - Conclusions Great idea, –to derive ‘concepts’ from documents –to build a ‘statistical thesaurus’ automatically –to reduce dimensionality Often leads to better precision/recall but: –Needs ‘training’ set of documents –‘concept’ vectors are not sparse anymore

Multi DB and D.M.Copyright: C. Faloutsos (2001)53 LSI - Discussion - Conclusions Observations Bellcore (-> Telcordia) has a patent used for multi-lingual retrieval How exactly SVD works?

Multi DB and D.M.Copyright: C. Faloutsos (2001)54 Indexing - Detailed outline primary key indexing secondary key / multi-key indexing spatial access methods fractals text SVD: a powerful tool multimedia...

Multi DB and D.M.Copyright: C. Faloutsos (2001)55 References Foltz, P. W. and S. T. Dumais (Dec. 1992). "Personalized Information Delivery: An Analysis of Information Filtering Methods." Comm. of ACM (CACM) 35(12):

Multi DB and D.M.Copyright: C. Faloutsos (2001)56 References Can, F. and E. A. Ozkarahan (Dec. 1990). "Concepts and Effectiveness of the Cover-Coefficient-Based Clustering Methodology for Text Databases." ACM TODS 15(4): Noreault, T., M. McGill, et al. (1983). A Performance Evaluation of Similarity Measures, Document Term Weighting Schemes and Representation in a Boolean Environment. Information Retrieval Research, Butterworths. Rocchio, J. J. (1971). Relevance Feedback in Information Retrieval. The SMART Retrieval System - Experiments in Automatic Document Processing. G. Salton. Englewood Cliffs, New Jersey, Prentice-Hall Inc.

Multi DB and D.M.Copyright: C. Faloutsos (2001)57 References - cont’d Salton, G. (1971). The SMART Retrieval System - Experiments in Automatic Document Processing. Englewood Cliffs, New Jersey, Prentice-Hall Inc. Salton, G. and M. J. McGill (1983). Introduction to Modern Information Retrieval, McGraw-Hill. Van-Rijsbergen, C. J. (1979). Information Retrieval. London, England, Butterworths. Zahn, C. T. (Jan. 1971). "Graph-Theoretical Methods for Detecting and Describing Gestalt Clusters." IEEE Trans. on Computers C-20(1):