
Quick Summary
- Pinterest stopped copying each user’s 16,000-action history for every candidate it scored. Retrieval training ran 4x faster, ranking training 2.8x faster, and ranking serving throughput rose 7x.
- One multi-task, multi-domain framework replaced nine production ad-ranking models. In the aggregate A/B test, CTR rose 2.41% and advertiser cost per click fell 1.96% with no extra ad impressions.
- Lifelong user sequences on Homefeed delivered 6.35% more saves and 12.8% fewer hides in a live test, now serving more than 500 million users.
- For visual and multimodal tasks, Pinterest fine-tunes open models on its own data at under 10% of proprietary model cost, a figure its CEO updated to under 8% per transaction in November 2026.
- Every result belongs to one system, one surface, and one baseline. Pinterest publishes them that way, and this case study keeps them that way.
One request. One user. Thousands of candidate Pins to score in under 100 milliseconds.
Until recently, Pinterest’s ranking models re-read that user’s history for every candidate. A sequence of roughly 16,000 actions, copied hundreds to thousands of times per request, in storage, in training, and at serving time.
In April 2026, Pinterest engineering published what happened when they stopped copying: retrieval training 4x faster, ranking training 2.8x faster, ranking serving throughput 7x higher.
That is one of about a dozen published engineering decisions behind Pinterest’s AI results. This case study follows them from the storage layer to the advertiser’s invoice.
The Problem: Better Models Were Pricing Themselves Out of Production
Pinterest serves 661 million monthly active users as of September 2026. Its ML platform retrospective, published November 2025, describes hundreds of millions of model inferences per second and thousands of model evaluations per user request.

Each improvement in model quality raised the price of producing a recommendation. The cost compounded in four places:
- Duplicated user history: every candidate item carried its own copy of the user’s full action sequence through storage, data loading, and attention.
- Fragmented ad ranking: nine lightweight ad rankers, split by surface and ad product, were trained, tuned, and maintained separately.
- Proprietary multimodal inference: visual tasks often process tens of images per conversation turn, at frontier-model prices.
- Slow feature iteration: backfilling one new feature across historical data took 140 days in a worked example from Pinterest’s engineering team.
Bigger models made all four worse. Pinterest’s 2025 foundation model carries more than 20 billion parameters, a 100x increase in dense transformer parameters over its earlier models.
The question was not whether a larger model would lift engagement. It was whether the company could afford to store, train, and serve it.
What Pinterest Delivered
Pinterest’s research papers, engineering posts, and earnings calls make the sequence reconstructible. Dates are publication dates, and the items below describe separate systems, not one program.
| Published | What Pinterest delivered | Evidence type |
| April 2024 | OmniSearchSage: shared query, Pin, and product embeddings in search | WWW 2024 paper; production aggregate |
| June 2025 | TransAct V2: lifelong action sequences on Homefeed, 500M+ users | Preprint; online A/B |
| June 2025 | OmniSage: one graph representation across five applications | KDD 2025 paper; online A/B |
| August 2025 | PinFM: 20B+ parameter user-activity foundation model | RecSys 2025 paper; online A/B |
| August 2025 | MTMD: one framework replacing nine ad rankers | AdKDD 2025 paper; online A/B |
| October 2025 | Pinterest Assistant beta on an open-source multimodal LLM | CTO account; press coverage |
| December 2025 | Open-source model strategy: under 10% of proprietary cost on visual tasks | CTO and AI leadership account |
| April 2026 | Request-level deduplication across storage, training, and serving | Engineering report; 2025 internal data |
| June 2026 | PinRec: outcome-conditioned generative retrieval on all surfaces | KDD 2026 paper; online A/B |
| November 2026 | Assistant in US general availability; cost per transaction under 8% of closed models | Q3 2026 earnings call |
Each system owns one decision on one surface. The live result attached to it comes from that surface’s own experiment:
| Surface | System | Decision it makes | Published live result |
| Homefeed | TransAct V2 | Ranks Pins against lifelong history | +6.35% saves, −12.8% hides |
| Search | PinRec | Generates candidates for a target outcome | +3.88% search saves |
| Related Pins, boards | OmniSage | One embedding reused across five applications | About +2.5% sitewide saves |
| Ads, all surfaces | MTMD | Lightweight ad ranking in one model | −1.96% advertiser CPC |
| Shopping | PinLanding | Builds shopping collections from product images | 4.2M pages; +35% index rate |
How Pinterest Built It
The published work follows the path a request takes. Storage first, then training, then serving, then the models that sit on top.

