SlideShare a Scribd company logo
1 of 23
Introduction to Information Retrieval:Language models for information retrievalby C.D. Manning, P. Raghavan, and H. Schutze. Presentation by Dustin Smith The University of Texas at Austin School of Information dustin.smith@utexas.edu 10/3/2011 1 INF384H / CS395T: Concepts of Information Retrieval
Christopher Manning – background BA Australian National University 1989 (majors in mathematics, computer science and linguistics) PhD Stanford Linguistics 1995 Asst Professor Carnegie Mellon University Computational Linguistics Program 1994-96 Lecturer University of Sydney Dept of Linguistics 1996-99 Asst Professor Stanford University Depts of Computer Science and Linguistics 1999-2006 Current: Assoc Professor Stanford University Depts of Linguistics and Computer Science 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 2
Prabhakar Raghavan– background Undergraduate degree in electrical engineering from ITT, Madras PhD in computer science from UC Berkeley Current: Working at Yahoo! Labs and is a Consulting Professor of Computer Science at Stanford University 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 3
Hinrich Schütze– background Technical University of Braunschweig Vordiplom Mathematik Vordiplom Informatik University of Stuttgart, Diplom Informatik (MSCS) Stanford University, Ph.D., Computational Linguistics Current: Chair of Theoretical Computational Linguistics, Institute for Natural Language Processing at the University of Stuttgart 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 4
Chapter/Presentation Outline Introduction to the concept of Language Models Finite automata and language models Types of language models Multinomial distributions over words Description of the Query Likelihood Model Using query likelihood language models in IR Estimating the query generation probability Ponte and Croft’s experiments Comparison of the language modeling approach to IR against other approaches to IR Description of various extension to the language modeling approach 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 5
Language Models Based on concept that a document is a good match for a query if the document model is likely to generate the query. An alternative to the straightforward query-document probability model. (traditional approach) 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 6
Finite automata and language models (238) ,[object Object]
The process is analogous for a document model
Figure 12.2 represents a single node with a single distribution over terms s.t.𝑡∈𝑉𝑃(𝑡)=1.   10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 7 Language Models
Calculating phrase probability with stop/continue probability included (238) ,[object Object]
This calculation is shown with stop probabilities, but in practice these are left out. 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 8 Language Models
Comparison of document models (239-240) ,[object Object]
Given a query s = “frog said that toad likes that dog”,our two model probabilities are calculated by simply multiplying term distributions.
It’s evident why P(s|𝑀1) scores higher than P(s|𝑀2). More query terms were present in P(s|𝑀1) and so the probability is greater.  10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 9 Language Models
Types of language models(240) ,[object Object]
Bigram Language Model
Section Conclusion
Which𝑀𝑑 to use?  10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 10 Chain rule Language Models
Using query likelihood language models in IR (242-243) Using Bayes rule: P(d|q)=P(q|d)P(d)/P(q) With P(d) and P(q) uniform across documents, => P(d|q) = P(q|d) In the query likelihood model we construct a language model 𝑀𝑑 from each document Goal: to rank documents by P(d|q), where the probability of a document is interpreted as the likelihood that it is relevant to the query   10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 11 The Query Likelihood Model
Using query likelihood language models in IR (242-243) Multinomial unigram language model Pq𝑀𝑑=𝐾𝑞𝑡∈𝑉𝑃(𝑡|𝑀𝑑)𝑡𝑓𝑡,𝑑 𝐾𝑞 is dropped as it is constant across all queries   10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 12 Query generation process:1. Infer a LM for each document  2. Estimate Pq𝑀𝑑, the probability of generating the query according to each one of these document models 3. Rank the documents according to these probabilities   The Query Likelihood Model
Estimating the query generation probability (244) ,[object Object],  10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 13 ,[object Object]
tf𝑡.𝑑is the raw term frequency of term t in document d
L𝑑is the number of tokens in document d  The Query Likelihood Model

More Related Content

What's hot

