Problem
Faire is a wholesale marketplace. Its search ranking ran on XGBoost from 2022, and the team found it hard to extend. Relevance, fresh inventory and brand discovery had to be merged into one composite label, so changing one weight shifted the whole label distribution. The model could not read a session as a sequence, could not account for position bias structurally, and a separate model per surface (Product Search, Brand Page Search) shared nothing between surfaces.
Example from the article: raising the weight of relevance against conversion rescales every training label and can flatten the differences between high-conversion items.
Solution in brief
The team moved to a deep learning ranker (Deep and Cross Network) in small steps: first a data pipeline with quality monitoring, then a training framework, then new serving infrastructure, aiming for parity with XGBoost. A session-normalized listwise loss with several tasks replaced the composite label. Fine-tuning moved the Product Search model to Brand Page Search.
Questions this case answers
- How to migrate a production ranking model from gradient-boosted trees to a neural network while holding quality and latency at parity
- How to optimize several competing ranking objectives jointly when a single weighted label makes the trade-offs brittle
- How to transfer a ranking model from a data-rich surface to a data-poor surface to shorten launches
- How to replace a tree-based search ranker with a deep learning ranker without losing offline metrics or serving latency?
Tools and methods
- Deep and Cross Network (DCN) — core neural ranking architecture
- Session-normalized listwise cross-entropy, multi-task — one loss term per objective, summed with task weights
- Ax (Bayesian optimization) — searches task-weight configurations
- Grouped permutation importance — feature attribution that treats a feature and its NaN indicator as one group
- PyTorch, PyTorch Lightning, Docker, Nginx, Gunicorn, Flask — training framework and custom serving image
- XGBoost — the baseline ranker
Google or a one-time email code. No password.