Skip to content

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

Topics AI & ML

Recommendations & ranking

Recommenders, ranking models, personalization, ads ranking.

Search within Recommendations & ranking, or combine it with other topics →

November 2026

Meta Engineering

Intelligent Delivery: Making Every Unit of Compute Serve Better Ads

Case study 9 min +90 XP

Meta's Intelligent Delivery is an ML-driven layer that allocates serving compute across requests, models, hardware fleets and ranking stages by predicting the marginal utility of each unit of compute, adding about 10% ads ranking performance since 2017.

Meta Engineering

F3 Lightning: How Meta Accelerates Ads ML Features to Production at Scale

Case study 10 min +100 XP

F3 Lightning decouples feature releases from shared execution in Meta's ads ML feature framework, so each of 20,000+ features is compiled, validated, deployed and rolled back independently instead of shipping as one all-or-nothing merged DAG.

October 2026

Meta Engineering

Meta Andromeda: Powering the Next Generation of Ads Retrieval Through Model-System Co-Design

Case study 11 min +110 XP

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.

Introducing ModuleLens: Zooming into PyTorch Modules for Human and Agentic Engineering

Case study 5 min +50 XP

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.

Advancing Generative Recommendation Inference: our collaboration with NVIDIA on TensorRT LLM

Case study 7 min +70 XP

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.

Meta Engineering

Meta’s Generative Ads Model (GEM): Scaling the Central Model and Compute Engine for Frontier Ads AI

Case study 14 min +140 XP

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.

September 2026

Airbnb Engineering

Personalization without user identity

Case study 7 min +70 XP

Airbnb tackles cold-start personalization for logged-out and first-time users with Proximity Features: IP-derived coarse locations are grouped into buckets of roughly 1,000 users, and daily-aggregated group signals (recent searches, booking patterns, bucket metadata) stand in for per-user history.

August 2026

Meta Engineering

MTIA 300: Meta’s First Training Chip with Built-in NICs and Communication-Offloading Engines

Deep dive 5 min +50 XP

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.

Meta Engineering

From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta’s Ads Ranking

Case study 6 min +60 XP

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.

Meta Engineering

GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model

Case study 21 min +210 XP

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.

July 2026

June 2026

Distilling Long-Tail User Behavior into Scalable Embeddings for Job Search

Case study 11 min +110 XP

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.

May 2026

Meta Engineering

SilverTorch: Index as Model — A New Retrieval Paradigm for Recommendation Systems

Case study 14 min +140 XP

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.

April 2026

March 2026

Meta Engineering

Meta Adaptive Ranking Model: Bending the Inference Scaling Curve to Serve LLM-Scale Models for Ads

Case study 9 min +90 XP

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.

Etsy Code as Craft

Making Ads Count: Using MMoE and Auxiliary Tasks to Better Connect Buyers & Sellers

Case study 11 min +110 XP

Etsy's Ads Search ranking model replaced its shared-bottom multitask architecture (DCN feature crossing plus CTR and post-click conversion towers with Platt-scaled calibration) with a Multigate Mixture of Experts layer, adding add-to-cart as an uncalibrated auxiliary task.

February 2026

January 2026

November 2025

Indeed Engineering

Normalized Entropy or Apply Rate? Evaluation Metrics for Online Modeling Experiments

Opinion 15 min +150 XP

Model performance metrics (NE, ROC-AUC, nDCG, calibration metrics) and product metrics (engagement, outcomes, relevance, revenue) can diverge in online ranking experiments, because model objectives are only partially aligned with business goals across ranking, bid-scaling and score-thresholding uses.

Meta Engineering

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

Case study 10 min +100 XP

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.

October 2025

September 2025

OLX Tech

Hybrid Search — Where Keywords Meet Vectors, Enabling Classifieds Discovery

Case study 12 min +120 XP

OLX replaced a growing chain of fallback keyword-search extensions with hybrid retrieval: SOLR BM25 keyword matches plus a fixed allocation of vector-search results (embeddings from off-the-shelf mCLIP and multilingual-e5-small), capped at 1,000 ads and re-ranked by an XGBoost learning-to-rank model.

August 2025

Medium Engineering

Engineering stories behind the Medium Daily Digest Algorithm: Part 2

Case study 17 min +170 XP

Medium replaced the Bloom filters behind its recommendation filters (muted writers, already-read, presented 3+ times) with per-user DynamoDB queries against the source-of-truth tables, cutting filtering cost roughly 10x and simplifying maintenance.

July 2025

June 2025

May 2025

February 2025

December 2024

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

Research 7 min +70 XP

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.

November 2024

July 2024

June 2024

Meta Engineering

PVF: A novel metric for understanding AI systems’ vulnerability against SDCs in model parameters

Research 6 min +60 XP

Parameter vulnerability factor (PVF) is a metric, modeled on the architectural vulnerability factor (AVF), that defines the probability that a corruption in a given model parameter (or group of parameters) produces an incorrect output, estimated through large-scale fault injection.

April 2024

February 2024

December 2023

September 2023

August 2023

May 2023

Meta Engineering

Meta introduces its first-generation AI inference accelerator

Deep dive 8 min +80 XP

MTIA v1 is Meta's first custom inference ASIC for deep learning recommendation models: a TSMC 7nm, 800 MHz, 25 W chip delivering 102.4 INT8 TOPS, built from an 8x8 mesh of processing elements with customized RISC-V cores, fixed-function units, 128 KB local SRAM each, 128 MB shared on-chip SRAM and up to 128 GB LPDDR5.

October 2022

September 2022

October 2021

The quest for software engineering knowledge.

Look:
Layout: