Redundancy, Isotropy, and Intrinsic Dimensionality of Prompt-based Text Embeddings

Hayato Tsukagoshi, Ryohei SasanoACL 2025

Abstract

Prompt-based text embeddings from Large Language Models (LLMs) are massive, often exceeding 4,000 dimensions, yet they exhibit significant redundancy. This study investigates the intrinsic dimensionality and isotropy of these embeddings across various tasks in the Massive Text Embedding Benchmark (MTEB). We demonstrate that for tasks like classification, up to 99.5% of dimensions can be discarded with minimal performance loss. Conversely, retrieval and semantic textual similarity (STS) tasks are more sensitive to dimensionality reduction. Our findings suggest that LLMs naturally pack essential information into early dimensions, allowing for extreme compression without retraining.

Introduction

Modern text embedding models have transitioned from small, specialized encoders to massive LLM-based architectures such as E5-mistral and gte-Qwen2. While these models achieve state-of-the-art results, their high-dimensional vectors (often >4000 dimensions) impose significant storage and processing overheads in vector databases. This research explores whether such high dimensionality is strictly necessary by analyzing the "intrinsic dimensionality" and "isotropy" of these embeddings.

Figure 1: Comparison of robustness to dimensionality reduction between classification and retrieval tasks.

Methods

The researchers evaluated several state-of-the-art models, including instruction-based (e.g., gte-Qwen2, E5-mistral) and prefix-based models (e.g., E5-large). The primary reduction method was Naive Truncation—simply keeping the first d dimensions—which was compared against random selection and standard techniques like PCA, UMAP, and Isomap.

To quantify the embedding space quality, two metrics were employed:

  1. TwoNN (Intrinsic Dimensionality): Estimates the minimum dimensions required to represent the data's essential structure.
  2. IsoScore (Isotropy): Measures the uniformity of embedding distribution. High isotropy indicates efficient space usage, while low isotropy (anisotropy) suggests "clumpy" or biased distributions.

Key Insights and Results

Extreme Redundancy in Classification

For classification and clustering, LLM embeddings are remarkably redundant. For instance, the model gte-Qwen2 achieved a score of 76.34 with just 2 dimensions, outperforming a full 1,024-dimensional E5-large model. This suggests that classification only requires "coarse-grained" information.

Task-Specific Sensitivity

Retrieval and STS tasks are significantly more sensitive to compression. These tasks rely on "fine-grained" semantic nuances distributed across more dimensions. However, keeping just the first 25% of dimensions generally results in negligible performance degradation across all tasks.

A key finding is the correlation between a task's robustness to reduction and its embedding's intrinsic dimensionality and isotropy. Classification embeddings exhibit lower intrinsic dimensionality and lower isotropy ("clumpiness"), which directly relates to their high redundancy. Instruction-based models showed a tenfold difference in IsoScore between embeddings for retrieval (more isotropic/efficient) and classification (more anisotropic/redundant).

Figure 6: IsoScore across dimensions for different MTEB task categories.

The "First d" Phenomenon

Naive truncation often matches or exceeds PCA performance, suggesting LLMs naturally "pack" important information into early dimensions despite not being explicitly trained for Matryoshka-style representation. Furthermore, even when heavily reduced, large LLM-based models consistently outperform smaller models of equivalent final dimensionality.

Discussion and Future Work

While the study highlights extreme redundancy, it is limited to English Wikipedia. Future research should investigate if these patterns hold for low-resource languages or specialized domains (e.g., medical, legal). Additionally, understanding why LLMs favor early dimensions for information packing remains an open question. Identifying specific "crucial" dimensions could lead to even more efficient, task-specific compression strategies.

Summary updated

BibTeX
@inproceedings{tsukagoshi2025redundancy,
  author = {Hayato Tsukagoshi and Ryohei Sasano},
  title = {{Redundancy, Isotropy, and Intrinsic Dimensionality of Prompt-based Text Embeddings}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure