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.
| Layer | Here | Its job |
|---|---|---|
| objective | bookings that aren't cancelled | what the business wants |
| online metric | bookings per searcher, in an A/B test | decides the launch |
| offline metric | NDCG of the booked listing, on held-out logs | scores a model before launch |
| label | the booked listing's impression = 1, others = 0 | what 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.
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