1 Information Retrieval LECTURE 1 : Introduction.

Slides:



Advertisements
Similar presentations
Introduction to Information Retrieval Introduction to Information Retrieval Hinrich Schütze and Christina Lioma Lecture 1: Boolean Retrieval 1.
Advertisements

CS276A Text Retrieval and Mining Lecture 1. Query Which plays of Shakespeare contain the words Brutus AND Caesar but NOT Calpurnia? One could grep all.
Adapted from Information Retrieval and Web Search
Srihari-CSE535-Spring2008 CSE 535 Information Retrieval Lecture 2: Boolean Retrieval Model.
Ricerca dell’Informazione nel Web Prof. Stefano Leonardi.
Boolean Retrieval Lecture 2: Boolean Retrieval Web Search and Mining.
Introduction to Information Retrieval Introduction to Information Retrieval Introducing Information Retrieval and Web Search.
PrasadL1IntroIR1 Information Retrieval Adapted from Lectures by Berthier Ribeiro-Neto (Brazil), Prabhakar Raghavan (Yahoo and Stanford) and Christopher.
Information Retrieval
CS276 Information Retrieval and Web Search Lecture 1: Boolean retrieval.
Introduction to IR Systems: Supporting Boolean Text Search 198:541.
Information Retrieval using the Boolean Model. Query Which plays of Shakespeare contain the words Brutus AND Caesar but NOT Calpurnia? Could grep all.
Srihari-CSE535-Spring2008 CSE 535 Information Retrieval Chapter 1: Introduction to IR.
1 CSCI 5417 Information Retrieval Systems Lecture 1 8/23/2011 Introduction.
PrasadL3InvertedIndex1 Inverted Index Construction Adapted from Lectures by Prabhakar Raghavan (Yahoo and Stanford) and Christopher Manning (Stanford)
Introducing Information Retrieval and Web Search
PrasadL3InvertedIndex1 Inverted Index Construction Adapted from Lectures by Prabhakar Raghavan (Yahoo and Stanford) and Christopher Manning (Stanford)
Introduction to Information Retrieval (Manning, Raghavan, Schutze) Chapter 1 Boolean retrieval.
Information Retrieval and Data Mining (AT71. 07) Comp. Sc. and Inf
Introduction to Information Retrieval Introduction to Information Retrieval cs458 Introduction David Kauchak adapted from:
Information retrieval wed sept data…. -start at 6.45.
LIS618 lecture 2 the Boolean model Thomas Krichel
Introduction to Information Retrieval Introduction to Information Retrieval Modified from Stanford CS276 slides Chap. 1: Boolean retrieval.
Modern Information Retrieval Lecture 3: Boolean Retrieval.
Introduction to Information Retrieval Introduction to Information Retrieval COMP4201 Information Retrieval and Search Engines Lecture 1 Boolean retrieval.
Introduction to Information Retrieval Introduction to Information Retrieval Information Retrieval and Web Search Lecture 1: Introduction and Boolean retrieval.
Introduction to Information Retrival Slides are adapted from stanford CS276.
IR Paolo Ferragina Dipartimento di Informatica Università di Pisa.
ITCS 6265 IR & Web Mining ITCS 6265/8265: Advanced Topics in KDD --- Information Retrieval and Web Mining Lecture 1 Boolean retrieval UNC Charlotte, Fall.
Text Retrieval and Text Databases Based on Christopher and Raghavan’s slides.
Introduction to Information Retrieval Introduction to Information Retrieval CS276 Information Retrieval and Web Search Pandu Nayak and Prabhakar Raghavan.
Introduction to Information Retrieval Introduction to Information Retrieval CS276 Information Retrieval and Web Search Christopher Manning and Prabhakar.
CES 514 – Data Mining Lec 2, Feb 10 Spring 2010 Sonoma State University.
1 CS276 Information Retrieval and Web Search Lecture 1: Introduction.
Introduction to Information Retrieval CSE 538 MRS BOOK – CHAPTER I Boolean Model 1.
Information Retrieval Lecture 1. Query Which plays of Shakespeare contain the words Brutus AND Caesar but NOT Calpurnia? Could grep all of Shakespeare’s.
Introduction to Information Retrieval Introduction to Information Retrieval CS276 Information Retrieval and Web Search Christopher Manning and Prabhakar.
1 Information Retrieval Tanveer J Siddiqui J K Institute of Applied Physics & Technology University of Allahabad.
1. L01: Corpuses, Terms and Search Basic terminology The need for unstructured text search Boolean Retrieval Model Algorithms for compressing data Algorithms.
Introduction to Information Retrieval Introduction to Information Retrieval Modified from Stanford CS276 slides Chap. 1: Boolean retrieval.
Introduction to Information Retrieval Introduction to Information Retrieval cs160 Introduction David Kauchak adapted from:
Introduction to Information Retrieval Boolean Retrieval.
CS276 Information Retrieval and Web Search Lecture 1: Boolean retrieval.
Introduction to Information Retrieval Introduction to Information Retrieval Lecture 1: Boolean retrieval.
Introduction to Information Retrieval Introduction to Information Retrieval Introducing Information Retrieval and Web Search.
Introduction to Information Retrieval Introducing Information Retrieval and Web Search.
Module 2: Boolean retrieval. Introduction to Information Retrieval Information Retrieval  Information Retrieval (IR) is finding material (usually documents)
CS315 Introduction to Information Retrieval Boolean Search 1.
CS 6633 資訊檢索 Information Retrieval and Web Search Lecture 1: Boolean retrieval Based on a ppt file by HinrichSchütze.
Introduction to Information Retrieval Introduction to Information Retrieval CS276 Information Retrieval and Web Search Christopher Manning and Prabhakar.
Take-away Administrativa
Information Retrieval : Intro
CS122B: Projects in Databases and Web Applications Winter 2017
Lecture 1: Introduction and the Boolean Model Information Retrieval
COIS 442 Foundations on IR Information Retrieval and Web Search
Slides from Book: Christopher D
정보 검색 특론 Information Retrieval and Web Search
Boolean Retrieval.
Information Retrieval and Data Mining (AT71. 07) Comp. Sc. and Inf
CSCE 561 Information Retrieval System Models
Boolean Retrieval.
Information Retrieval and Web Search Lecture 1: Boolean retrieval
INFORMATION RETRIEVAL TECHNIQUES BY DR. ADNAN ABID
Boolean Retrieval.
Introduction to Information Retrieval
Introducing Information Retrieval and Web Search
CS276 Information Retrieval and Web Search
Information Retrieval and Web Design
Information Retrieval and Web Design
Introducing Information Retrieval and Web Search
Presentation transcript:

