Gecko:从大语言模型蒸馏的多功能文本嵌入模型
Gecko: Versatile Text Embeddings Distilled from Large Language Models
AI总结:
Gecko 通过两步蒸馏从大语言模型生成并精炼合成数据来训练紧凑文本嵌入模型,在 MTEB 上以更小的嵌入维度超越了更大规模的现有模型。
摘要:
我们提出了 Gecko,一个紧凑且多功能的文本嵌入模型。Gecko 通过利用一个关键思想实现了强大的检索性能:将大语言模型(LLMs)中的知识蒸馏到检索器中。我们的两步蒸馏过程首先使用 LLM 生成多样化的合成配对数据。接下来,我们通过为每个查询检索一组候选段落,并使用同一个 LLM 重新标注正例和困难负例段落,进一步优化数据质量。Gecko 的紧凑性证明了我们方法的有效性。在大规模文本嵌入基准(MTEB)上,具有 256 个嵌入维度的 Gecko 优于所有现有的 768 个嵌入维度的模型。具有 768 个嵌入维度的 Gecko 平均得分为 66.31,可与规模大 7 倍的模型和维度高 5 倍的嵌入相竞争。
英文摘要:
We present Gecko, a compact and versatile text embedding model. Gecko achieves strong retrieval performance by leveraging a key idea: distilling knowledge from large language models (LLMs) into a retriever. Our two-step distillation process begins with generating diverse, synthetic paired data using an LLM. Next, we further refine the data quality by retrieving a set of candidate passages for each query, and relabeling the positive and hard negative passages using the same LLM. The effectiveness of our approach is demonstrated by the compactness of the Gecko. On the Massive Text Embedding Benchmark (MTEB), Gecko with 256 embedding dimensions outperforms all existing entries with 768 embedding size. Gecko with 768 embedding dimensions achieves an average score of 66.31, competing with 7x larger models and 5x higher dimensional embeddings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。