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

GenEOL:利用大语言模型的生成能力实现免训练句嵌入

GenEOL: Harnessing the Generative Power of LLMs for Training-Free Sentence Embeddings

Duke University(杜克大学)

Raghuveer Thirukovalluru, Bhuwan Dhingra

AI总结:

针对免训练句嵌入忽视LLM生成能力的问题,提出GenEOL方法,通过生成句子的语义保留变换并聚合其嵌入,在STS基准上平均提升2.85个百分点,在MTEB任务中表现优异且鲁棒性强。

摘要:

免训练嵌入方法直接利用预训练大语言模型(LLMs)对文本进行嵌入,绕过了对比学习昂贵且复杂的流程。此前的免训练嵌入方法主要聚焦于优化嵌入提示,却忽视了利用LLMs生成能力的优势。我们提出一种新方法GenEOL,通过LLMs生成句子的多种语义保留变换,并聚合这些变换的嵌入以增强整体句嵌入。在句子语义文本相似度(STS)基准上,GenEOL在多个LLMs上平均比现有免训练嵌入方法高出2.85个百分点;在MTEB基准的聚类、重排序和配对分类任务中也取得显著提升;此外,GenEOL稳定了LLM各层的表示质量,对嵌入提示扰动具有鲁棒性。

英文摘要:

Training-free embedding methods directly leverage pretrained large language models (LLMs) to embed text, bypassing the costly and complex procedure of contrastive learning. Previous training-free embedding methods have mainly focused on optimizing embedding prompts and have overlooked the benefits of utilizing the generative abilities of LLMs. We propose a novel method, GenEOL, which uses LLMs to generate diverse transformations of a sentence that preserve its meaning, and aggregates the resulting embeddings of these transformations to enhance the overall sentence embedding. GenEOL significantly outperforms the existing training-free embedding methods by an average of 2.85 points across several LLMs on the sentence semantic text similarity (STS) benchmark. GenEOL also achieves notable gains in clustering, reranking, and pair-classification tasks from the MTEB benchmark. Additionally, GenEOL stabilizes representation quality across LLM layers and remains robust to perturbations of embedding prompts.

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

↑