Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Zalando Engineering 7 min read Research hardMaster

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

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.

Assumes: graph neural networks basicsCTR predictionlink predictionROC-AUC

Related posts

  • Exploring Hierarchical Interest Representation For Meta Ads Deep Funnel Optimization

    Meta Engineering hardMaster

    Hierarchical Interest Representation is an upstream representation layer for Meta Ads. It learns unified embeddings for users, ads, advertisers and products over a typed, time-decayed heterogeneous engagement graph spanning billions of interactions. A graph transformer injects structural signals such as node-type transitions and shortest-path distance as attention biases, computed on the fly with FlexAttention over packed block-masked subgraphs. It is trained with self-supervised teacher-student cross-view distillation using Sinkhorn-Knopp balancing plus a supervised engagement-prediction objective, with LLM-processed multimodal content enriching sparse nodes. Pipelined data loading from the online graph engine gave a 30x training speedup, strict temporal cutoffs prevent leakage, and embeddings are quantized into Bag-of-Meaning tokens for inverted-index retrieval and use in GEM, Andromeda and ranking models.

  • Introduction to Graph Machine Learning

    Hugging Face easyNovice

    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. The survey moves from pre-neural engineered features (centrality, clustering coefficient, graphlets, Katz index) and walk-based embeddings like Node2Vec to Graph Neural Networks built on message passing, comparing aggregation schemes in GCN, GAT, GraphSAGE and GIN. It explains the oversmoothing problem that limits GNN depth, with mitigations such as fewer layers, skip connections and non-message-passing layers, then reviews Graph Transformers like SAN, GRPE and Graphormer that adapt attention and positional encodings to graphs.

  • GenRecs Tokenization: Transforming Ads Recommendation at Meta with Stable Model Vocabulary

    Meta Engineering hardMaster

    Meta's ads recommender replaces per-item IDs with GenRecs Tokenization, a stable semantic vocabulary. Each ad, product or page is encoded with pre-trained multimodal models, decomposed into subspaces (e.g. residual decomposition) and quantized against learned codebooks into short token sequences, so similar items share tokens. This lets new and tail items inherit what the model learned about related items, enabling cold-start generalization and cross-campaign transfer. Paired with GEM and the Adaptive Ranking Model it delivered a +0.35% conversion lift. Across eight tokenizer versions, intrinsic metrics (cluster purity, distribution balance, codebook utilization) correlated with downstream CTR accuracy, so the tokenizer can be iterated without full model retraining.

  • User foundation models for Grab

    Grab Engineering hardMaster

    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. A universal key:value tokenisation with custom positional embeddings and attention masks treats tabular columns as an unordered set and events as an ordered sequence. Modality-specific adapters (pre-trained language models for text, embedding layers for IDs, custom encoders for locations and numbers) feed an alignment layer before the transformer. Pre-training is unsupervised, combining masked token reconstruction with next-action prediction across verticals, so the embeddings serve many downstream tasks such as ads, fraud detection and churn prediction, or the model can be fine-tuned directly.

  • Meta’s Generative Ads Model (GEM): The Central Brain Accelerating Ads Recommendation AI Innovation

    Meta Engineering hardMaster

    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. The architecture handles non-sequence features with an extended Wukong design (stackable factorization machines), long user-behavior sequences with a pyramid-parallel structure, and cross-feature learning with InterFormer, plus multi-domain learning across surfaces, for 4x the efficiency of earlier ranking models. Knowledge reaches downstream models through direct and hierarchical transfer that combines distillation with a Student Adapter for stale supervision, representation learning and parameter sharing, which Meta reports as 2x as effective as standard distillation. A rebuilt training stack (HSDP for dense layers, 2D sharding of embedding tables, jagged-sequence kernels, FP8 activations, SM-free NCCLX collectives, compile caching) delivered 23x effective FLOPs with 1.43x MFU on 16x more GPUs.

The quest for software engineering knowledge.

Look:
Layout: