---
title: "Exploring the Potential of Graph Neural Networks to Transform Recommendations at Zalando"
description: "Zalando trained a GraphSAGE-based graph neural network on a bipartite user–content graph (view and click links) to learn user and content embeddings via click link prediction, then fed those embeddings as extra features into its existing tabular CTR model for the Homepage."
url: "https://swe.quest/articles/exploring-the-potential-of-graph-neural-networks-to-transform-recommendations-58cf141198bdf8c5"
canonical: "https://engineering.zalando.com/posts/2024/12/gnn-recommendations-zalando.html"
source: "Zalando Engineering"
published: "2024-12-18"
difficulty: "hard"
kind: "Research"
reading_minutes: 7
tags: ["recommendation-systems","machine-learning","model-training","ecommerce"]
---

# Exploring the Potential of Graph Neural Networks to Transform Recommendations at Zalando

A post on [Zalando Engineering](https://swe.quest/sources/zalando.md), published 2024-12-18, 7 min read, Research. Original: [https://engineering.zalando.com/posts/2024/12/gnn-recommendations-zalando.html](https://engineering.zalando.com/posts/2024/12/gnn-recommendations-zalando.html)

## Summary

Zalando trained a GraphSAGE-based graph neural network on a bipartite user–content graph (view and click links) to learn user and content embeddings via click link prediction, then fed those embeddings as extra features into its existing tabular CTR model for the Homepage. Running the GNN end to end was avoided because of graph data generation, neighbor-aware inference and scalability costs; the embedding approach fits current infrastructure, can be retrained daily and helps with cold-start content via view links. Training used PyTorch Geometric with disjoint subgraph mini-batching and separate message-passing and supervision links to prevent leakage. The offline experiment improved ROC-AUC by 0.6 percentage points, with production validation and further tuning still to come.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md) (AI & ML)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [E-commerce](https://swe.quest/tags/ecommerce.md) (Domains)

## Prerequisites

- graph neural networks basics ([easy posts on Machine learning](https://swe.quest/tags/machine-learning.md?difficulty=easy))
- CTR prediction
- link prediction
- ROC-AUC

## Keywords

Graph Neural Networks, GraphSAGE, PyTorch Geometric, Zalando, ROC-AUC

## Related posts

- [Exploring Hierarchical Interest Representation For Meta Ads Deep Funnel Optimization](https://swe.quest/articles/exploring-hierarchical-interest-representation-for-meta-ads-deep-funnel-10b90d80348c21a5.md): Meta Engineering · 2026-07-15 · Hard · 10 min read · Recommendations & ranking, Ads, Machine learning, Model training
  Hierarchical Interest Representation is an upstream representation layer for Meta Ads.
- [Introduction to Graph Machine Learning](https://swe.quest/articles/introduction-to-graph-machine-learning-67c6459102a9edc7.md): Hugging Face · 2023-01-03 · Easy · 13 min read · Machine learning, Algorithms
  Graphs (nodes linked by edges) underpin tasks from molecule generation to recommendation, and learning on them requires permutation-invariant/equivariant models because shuffling an adjacency matrix or edge list yields the same graph.
- [GenRecs Tokenization: Transforming Ads Recommendation at Meta with Stable Model Vocabulary](https://swe.quest/articles/genrecs-tokenization-transforming-ads-recommendation-at-meta-with-stable-model-e3f3b6ea2626a2c2.md): Meta Engineering · 2026-10-19 · Hard · 6 min read · Recommendations & ranking, Ads, LLMs, Machine learning
  Meta's ads recommender replaces per-item IDs with GenRecs Tokenization, a stable semantic vocabulary.
- [User foundation models for Grab](https://swe.quest/articles/user-foundation-models-for-grab-98db1323e8d3fa5a.md): Grab Engineering · 2025-09-26 · Hard · 18 min read · Recommendations & ranking, Model training, Machine learning, ML platforms
  Grab built a transformer-based user foundation model that jointly learns from tabular user attributes and time-series clickstream data to produce general-purpose user embeddings, replacing siloed hand-engineered features.
- [Meta’s Generative Ads Model (GEM): The Central Brain Accelerating Ads Recommendation AI Innovation](https://swe.quest/articles/meta-s-generative-ads-model-gem-the-central-brain-accelerating-ads-5d5a24731a15c0eb.md): Meta Engineering · 2025-11-10 · Hard · 10 min read · Recommendations & ranking, Ads, Model training, ML platforms
  GEM is Meta's LLM-scale foundation model for ads recommendation, trained on thousands of GPUs and used as a teacher to improve hundreds of downstream vertical ranking models; it lifted ad conversions 5% on Instagram and 3% on Facebook Feed.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
