paper-with-me

홈 › Papers

Optimization of embeddings storage for RAG systems using quantization and dimensionality reduction techniques

2025-04-30 · Naamán Huerga-Pérez, Rubén Álvarez, Rubén Ferrero-Guillén, Alberto Martínez-Gutiérrez, Javier Díez-González

Retrieval-Augmented Generation enhances language models by retrieving relevant information from external knowledge bases, relying on high-dimensional vector embeddings typically stored in float32 precision. However, storing these embeddings at scale presents significant memory challenges. To address this issue, we systematically investigate on MTEB benchmark two complementary optimization strategies: quantization, evaluating standard formats (float16, int8, binary) and low-bit floating-point types (float8), and dimensionality reduction, assessing methods like PCA, Kernel PCA, UMAP, Random Projections and Autoencoders. Our results show that float8 quantization achieves a 4x storage reduction with minimal performance degradation (<0.3%), significantly outperforming int8 quantization at the same compression level, being simpler to implement. PCA emerges as the most effective dimensionality reduction technique. Crucially, combining moderate PCA (e.g., retaining 50% dimensions) with float8 quantization offers an excellent trade-off, achieving 8x total compression with less performance impact than using int8 alone (which provides only 4x compression). To facilitate practical application, we propose a methodology based on visualizing the performance-storage trade-off space to identify the optimal configuration that maximizes performance within their specific memory constraints.

📄 PDF Abstract BibTeX arXiv:2505.00105

Code (0)

등록된 구현이 없습니다.

Tasks

Dimensionality ReductionMTEB BenchmarkQuantizationRAGRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

PCA Principle Components Analysis (PCA) is an unsupervised method primary used for dimensionality reduction within machine learning. PCA is calculated via a singular value…

Similar Papers 제목 키워드 기반

When Is 0.1% Enough? Analyzing the Combined Effects of Dimensionality Reduction and Quantization on Text Embedding Compression

2026-05-31 · Riku Kisako, Hayato Tsukagoshi, Ryohei Sasano arxiv

Recent high-performing text embedding models often output high-dimensional real-valued vectors, resulting in substantial storage and computational costs. To address this issue, compression methods based on dimensionality…

Dimensionality Reduction

SA-RSQ: A Versatile Sparse Representation Framework for Multi-modal Recommender Systems

2026-08-24 · Xiang Wang, Shigang Quan, Tingzhen Chang, Kang Yang 외 arxiv

Deploying high-dimensional multimodal features in industrial recommender systems incurs substantial storage and latency overhead. Hard quantization is compact but introduces boundary distortion, whereas dense soft quanti…

Dimension vs. Precision: A Comparative Analysis of Autoencoders and Quantization for Efficient Vector Retrieval on BEIR SciFact

2025-11-17 · Satyanarayan Pati arxiv

Dense retrieval models have become a standard for state-of-the-art information retrieval. However, their high-dimensional, high-precision (float32) vector embeddings create significant storage and memory challenges for r…

Dimensionality ReductionInformation Retrieval

Post-Training 4-bit Quantization on Embedding Tables

2019-11-05 · Hui Guan, Andrey Malevich, Jiyan Yang, Jongsoo Park 외

Continuous representations have been widely adopted in recommender systems where a large number of entities are represented using embedding vectors. As the cardinality of the entities increases, the embedding components …

QuantizationRecommendation Systems

Givens Coordinate Descent Methods for Rotation Matrix Learning in Trainable Embedding Indexes

2022-03-09 · ICLR 2022 4 · Yunjiang Jiang, Han Zhang, Yiming Qiu, Yun Xiao 외

Product quantization (PQ) coupled with a space rotation, is widely used in modern approximate nearest neighbor (ANN) search systems to significantly compress the disk storage for embeddings and speed up the inner product…

Quantization