LBSC 690 Information Retrieval and Search

Slides:



Advertisements
Similar presentations
Pseudo-Relevance Feedback For Multimedia Retrieval By Rong Yan, Alexander G. and Rong Jin Mwangi S. Kariuki
Advertisements

Chapter 5: Introduction to Information Retrieval
Modern information retrieval Modelling. Introduction IR systems usually adopt index terms to process queries IR systems usually adopt index terms to process.
Ranked Retrieval INST 734 Module 3 Doug Oard. Agenda  Ranked retrieval Similarity-based ranking Probability-based ranking.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, November 7, 2013 Session 10: Information.
Information Retrieval in Practice
Search Engines and Information Retrieval
Information Retrieval Ling573 NLP Systems and Applications April 26, 2011.
Information Retrieval Review
ISP 433/533 Week 2 IR Models.
Basic IR: Queries Query is statement of user’s information need. Index is designed to map queries to likely to be relevant documents. Query type, content,
1 CS 430 / INFO 430 Information Retrieval Lecture 8 Query Refinement: Relevance Feedback Information Filtering.
LBSC 690: Week 11 Information Retrieval and Search Jimmy Lin College of Information Studies University of Maryland Monday, April 16, 2007.
1 CS 430 / INFO 430 Information Retrieval Lecture 15 Usability 3.
Full-Text Indexing Session 10 INFM 718N Web-Enabled Databases.
T.Sharon - A.Frank 1 Internet Resources Discovery (IRD) IR Queries.
The Vector Space Model LBSC 796/CMSC828o Session 3, February 9, 2004 Douglas W. Oard.
Modern Information Retrieval Chapter 2 Modeling. Can keywords be used to represent a document or a query? keywords as query and matching as query processing.
INFO 624 Week 3 Retrieval System Evaluation
Information Retrieval Interaction CMSC 838S Douglas W. Oard April 27, 2006.
LBSC 690: Session 11 Information Retrieval and Search Jimmy Lin College of Information Studies University of Maryland Monday, November 19, 2007.
Reference Collections: Task Characteristics. TREC Collection Text REtrieval Conference (TREC) –sponsored by NIST and DARPA (1992-?) Comparing approaches.
Evaluating the Performance of IR Sytems
Advance Information Retrieval Topics Hassan Bashiri.
Information retrieval: overview. Information Retrieval and Text Processing Huge literature dating back to the 1950’s! SIGIR/TREC - home for much of this.
LBSC 690 Session #9 Unstructured Information: Search Engines Jimmy Lin The iSchool University of Maryland Wednesday, October 29, 2008 This work is licensed.
Recuperação de Informação. IR: representation, storage, organization of, and access to information items Emphasis is on the retrieval of information (not.
Chapter 5: Information Retrieval and Web Search
Overview of Search Engines
The Boolean Retrieval Model LBSC 708A/CMSC 838L Session 2 - September 11, 2001 Philip Resnik.
Search Engines and Information Retrieval Chapter 1.
Evaluation Experiments and Experience from the Perspective of Interactive Information Retrieval Ross Wilkinson Mingfang Wu ICT Centre CSIRO, Australia.
Lecture Four: Steps 3 and 4 INST 250/4.  Does one look for facts, or opinions, or both when conducting a literature search?  What is the difference.
Chapter 2 Architecture of a Search Engine. Search Engine Architecture n A software architecture consists of software components, the interfaces provided.
1 Query Operations Relevance Feedback & Query Expansion.
1 Information Retrieval Acknowledgements: Dr Mounia Lalmas (QMW) Dr Joemon Jose (Glasgow)
Xiaoying Gao Computer Science Victoria University of Wellington Intelligent Agents COMP 423.
Latent Semantic Analysis Hongning Wang Recap: vector space model Represent both doc and query by concept vectors – Each concept defines one dimension.
Search Result Interface Hongning Wang Abstraction of search engine architecture User Ranker Indexer Doc Analyzer Index results Crawler Doc Representation.
Chapter 6: Information Retrieval and Web Search
Introduction to Digital Libraries hussein suleman uct cs honours 2003.
IR System Evaluation Farhad Oroumchian. IR System Evaluation System-centered strategy –Given documents, queries, and relevance judgments –Try several.
Comparing and Ranking Documents Once our search engine has retrieved a set of documents, we may want to Rank them by relevance –Which are the best fit.
Search Engine Architecture
Matching LBSC 708A/CMSC 828O March 8, 1999 Douglas W. Oard and Dagobert Soergel.
LANGUAGE MODELS FOR RELEVANCE FEEDBACK Lee Won Hee.
The Structure of Information Retrieval Systems LBSC 708A/CMSC 838L Douglas W. Oard and Philip Resnik Session 1: September 4, 2001.
Information Retrieval Techniques Israr Hanif M.Phil QAU Islamabad Ph D (In progress) COMSATS.
Introduction to Information Retrieval Aj. Khuanlux MitsophonsiriCS.426 INFORMATION RETRIEVAL.
Vector Space Models.
Information Retrieval
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
Evidence from Content INST 734 Module 2 Doug Oard.
Structure of IR Systems LBSC 796/INFM 718R Session 1, January 26, 2011 Doug Oard.
Information Retrieval Techniques MS(CS) Lecture 7 AIR UNIVERSITY MULTAN CAMPUS Most of the slides adapted from IIR book.
Evaluation INST 734 Module 5 Doug Oard. Agenda Evaluation fundamentals Test collections: evaluating sets Test collections: evaluating rankings Interleaving.
Chapter. 3: Retrieval Evaluation 1/2/2016Dr. Almetwally Mostafa 1.
Indexing LBSC 796/CMSC 828o Session 9, March 29, 2004 Doug Oard.
Xiaoying Gao Computer Science Victoria University of Wellington COMP307 NLP 4 Information Retrieval.
Feature Assignment LBSC 878 February 22, 1999 Douglas W. Oard and Dagobert Soergel.
Knowledge and Information Retrieval Dr Nicholas Gibbins 32/4037.
Plan for Today’s Lecture(s)
Text Based Information Retrieval
Information Retrieval and Web Search
Search Engine Architecture
Information Retrieval and Web Search
Information Retrieval and Web Search
Data Mining Chapter 6 Search Engines
Search Engine Architecture
Information Retrieval and Web Search
Presentation transcript:

LBSC 690 Information Retrieval and Search Jen Golbeck College of Information Studies University of Maryland

What is IR? “Information?” “Retrieval?” How is it different from “data”? Information is data in context Not necessarily text! How is it different from “knowledge”? Knowledge is a basis for making decisions Many “knowledge bases” contain decision rules “Retrieval?” Satisfying an information need “Scratching an information itch” 4

What types of information? Text (Documents and portions thereof) XML and structured documents Images Audio (sound effects, songs, etc.) Video Source code Applications/Web services

The Big Picture The four components of the information retrieval environment: User (user needs) Process System Data

The Information Retrieval Cycle Source Selection Resource source reselection Query Formulation Query query reformulation, vocabulary learning, relevance feedback Search Ranked List Selection Documents Examination Documents Delivery

Supporting the Search Process Source Selection Resource Query Formulation Query Search Ranked List Selection Indexing Index Documents Examination Acquisition Collection Documents Delivery

How is the Web indexed? Spiders and crawlers Robot exclusion Deep vs. Surface Web

Modern History The “information overload” problem is much older than you may think Origins in period immediately after World War II Tremendous scientific progress during the war Rapid growth in amount of scientific publications available The “Memex Machine” Conceived by Vannevar Bush, President Roosevelt's science advisor Outlined in 1945 Atlantic Monthly article titled “As We May Think” Foreshadows the development of hypertext (the Web) and information retrieval system

The Memex Machine

Types of Information Needs Retrospective “Searching the past” Different queries posed against a static collection Time invariant Prospective “Searching the future” Static query posed against a dynamic collection Time dependent When we’re talking about information retrieval, we’re talking mainly about searching.

Retrospective Searches (I) Ad hoc retrieval: find documents “about this” Known item search Directed exploration Identify positive accomplishments of the Hubble telescope since it was launched in 1991. Compile a list of mammals that are considered to be endangered, identify their habitat and, if possible, specify what threatens them. Find Jen Golbeck’s homepage. What’s the ISBN number of “Modern Information Retrieval”? Who makes the best chocolates? What video conferencing systems exist for digital reference desk services?

Retrospective Searches (II) Question answering Who discovered Oxygen? When did Hawaii become a state? Where is Ayer’s Rock located? What team won the World Series in 1992? “Factoid” What countries export oil? Name U.S. cities that have a “Shubert” theater. “List” Who is Aaron Copland? What is a quasar? “Definition”

Prospective “Searches” Filtering Make a binary decision about each incoming document Routing Sort incoming documents into different bins? Spam or not spam? Categorize news headlines: World? Nation? Metro? Sports? 5

Why is IR hard? Why is it so hard to find the text documents you want? What’s the problem with language? Ambiguity Synonymy Polysemy Paraphrase Anaphora Pragmatics

“Bag of Words” Representation Bag = a “set” that can contain duplicates “The quick brown fox jumped over the lazy dog’s back”  {back, brown, dog, fox, jump, lazy, over, quick, the, the} Vector = values recorded in any consistent order {back, brown, dog, fox, jump, lazy, over, quick, the}  [1 1 1 1 1 1 1 1 2] 8

Bag of Words Example Document 1 Term Stopword List Document 2 The quick brown fox jumped over the lazy dog’s back. quick brown fox over lazy dog back now time all good men come jump aid their party 1 Stopword List for is of Document 2 the to Now is the time for all good men to come to the aid of their party. 9

Boolean “Free Text” Retrieval Limit the bag of words to “absent” and “present” “Boolean” values, represented as 0 and 1 Represent terms as a “bag of documents” Same representation, but rows rather than columns Combine the rows using “Boolean operators” AND, OR, NOT Result set: every document with a 1 remaining 10

Boolean Free Text Example quick brown fox over lazy dog back now time all good men come jump aid their party 1 Term Doc 1 Doc 2 Doc 3 Doc 4 Doc 5 Doc 6 Doc 7 Doc 8 dog AND fox Doc 3, Doc 5 dog NOT fox Empty fox NOT dog Doc 7 dog OR fox Doc 3, Doc 5, Doc 7 good AND party Doc 6, Doc 8 good AND party NOT over Doc 6 12

Why Boolean Retrieval Works Boolean operators approximate natural language Find documents about a good party that is not over AND can discover relationships between concepts good party OR can discover alternate terminology excellent party NOT can discover alternate meanings Democratic party 13

The Perfect Query Paradox Every information need has a perfect set of documents If not, there would be no sense doing retrieval Every document set has a perfect query AND every word to get a query for document 1 Repeat for each document in the set OR every document query to get the set query But can users realistically expect to formulate this perfect query? Boolean query formulation is hard! 14

Why Boolean Retrieval Fails Natural language is way more complex She saw the man on the hill with a telescope Bob had noodles with broccoli for lunch. Bob had noodles with Mary for lunch. AND “discovers” nonexistent relationships Terms in different paragraphs, chapters, … Guessing terminology for OR is hard good, nice, excellent, outstanding, awesome, … Guessing terms to exclude is even harder! Democratic party, party to a lawsuit, … 15

Proximity Operators More precise versions of AND “NEAR n” allows at most n-1 intervening terms “WITH” requires terms to be adjacent and in order Easy to implement, but less efficient Store a list of positions for each word in each doc Stopwords become very important! Perform normal Boolean computations Treat WITH and NEAR like AND with an extra constraint 16

Boolean Retrieval Strengths Weaknesses Accurate, if you know the right strategies Efficient for the computer Weaknesses Often results in too many documents, or none Users must learn Boolean logic Sometimes finds relationships that don’t exist Words can have many meanings Choosing the right words is sometimes hard

Ranked Retrieval Paradigm Some documents are more relevant to a query than others Not necessarily true under Boolean retrieval! “Best-first” ranking can be superior Select n documents Put them in order, with the “best” ones first Display them one screen at a time Users can decide when they want to stop reading

Ranked Retrieval: Challenges “Best first” is easy to say but hard to do! The best we can hope for is to approximate it Will the user understand the process? It is hard to use a tool that you don’t understand Efficiency becomes a concern

Similarity-Based Queries Create a query “bag of words” Find the similarity between the query and each document For example, count the number of terms in common Rank order the documents by similarity Display documents most similar to the query first Surprisingly, this works pretty well!

Counting Terms Terms tell us about documents If “rabbit” appears a lot, it may be about rabbits Documents tell us about terms “the” is in every document: not discriminating Documents are most likely described well by rare terms that occur in them frequently Higher “term frequency” is stronger evidence Low “collection frequency” makes it stronger still 18

TF.IDF fij = frequency of term ti in document dj ni = number of docs that mention term i N = total number of docs TF.IDF score wij = TFij £ IDFi Doc profile = set of words with highest TF.IDF scores, together with their scores Term frequency Inverse document frequency

Example Collection of 100 documents One document in the collection: I really like cows. Cows are neat. Cows eat grass. Cows make milk. Cows live outside. Cows are sometimes white and sometimes spotted. Silk silk silk. What do cows drink? Water. What is the TF-IDF score for “cows” in this document? TF - “cows” appears 7 times. “Cows” is the most frequent word, so TF = 7/7 = 1 IDF - This is the only document mentioning the word “cows”, so IDF = log (1,000 / 1) = 3 TF-IDF = 1*3 = 3 What is the TDF-IDF score for “are”? TF = 2/7 = 0.29 IDF = log (1.01) = 0.004 TF-IDF = 0.00116

The Information Retrieval Cycle Source Selection Resource source reselection Query Formulation Query query reformulation, vocabulary learning, relevance feedback Search Ranked List Selection Documents Examination Documents Delivery

Search Output What now? What can the system do? User identifies relevant documents for “delivery” User issues new query based on content of result set What can the system do? Assist the user to identify relevant documents Assist the user to identify potentially useful query terms 16

Selection Interfaces One dimensional lists Two+ dimensional displays What to display? title, source, date, summary, ratings, ... What order to display? retrieval status value, date, alphabetic, ... How much to display? number of hits Other aids? related terms, suggested queries, … Two+ dimensional displays Clustering, projection, contour maps, VR Navigation: jump, pan, zoom E.g. http://www.visualthesaurus.com/ 18

Query Enrichment Relevance feedback Manual reformulation User designates “more like this” documents (like google) System adds terms from those documents to the query Manual reformulation Initial result set leads to better understanding of the problem domain New query better approximates information need Automatic query suggestion

Example Interfaces Google: keyword in context Microsoft Live: query refinement suggestions Exalead: faceted refinement Vivisimo: clustered results Kartoo: cluster visualization WebBrain: structure visualization Grokker: “map view”

Evaluating IR Systems User-centered strategy System-centered strategy Given several users, and at least 2 retrieval systems Have each user try the same task on both systems Measure which system works the “best” System-centered strategy Given documents, queries, and relevance judgments Try several variations on the retrieval system Measure which ranks more good docs near the top

Good Effectiveness Measures Capture some aspect of what the user wants Have predictive value for other situations Different queries, different document collection Easily replicated by other researchers Easily compared Optimally, expressed as a single number Question: When does this not work?

Defining “Relevance” Hard to pin down: a central problem in information science Relevance relates a topic and a document Not static Influenced by other documents Two general types Topical relevance: is this document about the correct subject? Situational relevance: is this information useful?

Set-Based Measures Precision = A ÷ (A+B) Recall = A ÷ (A+C) Relevant Not relevant Retrieved A B Not retrieved C D Precision = A ÷ (A+B) Recall = A ÷ (A+C) Miss = C ÷ (A+C) False alarm (fallout) = B ÷ (B+D) Collection size = A+B+C+D Relevant = A+C Retrieved = A+B When is precision important? When is recall important?

Another View Space of all documents Relevant + Retrieved Relevant Not Relevant + Not Retrieved

Precision and Recall Precision Recall How much of what was found is relevant? Often of interest, particularly for interactive searching Recall How much of what is relevant was found? Particularly important for law, patents, and medicine Precision: retrieved relevant out of all retrieved Recall: retrieved relevant out of all relevant

Abstract Evaluation Model Query Documents Ranked Retrieval Ranked List Evaluation Relevance Judgments Measure of Effectiveness

ROC Curves

User Studies Goal is to account for interface issues By studying the interface component By studying the complete system Formative evaluation Provide a basis for system development Summative evaluation Designed to assess performance

Quantitative User Studies Select independent variable(s) e.g., what info to display in selection interface Select dependent variable(s) e.g., time to find a known relevant document Run subjects in different orders Average out learning and fatigue effects Compute statistical significance Null hypothesis: independent variable has no effect Rejected if p<0.05

Qualitative User Studies Observe user behavior Instrumented software, eye trackers, etc. Face and keyboard cameras Think-aloud protocols Interviews and focus groups Organize the data For example, group it into overlapping categories Look for patterns and themes Develop a “grounded theory”

Questionnaires Demographic data Subjective self-assessment Preference For example, computer experience Basis for interpreting results Subjective self-assessment Which did they think was more effective? Often at variance with objective results! Preference Which interface did they prefer? Why?

By now you should know… Why information retrieval is hard Why information retrieval is more than just querying a search engine The difference between Boolean and ranked retrieval (and their advantages/disadvantages) Basics of evaluating information retrieval systems