Ir al contenido
Menú
Español

Cross-Encoder vs Bi-Encoder

Model that scores a query and a passage together in one forward pass.

Comparativa de características

Aún no se han registrado atributos comparables para estas dos tecnologías.

¿Cuál deberías elegir?

Generado a partir de las diferencias anteriores mediante reglas estructuradas, no por un modelo.

Choose Cross-Encoder if…

Ninguno de los atributos registrados lo distingue a su favor.

Choose Bi-Encoder if…

Ninguno de los atributos registrados lo distingue a su favor.

Sobre esta página

La página sigue accesible pero queda excluida de los índices de búsqueda hasta que contenga suficiente detalle con fuentes (PRD SEO-08).

Cross-Encoder

concept · Techniques

A cross-encoder concatenates the query and one candidate passage and runs them through the model together, producing a relevance score for that pair. It solves the problem that independent embeddings cannot represent how a specific query relates to a specific passage. It exists as the accurate but expensive half of retrieval: accurate enough to reorder a shortlist, too slow to search a corpus with.

Bi-Encoder

concept · Techniques

A bi-encoder encodes the query and each passage independently into vectors, and relevance is their similarity. It solves the problem that a cross-encoder must run once per candidate, which is impossible against a large collection. It exists as the half of retrieval that can be precomputed and indexed, at the cost of losing the interaction between query and passage.