the.ai

Recommenders / Systems

verified

Two-Tower Retrieval

Encode the user with one network and the item with another, and let the score be a dot product. Because the item side does not depend on the user, every item embedding can be computed in advance and searched with a nearest-neighbour index — which is what makes retrieval over millions of items possible in milliseconds.

Viz primitive · budget-splitprecomputed = 4

precomputed holds 50% of the budget; rest holds the remaining 50%.

Work done offline on item embeddings against work left for request time, in equal units. Drag the precomputation up to watch the request-time cost vanish — this shape is why the two towers may not talk to each other.

4

Reviewed by opendroid · 2026-08-18

  • arXiv:1906.00091 — Deep Learning Recommendation Model for Personalization and Recommendation Systems

Origin · not linkable

  • Yi et al. 2019 — Sampling-Bias-Corrected Neural Modeling for Large Corpus Item Recommendations · RecSys 2019 · doi:10.1145/3298689.3346996