Presentation is loading. Please wait.

Presentation is loading. Please wait.

Query Operations J. H. Wang Mar. 26, 2008. The Retrieval Process User Interface Text Operations Query Operations Indexing Searching Ranking Index Text.

Similar presentations


Presentation on theme: "Query Operations J. H. Wang Mar. 26, 2008. The Retrieval Process User Interface Text Operations Query Operations Indexing Searching Ranking Index Text."— Presentation transcript:

1 Query Operations J. H. Wang Mar. 26, 2008

2 The Retrieval Process User Interface Text Operations Query Operations Indexing Searching Ranking Index Text quer y user need user feedback ranked docs retrieved docs logical view inverted file DB Manager Module 4, 10 6, 7 58 2 8 Text Database Text

3 Query Modification Improving initial query formulation –Relevance feedback approaches based on feedback information from users –Local analysis approaches based on information derived from the set of documents initially retrieved (called the local set of documents ) –Global analysis approaches based on global information derived from the document collection

4 Relevance Feedback Relevance feedback process –shields the user from the details of the query reformulation process –breaks down the whole searching task into a sequence of small steps which are easier to grasp –provides a controlled process designed to emphasize some terms and de-emphasize others Two basic techniques –Query expansion addition of new terms from relevant documents –Term reweighting modification of term weights based on the user relevance judgement

5 Vector Space Model Definition w i,j : the i th term in the vector for document d j w i,k : the i th term in the vector for query q k t : the number of unique terms in the data set

6 Query Expansion and Term Reweighting for the Vector Model Ideal situation –C R : set of relevant documents among all documents in the collection Rocchio (1965, 1971) –R: set of relevant documents, as identified by the user among the retrieved documents –S: set of non-relevant documents among the retrieved documents

7 Rocchio’s Algorithm Ide_Regular (1971) Ide_Dec_Hi Parameters –  =  =  =1 –  > 

8 Probabilistic Model Definition – p i : the probability of observing term t i in the set of relevant documents – q i : the probability of observing term t i in the set of nonrelevant documents Initial search assumption – p i is constant for all terms t i (typically 0.5) – q i can be approximated by the distribution of t i in the whole collection

9 Term Reweighting for the Probabilistic Model Robertson and Sparck Jones (1976) With relevance feedback from user N : the number of documents in the collection R : the number of relevant documents for query q n i : the number of documents having term t i r i : the number of relevant documents having term t i Document Relevance Document Indexing + - + riri R-r i R N-n i -R+r i - n i -r i N-R nini N-n i N

10 Initial search assumption p i is constant for all terms t i (typically 0.5) q i can be approximated by the distribution of t i in the whole collection With relevance feedback from users p i and q i can be approximated by hence the term weight is updated by Term Reweighting for the Probabilistic Model (cont.)

11 However, the last formula poses problems for certain small values of R and r i ( R =1, r i =0) Instead of 0.5, alternative adjustments have been proposed Term Reweighting for the Probabilistic Model (Cont.)

12 Characteristics –Advantage the term reweighting is optimal under the assumptions of –term independence –binary document indexing ( w i,q  {0,1} and w i,j  {0,1}) –Disadvantage no query expansion is used weights of terms in the previous query formulations are also disregarded document term weights are not taken into account during the feedback loop Term Reweighting for the Probabilistic Model (Cont.)

13 Evaluation of relevance feedback Standard evaluation method is not suitable –(i.e., recall-precision) because the relevant documents used to reweight the query terms are moved to higher ranks The residual collection method –the set of all documents minus the set of feedback documents provided by the user –because highly ranked documents are removed from the collection, the recall-precision figures for tend to be lower than the figures for the original query –as a basic rule of thumb, any experimentation involving relevance feedback strategies should always evaluate recall- precision figures relative to the residual collection

14 Automatic Strategies In relevance feedback, use separates the documents into two classes: relevant vs. non-relevant –An underlying notion of clustering supporting the feedback strategy –Known relevant documents contain terms which can be used to describe a larger cluster of relevant documents –This can be done automatically

15 Automatic Strategies Two types of strategies –Global All documents in the collection are used to determine a global thesaurus-like structure which defines term relationships –Local The documents retrieved for a given query are examined at query time to determine terms for query expansion Local clustering (Attar and Fraenkel, 1977) Local context analysis (Xu and Croft, 1996)

16 Automatic Local Analysis Definition –local document set D l : the set of documents retrieved by a query –local vocabulary V l : the set of all distinct words in D l – stemmed vocabulary S l : the set of all distinct stems derived from V l Local feedback strategies are based on expanding the query with terms correlated to the query terms –Such terms are those present in local clusters built from the local document set Building local clusters –association clusters –metric clusters –scalar clusters

17 Association Clusters Idea –co-occurrence of stems (or terms) inside documents f u,j : the frequency of a stem k u in a document d j –local association cluster for a stem k u the set of k largest values in c( k u, k v ) –given a query q, find clusters for the | q | query terms –normalized form

18 Metric Clusters Idea –consider the distance between two terms in the same cluster Definition –V( k u ): the set of keywords which have the same stem form as k u –distance r( k i, k j )=the number of words between term k u and k v –normalized form

19 Scalar Clusters Idea –two stems with similar neighborhoods have some synonymity relationships Definition – c u,v = c ( k u, k v ) –vectors of correlation values for stem k u and k v –scalar association matrix –scalar clusters the set of k largest values of scalar association

20 Automatic Global Analysis A thesaurus-like structure Short history –Until the beginning of the 1990s, global analysis was considered to be a technique which failed to yield consistent improvements in retrieval performance with general collections –This perception has changed with the appearance of modern procedures for global analysis

21 Query Expansion based on a Similarity Thesaurus Idea by Qiu and Frei [1993] –Similarity thesaurus is based on term to term relationships rather than on a matrix of co-occurrence –Terms for expansion are selected based on their similarity to the whole query rather than on their similarities to individual query terms Definition – N : total number of documents in the collection – t : total number of terms in the collection – tf i,j : occurrence frequency of term k i in the document d j – t j : the number of distinct index terms in the document d j – itf j : the inverse term frequency for document d j

22 Similarity Thesaurus Each term is associated with a vector –where w i,j is a weight associated to the index-document pair The relationship between two terms k u and k v is –Note that this is a variation of the correlation measure used for computing scalar association matrices

23 Term weighting vs. Term concept space tf ij Term k i Doc d j tf ij Term k i Doc d j

24 Query Expansion Procedure with Similarity Thesaurus 1. Represent the query in the concept space by using the representation of the index terms 2. Compute the similarity sim( q, k v ) between each term k v and the whole query 3. Expand the query with the top r ranked terms according to sim(q,k v )

25 Example of Similarity Thesaurus The distance of a given term k v to the query centroid Q C might be quite distinct from the distances of k v to the individual query terms kaka kbkb kiki kjkj kvkv QCQC Q C ={k a,k b }

26 Query Expansion based on a Similarity Thesaurus –A document d j is represented term-concept space by –If the original query q is expanded to include all the t index terms, then the similarity sim( q, d j ) between the document d j and the query q can be computed as which is similar to the generalized vector space model

27 Query Expansion based on a Statistical Thesaurus Idea by Crouch and Yang (1992) –Use complete link algorithm to produce small and tight clusters –Use term discrimination value to select terms for entry into a particular thesaurus class Term discrimination value –A measure of the change in space separation which occurs when a given term is assigned to the document collection

28 Term Discrimination Value Terms –good discriminators: (terms with positive discrimination values) index terms –indifferent discriminators: (near-zero discrimination values) thesaurus class –poor discriminators: (negative discrimination values) term phrases Document frequency df k – df k > n /10: high frequency term (poor discriminators) – df k < n /100: low frequency term (indifferent discriminators) – n/100  df k  n /10: good discriminator

29 Statistical Thesaurus Term discrimination value theory –the terms which make up a thesaurus class must be indifferent discriminators The proposed approach –cluster the document collection into small, tight clusters –A thesaurus class is defined as the intersection of all the low frequency terms in that cluster –documents are indexed by the thesaurus classes –the thesaurus classes are weighted by

30 Discussion Query expansion –useful –little explored technique Trends and research issues –The combination of local analysis, global analysis, visual displays, and interactive interfaces is also a current and important research problem


Download ppt "Query Operations J. H. Wang Mar. 26, 2008. The Retrieval Process User Interface Text Operations Query Operations Indexing Searching Ranking Index Text."

Similar presentations


Ads by Google