arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.16497cs.AI
收藏

基于指令微调的无监督文本表示学习用于零样本稠密检索

Unsupervised Text Representation Learning via Instruction-Tuning for Zero-Shot Dense Retrieval

The Pennsylvania State University(宾夕法尼亚州立大学);Amazon AGI(亚马逊AGI)

Qiuhai Zeng, Zimeng Qiu, Dae Yon Hwang, Xin He, William M. Campbell

AI总结:

本研究提出一种基于指令微调预训练LLM的无监督文本表示学习方法,通过生成合成查询并加权平均嵌入来增强语料库表示,在低资源零样本检索任务上显著优于多个竞争性稠密检索器。

摘要:

稠密检索系统通常用于信息检索(IR)。它们依赖通过编码器学习文本表示,并且通常需要通过标注数据进行有监督建模,而这些数据获取成本高昂或根本无法获取。在本研究中,我们提出了一种新颖的无监督文本表示学习技术,通过在双编码器检索框架下对预训练的编码器-解码器大语言模型(LLM)进行指令微调来实现。我们证明,基于Rao-Blackwell定理,语料库表示可以通过由指令微调LLM生成的相关合成查询的表示来增强。此外,我们通过自我指令微调有效地对齐了查询和语料库的文本表示。具体而言,我们首先提示一个开箱即用的预训练LLM遵循定义的指令(即问题生成和关键词摘要)来生成合成查询。接下来,我们使用定义的指令和通过质量检查的生成查询对预训练LLM进行微调。最后,我们使用指令微调后的LLM为每个语料库生成合成查询,并通过加权平均合成查询和原始语料库嵌入来表示每个语料库。我们在低资源设置下,在三个英语和一个德语检索数据集上评估了所提出的方法,测量指标为NDCG@10、MRR@100、Recall@100。我们显著提高了所有指标上的平均零样本检索性能,使开箱即用的FLAN-T5模型变体在绝对值上提升了[3.34%, 3.50%],并以至少小38%的模型规模,在NDCG@10上分别以1.96%、4.62%、9.52%的绝对优势超越了三个具有竞争力的稠密检索器(即mDPR、T-Systems、mBART-Large)。

英文摘要:

Dense retrieval systems are commonly used for information retrieval (IR). They rely on learning text representations through an encoder and usually require supervised modeling via labelled data which can be costly to obtain or simply unavailable. In this study, we introduce a novel unsupervised text representation learning technique via instruction-tuning the pre-trained encoder-decoder large language models (LLM) under the dual-encoder retrieval framework. We demonstrate the corpus representation can be augmented by the representations of relevant synthetic queries generated by the instruct-tuned LLM founded on the Rao-Blackwell theorem. Furthermore, we effectively align the query and corpus text representation with self-instructed-tuning. Specifically, we first prompt an open-box pre-trained LLM to follow defined instructions (i.e. question generation and keyword summarization) to generate synthetic queries. Next, we fine-tune the pre-trained LLM with defined instructions and the generated queries that passed quality check. Finally, we generate synthetic queries with the instruction-tuned LLM for each corpora and represent each corpora by weighted averaging the synthetic queries and original corpora embeddings. We evaluate our proposed method under low-resource settings on three English and one German retrieval datasets measuring NDCG@10, MRR@100, Recall@100. We significantly improve the average zero-shot retrieval performance on all metrics, increasing open-box FLAN-T5 model variations by [3.34%, 3.50%] in absolute and exceeding three competitive dense retrievers (i.e. mDPR, T-Systems, mBART-Large), with model of size at least 38% smaller, by 1.96%, 4.62%, 9.52% absolute on NDCG@10.

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

↑