paper-with-me

Papers

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

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

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 models (RAG) have been proposed to enhance the credibility of generations by grounding external knowledge, but the theoretical understandings of their generation risks remains unexplored. In this paper, we answer: 1) whether RAG can indeed lead to low generation risks, 2) how to provide provable guarantees on the generation risks of RAG and vanilla LLMs, and 3) what sufficient conditions enable RAG models to reduce generation risks. We propose C-RAG, the first framework to certify generation risks for RAG models. Specifically, we provide conformal risk analysis for RAG models and certify an upper confidence bound of generation risks, which we refer to as conformal generation risk. We also provide theoretical guarantees on conformal generation risks for general bounded risk functions under test distribution shifts. We prove that RAG achieves a lower conformal generation risk than that of a single LLM when the quality of the retrieval model and transformer is non-trivial. Our intensive empirical results demonstrate the soundness and tightness of our conformal generation risk guarantees across four widely-used NLP datasets on four state-of-the-art retrieval models.

📄 PDF Abstract BibTeX arXiv:2402.03181

Code (1)

kangmintong/c-rag 공식 구현 pytorch

Tasks

RAGRetrieval

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 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
WordPiece 설명 없음
Weight Decay 설명 없음
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.
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…

Similar Papers 제목 키워드 기반

Safety as Computation: Certified Answer Reuse via Capability Closure in Task-Oriented Dialogue

2026-03-22 · Cosimo Spera arxiv

We introduce a new paradigm for task-oriented dialogue systems: safety certification as a computational primitive for answer reuse. Current systems treat each turn independently, recomputing answers via retrieval or gene…

Task-Oriented Dialogue Systems

SoK: Privacy Risks and Mitigations in Retrieval-Augmented Generation Systems

2026-01-07 · Andreea-Elena Bodea, Stephen Meisenbacher, Alexandra Klymenko, Florian Matthes arxiv

The continued promise of Large Language Models (LLMs), particularly in their natural language understanding and generation capabilities, has driven a rapidly increasing interest in identifying and developing LLM use case…

Natural Language Understanding

The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)

2024-02-23 · Shenglai Zeng, Jiankun Zhang, Pengfei He, Yue Xing 외

Retrieval-augmented generation (RAG) is a powerful technique to facilitate language model with proprietary and private data, where data privacy is a pivotal concern. Whereas extensive research has demonstrated the privac…

Language ModelingLanguage ModellingRAGRetrieval+1

Towards Dependable Retrieval-Augmented Generation Using Factual Confidence Prediction

2026-05-04 · Florian Geissler, Francesco Carella, Laura Fieback, Jakob Spiegelberg arxiv

Incorporating specific knowledge into large language models via retrieval-augmented generation (RAG) is a widespread technique that fuels many of today's industry AI applications. A fundamental problem is to assess if th…

Almanac: Retrieval-Augmented Language Models for Clinical Medicine

2023-03-01 · Cyril Zakka, Akash Chaurasia, Rohan Shad, Alex R. Dalal 외

Large-language models have recently demonstrated impressive zero-shot capabilities in a variety of natural language tasks such as summarization, dialogue generation, and question-answering. Despite many promising applica…

Decision MakingDialogue GenerationLanguage ModelingLanguage Modelling+3