1. Storage: write the request once
Pinterest’s training tables held one row per candidate item, and each row repeated the full user sequence. Sorting by user ID and request ID in Apache Iceberg let the store keep one copy per request.
The same principle fixed feature backfill. A two-stage approach, staging a feature first and promoting it to the shared table second, cut one worked backfill from 140 days to 26.
- User-heavy feature columns: 10x to 50x storage compression after sorting by user and request.
- Feature tables: up to 75% smaller after sorting and bucketing by user.
- Backfill time: 140 days to 26 days on one workload, with an up-to-90x maximum reported across the multi-year evolution.
2. Training: deduplicate the batch, then fix what it breaks
With one user sequence per request, the data loader stopped moving duplicated tensors to the GPU. Retrieval training ran 4x faster end to end, and ranking training about 2.8x faster.
The speedup came with a setback Pinterest chose to publish. Request-sorted batches broke the assumption that samples are independent, and early ranking experiments regressed:
| What broke | Measured effect | Fix |
| Batch statistics skewed toward few users | 1% to 2% regression on key offline metrics | SyncBatchNorm across devices |
| In-batch negatives drawn from the same user | False negatives rose from ~0% to as high as ~30% | User-level masking of negatives |
The lesson travels: a storage layout change is a modeling change. Pinterest had standardized its training environment years earlier, the kind of repeatable ML operations that let a fix like this roll out everywhere at once.
3. Serving: process the history once, score every candidate against it
The serving design is called DCAT, the Deduplicated Cross-Attention Transformer. The transformer processes a user’s history once per request and caches each layer’s keys and values; every candidate then cross-attends to the cache instead of recomputing it.
Ranking serving throughput rose 7x. The pattern depends on a specific ratio: about one unique user sequence for every 1,000 candidates scored.
Two companion optimizations shaped the same serving path:
- Custom Triton kernels: a fused transformer kernel ran the TransAct V2 forward pass about 6.6x faster than PyTorch, with 8x fewer PCIe transfers for sequence features.
- INT4 embedding compression: PinFM’s user embedding table shrank to 31.25% of its original size, and inference API latency fell 7% from lower embedding I/O.
Pinterest built these on hybrid CPU and GPU clusters with thousands of GPUs. The cloud architecture decisions mattered as much as the kernels: embedding tables live on CPU hosts, dense computation on GPUs.
4. Representations: train one embedding, reuse it everywhere
Before multiplying models, Pinterest built representations that many models could share. OmniSage learns Pin and board embeddings from a graph of 5.6 billion nodes and 63.5 billion edges, combined with content features and user-sequence signals.
One embedding served five production applications: Homefeed ranking, Related Pins retrieval and ranking, and board recommendation retrieval and ranking. Together they produced about 2.5% more sitewide saves.
The search equivalent, OmniSearchSage, puts queries, Pins, and products into compatible spaces. Its 2024 paper reports more than 8% better relevance, 7% more engagement, and 5% higher ad CTR across its deployments.
Both are published with code in Pinterest’s public research repository. The production datasets remain private, so the live results are Pinterest’s own, not independently reproduced.
5. Ads: nine rankers become one
Lightweight ad ranking had grown into nine production models, one per combination of surface and ad product. MTMD, the Multi-Task Multi-Domain framework, trains all of them as one model and activates only one domain expert per request at serving time.
The aggregate A/B result across all domains:
| Metric | Change | Note |
| Click-through rate | +2.41% | Relative, not percentage points |
| Click volume | +2.31% | With no increase in ad impressions |
| Cost per click | −1.96% | Advertiser spend per click, not Pinterest infra cost |
| Production models | 9 → 1 | Lower maintenance cost, per the paper |
Two further ad deployments fed richer representations into existing rankers. Multi-faceted embedding tables lifted CTR 2.6% and cut CPC 1.34% at neutral latency, with INT4 quantization shrinking the tables 60%.
Decoupled representation learning moved expensive entity modeling upstream of the conversion model. In a test with 9% of web-conversion traffic per arm, cost per action fell 1.61% while click conversions rose 2.75%.
6. Model sourcing: decide by modality, not by vendor
Pinterest’s December 2025 statement on open-source AI, signed by its CTO and AI leadership, set a default for each modality. The decision rule is what a reader can reuse:
| Modality | Default | Reason given |
| User models | Built internally | Tightly coupled to each product |
| Visual encoders and diffusion | Mostly trained from scratch | PinCLIP beats open multimodal embeddings by 30%+ |
| Text LLMs | Open-source and licensed third-party | Small differences between LLMs on product needs |
For visual and multimodal tasks, fine-tuned open models reached similar performance at under 10% of proprietary model cost. In the Q3 2026 earnings call, CEO Bill Ready restated this as a cost per transaction below 8% of comparable closed models.
The mechanism is specific. For its shopping assistant, Pinterest took Qwen3-VL, removed the vision encoder, and fine-tuned the model on precomputed Pinterest image embeddings.
Encoding each image at request time would have made latency 20 times worse, according to the CTO. Precomputing embeddings offline turned a per-request cost into a batch job.
The same logic bounds smaller applications. PinLanding, which builds shopping collections from product images, trains in about 12 hours on eight A100 GPUs, roughly $500 per run.
It has generated 4.2 million landing pages with a 35% higher search-engine index rate. Published accounts of AI in e-commerce discovery rarely get this explicit about compute.
7. Retrieval: generate candidates for the outcome you want
PinRec replaces nearest-neighbor lookup with a generative model that writes candidate representations, conditioned on the outcome each surface optimizes. It is pretrained on activity across all surfaces and fine-tuned per surface.
Its published results split cleanly into live and offline:
- Search, online A/B: +3.88% search saves, +2.24% search fulfillment rate, +5.30% search shares.
- Homefeed, online A/B: +4.01% Homefeed grid clicks with outcome conditioning versus +1.87% without.
- Related Pins, offline only: +71.4% recall at 10 with 16 generation steps versus one, not a live engagement result.
Better recall did not translate one for one into live lifts. Pinterest reports both and lets the gap stand.
Business Outcomes in Numbers
Each figure below is tied to its experiment, baseline, and scope. Speedups from PinFM, TransAct V2, and request deduplication share ideas and workloads, so they are listed, not multiplied.

