Search Applications

A survey of the tasks built on retrieval methods. Desktop and web search, routing and filtering, classification and clustering, summarization, information extraction, topic detection and tracking, expert finding, question answering, and multimedia retrieval.

Retrieval methods support many tasks besides ranked search, from filtering to question answering, and each changes at least one of three things: whether there is a query, whether the need is temporary or standing, and the form of the output. Filtering has an exact decision rule. Under the TREC 2002 linear utility $2R^{+} - N^{+}$, deliver a document when its estimated probability of relevance exceeds $1/3$; for credit $a$ and debit $b$, when $p > b/(a + b)$. The rule maximizes expected utility only if the estimates are calibrated. On an invented twelve-document stream it delivers seven documents for a utility of 5 (scaled 0.667, against 0.333 for delivering nothing). Ad hoc search settings split into those that need the top few results right and those that need recall: legal discovery, patents and systematic reviews.

Suppose the thesis student who typed climate arctic biodiversity needed more than one ranked list. Over a year of thesis work, a student might want new papers as they appear, grouped by subject, sometimes reduced to a short answer, and sometimes replaced by the name of a person to ask. Each of these is a different task, built from the same parts as a search engine. What tasks besides ranked search are built on retrieval methods, and what does each one change? This article surveys ten, from filtering to question answering, and each changes at least one of three things: whether there is a query, whether the need is temporary or standing, and what form the output takes.

A search application is any task that uses the operations of retrieval: representing text, comparing representations, and estimating relevance. The methods in this course were developed mostly for one task: given a query, rank the documents in a collection. The same methods support many others. A spam filter scores incoming messages against a model of spam, using the term statistics of a ranking function. A news service groups articles about the same event with the similarity measures used to compare a query with a document. A question-answering system begins by retrieving passages that might contain the answer.

The applications differ in whether there is a query at all, whether the need is temporary or standing, and what form the output takes. First we place ordinary ranked search, called ad hoc search, at one end. Then we reverse it into filtering, where the need stands still and the documents move, and work a filter's decisions on a twelve-document stream. Next come the tasks that organize, condense, or extract from a collection. Then come tasks whose answer is an event, a person, a fact, or a picture. Finally we compare them all, and the settings of ad hoc search itself.

Later topics develop several of these applications in depth. The next two articles examine how retrieval is adapted to professional domains and to enterprise, personal, and product collections.

The canonical task is ad hoc retrieval: a person with a temporary need submits a query against a relatively stable collection and receives a ranked list. The term "ad hoc" refers to the query, which is formed for the occasion and then discarded, while the collection persists. Most of this course concerns ad hoc retrieval, and two settings illustrate its range.

Web search operates over the largest and most heterogeneous collection. It holds billions of pages of every quality, written in many languages, many of them designed to manipulate rankings. Its distinctive resources are the link graph and the behavior of very large numbers of users. Its distinctive problems are scale, spam, and freshness. The web search article and search at scale cover it in detail.

Desktop and personal search operates over the opposite kind of collection: one person's files, email, and messages. The collection is small, private, and made up of many formats. It has no link graph and almost no shared behavioral data, since each collection has a single user. The searcher usually knows that the item exists and is trying to find it again. That task is called known-item search, examined in enterprise, personal, and product search.

Between these extremes lie enterprise search, product search, digital libraries, and the specialized professional systems surveyed in the following two articles.

In every one of these settings the query is new and the collection stays put. The next section turns that around.

Standing needs: routing, filtering, and dissemination

Ad hoc search reverses when the need is persistent and the documents are new. A person interested in a subject over months, like the thesis student, does not want to search again each day. They want new documents on the subject delivered as they appear. Three related tasks serve this need.

Selective dissemination of information (SDI) was proposed by Hans Peter Luhn (1958). It stores each user's interests as a profile, effectively a standing query, and matches every incoming document against every profile. Documents that match are sent to the corresponding user. Alerting services for scientific literature, saved searches, and news alerts are its descendants.

Filtering makes a binary decision for each document in a stream: deliver it or discard it. Spam filtering is the most familiar case, with a single profile representing unwanted mail. Filtering differs from ranking in an important way. A ranking system can defer the decision, placing a borderline document in tenth place. In the classical streaming setting, a filter must commit to a decision for each document as it arrives, without knowing which documents will come later. TREC ran a filtering track from 1995 to 2002. It evaluated adaptive filters that learn from the user's feedback on the documents they are shown (Robertson and Soboroff, 2002).

Routing directs each document to one or more destinations, such as sending a customer message to the right support team or a news story to the right desk. Routing can be framed as ranking the profiles for each document, the reverse of ranking the documents for a query.

How should a filter decide? Its rule can be derived exactly.

Filtering as a decision: a worked example

Because a filter produces a set rather than an order, the ranking measures of ranked evaluation cannot score it. The TREC 2002 filtering track used a linear utility instead. It gives a credit of 2 for each relevant document delivered and a debit of 1 for each non-relevant document delivered (Robertson and Soboroff, 2002, §2.3):

$$\text{T11U} = 2R^{+} - N^{+},$$

where $R^{+}$ is the number of relevant documents delivered and $N^{+}$ the number of non-relevant ones. A document that is discarded earns nothing either way.

Here is the idea in one sentence: deliver a document when its expected credit outweighs its expected debit. Because a relevant delivery earns twice what a non-relevant one costs, the filter can afford to deliver documents that are more likely irrelevant than relevant.

The formal version. Suppose the filter estimates that an arriving document is relevant with probability $p$. Delivering it earns 2 with probability $p$ and loses 1 with probability $1 - p$, so its expected contribution is

$$2p - (1 - p) = 3p - 1.$$

Discarding it contributes 0. Delivery is worthwhile exactly when $3p - 1 > 0$, that is, when $p > 1/3$. That is the rule the track report states for this measure. In general, let the credit for a relevant delivery be $a > 0$ and the debit for a non-relevant one be $b > 0$. Delivering a document with probability $p$ of relevance has expected contribution

$$ap - b(1 - p) = (a + b)p - b,$$

which is positive exactly when $p > b/(a + b)$. With $a = 2$ and $b = 1$ this is $p > 1/3$, as above. A user who finds non-relevant documents more costly raises $b$, and the threshold rises with it: with $a = 1$ and $b = 3$ it is $3/4$.

Consider twelve invented documents arriving for one profile, five of them relevant. The profile could be a standing interest like the thesis student's. The filter's estimates, the judgments, and the decisions at the threshold $1/3$ are:

Arrival Estimate $p$ Relevant? Expected gain $3p - 1$ Decision Realized gain
1 0.55 no +0.65 deliver −1
2 0.92 yes +1.76 deliver +2
3 0.09 no −0.73 discard 0
4 0.41 yes +0.23 deliver +2
5 0.74 no +1.22 deliver −1
6 0.28 no −0.16 discard 0
7 0.63 yes +0.89 deliver +2
8 0.15 no −0.55 discard 0
9 0.81 yes +1.43 deliver +2
10 0.37 no +0.11 deliver −1
11 0.22 yes −0.34 discard 0
12 0.04 no −0.88 discard 0

The filter delivers seven documents, four relevant and three not, for $\text{T11U} = 2 \times 4 - 3 = 5$. Document 11 shows what a filter gives up. It is relevant, but its estimate fell below the threshold when it arrived, and it is gone. A ranking system would have placed it ninth, where a persistent reader could still find it.

Utility is unbounded below, and its scale depends on how many relevant documents a topic has. The track therefore normalized it before averaging over topics. The best possible utility is $\text{MaxU} = 2 \times 5 = 10$, delivering every relevant document and nothing else. The normalized utility is $\text{T11NU} = 5 / 10 = 0.5$. The scaled utility clips it at a floor $\text{MinNU} = -0.5$, below which the user is assumed to have stopped reading, and rescales to the range 0 to 1:

$$\text{T11SU} = \frac{\max(\text{T11NU}, \text{MinNU}) - \text{MinNU}}{1 - \text{MinNU}} = \frac{0.5 + 0.5}{1.5} = 0.667.$$

A filter that delivers nothing scores $\text{T11SU} = 0.5 / 1.5 = 0.333$, a baseline that a poor filter can fall below.

Moving the threshold

