通过球坐标实现嵌入压缩
Embedding Compression via Spherical Coordinates
AI总结:
本文提出一种ε界压缩方法,实现1.5倍压缩,优于现有无损方法25%。利用高维单位向量的球坐标集中在π/2附近,使IEEE 754指数坍缩为单一值,高阶尾数位可预测,从而实现熵编码。重建误差不超过float32机器精度,且在BEIR基准上无检索退化。
摘要:
我们提出了一种ε界压缩方法,用于单位范数嵌入,实现了1.5倍压缩,优于现有无损方法25%。该方法利用高维单位向量的球坐标集中在π/2附近,导致IEEE 754指数坍缩为单一值,高阶尾数位变得可预测,从而实现熵编码。重建误差被限制在float32机器精度(1.19×10⁻⁷)内,使重建值在float32精度下与原始值无法区分。在26种配置上评估,涵盖文本、图像和多向量嵌入,结果表明压缩效果一致,且在BEIR基准上无可测量的检索退化。
英文摘要:
We present an $ε$-bounded compression method for unit-norm embeddings that achieves 1.5$\times$ 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 \times 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。