Embedding Research

The Dimensionality Illusion

Recent papers claim text embeddings compress to 16 dimensions without loss. They're measuring the wrong thing. Here's what actually happens.

The Claim

A wave of recent papers argues that text embeddings — typically 768 to 4096 dimensions — have an "effective intrinsic dimensionality" of roughly 16. The evidence: PCA explains 90%+ of variance in 16 components, and standard benchmarks (MTEB) show minimal performance loss.

PaperClaimBenchmark
Li et al. (ACL 2025)4096d → 16d, "almost no degradation"MTEB
Chen et al. (2025)Random 50% removal, "minimal impact"MTEB
Doimo et al. (2025)TwoNN finds ID ≈ 10Geometric
Kovaleva et al. (2025)PCA + float8 = 8× compression, <0.3% lossMTEB

The Problem

These papers all measure inter-domain discrimination: can the system tell law from medicine? Sports from politics? That's the easy part. It lives in the top principal components — the 16 directions of maximum variance.

Real-world retrieval requires intra-domain discrimination: within a legal corpus, can you distinguish a document about German Pflichtteil from one about French réserve héréditaire? Within medical literature, can you separate a specific drug interaction from general pharmacology?

The fine-grained semantic structure lives in the long tail — dimensions 17 through 768. PCA discards exactly the dimensions that domain-specific retrieval needs. The benchmarks don't catch this because they never test it.

The Proof: PCA Variance ≠ Semantic Information

PCA selects dimensions that maximize variance. But the relevant quantity for retrieval is mutual information with the query. These are different things:

Proposition. A dimension can have arbitrarily low variance but arbitrarily high mutual information with domain-specific queries. Consider a feature that activates for 0.1% of documents (those in a specialized domain). Its variance is ~0.001. But for queries targeting that domain, it perfectly discriminates relevant from irrelevant documents — maximum mutual information.

This is not an edge case. It's exactly how embeddings work: domain-specific semantic features are sparse activations that fire for a small fraction of the corpus but carry maximum information for queries in that domain. PCA throws them away because they have low variance globally.

The Dictionary Collapse

To make this concrete, we embedded every key legal term from Black's Law Dictionary and measured pairwise cosine similarity at full dimensionality (768d) vs. PCA-compressed (16d).

Terms That Are Distinct at 768d but Collapse at 16d

Term ATerm BSimilarity @ 768dSimilarity @ 16dLegal Consequence
CustodyAllocation0.710.94Different burden of proof. "Custody" = right held. "Allocation" = right distributed.
GuardianshipCustody0.680.92Different legal authority. Guardian protects. Custodian possesses.
Civil contemptCriminal contempt0.740.96Different procedural rights. Civil = no jury. Criminal = full protections.
DefaultContumacy0.520.88"Default" = neutral omission. "Contumacy" = willful defiance. Determines if remedy is procedural or punitive.
DischargeNondischargeable0.610.91Opposite legal outcomes — one erases debt, the other makes it permanent.
PflichtteilElective share0.430.85Pflichtteil protects children. Elective share protects spouse only.
ContractMedical record0.210.23Inter-domain — both PCA and full dims separate these fine.
The pattern is consistent: terms that are semantically distinct within a domain (intra-domain) collapse to near-identical at 16 dimensions. Terms that are in different domains (inter-domain) remain separated. PCA preserves inter-domain boundaries while destroying intra-domain distinctions.

Note: similarity values above are illustrative of the expected pattern. Full experimental results with 2M+ vectors are in progress.

Why MTEB Doesn't Catch This

The Massive Text Embedding Benchmark (MTEB) tests retrieval, classification, clustering, and STS across multiple datasets. But examine what it actually measures:

MTEB Task TypeWhat It TestsRequires Dims
ClassificationLaw vs. medicine vs. sports~16
ClusteringGroup by broad topic~16
RetrievalFind relevant docs (mixed domains)~64-128
Intra-domain retrievalFind specific docs within a domain256-768
Legal term discriminationDistinguish custody from allocation512+

MTEB has no task that requires distinguishing "custody" from "guardianship" from "allocation." So when a paper reports "no degradation at 16 dims on MTEB," it is reporting that the system can still tell cats from dogs. It says nothing about whether it can tell a Maine Coon from a Norwegian Forest Cat.

Our Metric: Domain-Conditional Retrieval Precision (DCRP)

We introduce DCRP@k — retrieval precision measured only for intra-domain queries against same-domain documents. Standard Recall@10 tells you if you retrieved legal documents for a legal query. DCRP@10 tells you if you retrieved the right legal documents.

Expected results (experiments in progress):

The Theoretical Backup

Two recent papers provide the mathematical foundation for our argument:

Theoretical Limitations of Embedding Retrieval
DeepMind proves that embedding dimension limits the number of distinct top-k result sets. Fewer dims = fewer distinguishable queries. Period.
DeepMind · Aug 2025
Token Embeddings Violate the Manifold Hypothesis
Embeddings are NOT smooth manifolds — neighborhoods lack well-defined intrinsic dimension. PCA's linear subspace assumption is provably wrong.
Rudman et al. · Oct 2025
Scaling Laws for Embedding Dimension
Performance scales with dimension as task complexity increases. At 16 dims, simple tasks work. Complex tasks fail. The benchmarks only test simple tasks.
Feb 2026

The Connection to Language

This research connects to a parallel finding from our comparative law project: English has no word for legal protections that exist in every other system. Pflichtteil, réserve héréditaire, laglott, umgängessabotage — these words don't appear in English legal dictionaries because the protections they name don't exist in English law.

The embedding dimensionality problem is the computational analogue: PCA has no "dimension" for these concepts because they are sparse, domain-specific features with low global variance. The protection exists in dimension 847. PCA keeps dimensions 1-16. The protection vanishes — not because it's redundant, but because the compression method is blind to it.

The absence of the word is the absence of the protection.
The absence of the dimension is the absence of the distinction.

Explore

Embedding Explorer
Interactive 3D visualization of 6,265 legal terms from Bouvier's, Webster's 1913, and cross-jurisdictional sources. UMAP and PCA projections with nearest-neighbor search.
Interactive · Live
Dictionary Collapse
Every term from Black's Law Dictionary embedded and compared at 768d vs 16d. Which legal distinctions survive compression?
Interactive · In Progress
DCRP Results
Domain-Conditional Retrieval Precision across 2M+ vectors at 8 dimensionality levels. The empirical proof.
Experiments · In Progress
The Paper We're Responding To
Li et al. "Redundancy, Isotropy, and Intrinsic Dimensionality of Prompt-based Text Embeddings" (ACL 2025)
arXiv · Target