paper-with-me

홈 › Papers

PCA-RAG: Principal Component Analysis for Efficient Retrieval-Augmented Generation

2025-04-11 · Arman Khaledian, Amirreza Ghadiridehkordi, Nariman Khaledian

Retrieval-Augmented Generation (RAG) has emerged as a powerful paradigm for grounding large language models in external knowledge sources, improving the precision of agents responses. However, high-dimensional language model embeddings, often in the range of hundreds to thousands of dimensions, can present scalability challenges in terms of storage and latency, especially when processing massive financial text corpora. This paper investigates the use of Principal Component Analysis (PCA) to reduce embedding dimensionality, thereby mitigating computational bottlenecks without incurring large accuracy losses. We experiment with a real-world dataset and compare different similarity and distance metrics under both full-dimensional and PCA-compressed embeddings. Our results show that reducing vectors from 3,072 to 110 dimensions provides a sizeable (up to $60\times$) speedup in retrieval operations and a $\sim 28.6\times$ reduction in index size, with only moderate declines in correlation metrics relative to human-annotated similarity scores. These findings demonstrate that PCA-based compression offers a viable balance between retrieval fidelity and resource efficiency, essential for real-time systems such as Zanista AI's \textit{Newswitch} platform. Ultimately, our study underscores the practicality of leveraging classical dimensionality reduction techniques to scale RAG architectures for knowledge-intensive applications in finance and trading, where speed, memory efficiency, and accuracy must jointly be optimized.

📄 PDF Abstract BibTeX arXiv:2504.08386

Code (0)

등록된 구현이 없습니다.

Tasks

Dimensionality ReductionRAGRetrievalRetrieval-augmented Generation

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Adam 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Weight Decay 설명 없음

Similar Papers 제목 키워드 기반

Endowing Deep 3D Models with Rotation Invariance Based on Principal Component Analysis

2019-10-20 · Zelin Xiao, Hongxin Lin, Renjie Li, Hongyang Chao 외

In this paper, we propose a simple yet effective method to endow deep 3D models with rotation invariance by expressing the coordinates in an intrinsic frame determined by the object shape itself. Key to our approach is t…

ObjectRetrieval

DH-RAG: A Dynamic Historical Context-Powered Retrieval-Augmented Generation Method for Multi-Turn Dialogue

2025-02-19 · Feiyuan Zhang, Dezhi Zhu, James Ming, Yilun Jin 외

Retrieval-Augmented Generation (RAG) systems have shown substantial benefits in applications such as question answering and multi-turn dialogue \citep{lewis2020retrieval}. However, traditional RAG methods, while leveragi…

Question AnsweringRAGRetrievalRetrieval-augmented Generation

Image retrieval method based on CNN and dimension reduction

2019-01-13 · Zhihao Cao, Shaomin Mu, Yongyu Xu, Mengping Dong

An image retrieval method based on convolution neural network and dimension reduction is proposed in this paper. Convolution neural network is used to extract high-level features of images, and to solve the problem that …

Dimensionality ReductionImage RetrievalRetrieval

Deepchecks: Evaluating Retrieval-Augmented Generation (RAG)

2026-05-14 · Assaf Gerner, Netta Madvil, Nadav Barak, Alex Zaikman 외 arxiv

Large Language Models (LLMs) augmented with Retrieval-Augmented Generation (RAG) techniques are revolutionizing applications across multiple domains, such as healthcare, finance, and customer service. Despite their poten…

SCAN: Semantic Document Layout Analysis for Textual and Visual Retrieval-Augmented Generation

2025-05-20 · Yuyang Dong, Nobuhiro Ueda, Krisztián Boros, Daiki Ito 외

With the increasing adoption of Large Language Models (LLMs) and Vision-Language Models (VLMs), rich document analysis technologies for applications like Retrieval-Augmented Generation (RAG) and visual RAG are gaining si…

Document Layout Analysisobject-detectionObject DetectionRAG+2