Skip to main content
QUICK REVIEW

[Paper Review] Embedding Compression via Spherical Coordinates

He Xiao|arXiv (Cornell University)|Jan 22, 2026
Advanced Data Compression TechniquesComputer Science0 citations
TL;DR

The paper presents a lossless-capable, training-free compression method for unit-norm embeddings by transforming to spherical coordinates, yielding about 1.5× compression with reconstruction error below 1e-7 and enabling direct similarity computation from compressed angles.

ABSTRACT

We present an $ε$-bounded compression method for unit-norm embeddings that achieves 1.5$ imes$ compression, 25% better than the best prior lossless method. The method exploits that spherical coordinates of high-dimensional unit vectors concentrate around $π/2$, causing IEEE 754 exponents to collapse to a single value and high-order mantissa bits to become predictable, enabling entropy coding of both. Reconstruction error is bounded by float32 machine epsilon ($1.19 imes 10^{-7}$), making reconstructed values indistinguishable from originals at float32 precision. Evaluation across 26 configurations spanning text, image, and multi-vector embeddings confirms consistent compression improvement with zero measurable retrieval degradation on BEIR benchmarks.

Motivation & Objective

  • Motivate the need for high-fidelity, storage-efficient embedding storage in retrieval and multimodal pipelines.
  • Propose a lossless-capable compression method that leverages spherical coordinates for unit-norm embeddings.
  • Quantify compression gains across text, image, and multi-vector embeddings without training.
  • Show that reconstruction error remains below float32 machine epsilon and that cosine similarity can be computed directly from compressed angles.

Proposed method

  • Convert Cartesian embedding vectors to spherical coordinates for unit-norm embeddings.
  • Group and entropy-code by transposing, byte-shuffling exponent and mantissa bytes, and applying a lossless compressor (zstd).
  • Compute cosine similarity directly from spherical angles via a backward recurrent formula during decompression.
  • Provide a formal bound showing exponent concentration and bounded reconstruction error.
  • Evaluate across 26 configurations spanning text, image, and multi-vector embeddings to demonstrate consistent gains.
Figure 1 : Compression pipeline. Cartesian coordinates span diverse magnitudes with 20 to 40 different exponents, shown in varied colors. The spherical transform produces angles concentrated around $\pi/2\approx 1.57$ , collapsing nearly all exponents to 127, shown in uniform color. Transpose groups
Figure 1 : Compression pipeline. Cartesian coordinates span diverse magnitudes with 20 to 40 different exponents, shown in varied colors. The spherical transform produces angles concentrated around $\pi/2\approx 1.57$ , collapsing nearly all exponents to 127, shown in uniform color. Transpose groups

Experimental results

Research questions

  • RQ1Can spherical-coordinate representations of unit-norm embeddings enable lossless-like compression without training?
  • RQ2How much compression gain can be achieved by exploiting exponent concentration and mantissa predictability in spherical coordinates?
  • RQ3Does the method preserve retrieval quality, and can similarity be computed directly from compressed representations?
  • RQ4Is the approach robust across modalities (text, image, multi-vector) and varying dimensions?

Key findings

  • Achieves about 1.5× compression across 26 embedding configurations.
  • Exponents concentrate around 127 in IEEE 754 for high-dimensional embeddings, reducing exponent entropy from ~2.6 bits/byte to ~0.03 bits/byte.
  • High-order mantissa bits also become more predictable, contributing additional compression gains.
  • Reconstruction error is bounded below 1e-7 (under float32 machine epsilon), preserving retrieval quality.
  • For a ColBERT index of 1 million documents, storage drops from 240 GB to 160 GB.
  • No training required and method applies to text, image, and multi-vector embeddings.
  • Throughput is high (e.g., near 487 MB/s encoding and 605 MB/s decoding at zstd level 1).
Figure 2 : IEEE 754 exponent distribution for jina-embeddings-v4 (2048d). (a) Cartesian coordinates span 23 exponent values; (b) spherical angles concentrate around exponent 127 with 99.7% frequency.
Figure 2 : IEEE 754 exponent distribution for jina-embeddings-v4 (2048d). (a) Cartesian coordinates span 23 exponent values; (b) spherical angles concentrate around exponent 127 with 99.7% frequency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.