paper-with-me

홈 › Papers

On the Role of Long-tail Knowledge in Retrieval Augmented Large Language Models

2024-06-24 · Dongyang Li, Junbing Yan, Taolin Zhang, Chengyu Wang, Xiaofeng He, Longtao Huang, Hui Xue, Jun Huang

Retrieval augmented generation (RAG) exhibits outstanding performance in promoting the knowledge capabilities of large language models (LLMs) with retrieved documents related to user queries. However, RAG only focuses on improving the response quality of LLMs via enhancing queries indiscriminately with retrieved information, paying little attention to what type of knowledge LLMs really need to answer original queries more accurately. In this paper, we suggest that long-tail knowledge is crucial for RAG as LLMs have already remembered common world knowledge during large-scale pre-training. Based on our observation, we propose a simple but effective long-tail knowledge detection method for LLMs. Specifically, the novel Generative Expected Calibration Error (GECE) metric is derived to measure the ``long-tailness'' of knowledge based on both statistics and semantics. Hence, we retrieve relevant documents and infuse them into the model for patching knowledge loopholes only when the input query relates to long-tail knowledge. Experiments show that, compared to existing RAG pipelines, our method achieves over 4x speedup in average inference time and consistent performance improvement in downstream tasks.

📄 PDF Abstract BibTeX arXiv:2406.16367

Code (0)

등록된 구현이 없습니다.

Tasks

RAGRetrievalRetrieval-augmented GenerationWorld Knowledge

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 설명 없음
Patching Activation patching studies the model's computation by altering its latent representations, the token embeddings in transformer-based language models, during the inference process
Weight Decay 설명 없음
WordPiece 설명 없음
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$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
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.

Similar Papers 제목 키워드 기반

TimeRAF: Retrieval-Augmented Foundation model for Zero-shot Time Series Forecasting

2024-12-30 · Huanyu Zhang, Chang Xu, Yi-Fan Zhang, Zhang Zhang 외

Time series forecasting plays a crucial role in data mining, driving rapid advancements across numerous industries. With the emergence of large models, time series foundation models (TSFMs) have exhibited remarkable gene…

RAGRetrievalRetrieval-augmented GenerationTime Series+2

Career-Aware Resume Tailoring via Multi-Source Retrieval-Augmented Generation with Provenance Tracking: A Case Study

2026-05-06 · Kumar Abhinav arxiv

AI-assisted resume tailoring systems commonly operate on a single uploaded resume, which limits their ability to recover relevant experience omitted from the current draft and makes it difficult for users to distinguish …

Unlocking Multi-View Insights in Knowledge-Dense Retrieval-Augmented Generation

2024-04-19 · Guanhua Chen, Wenhan Yu, Lei Sha

While Retrieval-Augmented Generation (RAG) plays a crucial role in the application of Large Language Models (LLMs), existing retrieval methods in knowledge-dense domains like law and medicine still suffer from a lack of …

RAGRetrievalRetrieval-augmented Generation

Learning to Explore and Select for Coverage-Conditioned Retrieval-Augmented Generation

2024-07-01 · Takyoung Kim, Kyungjae Lee, Young Rok Jang, Ji Yong Cho 외

Interactions with large language models (LLMs) often yield long and detailed responses, leveraging both parametric knowledge and retrieval-augmented generation (RAG). While these responses can provide rich insights, they…

Language ModelingLanguage ModellingRAGRetrieval+1

KRAG Framework for Enhancing LLMs in the Legal Domain

2024-10-10 · Nguyen Ha Thanh, Ken Satoh

This paper introduces Knowledge Representation Augmented Generation (KRAG), a novel framework designed to enhance the capabilities of Large Language Models (LLMs) within domain-specific applications. KRAG points to the s…

Legal ReasoningNatural Language UnderstandingNavigateRAG+1