1 Information Retrieval LECTURE 1 : Introduction

2 Information Retrieval Information retrieval (IR) deals with the organization, storage, retrieval and evaluation of information relevant to user’s query. A user having an information need formulates a request in the form of query written in natural language. The retrieval system responds by retrieving document that seems relevant to the query

3 Information Retrieval Traditionally it has been accepted that information retrieval system does not return the actual information but the documents containing that information. ‘An information retrieval system does not inform (i.e. change the knowledge of) the user on the subject of her inquiry. It merely informs on the existence (or non-existence) and whereabouts of documents relating to her request.’

4 Information Retrieval Process

5 IR : Definition IR is finding material of an unstructured nature (usually text) that satisfy an information need from within large collections

6 Does information lie in the structure? Unstructured data ? - does not have a clear, semantically overt, easy-for-computers structure.

7 IR vs. databases: Unstructured vs structured data Structured data tends to refer to information in “tables” EmployeeManagerSalary SmithJones50000 ChangSmith IvySmith Typically allows numerical range and exact match (for text) queries, e.g., Salary < AND Manager = Smith.

8 Unstructured data Typically refers to free text Allows “Keyword” queries including operators More sophisticated “concept” queries e.g., find all web pages dealing with drug abuse Classic model for searching text documents

9 Semi-structured data In fact almost no data is “unstructured” E.g., this slide has distinctly identified zones such as the Title and Bullets Facilitates “semi-structured” search such as Title contains important concepts AND Bullets contain examples … to say nothing of linguistic structure

