Download presentation
Presentation is loading. Please wait.
Published byBailey Fisher Modified over 10 years ago
1
Special Topics in Computer Science Advanced Topics in Information Retrieval Chapter 2: Modeling Alexander Gelbukh www.Gelbukh.com
2
2 Previous chapter User Information Need oVague oSemantic, not formal Document Relevance oOrder, not retrieve Huge amount of information oEfficiency concerns oTradeoffs Art more than science
3
3 Modeling Still science: computation is formal No good methods to work with (vague) semantics Thus, simplify to get a (formal) model Develop (precise) math over this (simple) model Why math if the model is not precise (simplified)? phenomenon model = step 1 = step 2 =... = result math phenomenon model step 1 step 2... ?!
4
4 Modeling Substitute a complex real phenomenon with a simple model, which you can measure and manipulate formally Keep only important properties (for this application) Do this with text:
5
5 Modeling in IR: idea Tag documents with fields oAs in a (relational) DB: customer = {name, age, address} oUnlike DB, very many fields: individual words! oE.g., bag of words: {word 1, word 2,...}: {3, 5, 0, 0, 2,...} Define a similarity measure between query and such a record o(Unlike DB) Rank (order), not retrieve (yes/no) oJustify your model (optional, but nice) Develop math and algorithms for fast access oas relational algebra in DB
6
Taxonomy of IR systems
7
7 Aspects of an IR system IR model oBoolean, Vector, Probabilistic Logical view of documents oFull text, bag of words,... User task oretrieval, browsing Independent, though some are more compatible
8
Appropriate models
9
9 Characterization of an IR model D = {d j }, collection of formal representations of docs oe.g., keyword vectors Q = {q i }, possible formal representations of user information need (queries) F, framework for modeling these two: reason for the next R(q i,d j ): Q D R, ranking function odefines ordering
10
Specific IR models
11
11 IR models Classical oBoolean oVector oProbabilistic (clear ideas, but some disadvantages) Refined oEach one with refinements oSolve many of the problems of the basic models oGive good examples of possible developments in the area oNot investigated well We can work on this
12
12 Basic notions Document: Set of index term oMainly nouns oMaybe all, then full text logical view Term weights osome terms are better than others oterms less frequent in this doc and more frequent in other docs are less useful Documents index term vector {w 1j, w 2j,..., w tj } oweights of terms in the doc ot is the number of terms in all docs oweights of different terms are independent (simplification)
13
13 Boolean model Weights {0, 1} oDoc: set of words Query: Boolean expression oR(q i,d j ) {0, 1} Good: oclear semantics, neat formalism, simple Bad: ono ranking ( data retrieval), retrieves too many or too few odifficult to translate User Information Need into query No term weighting
14
14 Vector model Weights (non-binary) Ranking, much better results (for User Info Need) R(q i,d j ) = correlation between query vector and doc vector E.g., cosine measure: (there is a typo in the book)
15
Projection
16
16 Weights How are the weights w ij obtained? Many variants. One way: TF-IDF balance TF: Term frequency oHow well the term is related to the doc? oIf appears many times, is important oProportional to the number of times that appears IDF: Inverse document frequency oHow important is the term to distinguish documents? oIf appears in many docs, is not important oInversely proportional to number of docs where appears Contradictory. How to balance?
17
17 TF-IDF ranking TF: Term frequency IDF: Inverse document frequency Balance: TF IDF oOther formulas exist. Art.
18
18 Advantages of vector model One of the best known strategies Improves quality (term weighting) Allows approximate matching (partial matching) Gives ranking by similarity (cosine formula) Simple, fast But: Does not consider term dependencies oconsidering them in a bad way hurts quality ono known good way No logical expressions (e.g., negation: mouse & NOT cat)
19
19 Probabilistic model Assumptions: oset of relevant docs, oprobabilities of docs to be relevant oAfter Bayes calculation: probabilities of terms to be important for defining relevant docs Initial idea: interact with the user. oGenerate an initial set oAsk the user to mark some of them as relevant or not oEstimate the probabilities of keywords. Repeat Can be done without user oJust re-calculate the probabilities assuming the users acceptance is the same as predicted ranking
20
20 (Dis) advantages of Probabilistic model Advantage: Theoretical adequacy: ranks by probabilities Disadvantages: Need to guess the initial ranking Binary weights, ignores frequencies Independence assumption (not clear if bad) Does not perform well (?)
21
21 Alternative Set Theoretic models Fuzzy set model Takes into account term relationships (thesaurus) oBible is related to Church Fuzzy belonging of a term to a document oDocument containing Bible also contains a little bit of Church, but not entirely Fuzzy set logic applied to such fuzzy belonging ological expressions with AND, OR, and NOT Provides ranking, not just yes/no Not investigated well. oWhy not investigate it?
22
22 Extended Boolean model Alternative Set Theoretic models Extended Boolean model Combination of Boolean and Vector In comparison with Boolean model, adds distance from query osome documents satisfy the query better than others In comparison with Vector model, adds the distinction between AND and OR combinations There is a parameter (degree of norm) allowing to adjust the behavior between Boolean-like and Vector-like This can be even different within one query Not investigated well. Why not investigate it?
23
23 Alternative Algebraic models Generalized Vector Space model Classical independence assumptions: oAll combinations of terms are possible, none are equivalent (= basis in the vector space) oPair-wise orthogonal: cos ({k i }, {k j }) = 0 This model relaxes the pair-wise orthogonality: cos ({k i }, {k j }) 0 Operates by combinations (co-occurrences) of index terms, not individual terms More complex, more expensive, not clear if better Not investigated well. Why not investigate it?
24
24 Latent Semantic Indexing model Alternative Algebraic models Latent Semantic Indexing model Index by larger units, concepts sets of terms used together Retrieve a document that share concepts with a relevant one (even if it does not contain query terms) Group index terms together (map into lower dimensional space). So some terms are equivalent. oNot exactly, but this is the idea oEliminates unimportant details oDepends on a parameter (what details are unimportant?) Not investigated well. Why not investigate it?
25
25 Neural Network model Alternative Algebraic models Neural Network model NNs are good at matching Iteratively uses the found documents as auxiliary queries oSpreading activation. oTerms docs terms docs terms docs... Like a built-in thesaurus First round gives same result as Vector model No evidence if it is good Not investigated well. Why not investigate it?
26
26 Models for browsing Flat browsing: String oJust as a list of paper oNo context cues provided Structure guided: Tree oHierarchy oLike directory tree in the computer Hypertext (Internet!): Directed graph oNo limitations of sequential writing oModeled by a directed graph: links from unit A to unit B units: docs, chapters, etc. oA map (with traversed path) can be helpful
27
27 Research issues How people judge relevance? oranking strategies How to combine different sources of evidence? What interfaces can help users to understand and formulate their Information Need? ouser interfaces: an open issue Meta-search engines: combine results from different Web search engines oThey almost do not intersect oHow to combine ranking?
28
28 Conclusions Modeling is needed for formal operations Boolean model is the simplest Vector model is the best combination of quality and simplicity oTF-IDF term weighting oThis (or similar) weighting is used in all further models Many interesting and not well-investigated variations opossible future work
29
29 Thank you! Till March 22, 6 pm
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.