Problem
The ranking stage of many recommender systems is a gradient boosting model (LightGBM or CatBoost). Neural rankers promise better quality as data grows and more flexible feature modeling through embeddings. Trying one means rewriting numeric and categorical feature processing, the training loop and inference, which a boosting fit handles internally. At T-Bank early neural models lost to production or tied with it, and good guides are scarce. The team's own summary: high effort, low confidence, questionable impact.
Example from the article: T-Bank's recommender R&D team reproduced DCN v2 in one applied task. The first A/B test lost to the production model, and a second try with added vector features gave a gray test.
Solution in brief
scikit-rank wraps several neural ranking architectures in the scikit-learn fit/predict interface. Preprocessing, feature encoding, training and inference are built in and configured through parameters. A team can swap a boosting model for a neural one with minimal code changes. Architecture, encoders and loss are independent components.
Questions this case answers
- How to test a neural model as a drop-in replacement for gradient boosting in a ranking pipeline when the effort of rewriting feature processing and the training loop blocks the experiment
- How to choose and combine a model architecture, a feature encoder and a ranking loss without building a separate training stack for each combination
- How to try a neural ranking model in a recommender pipeline that already runs on gradient boosting, without rewriting preprocessing, training and inference?
- How to handle numerical and categorical features for a neural ranker the way boosting libraries do inside fit?
Tools and methods
- scikit-rank — open-source library with DCN v2, FinalNet, FinalMLP, DESTINE and TabM behind a scikit-learn interface
- DCN v2 — architecture with explicit feature crosses, used in the examples
- LambdaRank, ListMLE, BPR, CORAL — ranking losses that pair with any architecture
- Piecewise Linear Encoding, quantile normalization, per-feature and multi-hash embeddings — feature encoders
Google or a one-time email code. No password.
