Skip to main navigation Skip to search Skip to main content

Source Attribution in Retrieval-Augmented Generation

  • Ikhtiyor Nematov
  • , Tarik Kalai
  • , Elizaveta Kuzmenko
  • , Gabriele Fugagnoli
  • , Dimitris Sacharidis
  • , Katja Hose
  • , Tomer Sagi

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

While attribution methods, such as Shapley values, are widely used to explain the importance of features or training data in traditional machine learning, their application to Large Language Models (LLMs), particularly within Retrieval-Augmented Generation (RAG) systems, is nascent and challenging. The primary obstacle is the substantial computational cost, where each utility function evaluation involves an expensive LLM call, resulting in direct monetary and time expenses. This paper investigates the feasibility and effectiveness of adapting Shapley-based attribution to identify influential retrieved documents in RAG. We compare Shapley with more computationally tractable approximations and some existing attribution methods for LLM. Our work aims to: (1) systematically apply established attribution principles to the RAG document-level setting; (2) quantify how well SHAP approximations can mirror exact attributions while minimizing costly LLM interactions; and (3) evaluate their practical explainability in identifying critical documents, especially under complex inter-document relationships such as redundancy, complementarity, and synergy. This study seeks to bridge the gap between powerful attribution techniques and the practical constraints of LLM-based RAG systems, offering insights into achieving reliable and affordable RAG explainability.

Original languageEnglish
Title of host publicationMachine Learning and Principles and Practice of Knowledge Discovery in Databases - International Workshops of ECML PKDD 2025, Revised Selected Papers
EditorsIrena Koprinska, João Mendes-Moreira, Paula Branco
PublisherSpringer Science and Business Media Deutschland GmbH
Pages317-332
Number of pages16
ISBN (Print)9783032190987
DOIs
StatePublished - 2026
Externally publishedYes
EventEuropean Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, ECML PKDD 2025 - Porto, Portugal
Duration: 15 Sep 202519 Sep 2025

Publication series

NameCommunications in Computer and Information Science
Volume2840 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

ConferenceEuropean Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases, ECML PKDD 2025
Country/TerritoryPortugal
CityPorto
Period15/09/2519/09/25

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2026.

Keywords

  • Explainability
  • RAG
  • Shapley Values
  • Source Attribution

ASJC Scopus subject areas

  • General Computer Science
  • General Mathematics

Fingerprint

Dive into the research topics of 'Source Attribution in Retrieval-Augmented Generation'. Together they form a unique fingerprint.

Cite this