基于提示的文本嵌入的冗余性、各向同性与内在维度
Redundancy, Isotropy, and Intrinsic Dimensionality of Prompt-based Text Embeddings
AI总结:
本文研究基于提示的文本嵌入降维对分类、聚类、检索和STS任务的影响,发现分类与聚类嵌入高度冗余,并借助内在维度与各向同性分析揭示了其冗余成因。
摘要:
基于提示的文本嵌入模型在接收定制提示后生成任务特定的嵌入,近期展现出卓越的性能。然而,它们生成的嵌入通常具有数千个维度,导致高昂的存储成本以及基于嵌入操作的计算成本增加。本文研究了事后降维应用于嵌入后,对利用这些嵌入的各类任务性能的影响,具体包括分类、聚类、检索和语义文本相似度(STS)任务。我们的实验表明,即使采用一种朴素的降维方法——仅保留嵌入前25%的维度——也只会导致非常轻微的性能下降,这表明这些嵌入具有高度冗余性。值得注意的是,对于分类和聚类任务,即使嵌入被降至原始维度的不足0.5%,性能下降也非常小。为了定量分析这种冗余性,我们基于嵌入的内在维度和各向同性进行了分析。我们的分析揭示,被认为具有极高维度冗余的分类和聚类嵌入,与检索和STS任务的嵌入相比,表现出更低的内在维度和更弱的各向同性。
英文摘要:
Prompt-based text embedding models, which generate task-specific embeddings upon receiving tailored prompts, have recently demonstrated remarkable performance. However, their resulting embeddings often have thousands of dimensions, leading to high storage costs and increased computational costs of embedding-based operations. In this paper, we investigate how post-hoc dimensionality reduction applied to the embeddings affects the performance of various tasks that leverage these embeddings, specifically classification, clustering, retrieval, and semantic textual similarity (STS) tasks. Our experiments show that even a naive dimensionality reduction, which keeps only the first 25% of the dimensions of the embeddings, results in a very slight performance degradation, indicating that these embeddings are highly redundant. Notably, for classification and clustering, even when embeddings are reduced to less than 0.5% of the original dimensionality the performance degradation is very small. To quantitatively analyze this redundancy, we perform an analysis based on the intrinsic dimensionality and isotropy of the embeddings. Our analysis reveals that embeddings for classification and clustering, which are considered to have very high dimensional redundancy, exhibit lower intrinsic dimensionality and less isotropy compared with those for retrieval and STS.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。