# System and method for a reranking model with a self-attention layer

*Источник: Google Patents*
*Дата: 2026-09-03*
*Язык: en*

System and method for a reranking model with a self-attention layer

Systems and methods for determining relevance of a document relative to a query. The systems and methods involve: receiving a query and an identifier of a document; obtaining, based on the query, one or more query embeddings in an embedding space; obtaining one or more document embeddings generated based on the document, the one or more document embeddings being in an embedding space; providing the one or more query embeddings and the one or more document embeddings to a self-attention layer to generate a hidden output; and generating a relevance score based at least on the generated hidden output, the generating of the relevance score including providing the hidden output to a machine learning model to generate the relevance score.

[Оригинал](https://patents.google.com/patent/US2026259915A1/en)