11/39
Part 2 of 6 · FramingLearn and do

The objective, the label and the metrics are different things

Take the search column from the last step. Its first piece, the objective, sits on top of three more layers.

LayerHereIts job
objectivebookings that aren't cancelledwhat the business wants
online metricbookings per searcher, in an A/B testdecides the launch
offline metricNDCG of the booked listing, on held-out logsscores a model before launch
labelthe booked listing's impression = 1, others = 0what the model learns from

Each layer stands in for the one above it. The objective is the outcome you want. The rest are things you can count.

The label comes from Airbnb's 2019 search paper. It trained on searches, and gave the booked listing's impression a relevance of 1 and every other impression 0.

Predict

NDCG with one booked listing is 1 divided by log2(position + 1). What is it with the booked listing at position 3?

Pick an answer above to see the rest