Skip to content
Preprint

When Context Misleads: Intent-Guided Decoding for Robust Retrieval-Augmented Generation

Aug 2026 · 0 citations · 46 references
Computer Science

TL;DR

Intent-Guided Decoding (IGD) is proposed, a framework that arbitrates between retrieved context and parametric memory according to user intent and substantially improves factual recovery in RAG.

Abstract

Retrieval-augmented generation (RAG) improves large language models by grounding generation in external evidence, but it also introduces a source trust problem: retrieved context may be useful, irrelevant, or even misleading. Existing RAG systems often apply a fixed trust policy toward retrieved evidence, which can either over-trust incorrect context or underuse context when the user explicitly asks for context-following behavior. Therefore, we propose Intent-Guided Decoding (IGD), a framework that arbitrates between retrieved context and parametric memory according to user intent. IGD uses answer-level filtering and token-level correction to steer the final decoding trajectory between retrieved context and parametric memory. We evaluate IGD on three faithful QA benchmarks and three factual-conflict benchmarks across five LLMs, IGD substantially improves factual recovery, achieving gains of up to 65.4 percentage points on factual-conflict benchmarks over Direct RAG, while preserving or improving strict context-following behavior, this findings highlight the importance of balancing factuality and faithfulness in RAG.

View source

Similar papers

#machine learning Preprint Sep 2026

Parameters vs. Context: TRACE Fine-Tuning for Robust Retrieval-Augmented Generation

Experiments across multiple knowledge-conflict scenarios and datasets show that TRACE improves robustness against misleading retrieved knowledge and reduces incomplete answers, and jointly enhance knowledge-source selection, conflict robustness, and answer quality in RAG models.

Zheng-Chen Huang, Yun-Dong Sun, Min-Rui Song et al. · 0 citations

In RAG We Trust? Measuring Robustness of Retrieval-Augmented Generation Under Post-Retrieval Context Tampering

This study studies how much a small quantized model, Llama 3.1 8B, degrades when a fraction of its retrieved context is poisoned, and treats the strategy contrasts as suggestive until decoding is controlled and stronger adjudication is in place.

Iliano Fasolino · 0 citations
#artificial intelligence Preprint Oct 2026

RAG-Stress: Probing the Limits of Evidence Reliance in Retrieval-Augmented Generation

Following retrieved evidence does not guarantee factual correctness: misleading evidence can induce a model to replace an answer it previously gave correctly. Standard accuracy measures obscure this behavior by combining answer replacement with preexisting errors. We introduce RAG-Stress, a controlled diagnostic protoc...

Shun-Yuan Zhou, Hao Chen, Tian-Yu Wang et al. · 0 citations
Preprint Aug 2026

Why RAGs Hallucinate: Penalty-Aware Evaluation of Retrieval-Augmented Generation Systems with Knowledge-Gap Canaries

Volume-based accuracy rewards retrieval-augmented generation (RAG) systems for guessing: a system that answers everything outscores one that declines when its knowledge base cannot support an answer. Building on the confidence-target analysis of Kalai et al. (2025), we present a penalty-aware evaluation framework for d...

Alden Do Rosario, Hussein Younes, F. Pires · 1 citation
#artificial intelligence Preprint Aug 2026

PRO-Step: Step-level Process Reward Optimization for Retrieval-Augmented Generation

Retrieval-Augmented Generation enhances Large Language Models by grounding responses in external knowledge, but multi-hop reasoning remains vulnerable to error propagation, where early retrieval failures confound subsequent steps. Standard outcome-based optimization only rewards the final answer, leaving intermediate r...

Minkeon Kim, Namjun Lee, Jaekwang Kim · 0 citations
#natural language process... Preprint Oct 2026

CLIMB: Confidence-Guided Complementary Evidence for Multimodal Retrieval-Augmented Generation

Multimodal large language models (MLLMs) have shown strong visual reasoning abilities, but knowledge-intensive visual question answering often requires external textual evidence beyond the image and the model's parametric knowledge. Existing multimodal RAG systems commonly rely on Top-$K$ retrieval or reranking, which...

Hang Gao, Wu-Jiang Xu, Zhixing Zhang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.