Vector space model of information retrieval
Vector space model of information retrievalVector space model of information retrieval
Vector space model of information retrievalNanthini Dominique
 
Text categorization
Text categorizationText categorization
Text categorizationKU Leuven
 
Latent Semantic Indexing For Information Retrieval
Latent Semantic Indexing For Information RetrievalLatent Semantic Indexing For Information Retrieval
Latent Semantic Indexing For Information RetrievalSudarsun Santhiappan
 
14. Query Optimization in DBMS
14. Query Optimization in DBMS14. Query Optimization in DBMS
14. Query Optimization in DBMSkoolkampus
 
Pagerank Algorithm Explained
Pagerank Algorithm ExplainedPagerank Algorithm Explained
Pagerank Algorithm Explainedjdhaar
 
WEB BASED INFORMATION RETRIEVAL SYSTEM
WEB BASED INFORMATION RETRIEVAL SYSTEMWEB BASED INFORMATION RETRIEVAL SYSTEM
WEB BASED INFORMATION RETRIEVAL SYSTEMSai Kumar Ale
 
Lect6 Association rule & Apriori algorithm
Lect6 Association rule & Apriori algorithmLect6 Association rule & Apriori algorithm
Lect6 Association rule & Apriori algorithmhktripathy
 
Boolean,vector space retrieval Models
Boolean,vector space retrieval Models Boolean,vector space retrieval Models
Boolean,vector space retrieval Models Primya Tamil
 
similarity measure
similarity measure similarity measure
similarity measure ZHAO Sam
 
Boolean Retrieval
Boolean RetrievalBoolean Retrieval
Boolean Retrievalmghgk
 
The vector space model
The vector space modelThe vector space model
The vector space modelpkgosh
 
Conceptual foundations of text mining and preprocessing steps nfaoui el_habib
Conceptual foundations of text mining and preprocessing steps nfaoui el_habibConceptual foundations of text mining and preprocessing steps nfaoui el_habib
Conceptual foundations of text mining and preprocessing steps nfaoui el_habibEl Habib NFAOUI
 

What's hot (20)

Vector space model in information retrieval
Vector space model in information retrievalVector space model in information retrieval
Vector space model in information retrieval
 
Vector space model of information retrieval
Vector space model of information retrievalVector space model of information retrieval
Vector space model of information retrieval
 
Text categorization
Text categorizationText categorization
Text categorization
 
Latent Semantic Indexing For Information Retrieval
Latent Semantic Indexing For Information RetrievalLatent Semantic Indexing For Information Retrieval
Latent Semantic Indexing For Information Retrieval
 
Query trees
Query treesQuery trees
Query trees
 
Machine learning clustering
Machine learning clusteringMachine learning clustering
Machine learning clustering
 
14. Query Optimization in DBMS
14. Query Optimization in DBMS14. Query Optimization in DBMS
14. Query Optimization in DBMS
 
Pagerank Algorithm Explained
Pagerank Algorithm ExplainedPagerank Algorithm Explained
Pagerank Algorithm Explained
 
Text MIning
Text MIningText MIning
Text MIning
 
Deductive Database
Deductive DatabaseDeductive Database
Deductive Database
 
Term weighting
Term weightingTerm weighting
Term weighting
 
WEB BASED INFORMATION RETRIEVAL SYSTEM
WEB BASED INFORMATION RETRIEVAL SYSTEMWEB BASED INFORMATION RETRIEVAL SYSTEM
WEB BASED INFORMATION RETRIEVAL SYSTEM
 
Lect6 Association rule & Apriori algorithm
Lect6 Association rule & Apriori algorithmLect6 Association rule & Apriori algorithm
Lect6 Association rule & Apriori algorithm
 
Boolean,vector space retrieval Models
Boolean,vector space retrieval Models Boolean,vector space retrieval Models
Boolean,vector space retrieval Models
 
Audio mining
Audio miningAudio mining
Audio mining
 
Information Retrieval Evaluation
Information Retrieval EvaluationInformation Retrieval Evaluation
Information Retrieval Evaluation
 
