Chapter 1 Search Engines and Information Retrieval Search

  • Slides: 19
Download presentation
Chapter 1 Search Engines and Information Retrieval

Chapter 1 Search Engines and Information Retrieval

Search and Information Retrieval n n Search on the Web is a daily activity

Search and Information Retrieval n n Search on the Web is a daily activity for many people throughout the world Search and communication are most popular uses of the computer Applications involving search are everywhere The field of CS that is most involved with R&D for search is information retrieval (IR) 2

Information Retrieval n General definition that can be applied to many types of information

Information Retrieval n General definition that can be applied to many types of information and search applications Ø What is Information Retrieval (IR)? “Information retrieval is a field concerned with the structure, analysis, organization, storage, searching, and retrieval of information. ” (Salton’ 68) n Primary focus of IR since the 50’s has been on text and documents and its primary goal is “Retrieve all the documents which are relevant to a user query, while retrieving as few non-relevant documents as possible. ” 3

What is a Document? n Examples. Ø n Web pages, email, books, news stories,

What is a Document? n Examples. Ø n Web pages, email, books, news stories, scholarly papers, text messages, Word™, Power. Point™, PDF, forum postings, patents, IM sessions, etc. Common properties Ø Ø Significant text content Some structure (e. g. , title, author, date for papers; subject, sender, destination for email) 4

Documents vs. Database Records n Database records (or tuples in relational DBs) are made

Documents vs. Database Records n Database records (or tuples in relational DBs) are made up of well-defined fields (or attributes) Ø Ø n e. g. , bank records with account numbers, balances, names, addresses, social security numbers, dates of birth, etc. Easy to compare fields with well-defined semantics (as defined in DB schema) to queries in order to find matches Text is more difficult 5

Documents vs. Records n Bank DB Query Example Ø Ø n “Find records with

Documents vs. Records n Bank DB Query Example Ø Ø n “Find records with balance > $50, 000 in branches located in Amherst, MA. ” Matches easily found by comparison with field values of records Search Engine Query Example Ø Ø “Bank scandals in western mass” This text must be compared to the text of entire news stories 6

Comparing Text n n Comparing the query text to the document text and determining

Comparing Text n n Comparing the query text to the document text and determining what is a good match is the core issue of IR Exact matching of words is not enough Ø Ø Ø Many different ways to write the same thing in a “natural language” like English e. g. , does a news story containing the text “bank director in Hollywood steals funds” match the query? Some stories will be better matches than others 7

IR Tasks n Ad-hoc search Ø n Filtering Ø n Identify relevant user profiles

IR Tasks n Ad-hoc search Ø n Filtering Ø n Identify relevant user profiles for a new document Classification Ø n Find relevant documents for an arbitrary text query Identify relevant labels for documents Question answering Ø Give a specific answer to a question 8

Big Issues in IR n Relevance Ø Ø What is it? Simple (and simplistic)

Big Issues in IR n Relevance Ø Ø What is it? Simple (and simplistic) definition: A relevant document contains the information that a person was looking for when they submitted a query to the search engine Many factors influence a person’s decision about what is relevant: e. g. , task, context, novelty, background Topical relevance (same topic) vs. user relevance (everything else) 9

Big Issues in IR n Relevance Ø Ø Retrieval models, based on which ranking

Big Issues in IR n Relevance Ø Ø Retrieval models, based on which ranking algorithms used in search engines are developed, define a view of relevance Most models describe statistical properties of text, rather than linguistic features, which can be part of a statistical model • i. e. , counting simple text features, such as word occurrences, instead of parsing and analyzing the sentences • Statistical approach to text processing started with Luhn in the 50’s 10

Big Issues in IR n Evaluation of an IR System Performance Ø Experimental procedures

Big Issues in IR n Evaluation of an IR System Performance Ø Experimental procedures and measures for comparing system output with user expectations • Ø Ø IR evaluation methods now used in many fields Typically use test collection of documents, queries, and relevance judgments • Ø Originated in Cranfield experiments in the 60’s Most commonly used are TREC collections Recall and precision are two examples of effectiveness measures 11

Big Issues in IR n Users and Information Needs Ø Ø Search evaluation is

Big Issues in IR n Users and Information Needs Ø Ø Search evaluation is user-centered “Keyword queries”, which are the most commonly used, are often poor descriptions of actual information needs Interaction, besides context, is important for understanding user intent Query refinement techniques such as query expansion, query suggestion, relevance feedback improve ranking 12

IR and Search Engines n n A search engine is the practical application of

IR and Search Engines n n A search engine is the practical application of IR techniques to large scale text collections Web search engines are best-known examples, but many others Ø Open source search engines are important for R&D • n e. g. , Lucene, Lemur/Indri, Galago Big issues include main IR issues but also some others 13

IR and Search Engines Information Retrieval Relevance - Effective ranking Evaluation - Testing &

IR and Search Engines Information Retrieval Relevance - Effective ranking Evaluation - Testing & Measuring Information needs - User interaction Search Engines Performance - Efficient search and Indexing Incorporating new data - Coverage and freshness Scalability - Growing with data and users Adaptability - Tuning for applications Specific problems - e. g. , Spam 14

Search Engine Issues n Performance Ø Measuring and improving the efficiency of search •

Search Engine Issues n Performance Ø Measuring and improving the efficiency of search • e. g. , reducing response time, increasing query throughput, increasing indexing speed Ø Indexes are data structures designed to improve search efficiency • designing and implementing them are major issues for search engines 15

Search Engine Issues n Dynamic data Ø The “collection” for most real applications is

Search Engine Issues n Dynamic data Ø The “collection” for most real applications is constantly changing in terms of updates, additions, deletions • Ø Acquiring or “crawling” the documents is a major task • Ø e. g. , Web pages Typical measures are coverage (how much has been indexed) and freshness (how recently was it indexed) Updating the indexes while processing queries is also a design issue 16

Search Engine Issues n Scalability Ø Ø n Making everything work with millions of

Search Engine Issues n Scalability Ø Ø n Making everything work with millions of users every day, and many terabytes of documents Distributed processing is essential Adaptability Ø Changing and tuning search engine components such as ranking algorithm, indexing strategy, interface for different applications 17

Spam n n n For Web search, spam in all its forms is one

Spam n n n For Web search, spam in all its forms is one of the major issues Affects the efficiency of search engines and more seriously the effectiveness of the results Many types of spam Ø n e. g. , spamdexing or term spam, link spam, term-link spam New subfield called adversarial IR, since spammers are “adversaries” with different goals 18

Course Goals n n To help you to understand search engines, evaluate and compare

Course Goals n n To help you to understand search engines, evaluate and compare them, and modify them for specific applications Provide broad coverage of the important issues in IR and search engines Ø Includes underlying models and current research directions 19