Hypencoder: Hypernetworks for Information Retrieval
该论文提出了一种名为Hypencoder的检索模型,通过使用超网络来学习查询相关的多层数神经网络,从而显著提高检索性能。
更新于 2026-11-22。作者:Julian Killingback、Hansi Zeng、Hamed Zamani。
中文摘要
绝大多数检索模型依赖于向量内积来在查询和文档之间产生一个相关性得分。这自然限制了可以采用的相关性得分的表达能力。我们提出了一种新的范式,我们不是产生一个向量来表示查询,而是生成一个小型神经网络,该神经网络充当一个学习到的相关性函数。这个小型神经网络接收文档的表示,在本论文中我们使用一个单向量,并产生一个标量相关性得分。为了生成这个小型神经网络,我们使用超网络,这是一种产生其他网络权重的网络,作为我们的查询编码器,或者我们称之为Hypencoder。在领域内搜索任务上的实验表明,Hypencoder能够显著超越强大的密集检索模型,并且其指标高于重排序模型和数量级更大的模型。Hypencoder还被证明在领域外搜索任务上具有良好的泛化能力。为了评估Hypencoder能力的范围,我们在包括舌尖检索和指令跟随检索任务的一组困难检索任务上进行了评估,发现与标准检索任务相比,性能差距显著扩大。此外,为了展示我们方法的实用性,我们实现了一个近似搜索算法,并显示我们的模型能够在60毫秒内搜索8.8百万份文档。
英文摘要
The vast majority of retrieval models depend on vector inner products to produce a relevance score between a query and a document. This naturally limits the expressiveness of the relevance score that can be employed. We propose a new paradigm, instead of producing a vector to represent the query we produce a small neural network which acts as a learned relevance function. This small neural network takes in a representation of the document, in this paper we use a single vector, and produces a scalar relevance score. To produce the little neural network we use a hypernetwork, a network that produce the weights of other networks, as our query encoder or as we call it a Hypencoder. Experiments on in-domain search tasks show that Hypencoder is able to significantly outperform strong dense retrieval models and has higher metrics then reranking models and models an order of magnitude larger. Hypencoder is also shown to generalize well to out-of-domain search tasks. To assess the extent of Hypencoder's capabilities, we evaluate on a set of hard retrieval tasks including tip-of-the-tongue retrieval and instruction-following retrieval tasks and find that the performance gap widens substantially compared to standard retrieval tasks. Furthermore, to demonstrate the practicality of our method we implement an approximate search algorithm and show that our model is able to search 8.8M documents in under 60ms.
解读
一句话总结
该论文提出了一种名为Hypencoder的检索模型,通过使用超网络来学习查询相关的多层数神经网络,从而显著提高检索性能。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:传统检索模型依赖向量内积来生成查询与文档之间的相关性分数,这限制了相关性分数的表达能力。
- 现有方案不足:内积相似性函数限制了检索模型可以表达的相关性类型,且现有模型在复杂检索任务上表现不佳。
- 研究目标:提出一种新的检索模型Hypencoder,通过学习查询相关的多层数神经网络来提高检索性能。
问题2:论文的核心创新点是什么?
- 技术创新:使用超网络(Hypencoder)来生成查询相关的多层数神经网络,作为学习到的相关性函数。
- 方法改进:通过直接将文档表示作为输入,避免了输入组合的步骤,提高了效率。
- 优势:与现有方法相比,Hypencoder能够捕捉更复杂的关系,且检索性能显著提升。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在MS MARCO、TREC Deep Learning Track等多个数据集上进行了实验。
- 性能提升:Hypencoder在nDCG@10、RR@10等指标上显著优于基线模型。
- 对比结果:与基线模型相比,Hypencoder在MS MARCO和TREC Deep Learning Track数据集上取得了更好的性能。
问题4:这个研究的实际应用价值是什么?
- 应用场景:适用于各种信息检索任务,如问答、实体检索、论点检索等。
- 实施建议:使用预训练的编码器模型,并采用高效的搜索算法进行检索。
- 局限与展望:Hypencoder在复杂检索任务上表现优异,但可能需要更多的计算资源。未来可以探索多向量文档表示和语料库预训练等方法。
来源
机器可读索引:llms.txt