ContentsThe library

Finding Things by Meaning

A Hundred Questions You Wrote Yourself

Last timeReading the Shortlist Properly

Without a set of questions whose answers you know, every opinion about a retrieval system is an anecdote. Building that set is a day of work and it changes what you do next.

Seven lessons of decisions, each of which could have gone another way. Piece

size, overlap, which representation model, whether to merge in word matching, how

to set the index dial, how many candidates to rerank, how many to pass on.

Every one of those is unanswerable without measurement, and almost nobody

measures, because measurement requires a set of questions whose answers you know

and building one feels like a project.

It is an afternoon.

FIG 1Building the set, and then using it
The loop at the bottom is the entire discipline. Everything else in this course is a list of things to try; this is the machinery that tells you which of them to keep.

Which numbers

The first is the share of questions whose answer appears anywhere in the

shortlist. It blames the first stage and nothing else, which makes it the most

useful single number in the system.

The second is the share answered correctly. It blames everything, which makes it

the number to report and a poor number to debug with.

A third is worth adding once the first two are stable, because neither of them

can see ordering.

FIG 2A number that notices where the right piece was placed
the position of the right piece in the list returned for question j
questions in the set
the average of one divided by that position, which is one when every answer is first and a tenth when every answer is tenth
The share reaching the shortlist cannot distinguish a right piece at position one from one at position fifty. This can, which is why it is the number that moves when you add a reranking stage and the first number does not.
FIG 3Four systems, three numbers, and no agreement
answer reaches the shortaverage of one over the answered correctly, as a
meaning matching alone84.000.4166.00
meaning matching with re79.000.6374.00
merged word and meaning 91.000.3869.00
merged, with reranking88.000.6681.00
The marked row has the best first column and only the third best last column, because it finds the answer and buries it. Anyone reporting a single number here could have told you almost any story they liked, which is why three columns is the minimum.

How many questions is enough

A measured rate on a hundred questions is not the true rate. It is a sample, and

the gap between the two is often larger than the improvements people announce.

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 Youopening only
  7. 07The Stage That Can Afford to Be Slowopening only
  8. 08A Hundred Questions You Wrote Yourselfyou are here

Read alongside