---
title: "SilverTorch: Index as Model — A New Retrieval Paradigm for Recommendation Systems"
description: "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."
url: "https://swe.quest/articles/silvertorch-index-as-model-a-new-retrieval-paradigm-for-recommendation-systems-ef74ef8d6c4ca959"
canonical: "https://engineering.fb.com/2026/05/26/ml-applications/silvertorch-index-as-model-new-retrieval-paradigm-recommendation-systems/"
source: "Meta Engineering"
published: "2026-05-26"
difficulty: "hard"
kind: "Case study"
reading_minutes: 14
tags: ["recommendation-systems","inference","vector-search","hardware","performance"]
---

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

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2026-05-26, 14 min read, Case study. Original: [https://engineering.fb.com/2026/05/26/ml-applications/silvertorch-index-as-model-new-retrieval-paradigm-recommendation-systems/](https://engineering.fb.com/2026/05/26/ml-applications/silvertorch-index-as-model-new-retrieval-paradigm-recommendation-systems/)

## Summary

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. Folding everything into one model removes network hops and version skew between user tower and index, and lets the stages be co-designed. Two examples are a Bloom-signature filter that replaces GPU-unfriendly inverted indexes, and a fused Int8 ANN kernel that supports top-k in the hundreds of thousands. On an 80M-item production replay, SilverTorch delivered 23.7x the throughput of a multi-service baseline and 20.9x the cost efficiency of FAISS-CPU (13.35x with reranking), with no measured recall loss, and it cut the time to ship retrieval changes from weeks to days.

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)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Vector search](https://swe.quest/tags/vector-search.md) (Data & databases)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- two-tower retrieval models
- approximate nearest neighbor search ([easy posts on Search](https://swe.quest/tags/search.md?difficulty=easy))
- PyTorch nn.Module
- GPU execution basics ([easy posts on Hardware](https://swe.quest/tags/hardware.md?difficulty=easy))

## Keywords

SilverTorch, PyTorch, FAISS, Bloom filter, Int8 quantization, torch.compile, SIGIR 2026

## Related posts

- [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.
- [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.
- [Training 100x Cheaper Retrieval models Neon and Castform](https://swe.quest/articles/training-100x-cheaper-retrieval-models-neon-and-castform-05a64846d2e32056.md): Neon · 2026-08-05 · Easy · 5 min read · Model training, RAG & retrieval, PostgreSQL, AI agents, Search
  Castform uses data stored in Neon Postgres, exposed through Lakebase Search's BM25 and vector functions, to RL post-train a 4B open-source model for agentic retrieval.
- [Scaling the Instagram Explore recommendations system](https://swe.quest/articles/scaling-the-instagram-explore-recommendations-system-eef9723f73cee8af.md): Meta Engineering · 2023-08-09 · Medium · 9 min read · Recommendations & ranking, Machine learning, Caching, Scaling, Vector search
  Instagram Explore uses a four-stage funnel of retrieval, first-stage ranking, second-stage ranking and final reranking, built around caching and pre-computation so heavier models can be used at every stage.
- [CPU Optimized Embeddings with 🤗 Optimum Intel and fastRAG](https://swe.quest/articles/cpu-optimized-embeddings-with-optimum-intel-and-fastrag-e206611a492390e0.md): Hugging Face · 2024-03-15 · Medium · 11 min read · Inference & serving, RAG & retrieval, Performance engineering, Hardware, Python
  Post-training static int8 quantization of BGE embedding models (small, base, large) with Optimum Intel, Intel Neural Compressor and IPEX gives up to 4.5x lower latency and up to 4x higher throughput on 4th-gen Xeon CPUs compared with a bf16 PyTorch baseline.

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)
