paper-with-me

Papers

CONFLARE: CONFormal LArge language model REtrieval

2024-04-04 · Pouria Rouzrokh, Shahriar Faghani, Cooper U. Gamble, Moein Shariatnia, Bradley J. Erickson

Retrieval-augmented generation (RAG) frameworks enable large language models (LLMs) to retrieve relevant information from a knowledge base and incorporate it into the context for generating responses. This mitigates hallucinations and allows for the updating of knowledge without retraining the LLM. However, RAG does not guarantee valid responses if retrieval fails to identify the necessary information as the context for response generation. Also, if there is contradictory content, the RAG response will likely reflect only one of the two possible responses. Therefore, quantifying uncertainty in the retrieval process is crucial for ensuring RAG trustworthiness. In this report, we introduce a four-step framework for applying conformal prediction to quantify retrieval uncertainty in RAG frameworks. First, a calibration set of questions answerable from the knowledge base is constructed. Each question's embedding is compared against document embeddings to identify the most relevant document chunks containing the answer and record their similarity scores. Given a user-specified error rate ({\alpha}), these similarity scores are then analyzed to determine a similarity score cutoff threshold. During inference, all chunks with similarity exceeding this threshold are retrieved to provide context to the LLM, ensuring the true answer is captured in the context with a (1-{\alpha}) confidence level. We provide a Python package that enables users to implement the entire workflow proposed in our work, only using LLMs and without human intervention.

📄 PDF Abstract BibTeX arXiv:2404.04287

Code (1)

mayo-radiology-informatics-lab/conflare 공식 구현

Tasks

Conformal PredictionLanguage ModelingLanguage ModellingLarge Language ModelmodelRAGResponse GenerationRetrievalRetrieval-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 설명 없음
SET Dynamic Sparse Training method where weight mask is updated randomly periodically
WordPiece 설명 없음
Weight Decay 설명 없음
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…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…

Similar Papers 제목 키워드 기반

C-RAG: Certified Generation Risks for Retrieval-Augmented Language Models

2024-02-05 · Mintong Kang, Nezihe Merve Gürel, Ning Yu, Dawn Song 외

Despite the impressive capabilities of large language models (LLMs) across diverse applications, they still suffer from trustworthiness issues, such as hallucinations and misalignments. Retrieval-augmented language model…

RAGRetrieval

Response Quality Assessment for Retrieval-Augmented Generation via Conditional Conformal Factuality

2025-06-26 · Naihe Feng, Yi Sui, Shiyi Hou, Jesse C. Cresswell 외

Existing research on Retrieval-Augmented Generation (RAG) primarily focuses on improving overall question-answering accuracy, often overlooking the quality of sub-claims within generated responses. Recent methods that at…

Conformal PredictionQuestion AnsweringRAGRetrieval+1

Streamlining Conformal Information Retrieval via Score Refinement

2024-10-03 · Yotam Intrator, Ori Kelner, Regev Cohen, Roman Goldenberg 외

Information retrieval (IR) methods, like retrieval augmented generation, are fundamental to modern applications but often lack statistical guarantees. Conformal prediction addresses this by retrieving sets guaranteed to …

Conformal PredictionInformation RetrievalRetrievalRetrieval-augmented Generation

Principled Context Engineering for RAG: Statistical Guarantees via Conformal Prediction

2025-11-22 · Debashish Chakraborty, Eugene Yang, Daniel Khashabi, Dawn Lawrie 외 arxiv

Retrieval-Augmented Generation (RAG) enhances factual grounding in large language models (LLMs) by incorporating retrieved evidence, but LLM accuracy declines when long or noisy contexts exceed the model's effective atte…

TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Prediction

2023-07-07 · Shuo Li, Sangdon Park, Insup Lee, Osbert Bastani

When applied to open-domain question answering, large language models (LLMs) frequently generate incorrect responses based on made-up facts, which are called $\textit{hallucinations}$. Retrieval augmented generation (RAG…

Bayesian OptimizationChatbotConformal PredictionNatural Questions+6