Query Operations

After initial retrieval results are presented, allow the user to provide feedback on the relevance of one or more of the retrieved documents.

Use this feedback information to reformulate the query.

Produce new results based on reformulated query.

Allows more interactive, multi-pass process.

 

ppt33 trang | Chia sẻ: việt anh | Lượt xem: 1072 | Lượt tải: 0download
Bạn đang xem trước 20 trang mẫu tài liệu Query Operations, để tải tài liệu gốc về máy bạn click vào nút DOWNLOAD ở trên
*Query OperationsRelevance Feedback &Query Expansion*Relevance FeedbackAfter initial retrieval results are presented, allow the user to provide feedback on the relevance of one or more of the retrieved documents.Use this feedback information to reformulate the query.Produce new results based on reformulated query.Allows more interactive, multi-pass process.*Relevance Feedback ArchitectureRankingsIRSystemDocumentcorpusRankedDocuments1. Doc1 2. Doc2 3. Doc3 . .1. Doc1 2. Doc2 3. Doc3  . .FeedbackQuery StringRevisedQueryReRankedDocuments1. Doc2 2. Doc4 3. Doc5 . .QueryReformulation*Query ReformulationRevise query to account for feedback:Query Expansion: Add new terms to query from relevant documents.Term Reweighting: Increase weight of terms in relevant documents and decrease weight of terms in irrelevant documents.Several algorithms for query reformulation.*Query Reformulation for VSRChange query vector using vector algebra.Add the vectors for the relevant documents to the query vector.Subtract the vectors for the irrelevant docs from the query vector.This both adds both positive and negatively weighted terms to the query as well as reweighting the initial terms.*Optimal QueryAssume that the relevant set of documents Cr are known.Then the best query that ranks all and only the relevant queries at the top is:Where N is the total number of documents.*Standard Rochio MethodSince all relevant documents unknown, just use the known relevant (Dr) and irrelevant (Dn) sets of documents and include the initial query q.: Tunable weight for initial query.: Tunable weight for relevant documents.: Tunable weight for irrelevant documents. *Ide Regular MethodSince more feedback should perhaps increase the degree of reformulation, do not normalize for amount of feedback:: Tunable weight for initial query.: Tunable weight for relevant documents.: Tunable weight for irrelevant documents. *Ide “Dec Hi” MethodBias towards rejecting just the highest ranked of the irrelevant documents:: Tunable weight for initial query.: Tunable weight for relevant documents.: Tunable weight for irrelevant document. *Comparison of MethodsOverall, experimental results indicate no clear preference for any one of the specific methods.All methods generally improve retrieval performance (recall & precision) with feedback.Generally just let tunable constants equal 1.*Relevance Feedback in Java VSRIncludes “Ide Regular” method.Invoke with “-feedback” option, use “r” command to reformulate and redo query.See sample feedback trace.Since stored frequencies are not normalized (since normalization does not effect cosine similarity), must first divide all vectors by their maximum term frequency.*Evaluating Relevance FeedbackBy construction, reformulated query will rank explicitly-marked relevant documents higher and explicitly-marked irrelevant documents lower.Method should not get credit for improvement on these documents, since it was told their relevance.In machine learning, this error is called “testing on the training data.”Evaluation should focus on generalizing to other un-rated documents.*Fair Evaluation of Relevance FeedbackRemove from the corpus any documents for which feedback was provided.Measure recall/precision performance on the remaining residual collection.Compared to complete corpus, specific recall/precision numbers may decrease since relevant documents were removed.However, relative performance on the residual collection provides fair data on the effectiveness of relevance feedback.*Why is Feedback Not Widely UsedUsers sometimes reluctant to provide explicit feedback.Results in long queries that require more computation to retrieve, and search engines process lots of queries and allow little time for each one.Makes it harder to understand why a particular document was retrieved.*Pseudo FeedbackUse relevance feedback methods without explicit user input.Just assume the top m retrieved documents are relevant, and use them to reformulate the query.Allows for query expansion that includes terms that are correlated with the query terms.*Pseudo Feedback ArchitectureRankingsIRSystemDocumentcorpusRankedDocuments1. Doc1 2. Doc2 3. Doc3 . .Query StringRevisedQueryReRankedDocuments1. Doc2 2. Doc4 3. Doc5 . .QueryReformulation1. Doc1 2. Doc2 3. Doc3  . .PseudoFeedback*PseudoFeedback ResultsFound to improve performance on TREC competition ad-hoc retrieval task.Works even better if top documents must also satisfy additional boolean constraints in order to be used in feedback.*ThesaurusA thesaurus provides information on synonyms and semantically related words and phrases.Example: physician syn: ||croaker, doc, doctor, MD, medical, mediciner, medico, ||sawbones rel: medic, general practitioner, surgeon, *Thesaurus-based Query ExpansionFor each term, t, in a query, expand the query with synonyms and related words of t from the thesaurus.May weight added terms less than original query terms.Generally increases recall.May significantly decrease precision, particularly with ambiguous terms.“interest rate”  “interest rate fascinate evaluate”*WordNetA more detailed database of semantic relationships between English words.Developed by famous cognitive psychologist George Miller and a team at Princeton University.About 144,000 English words.Nouns, adjectives, verbs, and adverbs grouped into about 109,000 synonym sets called synsets.*WordNet Synset RelationshipsAntonym: front  backAttribute: benevolence  good (noun to adjective)Pertainym: alphabetical  alphabet (adjective to noun)Similar: unquestioning  absoluteCause: kill  dieEntailment: breathe  inhaleHolonym: chapter  text (part to whole)Meronym: computer  cpu (whole to part)Hyponym: plant  tree (specialization)Hypernym: apple  fruit (generalization)*WordNet Query ExpansionAdd synonyms in the same synset.Add hyponyms to add specialized terms.Add hypernyms to generalize a query.Add other related terms to expand query.*Statistical ThesaurusExisting human-developed thesauri are not easily available in all languages.Human thesuari are limited in the type and range of synonymy and semantic relations they represent.Semantically related terms can be discovered from statistical analysis of corpora.*Automatic Global AnalysisDetermine term similarity through a pre-computed statistical analysis of the complete corpus.Compute association matrices which quantify term correlations in terms of how frequently they co-occur.Expand queries with statistically most similar terms.*Association Matrixw1 w2 w3 ..wnw1w2w3..wnc11 c12 c13c1nc21c31..cn1cij: Correlation factor between term i and term jfik : Frequency of term i in document k *Normalized Association MatrixFrequency based correlation factor favors more frequent terms.Normalize association scores:Normalized score is 1 if two terms have the same frequency in all documents.*Metric Correlation MatrixAssociation correlation does not account for the proximity of terms in documents, just co-occurrence frequencies within documents.Metric correlations account for term proximity.Vi: Set of all occurrences of term i in any document.r(ku,kv): Distance in words between word occurrences ku and kv ( if ku and kv are occurrences in different documents).*Normalized Metric Correlation Matrix Normalize scores to account for term frequencies:*Query Expansion with Correlation MatrixFor each term i in query, expand query with the n terms, j, with the highest value of cij (sij).This adds semantically related terms in the “neighborhood” of the query terms.*Problems with Global AnalysisTerm ambiguity may introduce irrelevant statistically correlated terms.“Apple computer”  “Apple red fruit computer”Since terms are highly correlated anyway, expansion may not retrieve many additional documents.*Automatic Local AnalysisAt query time, dynamically determine similar terms based on analysis of top-ranked retrieved documents.Base correlation analysis on only the “local” set of retrieved documents for a specific query.Avoids ambiguity by determining similar (correlated) terms only within relevant documents.“Apple computer”  “Apple computer Powerbook laptop”*Global vs. Local AnalysisGlobal analysis requires intensive term correlation computation only once at system development time.Local analysis requires intensive term correlation computation for every query at run time (although number of terms and documents is less than in global analysis).But local analysis gives better results.*Global Analysis RefinementsOnly expand query with terms that are similar to all terms in the query.“fruit” not added to “Apple computer” since it is far from “computer.”“fruit” added to “apple pie” since “fruit” close to both “apple” and “pie.”Use more sophisticated term weights (instead of just frequency) when computing term correlations.*Query Expansion ConclusionsExpansion of queries with related terms can improve performance, particularly recall.However, must select similar terms very carefully to avoid problems, such as loss of precision.

File đính kèm:

  • ppt5_queryops_2163.ppt
Tài liệu liên quan