Moving the threshold trades deliveries against mistakes. Expected utility is the sum of $3p - 1$ over the delivered documents, and realized utility uses the judgments (values computed by tools/experiments/foundations/filtering_utility.py, expected utility rounded to two places and T11SU to three):

Threshold Delivered Relevant Non-relevant T11U Expected utility T11SU
0 (deliver all) 12 5 7 3 3.63 0.533
0.20 9 5 4 6 5.79 0.733
1/3 7 4 3 5 6.29 0.667
0.39 6 4 2 6 6.18 0.733
0.50 5 3 2 4 5.95 0.600
0.80 2 2 0 4 3.19 0.600
0.95 (deliver none) 0 0 0 0 0.00 0.333
Utility of the twelve-document stream as the delivery threshold moves from 0 to 1. Notice that the two curves peak in different places. The solid expected-utility curve peaks at the threshold one third, where it reaches 6.29. The dashed realized utility jumps by plus 2 or minus 1 each time the threshold passes a relevant or non-relevant document, and on this short stream it happens to peak elsewhere, at 6.
Utility of the twelve-document stream as the delivery threshold moves from 0 to 1. Notice that the two curves peak in different places. The solid expected-utility curve peaks at the threshold one third, where it reaches 6.29. The dashed realized utility jumps by plus 2 or minus 1 each time the threshold passes a relevant or non-relevant document, and on this short stream it happens to peak elsewhere, at 6.

Example (a common misreading of the table). The derived threshold is not shown to be wrong by the fact that the filter realizes a utility of 5 at the threshold 1/3 while a threshold of 0.20 would have realized 6. The derivation maximizes expected utility, and the expected utility is highest at $1/3$, as the table shows. Every document above that threshold adds a positive expected gain and every document below it a negative one. On a finite stream the maximum is a plateau, here every threshold from 0.28 up to just below 0.37, the nearest estimates on either side of $1/3$. The realized utility peaks at other thresholds because twelve documents are too few for chance to average out.

The rule has one real condition. It is right on average only if the estimates are calibrated, meaning that among documents given $p = 0.4$, about 40 percent are relevant. Early in a profile's life the filter has seen little feedback, and its estimates are poor. That is why adaptive filtering systems spend much of their effort learning where to set the threshold.

Filtering and retrieval compared

Belkin and Croft (1992) argued that filtering and retrieval are "two sides of the same coin." The representations, matching functions, and term weights are the same, but the roles of the query and the collection are exchanged. The practical differences come from the time dimension. Profiles last long enough to learn from feedback. Collection statistics such as document frequency must be estimated from a stream that is still arriving.

Filtering also leads naturally to classification, since a profile trained on labeled examples of wanted and unwanted documents is a classifier. That is the next family of tasks.

Organizing collections: classification and clustering

Some applications do not answer a query at all. They organize a collection so that people can browse it, or so that later retrieval works better.

Classification, also called categorization, assigns documents to predefined categories: a news article to sports or politics, an email to spam or not spam, a medical paper to its subject headings. The categories are fixed in advance, and a classifier learns to assign them from labeled examples. This is supervised learning, and its classic text methods are the subject of text classification. Two of them connect to the rest of the course:

  • Naive Bayes makes the same kind of conditional independence assumption as the Binary Independence Model, with classes in place of relevance.
  • Feature selection identifies the terms that best separate the classes.

Sahami, Dumais, Heckerman, and Horvitz (1998) applied Naive Bayes to junk email. They treated the loss of a legitimate message as far more costly than a missed piece of spam. The approach became the basis of statistical spam filtering.

Clustering groups documents by similarity without predefined categories. The groups emerge from the data, which makes clustering unsupervised. It serves two purposes in retrieval.

  • As a browsing interface, it shows the structure of a collection or a result set. Results for jaguar, grouped by similarity, would separate the animal pages from the car pages without anyone naming the senses in advance. The Scatter/Gather system clustered a collection so that users could browse it by choosing clusters and having the system re-cluster their choices (Cutting, Karger, Pedersen, and Tukey, 1992). It was later applied to clustering search results (Hearst and Pedersen, 1996).
  • As a retrieval aid, it relies on the cluster hypothesis: documents that are similar to each other tend to be relevant to the same requests (van Rijsbergen, 1979). If that holds, retrieving a whole cluster can find relevant documents that share few words with the query.

