Metraipolis › archive › dc_748a08cef3e9
Knowing Before Answering: Decoding Language Models for Reliable RAG — arXiv:2608.27661
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.27661
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T10:47:52.645Z
- SHA-256 of the archived text
86a38cdb6da1e92def8a34f50ae01f41bbe020182db74d8c249bbc37b066f20c- Stable URL of this page
https://metraipolis.com/documento/dc_748a08cef3e9
How to cite
Knowing Before Answering: Decoding Language Models for Reliable RAG — arXiv:2608.27661 — arXiv (en), https://arxiv.org/abs/2608.27661 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_748a08cef3e9 (Metraipolis archive dc_748a08cef3e9, sha256 86a38cdb6da1e92def8a34f50ae01f41bbe020182db74d8c249bbc37b066f20c)
BibTeX
@misc{dc748a08cef3e9,
title = {Knowing Before Answering: Decoding Language Models for Reliable RAG — arXiv:2608.27661},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.27661},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_748a08cef3e9; sha256 86a38cdb6da1e92def8a34f50ae01f41bbe020182db74d8c249bbc37b066f20c},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.27661. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
In Retrieval-Augmented Generation (RAG), retrieval may provide insufficient or conflicting information needed to answer a question. The system should not only know when to answer but also be able to identify cases in which the documents provided in RAG are insufficient or contain conflicting information. This can be framed as a three-way classification problem, where we use the model's internal signals to determine whether the provided information in the input can be classified as sufficient, insufficient, or conflicting. We create a controlled benchmark dataset that replicates a RAG setup with fictitious information and labels each instance as answerable, insufficient, or conflicting. We use hidden activations and attention-derived features as inputs to train a lightweight linear model to distinguish among the three classes. Across 16 language models spanning different architectures and a range of model sizes, our feature-based router consistently outperforms prompting-based baselines and the performance of specialised RAG-models. We further conduct analyses into the information dynamics of the models. We show that the most informative signals for the classification are available in the middle layers, with hidden activation states being more effective than attention values or the MLP-feature outputs in most of the tested models. Overall, our results suggest that language models internally encode whether retrieved evidence is sufficient to support answering, and that this signal can be decoded reliably for RAG triage. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-31 in cs.AI). Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.27661 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T10:33:42.462Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-31?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).