arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.11498cs.IRcs.AIcs.LG
收藏

结合学习哈希的领域适配用于高效且有效的零样本稠密检索

Injecting Domain Adaptation with Learning-to-hash for Effective and Efficient Zero-shot Dense Retrieval

University of Waterloo(滑铁卢大学)

Nandan Thakur, Nils Reimers, Jimmy Lin

AI总结:

针对直接应用学习哈希技术会降低零样本稠密检索性能的问题,提出将领域适配注入有监督学习哈希的方法,在保持内存与速度效率的同时显著提升零样本检索效果。

摘要:

稠密检索克服了词汇鸿沟,在即席信息检索(IR)中已取得巨大成功。尽管成效显著,稠密检索器在实际用例中的部署成本高昂。对于需要从数百万份文档中进行搜索的场景,稠密索引会变得非常庞大,存储索引需要占用大量内存。近年来,学习哈希(LTH)技术(例如BPR和JPQ)可生成二值文档向量,从而降低内存需求,实现稠密索引的高效存储。LTH技术属于有监督方法,通过排序损失对检索器进行微调,其性能优于同类方法,即PCA或PQ等传统的开箱即用向量压缩技术。\n此前研究的一个缺失环节是,现有技术仅在域内进行了评估,也就是仅在MS MARCO等单个数据集上测试。在本研究中,我们评估了LTH和向量压缩技术在提升TAS-B稠密检索器下游零样本检索准确率方面的效果,同时保证推理效率。我们的结果表明,与此前研究结论不同,若直接应用LTH策略,在BEIR基准上的平均nDCG@10性能最多会比零样本TAS-B稠密检索器低14%。\n为解决这一局限,我们提出了一种简单却有效的方案:将领域适配与现有有监督LTH技术相结合。我们测试了两种知名的无监督领域适配技术:GenQ和GPL。我们的领域适配注入技术可将TAS-B模型的BPR和JPQ两个变体的下游零样本检索效果平均分别提升11.5%和8.2%的nDCG@10,同时在BEIR上均保持32倍的内存效率,CPU检索延迟分别实现14倍和2倍的加速。我们所有的代码、模型和数据都公开在https://github.com/thakur-nandan/income。

英文摘要:

Dense retrieval overcome the lexical gap and has shown great success in ad-hoc information retrieval (IR). Despite their success, dense retrievers are expensive to serve across practical use cases. For use cases requiring to search from millions of documents, the dense index becomes bulky and requires high memory usage for storing the index. More recently, learning-to-hash (LTH) techniques, for e.g., BPR and JPQ, produce binary document vectors, thereby reducing the memory requirement to efficiently store the dense index. LTH techniques are supervised and finetune the retriever using a ranking loss. They outperform their counterparts, i.e., traditional out-of-the-box vector compression techniques such as PCA or PQ. A missing piece from prior work is that existing techniques have been evaluated only in-domain, i.e., on a single dataset such as MS MARCO. In our work, we evaluate LTH and vector compression techniques for improving the downstream zero-shot retrieval accuracy of the TAS-B dense retriever while maintaining efficiency at inference. Our results demonstrate that, unlike prior work, LTH strategies when applied naively can underperform the zero-shot TAS-B dense retriever on average by up to 14% nDCG@10 on the BEIR benchmark. To solve this limitation, in our work, we propose an easy yet effective solution of injecting domain adaptation with existing supervised LTH techniques. We experiment with two well-known unsupervised domain adaptation techniques: GenQ and GPL. Our domain adaptation injection technique can improve the downstream zero-shot retrieval effectiveness for both BPR and JPQ variants of the TAS-B model by on average 11.5% and 8.2% nDCG@10 while both maintaining 32$\times$ memory efficiency and 14$\times$ and 2$\times$ speedup respectively in CPU retrieval latency on BEIR. All our code, models, and data are publicly available at https://github.com/thakur-nandan/income.

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

↑