Clustering and the cluster hypothesis treats both uses and tests the hypothesis, and Clustering covers k-means, hierarchical methods, and how clusters are evaluated.

Example (headings chosen beforehand). Suppose the thesis student's results were to be shown under the headings sea ice, species ranges, and policy, chosen by a librarian beforehand. That is classification, because the categories were defined in advance and the system must assign documents to them. If the system instead found its own groups and the student had to name them afterwards, it would be clustering.

The distinction between them is the source of the categories. In the standard supervised setting, classification needs labeled training data and produces categories that people defined in advance. Clustering needs no labels and produces groups that people must then interpret. My Goodreads project used both: a classifier to predict a review's star rating from its text, and a clustering of reviewers by their reviewing behavior.

The next tasks make documents shorter or pull facts out of them.

Condensing documents: summarization

Summarization produces a shorter version of a document or a set of documents. Luhn (1958) again supplied an early and influential method: score each sentence by the significant words it contains, and select the highest-scoring sentences. This is extractive summarization, which selects passages from the source. Abstractive summarization writes new text that paraphrases the source. It became practical with neural language models. Nenkova and McKeown (2011) survey the methods.

Summarization appears in retrieval in two places. The snippet shown for a search result is usually a query-biased summary, built by selecting the passages most related to the query (Tombros and Sanderson, 1998). Multi-document summarization condenses many retrieved documents into one overview. It is the task behind generated answers that cite several sources, and it has to avoid repeating what several sources say in common. For questions about a whole corpus, the GraphRAG approach of Edge and colleagues pre-writes summaries of communities in a graph of extracted entities and combines them into one answer.

Extracting facts: information extraction

Information extraction (IE) fills structured records from unstructured text. From a news report of a corporate acquisition, an extractor identifies the acquiring company, the acquired company, the price, and the date. Its basic components are two:

  • named entity recognition finds mentions of people, organizations, places, and dates;
  • relation extraction identifies how the entities are connected.

The U.S. Message Understanding Conferences of the late 1980s and 1990s defined and evaluated these tasks (Grishman and Sundheim, 1996).

Retrieval and extraction support each other. Extraction improves retrieval by adding structure to the index, such as entity fields. These allow a search for documents mentioning a particular company rather than any document containing the word. Retrieval makes extraction practical at scale by selecting the documents worth processing. Knowledge graphs, which answer factual questions directly on search results pages, combine curated structured sources with facts extracted from text. Dong and colleagues (2014) describe one such system, which fuses facts extracted from web pages with an existing curated knowledge base and attaches a probability to each.

A news stream adds time, and with it a new kind of target: the event.

Following events: topic detection and tracking

Topic detection and tracking (TDT) organizes a stream of news by event. A DARPA program in the late 1990s defined its tasks (Allan, 2002):

  • segmentation: dividing a continuous stream, such as a transcribed broadcast, into separate stories;
  • first story detection: recognizing the first story about an event not seen before;
  • tracking: given a few stories about an event, finding the later stories about it;
  • detection: grouping stories by event without any examples, a form of clustering in a stream.

TDT combines filtering, because the documents arrive over time, with clustering, because the groups are not known in advance. It also shows a difficulty that ad hoc retrieval does not have: an event is narrower than a topic. Two stories about two different earthquakes share most of their vocabulary but describe different events, and a tracker must tell them apart. First story detection proved especially hard, because a new event often looks very much like an old one of the same kind. News aggregators that group coverage of the same story perform the detection task.

Sometimes the answer to a need is a person, not a document. The thesis student, for instance, might be better served by the name of someone who studies sea-ice habitat than by another paper. Expert finding ranks people by their expertise on a topic, using the documents associated with them: what they have written, the projects they have worked on, the messages they have sent. The TREC Enterprise track (2005–2008) evaluated expert finding on organizational collections; Balog et al. (2012) review its tasks and results.

Balog, Azzopardi, and de Rijke (2006) formalized two approaches:

  • A candidate model builds a profile of each person from their documents and ranks the profiles against the query.
  • A document model first ranks documents, then credits each relevant document's associated people.

