- Open Access
A tutorial on information retrieval: basic terms and concepts
Journal of Biomedical Discovery and Collaboration volume 1, Article number: 2 (2006)
This informal tutorial is intended for investigators and students who would like to understand the workings of information retrieval systems, including the most frequently used search engines: PubMed and Google. Having a basic knowledge of the terms and concepts of information retrieval should improve the efficiency and productivity of searches. As well, this knowledge is needed in order to follow current research efforts in biomedical information retrieval and text mining that are developing new systems not only for finding documents on a given topic, but extracting and integrating knowledge across documents.
Biomedical researchers use PubMed and Google everyday, and the success of these search engines is closely linked to the fact that one does not need to know how the systems work in order to obtain useful answers to queries that are posed. Nevertheless, scientists tend to be mechanistic thinkers, so they may naturally become curious about the mechanisms that underlie these services. Also, even if a neophyte can get acceptable results, knowing the information retrieval technology underlying these search engines should allow one to get better results more efficiently [1, 2]. Finally, if indeed "biology has become an information science" , then all investigators should have a working knowledge of basic information retrieval (IR) terms and concepts, even those who are not engaged in IR research themselves.
PubMed  is a service of the National Library of Medicine that includes over 15 million bibliographic citations from MEDLINE and other life science journals for biomedical articles back to the 1950s. The full text of articles are not stored; rather, links to the provider's site to obtain the full-text of articles are given, if available. Each article is indexed according to multiple fields, including title, abstract, author names, journal name, language of publication, year of publication, etc. (Table 1). Each article in MEDLINE is also indexed using a controlled vocabulary, called Medical Subject Headings (MeSH), which is used to describe the main topics discussed . The set of MeSH terms is manually assigned by biomedical experts who scan each article.
Let us consider a particular information need: A user would like to identify recent articles that discuss the use of propanolol in hypertension. First, he/she must translate this information need into a query in the correct format so that it can be processed correctly. PubMed employs the Boolean operators AND, OR, and NOT. The AND operator is used to retrieve a set in which each record contains all the search terms. This operator places no condition on where the terms are found in relation to one another; the terms simply have to appear somewhere in the same record. For example, if one desired documents on the use of the drug propanolol in the disease hypertension, a typical search statement might be [propanolol AND hypertension] (the brackets are used to delimit the query but are not part of the query itself) (Fig. 1). The OR operator retrieves documents that contain at least one of the specified search terms. The NOT operator excludes the specified terms from the search. Certain very common words (e.g., "this") are placed on a stoplist and are automatically excluded from queries.
Before PubMed begins to retrieve articles, it performs query preprocessing, to identify which fields of the MEDLINE record are relevant, and to alter or expand the query terms via automatic term mapping. For example, the query [high blood pressure] will be automatically mapped to the MeSH term "hypertension" (each MeSH term may have a set of synonyms as alternative entry terms. In this example, "high blood pressure" is one of the synonyms or entry terms of "hypertension"). PubMed will search using the mapped MeSH term within the MeSH field, as well as the term originally entered. MeSH comprises a hierarchy of terms, and the more specific terms corresponding to that MeSH term will also automatically be searched. In the above example, three more specific MeSH terms "Hypertension, Malignant", "Hypertension, Renal", and "Hypertension, Pregnancy-Induced" are also searched. This process of adding related terms is called query expansion. It is basically an OR operation. PubMed also maintains a phrase list, so that commonly used phrases are recognized and handled as such. After query preprocessing, PubMed looks for exact matches between the query terms and terms within the specified MEDLINE fields, and returns a list of documents ranked in reverse chronological order (optionally, by first author's last name or by journal name). A more detailed PubMed tutorial can be found at , and tips for MEDLINE searching can be found at .
Unlike PubMed, which is a search engine limited to biomedical literature, Google searches billions of web pages. However, like PubMed, Google uses a Boolean search strategy. Submitting a query to Google in the form: [propanolol hypertension] will return all the web pages that match both "propanolol" and "hypertension" exactly (though some of the terms may reside not on the retrieved page itself, but on pages that link to the retrieved page). Google also supports OR and NOT Boolean operators. Instead of returning web pages chronologically, Google employs a unique method called PageRank and sophisticated text-matching techniques to find pages that are both important and relevant to a query.
PageRank is a method for measuring the importance of web pages developed by Larry Page and Sergey Brin . PageRank relies on the link structure of the web as an indicator of an individual page's value. If many web pages have links to page A, then page A is given more weight. But, Google looks at more than the sheer volume of links a page receives; it also analyzes the page that contains the link. Links by pages that are themselves "important" weigh more heavily and help to make other pages "important" (see Table 3 for details). Google also uses text-matching techniques to measure the similarity between a query and web pages . Google considers over a hundred factors in determining which web pages are most relevant to a query; for example, it gives higher ranks to pages that have search terms near each other and in the same order as the query, or pages that have search terms in important sections of a web page (such as title).
Vector space model
Users cannot simply enter Boolean queries the way they would normally write or speak (free text), because the Boolean logic incorporates all terms used – thus, extra or colloquial words might unduly restrict or expand the query. Submitting a query to PubMed in the form: [tell me what are the indications for propranolol in hypertension] retrieves no articles, because authors are not likely to use "tell" or "me" in their academic articles. (NLM does maintain an experimental MEDLINE interface for free text queries at .) Partial-matching will allow free text queries and retrieve all the documents that have at least one of the search terms and then rank them according to their relevance to the query.
The classic IR model of partial-matching is the vector space model (VSM), which is usually attributed to Salton . In the VSM, each document is represented, or indexed, by a vector of weighted terms. For example, the query [tell me what are the indications for propranolol in hypertension] may be represented by a vector including the terms "indications", "propranolol", and "hypertension". (The words "tell", "me", "for", and so on may be eliminated if a stoplist is employed.) Each document in the collection to be searched (e.g. web pages indexed by Google) is represented in the same manner. Often stemming is employed to recognize variants of the same word, which will also reduce the number of terms indexed. For example, the words "beautiful" and "beautify" come from the same stem, "beauty". Thus they are often identified by one term only. Notice that the VSM does not capture all features of a document or a query. For example, the ordering of the terms in a document is not recorded, so "a cat chases a mouse" will be indistinguishable from "a mouse chases a cat". The terms are usually weighted in terms of their importance. A common weighting strategy is to assign high weights to terms that occur frequently in a document but infrequently elsewhere.
The similarity between each document stored in the system and the user query is defined as the difference between the document vector and the query vector. Documents are typically ranked by their closeness of fit to the query. This is called relevance ranking (see Table 2 for details).
Although searches are easy to carry out, it is notoriously difficult to craft a query that exactly captures the user's intent on the first try. Relevance feedback is a technique commonly used to improve retrieval performance [12, 13]. It is a process in which the user conducts an initial query, and then provides feedback as to what documents are relevant. Terms from those known relevant document are then added to the query. Alternatively, the search engine can attempt to identify relevant documents automatically by assuming that the top-ranked documents are relevant, so that new terms are selected automatically (this is known as pseudo relevance feedback, or blind query expansion). A new query is formulated by adding the selected terms for a second round retrieval. Through a query expansion, some relevant documents missed in the initial round can then be retrieved to improve the overall performance.
Evaluating the performance of search engines
An IR system returns a ranked list of documents to a user's query. How does the result satisfy the user? The most widely used measure is the relevance-based measure of recall and precision. With respect to a given query, the entire space of documents can be partitioned into four sets: Relevant to the user and retrieved by the system; relevant but not retrieved; irrelevant and retrieved; irrelevant and not retrieved. The recall and precision are defined based on these four sets.
Recall indicates what proportion of all the relevant documents have been retrieved from the collection. Precision indicates what proportion of the retrieved documents is relevant. One of the problems with this measure is that the total number of relevant documents in the collection is usually unknown. Thus, a gold standard, where all the documents are judged as relevant or irrelevant to each query, is usually constructed manually by evaluators to use this measure. In a reasonably sized collection, it is impossible to judge all documents with respect to each query. Instead, "pooled relevance assessment" is carried out in which multiple search engines are used, each one retrieving a certain number of documents for each query. The assessors judge the union of the retrieved documents, or sometimes, the commonly retrieved documents.
In order to combine recall and precision into a single overall measure, some workers employ a recall-precision table, where 11 intervals from a recall of 0.0 to 1.0 are used and the average of precision at each point of recall is reported as the summary result. This is also called 11-point average precision (Table 4, Fig. 2). Another approach to combine recall and precision is the F measure. A simple version of F measure is as follows:
A related approach that has been used more frequently in recent times is mean average precision (MAP), where the precision is measured at every point at which a relevant document is obtained and then averaged over all relevant documents to obtain the average precision for a given query. For a set of queries, the mean of the average precision for all queries is the MAP of that information retrieval system.
The Text REtrieval Conference (TREC) [14, 15] is a yearly event, organized by the US National Institute for Standards and Technology (NIST) to encourage research in information retrieval from large text applications by providing a large test collection (a fixed collection of documents, queries, and relevance judgments), uniform scoring procedures, and a forum for organizations interested in comparing their results. A particular track in the biomedical domain (TREC Genomics Track)  was started in 2003. In the most recent year of the track (2005), two tasks were included. One assessed ad hoc retrieval from topics captured by real biologists, such as finding papers that describe the role of a particular gene in a given disease. For the Genomics track, TREC has provided a special program called trec_evalto evaluate the performance of each participant's system .
The ease at which users can carry out searches in PubMed and Google should not lull investigators into thinking that information retrieval is an easily learned art, or a mature science. User studies indicate that students and professionals alike are very ineffective and inefficient at retrieving specific items of information via PubMed or web searches [18, 19] and the TREC conference has demonstrated that existing IR systems show levels of performance that are far below optimal [[20, 21]; see accompanying articles in this journal]. Research is actively underway to learn how to better represent information within documents, and how to index the information using ontologies (an ontology is typically a hierarchical data structure containing all the relevant entities, their properties, their relationships, and rules within a certain domain ). Many researchers are currently exploring how to go beyond retrieving documents to finding relevant passages or specific relationships mentioned within documents (information extraction) (see For Further Reading, Table 5). A variety of web-based services such as KartOO  and Vivisimo  currently allow the user to visualize or cluster retrieved documents or websites according to their relevance, importance and relationships to each other. Finally, new mathematical models of information retrieval are being explored [25, 26] that have yet to be implemented widely.
One may expect that finding information that is present in public databases should be much easier than making new scientific discoveries, yet this task remains a formidable challenge.
McKibbon KA, Haynes RB, Dilks CJ, Ramsden MF, Ryan NC, Baker L, Flemming T, Fitzgerald D: How good are clinical MEDLINE searches? A comparative study of clinical end-user and librarian searches. Comput Biomed Res. 1990, 23: 583-593.
McKibbon KA, Haynes RB, Johnston ME, Walker CJ: A study to enhance clinical end-user MEDLINE search skills: design and baseline findings. Proceedings of the Annual Symposium on Computer Application in Medical Care. 1991, 73-77.
Insel TR, Volkow ND, Li TK, Battey JF, Landis SC: Neuroscience networks: data-sharing in an information age. PLoS Biol. 2003, 1: E17-
Entrez PubMed. [http://www.pubmed.gov]
Medical Subject Headings. [http://www.nlm.nih.gov/mesh/meshhome.html]
PubMed Tutorial. [http://www.nlm.nih.gov/bsd/pubmed_tutorial/m1001.html]
Swanson DR: An introduction to MEDLINE searching. [http://arrowsmith.psych.uic.edu/arrowsmith_uic/tutorial/swanson_medlinesearching_2003.pdf]
Page L, Brin S, Motwani R, Winograd T: The PageRank Citation Ranking: Bringing Order to the Web. Technical Report. 1998, Stanford University, [http://dbpubs.stanford.edu:8090/pub/1999-66]
Salton G, Buckley C: Global text matching for information retrieval. Science. 1991, 253: 1012-1015.
Srinivasan P: Retrieval feedback in MEDLINE. J Am Med Inform Assoc. 1996, 3: 157-167.
Aronson AR, Rindflesch TC: Query expansion using the UMLS Metathesaurus. Proceedings of AMIA Annual Fall Symposium. 1997, 485-489.
Text REtrieval Conference. [http://trec.nist.gov/]
Voorhees E, Harman D, (eds): TREC: Experiment and Evaluation in Information Retrieval. 2005, Cambridge, MA: MIT Press
TREC Genomics Track. [http://ir.ohsu.edu/genomics/]
TREC Evaluation Program. [http://trec.nist.gov/trec_eval]
Hersh WR, Hickam DH: How well do physicians use electronic information retrieval systems? A framework for investigation and systematic review. JAMA. 1998, 280: 1347-1352.
Wildemuth BM, Moore ME: End-user search behaviors and their relationship to search effectiveness. Bull Med Libr Assoc. 1995, 83: 294-304.
Hersh WR, Bhupatiraju RT, Ross L, Roberts P, Cohen AM, Kraemer DF: Enhancing Access to the Bibliome: The TREC 2004 Genomics Track. J Biomed Discovery Collaboration.
Cohen AM, Hersh WR: The TREC 2004 Genomics Track Categorization Task. J Biomed Discovery Collaboration.d
Gruber TR: A translation approach to portable ontologies. Knowledge Acquisition. 1993, 5: 199-220. [http://ksl-web.stanford.edu/KSL_Abstracts/KSL-92-71.html]
KartOO visual meta search engine. [http://www.kartoo.com/]
Vivisimo's clustering. [http://www.vivisimo.com/]
Ponte JM, Croft WB: A Language Modeling Approach to Information Retrieval. 21st ACM Conference on Research and Development in Information Retrieval (SIGIR). 1998, Melbourne, Australia. ACM press, 275-281. [http://citeseer.ist.psu.edu/ponte98language.html]
Torvik VI, Weeber M, Swanson DR, Smalheiser NR: A probabilistic similiarity metric for Medline records: a model for author name disambiguation. J Am Soc Information Sci Technol. 2005, 56: 140-158.
Porter MF: An algorithm for suffix stripping. Program. 1980, 14: 130-137. [http://www.tartarus.org/~martin/PorterStemmer/]
Hersh WR: Information retrieval: a health and biomedical perspective. 2003, New York: Springer-Verlag, 2
Robertson S, Walker S: Some simple effective approximations to the 2-Poisson model for probabilistic weighted retrieval. Proceedings of the 17th ACM Conference on Research and Development in Information Retrieval (SIGIR), Dublin, Ireland. 1994, Springer-Verlag, 232-341.
Singhal A, Buckley C, Mitra M: Pivoted Document Length Normalization. Proceedings of the 19th ACM Conference on Research and Development in Information Retrieval (SIGIR). 1996, Zurich, Switzerland ACM Press, 21-29.
The author(s) declare that they have no competing interests.
W. Z. wrote the first draft and helped modify subsequent drafts. N. S. rewrote the text to make it more accessible to biomedical investigators, and C. Y. double-checked the adequacy and coverage of the topic.
About this article
Cite this article
Zhou, W., Smalheiser, N.R. & Yu, C. A tutorial on information retrieval: basic terms and concepts. J Biomed Discov Collaboration 1, 2 (2006). https://doi.org/10.1186/1747-5333-1-2
- Information Retrieval
- MeSH Term
- Relevance Feedback
- Query Expansion
- Vector Space Model