20/36
Part 3 of 5 · Ranking and featuresLearn and do
Four steps took the neural ranker past the trees
The 2019 paper describes how the team got past the stall. Each step makes a good talking point.
- A simple neural network, with one hidden layer of 32 units. It came out booking-neutral against the trees. Its value was proving the whole pipeline could serve live traffic.
- Pairwise loss weighted by NDCG. Booked against not-booked pairs, each weighted by how much swapping the two would change NDCG, as in the last step.
- Trees and a factorization machine as inputs. The leaf each tree landed in, and a factorization machine's booking prediction, fed the network as features. A factorization machine is a linear model that also scores every pair of features, by the dot product of a small learned vector for each feature.
- More data, a simpler model. The team dropped all that complexity, scaled the training data 10 times, and moved to a network with 2 hidden layers. It took 195 input features, had hidden layers of 127 and 83 units, and trained on 1.7 billion pairs.
One Airbnb candidate in 2026 reported a discussion of factorization machines against embeddings plus a deep network (1 report).
A vector for each listing id
Most listings are booked only a few times a year. What does a learned vector for each listing id do?
Pick an answer above to see the rest