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

LLM时代重新审视词嵌入

Revisiting Word Embeddings in the LLM Era

Auburn University(奥本大学);University of Central Florida(中佛罗里达大学)

Yash Mahajan, Matthew Freestone, Naman Bansal, Sathyanarayanan Aakur, Shubhra Kanti Karmaker Santu

AI总结:

本文系统比较了LLM诱导的词嵌入与经典编码模型(如Word2Vec、SimCSE等)在去上下文和上下文设置下的表现,发现LLMs在去上下文类比任务中更优,而经典模型在句子级细粒度语义相似性评估上仍具优势。

摘要:

大型语言模型(LLMs)近期在各种NLP任务中展现出显著进步。因此,近期出现了一种流行趋势:NLP研究人员从这些大型仅解码器模型中提取词/句子/文档嵌入,并将其用于各种推理任务,取得了可喜的成果。然而,LLM诱导的嵌入性能提升究竟仅仅归因于规模,还是其产生的底层嵌入与Word2Vec、GloVe、Sentence-BERT(SBERT)或Universal Sentence Encoder(USE)等经典编码模型存在根本差异,目前仍不清楚。这是我们在本文中探讨的核心问题,通过系统比较经典的去上下文和上下文词嵌入与LLM诱导的相应嵌入来展开研究。结果显示,LLMs能更紧密地聚类语义相关词汇,并在去上下文设置下的类比任务中表现更佳。然而,在上下文设置中,SimCSE等经典模型在句子级相似性评估任务上往往优于LLMs,凸显了它们在细粒度语义方面的持续相关性。

英文摘要:

Large Language Models (LLMs) have recently shown remarkable advancement in various NLP tasks. As such, a popular trend has emerged lately where NLP researchers extract word/sentence/document embeddings from these large decoder-only models and use them for various inference tasks with promising results. However, it is still unclear whether the performance improvement of LLM-induced embeddings is merely because of scale or whether underlying embeddings they produce significantly differ from classical encoding models like Word2Vec, GloVe, Sentence-BERT (SBERT) or Universal Sentence Encoder (USE). This is the central question we investigate in the paper by systematically comparing classical decontextualized and contextualized word embeddings with the same for LLM-induced embeddings. Our results show that LLMs cluster semantically related words more tightly and perform better on analogy tasks in decontextualized settings. However, in contextualized settings, classical models like SimCSE often outperform LLMs in sentence-level similarity assessment tasks, highlighting their continued relevance for fine-grained semantics.

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

↑