similarity measure
similarity measure similarity measure
similarity measure
 
Boolean Retrieval
Boolean RetrievalBoolean Retrieval
Boolean Retrieval
 
The vector space model
The vector space modelThe vector space model
The vector space model
 
Conceptual foundations of text mining and preprocessing steps nfaoui el_habib
Conceptual foundations of text mining and preprocessing steps nfaoui el_habibConceptual foundations of text mining and preprocessing steps nfaoui el_habib
Conceptual foundations of text mining and preprocessing steps nfaoui el_habib
 

Similar to Language Models for Information Retrieval

Closing the Gap: Data Models for Documentary Linguistics
Closing the Gap: Data Models for Documentary LinguisticsClosing the Gap: Data Models for Documentary Linguistics
Closing the Gap: Data Models for Documentary LinguisticsBaden Hughes
 
2-Chapter Two-N-gram Language Models.ppt
2-Chapter Two-N-gram Language Models.ppt2-Chapter Two-N-gram Language Models.ppt
2-Chapter Two-N-gram Language Models.pptmilkesa13
 
Research Developments and Directions in Speech Recognition and ...
Research Developments and Directions in Speech Recognition and ...Research Developments and Directions in Speech Recognition and ...
Research Developments and Directions in Speech Recognition and ...butest
 
Ontology based top-k query answering over massive, heterogeneous, and dynamic...
Ontology based top-k query answering over massive, heterogeneous, and dynamic...Ontology based top-k query answering over massive, heterogeneous, and dynamic...
Ontology based top-k query answering over massive, heterogeneous, and dynamic...Daniele Dell'Aglio
 
Machine translation from English to Hindi
Machine translation from English to HindiMachine translation from English to Hindi
Machine translation from English to HindiRajat Jain
 
ModelDR - the tool that untangles complex information
ModelDR - the tool that untangles complex informationModelDR - the tool that untangles complex information
ModelDR - the tool that untangles complex informationSimon Roberts
 
A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...
A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...
A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...mlaij
 
Information Extraction in the TalkOfEurope Creative Camp
Information Extraction in the TalkOfEurope Creative CampInformation Extraction in the TalkOfEurope Creative Camp
Information Extraction in the TalkOfEurope Creative CampWim Peters
 
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...kevig
 
Information retrieval as statistical translation
Information retrieval as statistical translationInformation retrieval as statistical translation
Information retrieval as statistical translationBhavesh Singh
 
Lemon-aid: using Lemon to aid quantitative historical linguistic analysis
Lemon-aid: using Lemon to aid quantitative historical linguistic analysisLemon-aid: using Lemon to aid quantitative historical linguistic analysis
Lemon-aid: using Lemon to aid quantitative historical linguistic analysismbruemmer
 
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...ijnlc
 
Language independent document
Language independent documentLanguage independent document
Language independent documentijcsit
 
Cross language information retrieval in indian
Cross language information retrieval in indianCross language information retrieval in indian
Cross language information retrieval in indianeSAT Publishing House
 
Topic modeling of marketing scientific papers: An experimental survey
Topic modeling of marketing scientific papers: An experimental surveyTopic modeling of marketing scientific papers: An experimental survey
Topic modeling of marketing scientific papers: An experimental surveyICDEcCnferenece
 

Similar to Language Models for Information Retrieval (20)

Closing the Gap: Data Models for Documentary Linguistics
Closing the Gap: Data Models for Documentary LinguisticsClosing the Gap: Data Models for Documentary Linguistics
Closing the Gap: Data Models for Documentary Linguistics
 
Topicmodels
TopicmodelsTopicmodels
Topicmodels
 
2-Chapter Two-N-gram Language Models.ppt
2-Chapter Two-N-gram Language Models.ppt2-Chapter Two-N-gram Language Models.ppt
2-Chapter Two-N-gram Language Models.ppt
 
04 --spatial-data
04 --spatial-data04 --spatial-data
04 --spatial-data
 
