Problem
Zalando's homepage picks content for each user by predicting the click-through rate (CTR) of every candidate piece of content. The production model reads tabular features of user-content interactions, such as views and clicks. It cannot see the wider structure, such as which similar users clicked similar content. A graph model could, but graph inference on live traffic is costly to build and run.
Example from the article: On the Zalando homepage, a preselected pool of content is scored by predicted CTR, and the highest expected value is shown to the user.
Solution in brief
Model users and content as a bipartite graph and train a GraphSAGE network to predict the "clicked" link. Then take the user and content embeddings from that network and feed them to the existing CTR model as extra features. The production model and its serving stay as they are.
Questions this case answers
- How to use relational user-item structure in a tabular ranking model when end-to-end graph inference is too costly to serve
- How to produce representations for new items that have views but no clicks yet
- How to add graph neural network embeddings to a production CTR model without rebuilding its serving stack?
- How to represent users and content on a homepage as a graph and train embeddings for click prediction?
Tools and methods
- GraphSAGE — GNN that builds node embeddings by sampling and aggregating neighbors' features
- Link prediction — predicts a "clicked" link between a user node and a content node
- Neighborhood mini-batching — samples subgraphs around links so training scales
- PyTorch Geometric — builds the graph datasets, loaders and batches
- Production CTR model — consumes the GNN embeddings as additional features
Google or a one-time email code. No password.