The task matters most inside organizations, where knowing who to ask is often worth more than any document (Balog et al., 2012).

Answering questions

Question answering (QA) returns an answer rather than a document. For Who wrote the Federalist Papers? the ideal response is three names, not a ranked list of pages. The TREC QA track, starting in 1999, evaluated systems on short factual questions (Voorhees, 1999). The architecture that emerged has dominated open-domain question answering since:

  1. retrieve documents or passages likely to contain the answer;
  2. extract candidate answers from them;
  3. rank the candidates.

IBM's Watson, which won the quiz show Jeopardy! in 2011, was an elaborate version of that pipeline (Ferrucci et al., 2010). Neural reading-comprehension models replaced the extraction step with a model that reads a passage and identifies the answer span. Chen, Fisch, Weston, and Bordes (2017) combined such a reader with a TF-IDF retriever over Wikipedia. Dense passage retrieval later replaced that kind of sparse retriever with two trained encoders, one for questions and one for passages.

Retrieval-augmented generation (Lewis et al., 2020) extends the same design: retrieve passages, then have a language model generate an answer from them. In later designs the model also takes part in retrieval, rewriting its query or retrieving again as its answer unfolds, as retrieval in a loop surveys, and deciding whether to retrieve treats the choice to retrieve at all as a decision under cost.

Example (the retriever bounds the answer). A retrieval-augmented system answers from the top five retrieved passages, and none of them mentions the answer. A better generator cannot reliably fix that. The retrieval step limits the quality of the answer, since a generator cannot use evidence it was never given. The converse does not hold either: good evidence does not guarantee that the generator uses it correctly, and evaluating retrieval-augmented systems means telling the two failures apart. An answer that cites retrieved passages can at least be checked against them. Answering systems that cite their sources still begin with the ranked retrieval of passages.

Beyond text: multimedia retrieval

Images, audio, and video have no words to index directly, apart from any speech or visible text they contain. Multimedia retrieval must therefore either find words for them or compare their content directly.

Text surrogates are the oldest approach and remain effective: captions, file names, surrounding page text, and the anchor text of links to an image. For an image found by the query jaguar, the surrounding text is often what says whether it shows the animal or the car. Spoken audio and video can be transcribed by speech recognition. Text in images and video frames can be read by optical character recognition. Both are then indexed as text. In the early years of the TRECVID video retrieval evaluations, many of the strongest video search systems relied heavily on transcripts of the spoken soundtrack (Smeaton, Over, and Kraaij, 2006, §5.4.2).

Content-based retrieval compares features computed from the media itself: color, texture, and shape for images, and spectral fingerprints for audio. Audio fingerprinting is a notable success. A recording can be identified from a few seconds of noisy audio by matching patterns of spectral peaks against an index of fingerprints (Wang, 2003). For general image retrieval, Smeulders and colleagues (2000) identified the semantic gap. Low-level features capture what an image looks like, not what it depicts. Two images can therefore look alike while showing different things, and the reverse.

Learned representations have narrowed that gap. Models trained on large collections of images with their captions map images and text into a shared vector space, so that a text query can be compared directly with images (Radford et al., 2021). Retrieval then becomes nearest-neighbor search in that space, the same operation as dense text retrieval, described in the history.

How the applications relate

The applications differ along a few dimensions:

Application Query Need Output
Ad hoc search Explicit, one-time Temporary Ranked documents
Filtering, SDI Standing profile Persistent Deliver or discard each new document
Routing Profiles of destinations Persistent Destination for each document
Classification None (categories defined in advance) Organizational Category labels
Clustering None Exploratory Groups of similar documents
Summarization Optional (query-biased) Condensation Shorter text
Information extraction Schema of facts to fill Facts in queryable form Records
Topic detection and tracking None, or example stories Ongoing events Stories grouped by event
Expert finding Explicit Temporary Ranked people
Question answering Explicit question Temporary Answer, with sources
Multimedia retrieval Text or example media Temporary Ranked media

The common elements explain why the course spends most of its time on ad hoc retrieval. Nearly all of these tasks reuse, with modest changes:

