paper-with-me

Papers

Parameters vs. Context: Fine-Grained Control of Knowledge Reliance in Language Models

2025-03-20 · Baolong Bi, Shenghua Liu, Yiwei Wang, Yilong Xu, Junfeng Fang, Lingrui Mei, Xueqi Cheng

Retrieval-Augmented Generation (RAG) mitigates hallucinations in Large Language Models (LLMs) by integrating external knowledge. However, conflicts between parametric knowledge and retrieved context pose challenges, particularly when retrieved information is unreliable or the model's internal knowledge is outdated. In such cases, LLMs struggle to determine whether to rely more on their own parameters or the conflicted context. To address this, we propose CK-PLUG, a plug-and-play method for controlling LLMs' reliance on parametric and contextual knowledge. We introduce a novel knowledge consistency metric, Confidence Gain, which detects knowledge conflicts by measuring entropy shifts in token probability distributions after context insertion. CK-PLUG then enables fine-grained control over knowledge preference by adjusting the probability distribution of tokens with negative confidence gain through a single tuning parameter. Experiments demonstrate CK-PLUG's ability to significantly regulate knowledge reliance in counterfactual RAG scenarios while maintaining generation fluency and knowledge accuracy. For instance, on Llama3-8B, memory recall (MR) of RAG response can be adjusted within a broad range (9.9%-71.9%), compared to the baseline of 42.1%. Moreover, CK-PLUG supports adaptive control based on the model's confidence in both internal and external knowledge, achieving consistent performance improvements across various general RAG tasks. Our code is available at: $\href{https://github.com/byronBBL/CK-PLUG}{\text{this https URL}}$.

📄 PDF Abstract BibTeX arXiv:2503.15888

Code (1)

byronbbl/ck-plug 공식 구현 jax

Tasks

counterfactualRAGRetrieval-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 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Residual Connection 설명 없음
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}$.
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…

Similar Papers 제목 키워드 기반

Parallel Context Compaction for Long-Horizon LLM Agent Serving

2026-05-22 · Musa Cim, Burak Topcu, Chita Das, Mahmut Taylan Kandemir arxiv

Long-horizon LLM agents accumulate growing conversation histories that eventually exceed the model's context window. Context compaction via LLM-based summarization keeps the conversation bounded, but summarization is inh…

Prompt Engineering

Improving End-to-End Contextual Speech Recognition with Fine-Grained Contextual Knowledge Selection

2022-01-30 · Minglun Han, Linhao Dong, Zhenlin Liang, Meng Cai 외

Nowadays, most methods in end-to-end contextual speech recognition bias the recognition process towards contextual knowledge. Since all-neural contextual biasing methods rely on phrase-level contextual modeling and atten…

speech-recognitionSpeech Recognition

Fine-grained Image Retrieval via Dual-Vision Adaptation

2025-06-19 · Xin Jiang, Meiqi Cao, Hao Tang, Fei Shen 외

Fine-Grained Image Retrieval~(FGIR) faces challenges in learning discriminative visual representations to retrieve images with similar fine-grained features. Current leading FGIR solutions typically follow two regimes: e…

Image RetrievalKnowledge DistillationRetrieval

Outline to Story: Fine-grained Controllable Story Generation from Cascaded Events

2021-01-04 · Le Fang, Tao Zeng, Chaochun Liu, Liefeng Bo 외

Large-scale pretrained language models have shown thrilling generation capabilities, especially when they generate consistent long text in thousands of words with ease. However, users of these models can only control the…

Keyword ExtractionLanguage ModelingLanguage ModellingStory Generation+1

Neural Face Rigging for Animating and Retargeting Facial Meshes in the Wild

2023-05-15 · Dafei Qin, Jun Saito, Noam Aigerman, Thibault Groueix 외

We propose an end-to-end deep-learning approach for automatic rigging and retargeting of 3D models of human faces in the wild. Our approach, called Neural Face Rigging (NFR), holds three key properties: (i) NFR's express…