paper-with-me

Papers

SAKR: Enhancing Retrieval-Augmented Generation via Streaming Algorithm and K-Means Clustering

2024-07-31 · Haoyu Kang, Yuzhou Zhu, Yukun Zhong, Ke Wang

Retrieval-augmented generation (RAG) has achieved significant success in information retrieval to assist large language models LLMs because it builds an external knowledge database. However, it also has many problems, it consumes a lot of memory because of the enormous database, and it cannot update the established index database in time when confronted with massive streaming data. To reduce the memory required for building the database and maintain accuracy simultaneously, we proposed a new approach integrating a streaming algorithm with k-means clustering into RAG. Our approach applied a streaming algorithm to update the index dynamically and reduce memory consumption. Additionally, the k-means algorithm clusters highly similar documents, and the query time would be shortened. We conducted comparative experiments on four methods, and the results indicated that RAG with streaming algorithm and k-means clusters outperforms traditional RAG in accuracy and memory, particularly when dealing with large-scale streaming data.

📄 PDF Abstract BibTeX arXiv:2407.21300

Code (0)

등록된 구현이 없습니다.

Tasks

Information RetrievalRAGRetrievalRetrieval-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 설명 없음
k-Means Clustering k-Means Clustering is a clustering algorithm that divides a training set into $k$ different clusters of examples that are near each other. It works by initializing $k$…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
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…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.

Similar Papers 제목 키워드 기반

When Does Streaming Tool Use Help? Characterizing Tool-Intent Stabilization in Streaming Retrieval-Augmented Generation

2026-06-18 · Elroy Galbraith arxiv

Streaming Retrieval-Augmented Generation (Streaming RAG) hides tool latency by issuing retrieval queries in parallel with the user's still-arriving input, before the utterance is complete. Speculation can only help, thou…

PersonaRAG: Enhancing Retrieval-Augmented Generation Systems with User-Centric Agents

2024-07-12 · Saber Zerhoudi, Michael Granitzer

Large Language Models (LLMs) struggle with generating reliable outputs due to outdated knowledge and hallucinations. Retrieval-Augmented Generation (RAG) models address this by enhancing LLMs with external knowledge, but…

Information RetrievalQuestion AnsweringRAGRetrieval+1

StreamingRAG: Real-time Contextual Retrieval and Generation Framework

2025-01-23 · Murugan Sankaradas, Ravi K. Rajendran, Srimat T. Chakradhar

Extracting real-time insights from multi-modal data streams from various domains such as healthcare, intelligent transportation, and satellite remote sensing remains a challenge. High computational demands and limited kn…

Knowledge GraphsRAGRetrievalRetrieval-augmented Generation

DuetRAG: Collaborative Retrieval-Augmented Generation

2024-05-12 · Dian Jiao, Li Cai, Jingsheng Huang, Wenqiao Zhang 외

Retrieval-Augmented Generation (RAG) methods augment the input of Large Language Models (LLMs) with relevant retrieved passages, reducing factual errors in knowledge-intensive tasks. However, contemporary RAG approaches …

PhilosophyRAGRetrievalRetrieval-augmented Generation

Response-G1: Explicit Scene Graph Modeling for Proactive Streaming Video Understanding

2026-05-08 · Ke Ma, Jiaqi Tang, Bin Guo, Xueting Han 외 arxiv

Proactive streaming video understanding requires Video-LLMs to decide when to respond as a video unfolds, a task where existing methods often fall short due to their implicit, query-agnostic modeling of visual evidence. …

Scene Graph Generation