Classification and clustering get topics of their own because they introduce learning, from labeled examples and from structure in unlabeled data. The rest of the field has drawn on both increasingly.

Ad hoc search across settings

Ad hoc search itself varies a great deal with the setting. The variation follows from a few properties of the collection and the task. The two tables below summarize the settings examined in this topic. The first describes what the system searches and how people ask; the second, what success means and how it is measured. Each row condenses the article that treats the setting in detail: web search, enterprise, personal, and product search, and search in professional domains.

Setting Collection Typical query Freshness
Web Billions of pages, open, partly adversarial Short keywords; navigational, informational, or transactional News pages change many times a day; most pages far less often
Enterprise An organization's repositories, versioned and permissioned Short; often for one official document The current version of a policy or procedure
Personal One person's files, mail, and messages A known item, remembered by date, sender, or type Items just received
Product A structured catalog of records Product type plus attributes Prices and stock change continuously
Legal Case law and statutes; in discovery, a party's files and mail Boolean with proximity operators; in discovery, a request for responsive documents Later decisions change what is good law
Patent Patents and technical literature in many languages A whole patent application Prior art is fixed by the filing date
Systematic review Literature databases such as MEDLINE A long Boolean strategy of controlled and free-text terms Searches are rerun before publication

Example (the settings that need recall). Three of these settings care most about recall rather than about the first few results. They are the three whose task is to find everything: legal discovery, patents, and systematic reviews, where one missed document can change the outcome. The second table shows it in the "Priority" and "Cost of a miss" columns.

Setting Priority Cost of a miss Typical evaluation
Web Precision in the first few results Low: other good pages exist Graded judgments at the top (nDCG), clicks and online experiments
Enterprise Finding the one right document A wrong or obsolete answer Indirect: queries with no results, reformulations, surveys
Personal The one known item The user knows the system failed User studies and logged behavior
Product Precision toward a purchase A lost sale Purchases and other behavioral measures
Legal discovery Recall at acceptable precision Documents withheld that should have been produced Recall and precision estimated from sampled review
Patent Recall An invalid patent or a lost dispute Recall and recall-oriented measures such as PRES (defined in the next article)
Systematic review Recall A biased summary of the evidence Recall, and the number of citations screened

Read down the "Priority" column and the settings divide into two groups.

  • The top of the ranking. Where one good answer satisfies the need (web, product) or the target is a single item (enterprise, personal), the measures concentrate on the first few results.
  • Everything. Where the task is to find everything (legal discovery, patents, systematic reviews), the measures are built on recall. Searchers accept long result lists and Boolean query languages to get it.

The same split separates the evaluation measures of evaluation: precision at $k$ and nDCG for the first group, recall and recall-oriented measures for the second.

Worked problems

These problems are posed on this article's twelve-document stream and its utility measure; none comes from the course text, which does not treat filtering utility. The reference-pass block of filtering_utility.py recomputes every number.

Problem 1 (expected utility at the derived threshold, by hand). Compute the expected utility of the filter at the threshold $1/3$ from the estimates, show that it cannot be raised by moving the threshold to 0.27 or to 0.37, and compare the number of relevant documents the estimates predict for the whole stream with the number there are.

Solution. The expected utility is 6.29; it falls to 6.13 at 0.27 and to 6.18 at 0.37; and the estimates predict 5.21 relevant documents where there are 5.

  • The seven delivered documents have estimates 0.55, 0.92, 0.41, 0.74, 0.63, 0.81 and 0.37, which sum to 4.43. Each contributes $3p - 1$, so the total is $3 \times 4.43 - 7 = 13.29 - 7 = 6.29$.
  • Lowering the threshold to 0.27 adds document 6, with $p = 0.28$ and expected gain $3 \times 0.28 - 1 = -0.16$: $6.29 - 0.16 = 6.13$.
  • Raising it to 0.37 removes document 10, with $p = 0.37$ and expected gain $+0.11$: $6.29 - 0.11 = 6.18$.
  • Any threshold from 0.28 up to just below 0.37 delivers the same seven documents, so the expected utility is 6.29 on that whole range. Every document outside the set has a negative expected gain and every document inside a positive one, so no other set of deliveries has a higher expected utility.
  • The twelve estimates sum to 5.21. If the estimates are calibrated, that sum is the expected number of relevant documents in the stream. The judgments give 5.

