跳到正文

检索与重排序 · 2026

DiffRetriever

利用扩散语言模型中并行的掩码位置,生成用于稠密与稀疏检索的多重表示。

论文 代码 ★ 7 星标
DiffRetriever — Figure 2 · Retrieval architecture
图 2 · 检索架构 · 来源 ↗

摘要

This paper shows how diffusion language models (DLMs) can be used as effective and efficient retrievers. Existing DLM-based retrievers (e.g., DiffEmbed) follow BERT-style encoding, representing each query or passage as a single mean-pooled vector. This ignores how DLMs are trained to generate responses through masked-position prediction under bidirectional attention, a capability that can provide stronger retrieval signals. We propose DiffRetriever, which uses the DLM's native masked-position prediction directly for retrieval. For each query or passage, DiffRetriever appends one or more masked positions, using the outputs as retrieval representations in a single forward pass. With one masked position, single-representation DiffRetriever already improves over DiffEmbed on the same backbones. DiffRetriever also naturally extends to multi-representation retrieval: DLMs process multiple masked positions jointly, enabling ColBERT-style fine-grained matching with little additional encoding latency. In autoregressive LLM retrievers, the same multi-representation strategy requires sequential decoding and therefore incurs much higher latency. DiffRetriever obtains the strongest aggregate effectiveness within our matched comparison, outperforming DiffEmbed, PromptReps, and RepLLaMA. Masked-position counts selected on training data transfer well across datasets, while per-query variation suggests headroom for adaptive allocation. Code is available at https://github.com/ielab/diffretriever.

相关论文

检索与重排序

检索与重排序 · 2026

Starbucks

在同一个检索模型中灵活调整嵌入维度与网络深度,扩展 Matryoshka 和 2D Matryoshka 训练。

检索与重排序 · 2026

Rank-R1

使用强化学习增强 LLM 文档重排序中的推理能力。