Manuscript Offprint

arXiv:2610.17742

Geometric Structure Predicts Per-Example Neighborhood Loss Under PCA Truncation

Sriram Loganathan, Gokul Anand, Ragavan Arivazhagan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Dimensionality reduction can preserve the average performance of text embeddings even when a substantial fraction of their dimensions is removed. Aggregate metrics, however, do not reveal whether degradation is distributed uniformly across examples. We study per-example neighborhood stability under PCA truncation across static word embeddings and modern sentence encoders. Per-item neighbor retention varies widely and is predictable from geometric properties of the representation and its alignment with the retained PCA subspace. The fraction of centered-vector energy retained by the truncated subspace is strongest for CBOW and RI, with neighborhood contrast leading on SkipGram and the modern/Matryoshka settings (GTE approximately tied), while local density is associated with retention in marginal analysis but adds little unique information once energy and contrast are controlled (R-squared increments 0.001 to 0.010). Local intrinsic dimensionality accounts for more variation than density on modern sentence encoders in pairwise comparison. On SciFact, query density predicts retrieval degradation under aggressive compression; on NFCorpus the primary 32d association does not replicate, and a direct variance-restriction test leaves that null unresolved. Average compression performance conceals systematic per-example variation that geometry makes visible.

1 Introduction

Truncation is routine for serving retrieval and classification, and published means change little for similarity, analogies, and retrieval. A stable mean does not identify which representations are damaged, since the same average is consistent with concentrated loss in sparse or unusual neighborhoods.

We ask what properties of full-space representations predict per-example damage before compressing. We measure per-item neighbor retention under PCA truncation across static word vectors, modern sentence encoders at 384 and 768 dimensions, native Matryoshka prefixes, and gold relevance judgments on two retrieval benchmarks. The candidate predictors span local density, retained subspace energy, neighborhood contrast, boundary gap, and intrinsic dimensionality, tested against frequency, hubness, margin, and norm controls.

No single predictor dominates universally. Retained subspace energy leads on CBOW and RI while neighborhood contrast leads on SkipGram and the modern and Matryoshka encoders (GTE approximately tied); local density is consistently associated with retention but contributes little unique information jointly. On SciFact, query density predicts gold retrieval degradation at 32d and 64d; the primary 32d association does not replicate on NF-Corpus, and a direct variance-restriction test leaves that null unresolved.

Contributions: (1) A per-example measurement of compression fragility across static, modern, and Matryoshka representations. (2) A joint decomposition showing that the informative geometric signals differ by representation regime, with retained energy and neighborhood contrast explaining most of density's marginal association. (3) Downstream retrieval evidence on SciFact and mixed transfer to NFCorpus, together with limits on adaptive allocation.