A bi-encoder uses two (often shared-weight) encoder networks to independently map queries and documents into the same vector space. Because document embeddings can be pre-computed and indexed, retrieval at query time reduces to a nearest-neighbor search, making bi-encoders the backbone of most production semantic search systems. The trade-off is that independent encoding prevents the deep query-document interaction that makes cross-encoders more accurate.