Problem
A marketplace search ranker mixes more than a thousand ranking factors: product properties, functions of other factors and ML model scores. Better ranking needs many new factors, hypothesis tests and retrained models. If each factor needs hand-written code and a service release, the release cycle caps the pace of experiments. Letting ML engineers change production directly removes that cap, but a slow model can then slow down the service.
Example from the article: a new purchase-probability model Mv2 appears, so a new "coolness" factor (Mv2 + Mr) must be added and the service must be able to sort products by it.
Solution in brief
The ranking service o2-midway models factors as nodes of a directed acyclic graph (DAG), so any sort is the computation of one subgraph. Typical factors (store fields, formulas, ML models) are described as configs in a separate service, feature-meta-store, and enter the graph without a release. A new model reaches production only through a test revision with a performance report.
Questions this case answers
- How to let model and data teams add features and models to an online ranking service without a code release while keeping a slow or misconfigured model out of production
- How to compute many interdependent features per request, in parallel, when each ranking mode needs a different subset of them
- How to add a new ranking factor or ML model to a production search ranker without rebuilding and releasing the service?
- How to compute over a thousand ranking factors per search request without hand-wiring their dependencies?
Tools and methods
- DAG of ranking factors — nodes with declared inputs; only the needed subgraph runs, independent nodes in parallel.
- feature-meta-store — config service with a table per factor type and revisions (named factor subsets per environment).
- ml-pipeline — training pipeline that registers the model and checks its performance and quality.
Google or a one-time email code. No password.
