---
title: "Recommendations & ranking (hard)"
description: "Recommenders, ranking models, personalization, ads ranking"
url: "https://swe.quest/tags/recommendation-systems?difficulty=hard"
---

# Recommendations & ranking (hard)

Topic in AI & ML: Recommenders, ranking models, personalization, ads ranking

By difficulty: [Easy](https://swe.quest/tags/recommendation-systems.md?difficulty=easy) · [Medium](https://swe.quest/tags/recommendation-systems.md?difficulty=medium) · [Hard](https://swe.quest/tags/recommendation-systems.md?difficulty=hard)

Posts 1–24 of 37, page 1 of 2, newest first.

## 2026-11-11

- [Shopify’s generative discovery model](https://swe.quest/articles/shopify-s-generative-discovery-model-99e5ac502d9a8c68.md): Shopify Engineering · 2026-11-11 · Hard · 12 min read · Recommendations & ranking, Search, LLMs, Inference & serving, Model training
  Shopify trained a single generative model, adapted from an open-weight LLM, that emits semantic-ID tokens to generate product candidates for both personalized search and recommendation across a catalog of billions.

## 2026-11-06

- [Safe and Efficient Multi-Epoch Embedding Training](https://swe.quest/articles/safe-and-efficient-multi-epoch-embedding-training-8bb4bc8c80d4baba.md): Pinterest Engineering · 2026-11-06 · Hard · 12 min read · Recommendations & ranking, Model training, Performance engineering, ML platforms
  Fine-tuning large pretrained ID embedding tables for more than one epoch in Pinterest's Homefeed ranking model caused about a 6% offline save regression.

## 2026-10-28

- [Meta Andromeda: Powering the Next Generation of Ads Retrieval Through Model-System Co-Design](https://swe.quest/articles/meta-andromeda-powering-the-next-generation-of-ads-retrieval-through-model-4334615c71f64c69.md): Meta Engineering · 2026-10-28 · Hard · 11 min read · Recommendations & ranking, Ads, Inference & serving, Hardware, Performance engineering
  Meta's next-generation Andromeda ads retrieval engine co-designs model, system and GPU hardware to score every eligible ad with near ranking-level quality at over one billion ads per second per GPU server, a 100x lift over the 2024 system.

## 2026-10-19

- [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.
- [Introducing ModuleLens: Zooming into PyTorch Modules for Human and Agentic Engineering](https://swe.quest/articles/introducing-modulelens-zooming-into-pytorch-modules-for-human-and-agentic-8767bb31b4979135.md): Pinterest Engineering · 2026-10-19 · Hard · 5 min read · ML platforms, Python, Developer productivity, AI agents, Recommendations & ranking
  ModuleLens lets Pinterest ML engineers capture any PyTorch module from a sharded multi-GPU recommendation model and rebuild it locally within seconds, replacing full-model initialization with a "module-first" workflow.

## 2026-10-16

- [Advancing Generative Recommendation Inference: our collaboration with NVIDIA on TensorRT LLM](https://swe.quest/articles/advancing-generative-recommendation-inference-our-collaboration-with-nvidia-on-edd2a66abab4a278.md): Spotify Engineering · 2026-10-16 · Hard · 7 min read · Inference & serving, Recommendations & ranking, LLMs, Cost optimization
  Spotify consolidated its LLM-based generative recommendation inference onto TensorRT LLM, working with NVIDIA to add the features it had been splitting across engines. vLLM handled beam search for semantic-ID candidate generation, but its beam search runs outside the core GPU engine and recomputes partially filled KV blocks.

## 2026-10-14

- [Integrating Netflix’s Foundation Model into Personalization applications](https://swe.quest/articles/integrating-netflix-s-foundation-model-into-personalization-applications-c89e29b2d7755eab.md): Netflix TechBlog · 2026-10-14 · Hard · 7 min read · Recommendations & ranking, ML platforms, Inference & serving, Model training
  Netflix integrates its transformer-based personalization Foundation Model into production through three patterns: precomputed embeddings, embedding the model as a subgraph of downstream models, and fine-tuning it to power products directly.
- [Measuring the Impact of Personalized Recommendations](https://swe.quest/articles/measuring-the-impact-of-personalized-recommendations-272ae46ebee3a222.md): Netflix TechBlog · 2026-10-14 · Hard · 11 min read · Recommendations & ranking, Machine learning, Evaluation
  Netflix estimates the causal value of its personalized recommendations with a low-rank, day-by-day choice model that separates members' dynamic, history-driven preferences from an explicit recommendation "bonus," identified from natural variation such as algorithmic exploration.

## 2026-10-13

- [Meta’s Generative Ads Model (GEM): Scaling the Central Model and Compute Engine for Frontier Ads AI](https://swe.quest/articles/meta-s-generative-ads-model-gem-scaling-the-central-model-and-compute-engine-588a45420da8f0cd.md): Meta Engineering · 2026-10-13 · Hard · 14 min read · Recommendations & ranking, Ads, Model training, Inference & serving, Scaling
  Meta's 2026 GEM replaces per-surface ads ranking models with a single central recommendation foundation model trained across Facebook, Instagram, Reels and deep-funnel conversion objectives, reporting 18.9% conversion and 12% CTR gains.

## 2026-09-17

- [Beyond Two Towers: Launching the 3-Tower Engagement Co-Train Model (Part 2)](https://swe.quest/articles/beyond-two-towers-launching-the-3-tower-engagement-co-train-model-part-2-9d501e5f993d9614.md): Pinterest Engineering · 2026-09-17 · Hard · 13 min read · Recommendations & ranking, Ads, Inference & serving, Performance engineering, Machine learning
  Pinterest's ads lightweight ranking adds a third cross tower to its two-tower engagement model.

## 2026-09-15

- [Bypassing inference bottlenecks: Accelerating complex AI search with Retrieve-for-Train](https://swe.quest/articles/bypassing-inference-bottlenecks-accelerating-complex-ai-search-with-retrieve-95676e43f1ce9cc3.md): Google Research · 2026-09-15 · Hard · 8 min read · Search, Model training, Inference & serving, LLMs, Recommendations & ranking
  Retrieve-for-Train replaces expensive inference-time LLM reasoning for query fan-out with a one-time offline RL stage.

## 2026-09-11

- [Evolving Pinterest’s Embedding Retrieval Platform](https://swe.quest/articles/evolving-pinterest-s-embedding-retrieval-platform-c93c0b5fa7cc0d54.md): Pinterest Engineering · 2026-09-11 · Hard · 7 min read · Vector search, Search, Cost optimization, Recommendations & ranking, Performance engineering
  Pinterest is evolving Manas, its in-house distributed search platform serving billions of embeddings across 80+ clusters, along three fronts: quantization, SSD-based ANN serving, and multi-embedding retrieval.

## 2026-08-24

- [MTIA 300: Meta’s First Training Chip with Built-in NICs and Communication-Offloading Engines](https://swe.quest/articles/mtia-300-meta-s-first-training-chip-with-built-in-nics-and-communication-f7d24d092d75bb12.md): Meta Engineering · 2026-08-24 · Hard · 5 min read · Hardware, Model training, Networking, Recommendations & ranking, Performance engineering
  MTIA 300, Meta's in-house training accelerator for recommendation models, integrates two NIC chiplets with twelve 800 Gbps RDMA NICs on-package and adds 16 dedicated message engines, each with a RISC-V core, NIC interface and near-memory reduction block.

## 2026-08-05

- [From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta’s Ads Ranking](https://swe.quest/articles/from-user-sequences-to-scaling-laws-a-multi-stage-architecture-for-meta-s-ads-3c689db90be36667.md): Meta Engineering · 2026-08-05 · Hard · 6 min read · Recommendations & ranking, Ads, Model training, Machine learning, Scaling
  Meta scales sequence learning for ads ranking by splitting it into two stages: an offline transformer user model processes thousands of user events asynchronously and caches user-level embeddings, and a lightweight online ranking model combines those embeddings with fresh signals and ad candidates under strict latency budgets.

## 2026-08-03

- [GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model](https://swe.quest/articles/gem-training-how-meta-doubled-the-efficiency-of-its-llm-scale-ads-foundation-1bf8547a323404ba.md): Meta Engineering · 2026-08-03 · Hard · 21 min read · Model training, Recommendations & ranking, Performance engineering, Hardware, Ads
  Meta doubled end-to-end training efficiency of GEM, its LLM-scale ads recommendation foundation model, to 20–25% MFU while scaling training FLOPs 4x in a year, by co-designing kernels, precision, parallelism, networking and memory.

## 2026-07-15

- [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.

## 2026-06-03

- [Distilling Long-Tail User Behavior into Scalable Embeddings for Job Search](https://swe.quest/articles/distilling-long-tail-user-behavior-into-scalable-embeddings-for-job-search-bf9edf6cf1d311a4.md): Indeed Engineering · 2026-06-03 · Hard · 11 min read · Recommendations & ranking, ML platforms, Machine learning, Search
  Indeed's user behavior model (UBM) runs heavy transformer sequence modeling over long user histories offline, distills each user into a fixed-length embedding refreshed daily via batch inference, and serves it through a feature store as one more dense feature for many compact production ranking, recommendation and bidding models.

## 2026-06-02

- [From Scoring to Spelling: Rebuilding Ads Retrieval at Instacart](https://swe.quest/articles/from-scoring-to-spelling-rebuilding-ads-retrieval-at-instacart-1eba18ee15c15a7e.md): Instacart Tech · 2026-06-02 · Hard · 13 min read · Recommendations & ranking, Ads, Inference & serving, ML platforms
  Instacart replaced its BERT-based ads retrieval model, which scored every atomic product ID in a fixed vocabulary, with a generative model that autoregressively decodes Semantic IDs (RQ-VAE codeword sequences) via beam search.
- [Semantic IDs: Product Understanding at Scale](https://swe.quest/articles/semantic-ids-product-understanding-at-scale-cd44ffa781feba70.md): Instacart Tech · 2026-06-02 · Hard · 10 min read · Recommendations & ranking, Machine learning, Model training, E-commerce, Evaluation
  Instacart compresses product text embeddings into 4-level semantic IDs using a residual vector quantizer (RQ-VAE), so products with related meaning share code prefixes across taxonomy branches (e.g., Italian cheeses, olives and tapenades under 6\_19).

## 2026-05-26

- [Shaping Product Understanding with Contrastive Reinforcement Learning](https://swe.quest/articles/shaping-product-understanding-with-contrastive-reinforcement-learning-dd8440354bbdc8d2.md): Etsy Code as Craft · 2026-05-26 · Hard · 9 min read · Model training, LLMs, Search, Recommendations & ranking, E-commerce
  Etsy fine-tunes Qwen3-VL-8B with GRPO to generate natural-language listing summaries that capture distinguishing product details buried in long descriptions, attributes and images.
- [SilverTorch: Index as Model — A New Retrieval Paradigm for Recommendation Systems](https://swe.quest/articles/silvertorch-index-as-model-a-new-retrieval-paradigm-for-recommendation-systems-ef74ef8d6c4ca959.md): Meta Engineering · 2026-05-26 · Hard · 14 min read · Recommendations & ranking, Inference & serving, Vector search, Hardware, Performance engineering
  SilverTorch replaces Meta's microservice-based recommendation retrieval with "Index as Model": the item index, eligibility filter, ANN search, neural reranker and multi-task scorer all become tensors or nn.Modules inside a single PyTorch model served on GPUs in one forward pass.

## 2026-04-09

- [ConvApparel: Measuring and bridging the realism gap in user simulators](https://swe.quest/articles/convapparel-measuring-and-bridging-the-realism-gap-in-user-simulators-76f456d1d3d475d0.md): Google Research · 2026-04-09 · Hard · 7 min read · Evaluation, LLMs, Recommendations & ranking, Model training
  ConvApparel is a dataset of over 4,000 human-AI apparel-shopping conversations (about 15,000 turns) with per-turn satisfaction and frustration annotations.

## 2026-04-02

- [KernelEvolve: How Meta’s Ranking Engineer Agent Optimizes AI Infrastructure](https://swe.quest/articles/kernelevolve-how-meta-s-ranking-engineer-agent-optimizes-ai-infrastructure-d31b329bdf84a06a.md): Meta Engineering · 2026-04-02 · Hard · 14 min read · AI agents, Performance engineering, Hardware, Compilers, Recommendations & ranking
  KernelEvolve is Meta's agentic kernel-authoring system that treats kernel optimization as a search problem instead of one-shot LLM code generation.

## 2026-03-31

- [Meta Adaptive Ranking Model: Bending the Inference Scaling Curve to Serve LLM-Scale Models for Ads](https://swe.quest/articles/meta-adaptive-ranking-model-bending-the-inference-scaling-curve-to-serve-llm-b02b370caa05f2c4.md): Meta Engineering · 2026-03-31 · Hard · 9 min read · Recommendations & ranking, Inference & serving, Ads, Performance engineering, Hardware
  Meta Adaptive Ranking Model serves LLM-scale ads ranking models (O(10 GFLOPs) per token, O(1T) parameters) at O(100 ms) latency by routing each request to an appropriately complex model and computing user signals once per request instead of once per ad candidate.

[Next page](https://swe.quest/tags/recommendation-systems.md?difficulty=hard&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=hard&tag=recommendation-systems](https://swe.quest/feed.xml?difficulty=hard&tag=recommendation-systems). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

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)
