Query likelihood model
The query likelihood model is a language model used in information retrieval.[src] A language model is constructed for each document in the collection.[src] It is then possible to rank each document by the probability of specific documents given a query.[src] This is interpreted as being the likelihood of a document being relevant given a query.[src]
The query likelihood model is a language model used in information retrieval.[src] A language model is constructed for each document in the collection.[src] It is then possible to rank each document by the probability of specific documents given a query.[src] This is interpreted as being the likelihood of a document being relevant given a query.[src] ==Calculating the likelihood== Using Bayes' rule, the probability P of a document d , given a query q can be written as follows: P(d|q) = \frac{P(q|d) P(d)}{P(q)} Since the probability of the query P(q) is the same for all documents, this can be ignored.[src] Further, it is typical to assume that the probability of documents is uniform.[src] Thus, P(d) is also ignored.[src] P(d|q) \propto P(q|d) Documents are then ranked by the probability that a query is observed as a random sample from the document model.[src] The multinomial unigram language model is commonly used to achieve this.[src] We have: P(q|M_d) = K_q \prod_{t \in V} P(t|M_d)^{tf_{t,q}} ,where the multinomial coefficient is K_q = L_q!/(tf_{t1,q}!tf_{t2,q}!...tf_{tN,q}!) for query q , and L_q = \sum_{1 \leq i \leq N}tf_{t_i,q} is the length of query q given the term frequencies tf in the query vocabulary N .[src] In practice the multinomial coefficient is usually removed from the calculation.[src] The reason is that it is a constant for a given bag of words (such as all the words from a specific document d ).[src] The language model M_d should be the true language model calculated from the distribution of words underlying each retrieved document.[src] In practice this language model is unknown, so it is usually approximated by considering each term (unigram) from the retrieved document together with its probability of appearance.[src] So P(t|M_d) is the probability of term t being generated by the language model M_d of document d .[src] This probability is multiplied for all terms from query q to get a rank for document d in the interval [0,1] .[src] The calculation is repeated for all documents to create a ranking of all documents in the document collection.[src] ==References==[src]
22 sentences · 22 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Query likelihood model." encyclopegia.org, 2025, https://encyclopegia.org/wiki/query-likelihood-model. Accessed 25 November 2026.
Chicago
"Query likelihood model." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/query-likelihood-model.
APA
encyclopegia.org. (2025). Query likelihood model. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/query-likelihood-model
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON