Manuscript Offprint

arXiv:2610.27195

UIBK-Embedding: Effective Text Retrieval by Unifying Dense and Late-Interaction Retrieval

Abdelrahman Abdallah, Mohammed Ali, Adam Jatowt

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Dense bi-encoders and late-interaction retrievers are usually treated as alternatives, yet they fail on different queries: one vector captures what a text is about, token-level matching finds its exact entities and phrases. Using both today means two models, two indexes and a score-fusion step. We present UIBK-Embedding-v1, a 179M-parameter English encoder that produces both representations in one pass and scores them with one unmodified MaxSim. The dense embedding is written into the list of token vectors as three extra vectors, and a one-dimensional tag keeps the two kinds of vectors from matching each other, so that plain MaxSim equals the token-level MaxSim plus a weighted dense cosine. The model therefore runs in a standard late-interaction index without changes; we test it with PLAID. A shared 18-layer trunk with a separate 4-layer top per head, and a cross-encoder distilled into the fused score, turn the two heads into one retriever. On BEIR, UIBK-Embedding-v1 reaches 59.79 nDCG@10. This is 2.57 points above LateOn, the strongest model of its size, and 2.10 points above it when both models read documents of the same length; UIBK-Embedding-v1 is ahead on all 15 datasets. On a decontaminated version of BEIR it stays ahead on average (61.55 against 60.36) and on 8 of 12 datasets. Among the 156 models with complete BEIR results in the MTEB results repository, only models with at least 1.5B parameters score higher. Code, model weights, and a technical blog post are available on GitHub, Hugging Face, and our project blog.

1 Introduction

Neural retrievers encode documents offline and compare them with the query at search time, and two families of models dominate. Dense bi-encoders compress a text into a single vector and score a query-document pair with one cosine

Figure

Figure 1: A dense model and a late-interaction model, fine-tuned from the same backbone on the same data, compared on the 13 NanoBEIR datasets. Each bar is the difference of their nDCG@10. The two models win on different datasets.

(Karpukhin et al., 2020; Reimers and Gurevych, 2019; Wang et al., 2022; Li et al., 2023; Xiao et al., 2024; Abdallah et al., 2026b). Late-interaction models keep one vector per token and score a pair with MaxSim, the sum over the query tokens of their best-matching document token (Khattab and Zaharia, 2020; Santhanam et al., 2022b,a). The two are usually presented as a choice between a small index and better generalisation (Thakur et al., 2021).

The two families do not make the same mistakes. Figure 1 compares a dense model and a ColBERT model that we fine-tuned from the same backbone on the same data. The dense model is better where a long query has to be matched as a whole, as in argument retrieval, and the late-interaction model is better where a single entity or phrase decides, as in the open-domain question answering. Their scores are complementary. Systems exploit this complementarity today through hybrid retrieval: two models, two indexes, two searches, and a fusion step such as reciprocal rank fusion (Cormack et al., 2009). Models that return several represen-tations at once (Chen et al., 2024; Günther et al., 2025) save the second encoder, but every representation still has its own index and its own scoring function.

In this work we introduce UIBK-Embedding, a retriever that holds a dense head and a late-interaction head in one encoder and adds their scores inside a standard late-interaction index (Figure 2d). Specifically, we make the following contributions: (1) For the representation, we store the dense sentence vector as three extra vectors, the slots, in the list of token vectors, and give every vector a one-dimensional tag with opposite signs for tokens and slots. Inside MaxSim a token then never selects a slot and a slot never selects a token, so the unmodified MaxSim returns the token-level score plus a weighted dense cosine (§4.2). The index and the scorer need no change: the model is saved as a ColBERT model and runs in PLAID (Santhanam et al., 2022a) through PyLate (Chaffin and Sourty, 2025). (2) For the architecture, the two heads share the first 18 layers of ModernBERT-base (Warner et al., 2025) and each has its own copy of the last four, which raises the score of each head on its own by about one point. The dense head uses the latent-attention pooling of NV-Embed (Lee et al., 2025), here on an encoder-only model (§4.1). (3) For the training, we distil a cross-encoder into the fused score, the score that is used at inference, in addition to the losses of each head (§4.3). Ablations show the contribution of the two heads, of the fused distillation and of the main training choices (§7). (4) UIBK-Embedding-v1 has 179M parameters and reaches 59.79 nDCG@10 on BEIR (Thakur et al., 2021) and 70.55 on NanoBEIR (Zeta Alpha, 2024), evaluated with the public MTEB implementation (Muennighoff et al., 2023). It is 2.57 points above LateOn (Sourty et al., 2026), the strongest model of its size, 2.10 points above it at equal document length, and ahead of it on all 15 datasets. On the decontaminated BEIR of Sourty et al. (2026) it reaches 61.55, against 60.36 for LateOn, and is ahead on 8 of the 12 datasets. See Tables 2 and 3 for details.

References (22)