The last line is a weak check of calibration: it compares one total, on twelve documents. It does not show that documents given 0.4 are relevant 40 percent of the time, which would need many documents at each level.

Problem 2 (a reader for whom mistakes cost more). A second reader gains 1 from each relevant document delivered and loses 3 for each non-relevant one. Find the threshold, the documents delivered from the same stream, and the realized and expected utility. Then score the first reader's seven deliveries with the second reader's utility.

Solution. The threshold is $3/4$; the filter delivers documents 2 and 9 for a utility of 2 (expected 0.92); and the first reader's deliveries would cost this reader 5.

  • Threshold: $b/(a + b) = 3/(1 + 3) = 3/4$.
  • Only documents 2 ($p = 0.92$) and 9 ($p = 0.81$) exceed it. Both are relevant, so the realized utility is $1 \times 2 - 3 \times 0 = 2$.
  • The expected contribution of a delivery is $p - 3(1 - p) = 4p - 3$: $4 \times 0.92 - 3 = 0.68$ and $4 \times 0.81 - 3 = 0.24$, total 0.92.
  • The seven documents delivered at the threshold $1/3$ are four relevant and three not. For this reader that is $1 \times 4 - 3 \times 3 = -5$, with expected utility $4 \times 4.43 - 7 \times 3 = 17.72 - 21 = -3.28$.

The same stream, the same estimates and the same filter are worth $+5$ to one reader and $-5$ to the other. The threshold is not a property of the filter. It is set by what a mistake costs the reader, so the measure has to be chosen before a filter can be tuned.

Problem 3 (scaled utility below the baseline). Compute T11SU for three filters on the stream: one that delivers exactly the five documents the article's filter discarded, one that delivers the seven non-relevant documents and nothing else, and one that delivers nothing.

Solution. The scores are 0.200, 0 and 0.333: both active filters are worse than delivering nothing.

  • The discarded documents are 3, 6, 8, 11 and 12, of which only 11 is relevant. $\text{T11U} = 2 \times 1 - 4 = -2$ and $\text{T11NU} = -2/10 = -0.2$. That is above the floor of $-0.5$, so $\text{T11SU} = (-0.2 + 0.5)/1.5 = 0.200$.
  • Seven non-relevant deliveries give $\text{T11U} = -7$ and $\text{T11NU} = -0.7$, which is below the floor. The clipped value is $-0.5$ and $\text{T11SU} = (-0.5 + 0.5)/1.5 = 0$. The same score is reached at $\text{T11U} = -5$ already, where $\text{T11NU}$ equals the floor: the measure does not distinguish a bad filter from a worse one past that point.
  • Delivering nothing gives $\text{T11U} = 0$, $\text{T11NU} = 0$ and $\text{T11SU} = 0.5/1.5 = 0.333$.

The scale therefore reads as follows on this stream: 1 for delivering exactly the five relevant documents, 0.667 for the article's filter, 0.333 for silence, and anything lower for a filter whose deliveries do more harm than good.

What we have learned

Ranked search over a query is one task among many built from the same parts. Filtering reverses the roles of query and collection. Its decision rule follows from the utility measure: with a credit of 2 and a debit of 1, deliver whenever $p > 1/3$. Classification and clustering organize rather than rank, and differ in where the categories come from. Summarization, extraction, event tracking, expert finding, question answering, and multimedia retrieval each change the output or the unit of retrieval. Each of them still begins by representing text and comparing representations.

The settings tables split ad hoc search into two families: those that need the top few results right and those that need everything. The second family has built the most demanding search practice in the field, with Boolean strategies, controlled vocabularies, and recall measured by sampling. The next article, Search in Professional Domains, describes how lawyers, patent examiners, and medical reviewers search, and explains why they still write Boolean queries.

