Skip to content

SYSTEM Cited by 1 source

Faiss

FaissFacebook AI Similarity Search — is Meta's open-source library for efficient similarity search and clustering of dense vectors. First disclosed in the 2017 Meta Engineering post; source at github.com/facebookresearch/faiss. One of the most widely deployed vector-similarity-search libraries in the industry; used inside Meta and extensively in third-party production stacks.

In the 2026-04-21 Meta post, Faiss is named as the production approximate-nearest-neighbor substrate for the semantic-retrieval arm of Facebook Groups Scoped Search:

"We then perform an approximate nearest neighbor (ANN) search over a precomputed Faiss vector index of group posts. This enables the retrieval of content based on high-dimensional conceptual similarity, regardless of keyword overlap."

Query embeddings from SSR are looked up against a precomputed Faiss index of group-post embeddings; nearest neighbors feed the L2 MTML ranker with cosine-similarity scores.

Capabilities (industry-documented)

Not itself a primary focus of the 2026-04-21 post, but widely documented:

  • Multiple ANN index types — IVF (inverted-file), HNSW (graph-based), PQ (product quantisation), OPQ, and composites.
  • CPU and GPU implementations.
  • Exact search and various approximation levers.
  • Billion-scale datasets on a single machine; larger-scale via sharding.

The 2026-04-21 post does not disclose which Faiss index type (IVF / HNSW / PQ / OPQ) Meta uses for Groups scoped search, nor the vector dimensionality, shard layout, or recall/latency targets.

Sibling systems on the wiki

Other vector-index substrates surface on the wiki in adjacent contexts: DiskANN, SPANN, SPFresh, HNSW. Faiss is Meta's default production choice for this class of workload.

Seen in

Last updated · 550 distilled / 1,221 read