Research Developments and Directions in Speech Recognition and ...
Research Developments and Directions in Speech Recognition and ...Research Developments and Directions in Speech Recognition and ...
Research Developments and Directions in Speech Recognition and ...
 
Ontology based top-k query answering over massive, heterogeneous, and dynamic...
Ontology based top-k query answering over massive, heterogeneous, and dynamic...Ontology based top-k query answering over massive, heterogeneous, and dynamic...
Ontology based top-k query answering over massive, heterogeneous, and dynamic...
 
Machine translation from English to Hindi
Machine translation from English to HindiMachine translation from English to Hindi
Machine translation from English to Hindi
 
ModelDR - the tool that untangles complex information
ModelDR - the tool that untangles complex informationModelDR - the tool that untangles complex information
ModelDR - the tool that untangles complex information
 
How to supervise a thesis in NLP in the ChatGPT era? By Laure Soulier
How to supervise a thesis in NLP in the ChatGPT era? By Laure SoulierHow to supervise a thesis in NLP in the ChatGPT era? By Laure Soulier
How to supervise a thesis in NLP in the ChatGPT era? By Laure Soulier
 
A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...
A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...
A Deep Learning Model to Predict Congressional Roll Call Votes from Legislati...
 
Information Extraction in the TalkOfEurope Creative Camp
Information Extraction in the TalkOfEurope Creative CampInformation Extraction in the TalkOfEurope Creative Camp
Information Extraction in the TalkOfEurope Creative Camp
 
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
 
Information retrieval as statistical translation
Information retrieval as statistical translationInformation retrieval as statistical translation
Information retrieval as statistical translation
 
A survey of xml tree patterns
A survey of xml tree patternsA survey of xml tree patterns
A survey of xml tree patterns
 
07 04-06
07 04-0607 04-06
07 04-06
 
Lemon-aid: using Lemon to aid quantitative historical linguistic analysis
Lemon-aid: using Lemon to aid quantitative historical linguistic analysisLemon-aid: using Lemon to aid quantitative historical linguistic analysis
Lemon-aid: using Lemon to aid quantitative historical linguistic analysis
 
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
TOPIC EXTRACTION OF CRAWLED DOCUMENTS COLLECTION USING CORRELATED TOPIC MODEL...
 
Language independent document
Language independent documentLanguage independent document
Language independent document
 
Cross language information retrieval in indian
Cross language information retrieval in indianCross language information retrieval in indian
Cross language information retrieval in indian
 
Topic modeling of marketing scientific papers: An experimental survey
Topic modeling of marketing scientific papers: An experimental surveyTopic modeling of marketing scientific papers: An experimental survey
Topic modeling of marketing scientific papers: An experimental survey
 

Recently uploaded

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 