References

  • Allan, J. (Ed.) (2002). Topic Detection and Tracking: Event-based Information Organization. Kluwer Academic Publishers. record
  • Balog, K., Azzopardi, L., and de Rijke, M. (2006). Formal models for expert finding in enterprise corpora. In Proceedings of SIGIR 2006, 43–50. record
  • Balog, K., Fang, Y., de Rijke, M., Serdyukov, P., and Si, L. (2012). Expertise retrieval. Foundations and Trends in Information Retrieval, 6(2–3), 127–256. record
  • Belkin, N. J., and Croft, W. B. (1992). Information filtering and information retrieval: Two sides of the same coin? Communications of the ACM, 35(12), 29–38. record
  • Chen, D., Fisch, A., Weston, J., and Bordes, A. (2017). Reading Wikipedia to answer open-domain questions. In Proceedings of ACL 2017, 1870–1879. record · 3 pages
  • Cutting, D. R., Karger, D. R., Pedersen, J. O., and Tukey, J. W. (1992). Scatter/Gather: A cluster-based approach to browsing large document collections. In Proceedings of SIGIR 1992, 318–329. record · 3 pages
  • Dong, X. L., Gabrilovich, E., Heitz, G., Horn, W., Lao, N., Murphy, K., Strohmann, T., Sun, S., and Zhang, W. (2014). Knowledge Vault: A web-scale approach to probabilistic knowledge fusion. In Proceedings of KDD 2014, 601–610. record
  • Ferrucci, D., Brown, E., Chu-Carroll, J., et al. (2010). Building Watson: An overview of the DeepQA project. AI Magazine, 31(3), 59–79. record
  • Grishman, R., and Sundheim, B. (1996). Message Understanding Conference-6: A brief history. In Proceedings of COLING 1996, 466–471. record
  • Hearst, M. A., and Pedersen, J. O. (1996). Reexamining the cluster hypothesis: Scatter/Gather on retrieval results. In Proceedings of SIGIR 1996, 76–84. record · 2 pages
  • Lewis, P., Perez, E., Piktus, A., et al. (2020). Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems 33. record · 6 pages
  • Luhn, H. P. (1958). A business intelligence system. IBM Journal of Research and Development, 2(4), 314–319. record · 2 pages
  • Luhn, H. P. (1958). The automatic creation of literature abstracts. IBM Journal of Research and Development, 2(2), 159–165. record · 4 pages
  • Nenkova, A., and McKeown, K. (2011). Automatic summarization. Foundations and Trends in Information Retrieval, 5(2–3), 103–233. record
  • Radford, A., Kim, J. W., Hallacy, C., et al. (2021). Learning transferable visual models from natural language supervision. In Proceedings of ICML 2021, 8748–8763. record
  • Robertson, S., and Soboroff, I. (2002). The TREC 2002 filtering track report. In Proceedings of the Eleventh Text REtrieval Conference (TREC 2002). record
  • Sahami, M., Dumais, S., Heckerman, D., and Horvitz, E. (1998). A Bayesian approach to filtering junk e-mail. In Learning for Text Categorization: Papers from the AAAI Workshop, Technical Report WS-98-05, 55–62. record · 2 pages
  • Smeaton, A. F., Over, P., and Kraaij, W. (2006). Evaluation campaigns and TRECVid. In Proceedings of the 8th ACM International Workshop on Multimedia Information Retrieval, 321–330. record
  • Smeulders, A. W. M., Worring, M., Santini, S., Gupta, A., and Jain, R. (2000). Content-based image retrieval at the end of the early years. IEEE Transactions on Pattern Analysis and Machine Intelligence, 22(12), 1349–1380. record
  • Tombros, A., and Sanderson, M. (1998). Advantages of query biased summaries in information retrieval. In Proceedings of SIGIR 1998, 2–10. record · 2 pages
  • van Rijsbergen, C. J. (1979). Information Retrieval, 2nd edition, chapter 3. Butterworths. record · 8 pages
  • Voorhees, E. M. (1999). The TREC-8 question answering track report. In Proceedings of the Eighth Text REtrieval Conference (TREC-8), 77–82. record · 5 pages
  • Wang, A. (2003). An industrial-strength audio search algorithm. In Proceedings of the 4th International Conference on Music Information Retrieval (ISMIR 2003). record

Reviewed: verified, 16 Nov 2026 · checked against sources, 23 Nov 2026 · citations checked, 16 Nov 2026 · editorial review, 23 Nov 2026 · 11 revisions