10 More sophisticated semi- structured search Title is about Object Oriented Programming AND Author something like stro*rup where * is the wild-card operator The focus of XML search.

11 Unstructured (text) vs. structured (database) data in 1996

12 Unstructured (text) vs. structured (database) data in 2006

13 IR: An Example Which plays of Shakespeare contain the words Brutus AND Caesar but NOT Calpurnia? Simplest approach is to grep all of Shakespeare’s plays for Brutus and Caesar, then strip out lines containing Calpurnia? Slow (for large corpora)‏ NOT Calpurnia is non-trivial Other operations (e.g., find the word Romans near countrymen) not feasible Ranked retrieval (best documents to return) not possible

14 How to avoid linear scanning ?  Index the documents in advance

15 Indexing The process of transforming document (text) to some representation of it is known as indexing. Different index structures might be used. One commonly used data structure by IR systems is inverted index.

16 Information Retrieval Model An IR model is a pattern that defines several aspects of retrieval procedure, for example, how the documents and user’s queries are represented how system retrieves relevant documents according to users’ queries & how retrieved documents are ranked.

17 IR Model An IR model consists of - a model for documents - a model for queries and - a matching function which compares queries(representation) to documents(representation).

18 Classical IR Model IR models can be classified as: Classical models of IR Non-Classical models of IR Alternative models of IR

19 Classical IR Model based on mathematical knowledge that was easily recognized and well understood simple, efficient and easy to implement The three classical information retrieval models are: -Boolean -Vector and -Probabilistic models

20 Non-Classical models of IR Non-classical information retrieval models are based on principles other than similarity, probability, Boolean operations etc. on which classical retrieval models are based on. information logic model, situation theory model and interaction model.

21 Alternative IR models Alternative models are enhancements of classical models making use of specific techniques from other fields. Example: Cluster model, fuzzy model and latent semantic indexing (LSI) models.

22 Information Retrieval Model The actual text of the document and query is not used in the retrieval process. Instead, some representation of it. Document representation is matched with query representation to perform retrieval One frequently used method is to represent document as a set of index terms or keywords

23 Basics of Boolean IR model Which plays of Shakespeare contain the words Brutus AND Caesar but NOT Calpurnia? Document collection: A collection of Shakespeare's work

24 Binary Term-document matrix 1 if play contains word, 0 otherwise

25 So we have a 0/1 vector for each term. To answer query: take the vectors for Brutus, Caesar and Calpurnia (complemented)  bitwise AND AND AND =

26 Answers to query Antony and Cleopatra, Act III, Scene ii ………… …………... Hamlet, Act III, Scene ii ……………………. ……………………

27 Boolean retrieval model answers any query which is in the form of Boolean expression of terms.

28 Bigger corpora Consider N = 1M documents, each with about 1K terms. Avg 6 bytes/term incl spaces/punctuation 6GB of data in the documents. Say there are m = 500K distinct terms among these.

29 Can’t build the matrix 500K x 1M matrix has half-a-trillion 0’s and 1’s. But it has no more than one billion 1’s. matrix is extremely sparse. What’s a better representation? We only record the 1 positions. Why?

30 Inverted index For each term T, we must store a list of all documents that contain T. Brutus Calpurnia Caesar What happens if the word Caesar is added to document 14? we can use an array or a list.

31 Inverted index Linked lists generally preferred to arrays Dynamic space allocation Insertion of terms into documents easy Space overhead of pointers Brutus Calpurnia Caesar Dictionary Postings lists Sorted by docID. Posting