RAGTrace: Understanding and Refining Retrieval-Generation Dynamics in Retrieval-Augmented Generation

Human-LLM CollaborationExplainable AI (XAI)AI-Assisted Decision-Making & AutomationSoftware Engineers & DevelopersData Scientists & AnalystsAI/ML Researchers & Engineers

Retrieval-Augmented Generation (RAG) systems have emerged as a promising solution to enhance large language models (LLMs) by integrating external knowledge retrieval with generative capabilities. While significant advancements have been made in improving retrieval accuracy and response quality, a critical challenge remains that the internal knowledge integration and retrieval-generation interactions in RAG systems are largely opaque. This paper introduces RAGTrace, a system designed to analyze retrieval and generation dynamics in RAG-based systems. Informed by a comprehensive literature review and expert interviews, the system supports a multi-level analysis approach, ranging from high-level performance evaluation to fine-grained examination of retrieval relevance, generation fidelity, and cross-component interactions. Unlike conventional evaluation practices that focus on isolated retrieval or generation quality assessments, RAGTrace enables an integrated exploration of retrieval-generation relationships, allowing users to trace knowledge sources and identify potential failure cases. The system's workflow allows users to build, evaluate, and iterate on retrieval processes tailored to their specific domains of interest. The effectiveness of the system is demonstrated through case studies and expert evaluations on real-world RAG applications.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/uist/206901/2025

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://doi.org/10.1145/3746059.3747741
At a Glance

Paper Snapshot

fact_check
dataset
Source
UIST
calendar_month
Year
2025
emoji_events
Award
No award tagged
group
Authors
4 authors
sell
Subtopics
Human-LLM Collaboration, Explainable AI (XAI), AI-Assisted Decision-Making & Automation
work
Professions
Software Engineers & Developers, Data Scientists & Analysts, AI/ML Researchers & Engineers
article
Content Status
Abstract only
hub
Related Papers
10 related papers