Recently uploaded (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Language Models for Information Retrieval

  • 1. Introduction to Information Retrieval:Language models for information retrievalby C.D. Manning, P. Raghavan, and H. Schutze. Presentation by Dustin Smith The University of Texas at Austin School of Information dustin.smith@utexas.edu 10/3/2011 1 INF384H / CS395T: Concepts of Information Retrieval
  • 2. Christopher Manning – background BA Australian National University 1989 (majors in mathematics, computer science and linguistics) PhD Stanford Linguistics 1995 Asst Professor Carnegie Mellon University Computational Linguistics Program 1994-96 Lecturer University of Sydney Dept of Linguistics 1996-99 Asst Professor Stanford University Depts of Computer Science and Linguistics 1999-2006 Current: Assoc Professor Stanford University Depts of Linguistics and Computer Science 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 2
  • 3. Prabhakar Raghavan– background Undergraduate degree in electrical engineering from ITT, Madras PhD in computer science from UC Berkeley Current: Working at Yahoo! Labs and is a Consulting Professor of Computer Science at Stanford University 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 3
  • 4. Hinrich Schütze– background Technical University of Braunschweig Vordiplom Mathematik Vordiplom Informatik University of Stuttgart, Diplom Informatik (MSCS) Stanford University, Ph.D., Computational Linguistics Current: Chair of Theoretical Computational Linguistics, Institute for Natural Language Processing at the University of Stuttgart 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 4
  • 5. Chapter/Presentation Outline Introduction to the concept of Language Models Finite automata and language models Types of language models Multinomial distributions over words Description of the Query Likelihood Model Using query likelihood language models in IR Estimating the query generation probability Ponte and Croft’s experiments Comparison of the language modeling approach to IR against other approaches to IR Description of various extension to the language modeling approach 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 5
  • 6. Language Models Based on concept that a document is a good match for a query if the document model is likely to generate the query. An alternative to the straightforward query-document probability model. (traditional approach) 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 6
  • 7.
  • 8. The process is analogous for a document model
  • 9. Figure 12.2 represents a single node with a single distribution over terms s.t.𝑡∈𝑉𝑃(𝑡)=1.   10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 7 Language Models
  • 10.
  • 11. This calculation is shown with stop probabilities, but in practice these are left out. 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 8 Language Models
  • 12.
  • 13. Given a query s = “frog said that toad likes that dog”,our two model probabilities are calculated by simply multiplying term distributions.
  • 14. It’s evident why P(s|𝑀1) scores higher than P(s|𝑀2). More query terms were present in P(s|𝑀1) and so the probability is greater.  10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 9 Language Models
  • 15.
  • 18. Which𝑀𝑑 to use?  10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 10 Chain rule Language Models
  • 19. Using query likelihood language models in IR (242-243) Using Bayes rule: P(d|q)=P(q|d)P(d)/P(q) With P(d) and P(q) uniform across documents, => P(d|q) = P(q|d) In the query likelihood model we construct a language model 𝑀𝑑 from each document Goal: to rank documents by P(d|q), where the probability of a document is interpreted as the likelihood that it is relevant to the query   10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 11 The Query Likelihood Model
  • 20. Using query likelihood language models in IR (242-243) Multinomial unigram language model Pq𝑀𝑑=𝐾𝑞𝑡∈𝑉𝑃(𝑡|𝑀𝑑)𝑡𝑓𝑡,𝑑 𝐾𝑞 is dropped as it is constant across all queries   10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 12 Query generation process:1. Infer a LM for each document 2. Estimate Pq𝑀𝑑, the probability of generating the query according to each one of these document models 3. Rank the documents according to these probabilities   The Query Likelihood Model
  • 21.
  • 22. tf𝑡.𝑑is the raw term frequency of term t in document d
  • 23. L𝑑is the number of tokens in document d  The Query Likelihood Model
  • 24.
  • 27. maximum likelihood estimateConceptually the same: The probability estimate for a word present in the document combines a discounted (MLE) and a fraction of the estimate of its prevalence in the whole collection. 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 14
  • 28.
  • 29. First experiments on the language modeling approach to IR
  • 30. Performed on TREC topics 202-250 over TREC disks 2 and 3.LM much better than tf-idf (specifically at higher recalls) 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 15 The Query Likelihood Model
  • 31. LM vs. BIM vs. XML retrieval (249) Language models and the most successful XML retrieval models approach relevance modeling in a roundabout way as apposed to the BIM model that evaluates relevance directly. LM initially appears to not include relevance modeling The most successful XML retrieval models assume that queries and documents are objects of the same type BIM models have relevance as the central variable that is evaluated 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 16 Language Modeling Versus Other Approaches in IR
  • 32. LM vs. traditional tf-idf(249) The LM has significant relations to tf-idf models They differ on a more conceptual level Both directly use term frequency Both have a method of mixing document frequency and collection frequency to produce probabilities Both treat terms independently LM intuitions are more probabilistic than geometric LM mathematical models are more principled rather than heuristic LM differs in its use of tf and df 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 17
  • 33.
  • 34.
  • 35. Easier to incorporate relevance feedback by expanding the query with terms from relevant documents  10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 18 Extended Language Modeling Approaches
  • 36.
  • 37. Using a document model to produce a relevant query
  • 39. Using a query model to produce a relevant document
  • 41. Comparing these models 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 19 Extended Language Modeling Approaches
  • 42.
  • 43. Outperforms query and document likelihood models
  • 44. But, scores are not comparable across queries  10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 20 Extended Language Modeling Approaches
  • 45. Translation Model – Features (251) Answer to synonymy in basic LM models Lets you generate query words that are not in a document by translating to alternate terms with similar meaning Provides a basis for executing cross-language IR 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 21 Extended Language Modeling Approaches
  • 46. Translation Model – Issues (251) Computationally intensive Need to build the model using outside resources Thesaurus Bilingual dictionary Statistical machine translation system’s translation dictionary 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 22 Extended Language Modeling Approaches
  • 47. Thanks for not throwing vegetables! Questions? 10/3/2011 INF384H / CS395T: Concepts of Information Retrieval 23

Editor's Notes

  1. --- Rah-guh-vun
  2. --- appears to be the most social and outgoing of our nerdy authors
  3. Just read it
  4. ---Q-d model: modeling the relevance of a document to a query
  5. Alright, so: what is a document model? And how does it generate the query?They use the concept of automata to help explain what is meant by a language or document model. For any given document you have an alphabet w.r.t. that document and a language produces by that alphabetProbability is distributed over terms ST the sum of all probabilities is equal to 1. straightforward.
  6. --- I didn’t quite understand where the 0.8 stop/continue probability came from---Left out because given a fixed STOP prob, it does not effect results when comparing models to leave it out.Now we will compare models
  7. Next we look at probability over sequences of terms.
  8. ---By using the chain rule, we can build probabilities over sequences of terms. ---Two specific models that use the chain rule are the unigram and bigram modelsDescribe images---The fundamental question in language modeling is which doc-model to use?
  9. ---now we introduce formally the model representing the initial concepts of LM for IR
  10. The most common way to achieve the goal of the query likelihood model is to use the multinomial unigram language modelThe query generation process is randomNext: estimating this 𝐏𝒒𝑴𝒅The most common way to achieve the goal of the query likelihood model is to use the multinomial unigram language modelThe query generation process is randomNext: estimating this 𝐏(𝒒│𝑴_𝒅 )
  11. Basically we are counting how often each word occurs and dividing by the total # of words in the documentNotice the ^, that indicates that this probability is an estimateTherein lies the issue with language modelsWhich leads to the re-occuring issue of “zero probabilities”Which then leads to the much used approach of “smoothing”, which we will see a lot of in the next two presentations in detail.
  12. the initial idea behind smoothing was to allow for non-occuring terms to be in a query generated by the document model GIVE example, say you have a document about tigers that doesn’t contain the word cat but a user queries “big striped cats”One of the important points in this section is that smoothing is essential for the overall good properties of LMs
  13. ---But, as Dr. Lease has mentioned… its easy to get good results when you are comparing to the standard tf-idf---NEXT: comparison of language models to other IR approaches
  14. But they mention that LM can be thought to indirectly include relevance modeling by viewing documents and info needs as the same type of object and analyzing it with NLP BIM = binary independence model
  15. -Both use tf-Both use df and cf to produce prob-Both treat terms independently ------NEXT: document model
  16. Downsides: both downside stem from there being less text to estimate withNEXT: all three approaches
  17. --- so far we’ve addressed query likelihood and document likelihood, now they focus on comparing these modelsNext: model comparison
  18. Q -- What will we use to compare models? One example would be the notorious KL-divergence.Comment -- Some prior results show that comparing models outperforms both query and document likelihood modelsComment -- Not bad for ad hoc queries, but bad for topic trackingNEXT: translation model
  19. -- Synonymy: uses similar, but not the same words to say the same thing---I believe synonymy is still a pretty big issue
  20. -- more computationally intensive than basic LM approaches-- all of these extended language models have been shown to improve basic LM approaches