arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.14499cs.CLcs.IR
收藏

NAIL:基于高效非自回归解码器的词法检索索引

NAIL: Lexical Retrieval Indices with Efficient Non-Autoregressive Decoders

Google Deepmind(谷歌DeepMind)

Livio Baldini Soares, Daniel Gillick, Jeremy R. Cole, Tom Kwiatkowski

AI总结:

提出 NAIL 模型架构,利用词法化评分函数和非自回归解码器,在商用 CPU 上高效捕获 Transformer 交叉注意力模型 86% 的增益,匹配最先进双编码器检索器质量且无需专用硬件。

摘要:

神经文档重排序器在准确率方面极其有效。然而,最好的模型需要专用硬件来提供服务,这成本高昂且通常不可行。为了避免这一服务时的要求,我们提出了一种方法,利用一个仅需每文档 10-6% 的 Transformer FLOPs 且可使用商用 CPU 提供服务的词法化评分函数,捕获 Transformer 交叉注意力模型高达 86% 的增益。当与 BM25 检索器结合时,该方法匹配了仍需加速器进行查询编码的最先进双编码器检索器的质量。我们引入了 NAIL(Non-Autoregressive Indexing with Language models,基于语言模型的非自回归索引)作为一种模型架构,它与最近的编码器-解码器和仅解码器大型语言模型兼容,如 T5、GPT-3 和 PaLM。该模型架构可以利用现有的预训练检查点,并可进行微调以高效构建不需要对查询进行神经处理的文档表示。

英文摘要:

Neural document rerankers are extremely effective in terms of accuracy. However, the best models require dedicated hardware for serving, which is costly and often not feasible. To avoid this serving-time requirement, we present a method of capturing up to 86% of the gains of a Transformer cross-attention model with a lexicalized scoring function that only requires 10-6% of the Transformer's FLOPs per document and can be served using commodity CPUs. When combined with a BM25 retriever, this approach matches the quality of a state-of-the art dual encoder retriever, that still requires an accelerator for query encoding. We introduce NAIL (Non-Autoregressive Indexing with Language models) as a model architecture that is compatible with recent encoder-decoder and decoder-only large language models, such as T5, GPT-3 and PaLM. This model architecture can leverage existing pre-trained checkpoints and can be fine-tuned for efficiently constructing document representations that do not require neural processing of queries.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