Differentiable Search IndicesTay et al. (2022) and Bevilacqua et al. (2022) developed differentiable search indices that integrate the retrieval process within a Transformer model, enabling direct mapping of text queries to document identifiers. These approaches offer superior performance and potential for more efficient and scalable retrieval.