Online A/B tests
| System | Surface | Result | Baseline and scope |
| TransAct V2 | Homefeed | +6.35% saves, −12.8% hides, +1.41% time spent | Real-time TransAct; 1.5% of visitors per arm |
| PinFM | Homefeed | +1.2% sitewide saves, +5.7% fresh saves | Production ranker; fresh saves −0.82% on Related Pins |
| MTMD | Ads, all domains | +2.41% CTR, +2.31% clicks, −1.96% CPC | Nine previous rankers; aggregate |
| PinRec | Search | +3.88% saves, +2.24% fulfillment | Control retrieval; KDD 2026 version |
| DERM | Web-conversion ads | −1.61% CPA, +2.75% click conversions | Production model; 9% traffic per arm |
Engineering measurements
| Measurement | Result | Comparator |
| Ranking serving throughput | 7x | Earlier serving path; DCAT plus Triton kernels |
| Retrieval training, end to end | 4x faster | Earlier pipeline; 2025 internal data |
| Ranking training, end to end | About 2.8x faster | 40% from loading, 2x from DCAT |
| User-heavy feature column storage | 10x to 50x smaller | Unsorted, duplicated rows |
| Fused transformer kernel | 6.6x faster forward pass | PyTorch; component only |
| PinFM embedding table | 31.25% of original size | Full-precision table; latency −7% |
Company-reported, with stated scope
- Under 10% of proprietary cost: self-hosted fine-tuned open models on visual and multimodal tasks, per the December 2025 statement.
- Under 8% cost per transaction versus closed models: Q3 2026 earnings call, with no task mix disclosed.
- 35% higher index rate: PinLanding pages in search engines, not search traffic or conversion.
- 140 to 26 days: one feature backfill; the up-to-90x figure spans several years of changes.
Not used as evidence here
| Figure in circulation | Why it is held out |
| “90% lower AI costs” | Applies to selected inference workloads, not company-wide AI spend |
| 600% serving throughput (PinFM) | Overlaps the 7x deduplication result; one serving headline kept |
| 103x to 338x end-to-end latency (TransAct V2) | Baseline and benchmark path not reconciled across paper and blog |
| 20% more fresh-item engagement (PinFM) | Offline cold-start evaluation, not live saves |
| Up to 80% ad retrieval cost saving | Stated potential; measured experiment was under 50% |
| 12% revenue growth, Q3 2026 | Company result; no attribution to these experiments |
Conclusion
Pinterest’s problem was never a shortage of model ideas. It was that each better model multiplied the same user history across storage, training, and serving until the bill outran the lift.
The published fix is a sequence, not a model. Write the request once, train on it once, process the history once per request, share one representation across surfaces, fold nine rankers into one, and buy proprietary inference only where its own data cannot do better.
Zoolatech’s retail cloud cost work and the Uber AI platform case study show the same order of operations at different scales.
For a CTO, the useful AI engineering question is not which of Pinterest’s models to copy. It is which of your own requests is being read a thousand times.
Disclaimer: This is an independent review of Pinterest’s public research, engineering publications, and investor disclosures, not a Zoolatech project. All figures are Pinterest’s own reported results, attributed to their sources, and have not been independently audited.
Questions You May Have
What is the single biggest result in the Pinterest AI case study?
The 7x increase in ranking serving throughput from processing each user’s history once per request instead of once per candidate.
Did Pinterest really cut AI costs by 90%?
Pinterest reports under 10% of proprietary cost for self-hosted fine-tuned open models on visual and multimodal tasks, not a 90% cut in total AI spend.
How did one model replace nine ad rankers?
MTMD trains all surface and ad-product combinations as one multi-task, multi-domain model and activates one domain expert per request at serving time.
Are the engagement lifts additive?
No, each lift comes from a separate experiment with its own baseline and surface, so Pinterest and this article report them individually.
Which results are experimental and which are company statements?
Saves, hides, CTR, CPC, and CPA figures come from online A/B tests, while cost-per-transaction and index-rate figures are company-reported with limited scope.
What can an enterprise outside media or retail take from this?
The order of operations: remove duplicated work from storage and serving before scaling the model, and consolidate models before adding more.












