ContentsThe library

Finding Things by Meaning

One Knob, and What It Is Really Selling You

Last timeFinding Without Looking at Everything

Every approximate index has a single dial trading accuracy against time. Where to set it is an arithmetic question, and the answer is usually lower than instinct suggests.

The previous lesson ended with a structure that sometimes fails to find the right

piece. The obvious question is how often, and the useful question is how much it

would cost to make that number better.

Both are answerable, and the first one is answerable without any labelled data at

all, which makes it unusual in this field.

What is being measured

Exhaustive comparison gives the correct answer by construction. So you already

own a reference: run a sample of questions both ways, and compare.

FIG 1Accuracy of the index, measured against the method it replaced
the k pieces the index returned for question j
the k pieces exhaustive comparison returns, which are the true nearest
questions in the sample, a thousand being plenty
the share of the true nearest that the index actually found, averaged over questions
Nobody has to judge whether any piece is relevant. The reference is produced mechanically by the slow method, so this number can be computed on any collection in an afternoon with no annotation budget.

One point about this measurement is worth dwelling on, because it is a rare

luxury. Almost everything else in retrieval needs somebody to decide what the

right answer was, and such decisions are slow, expensive and contested. Here the

right answer is defined by a program you already have. That makes this the one

number in the pipeline you can know exactly, which is probably why it receives

more attention than its importance deserves.

The lesson stops here

4 more paragraphs to go

You have read the opening. The rest of the argument, the problems that check whether it landed, and the lines worth keeping at the end all come with a plan.

The first lesson of every course in the library reads the whole way through, free, so you can see exactly what the rest of them are.

See the planThe contents

This is the reading half

Starting the course gives you your own copy of it. Every idea on every page has problems standing under it, marked with a reason rather than a tick, and any sentence you do not believe can be opened and argued with. None of that can happen on a page nobody owns.

The contents

The rest of this course

  1. 01The Step That Decides Everything After It
  2. 02The Decision Made Before Anything Is Searchedopening only
  3. 03Neither Side of the Comparison Is Textopening only
  4. 04The Two Methods Fail on Opposite Questionsopening only
  5. 05You Cannot Compare the Question Against Everythingopening only
  6. 06One Knob, and What It Is Really Selling Youyou are here
  7. 07The Stage That Can Afford to Be Slowopening only
  8. 08A Hundred Questions You Wrote Yourselfopening only

Read alongside