Two-Tower Recommendation Retrieval

Dual-encoder architectures that embed users (or contexts) and items into a shared vector space so that approximate nearest neighbor search can efficiently retrieve candidates from massive item corpora.

Method

User tower and item tower (often deep networks with embeddings of features and history). Trained with sampled softmax, in-batch negatives, or contrastive losses. Item embeddings indexed with ANN. Serving retrieves top-k by similarity for further ranking.

Applications

Candidate generation in multi-stage recommenders, large-scale item retrieval, YouTube-style recommendation, e-commerce product retrieval, any system needing fast retrieval from millions/billions of items.

Advantages

Scalable to huge corpora; efficient serving.

Limitations

Dual-encoder bottleneck; negative sampling strategy critical; less expressive than cross-attention rankers; index freshness and multi-objective trade-offs.

Alternatives

Matrix factorization retrieval, graph-based candidate generation, sparse retrieval, multi-stage cascades with different first-stage

Editorial clarification

Primary method selected from the source bundle; related approaches are alternatives, not aliases.

Sources

Educational reference only, not professional advice.

All algorithms