Papers
Topics
Authors
Recent
Search
2000 character limit reached

DSRAG: A Domain-Specific Retrieval Framework Based on Document-derived Multimodal Knowledge Graph

Published 22 Aug 2025 in cs.IR, cs.AI, cs.CL, cs.CV, and cs.MM | (2509.10467v1)

Abstract: Current general-purpose LLMs commonly exhibit knowledge hallucination and insufficient domain-specific adaptability in domain-specific tasks, limiting their effectiveness in specialized question answering scenarios. Retrieval-augmented generation (RAG) effectively tackles these challenges by integrating external knowledge to enhance accuracy and relevance. However, traditional RAG still faces limitations in domain knowledge accuracy and context modeling.To enhance domain-specific question answering performance, this work focuses on a graph-based RAG framework, emphasizing the critical role of knowledge graph quality during the generation process. We propose DSRAG (Domain-Specific RAG), a multimodal knowledge graph-driven retrieval-augmented generation framework designed for domain-specific applications. Our approach leverages domain-specific documents as the primary knowledge source, integrating heterogeneous information such as text, images, and tables to construct a multimodal knowledge graph covering both conceptual and instance layers. Building on this foundation, we introduce semantic pruning and structured subgraph retrieval mechanisms, combining knowledge graph context and vector retrieval results to guide the LLM towards producing more reliable responses. Evaluations using the Langfuse multidimensional scoring mechanism show that our method excels in domain-specific question answering, validating the efficacy of integrating multimodal knowledge graphs with retrieval-augmented generation.

Summary

  • The paper introduces DSRAG, which constructs a multimodal knowledge graph from text, images, and tables to mitigate factual and contextual errors in domain-specific tasks.
  • The paper details a dual-stage retrieval process combining graph-guided semantic pruning with vector-based search to optimize domain-specific information retrieval.
  • The paper demonstrates that integrating both Concept and Instance Knowledge Graphs significantly improves performance over traditional RAG models in technical question answering.

DSRAG: A Domain-Specific Retrieval Framework Based on Document-derived Multimodal Knowledge Graph

Introduction

LLMs typically struggle with domain-specific tasks due to insufficient specialized knowledge and frequent factual hallucinations. Retrieval-Augmented Generation (RAG) has been proposed to enhance their performance by integrating external knowledge bases. However, existing RAG methods, including graph-based variants like GraphRAG, encounter limitations in terms of domain knowledge accuracy and context modeling. DSRAG (Domain-Specific RAG) is introduced as a domain-specific, graph-enhanced framework that incorporates multimodal knowledge graphs (MMKGs) to address these challenges.

DSRAG leverages domain-specific documents to construct a multimodal knowledge graph from text, images, and tables, capturing both conceptual and instance layers. This approach facilitates more reliable response generation by the LLM through semantic pruning and structured subgraph retrieval. The efficacy of this framework is demonstrated via the Langfuse multidimensional scoring mechanism, showcasing its enhanced accuracy in domain-specific question answering tasks.

Methodology

Framework of DSRAG

The overall structure of DSRAG employs a domain-specific multimodal knowledge graph (DSKG) to mitigate semantic heterogeneity and factual errors in question answering. DSRAG constructs a hierarchical knowledge graph from domain documents, divided into Concept KG and Instance KG. This framework integrates structured graph-based information with vector-based retrieval methods. Figure 1

Figure 1: The overall framework of DSRAG.

DSKG Construction

The construction of DSKG involves several stages:

  1. Data Preprocessing: Utilizes tools for semantic parsing and conversion of documents to a unified format, employing OCR for tables and images.
  2. Concept KG Construction: Conceptualizes core domain concepts and relationships from the structure of the documents, using expert annotations and LLMs.
  3. Instance KG Construction: Builds upon the Concept KG framework to extract fine-grained data and relationships, employing a layered extraction architecture for comprehensive modeling. Figure 2

    Figure 2: Flow Diagram of DSKG Construction from Original Documents to MMKG.

DSKG-Enhanced Retrieval

DSKG optimizes the retrieval process through a dual-stage strategy:

  • Graph-guided Focusing: Restricts semantic space using conceptual constraints from the Concept KG to improve retrieval relevance.
  • Vector Retrieval: Complements structured retrieval with vector-based search for granular details, aligning with document embeddings. Figure 3

    Figure 3: DSKG-enhanced retrieval process.

Experiments and Results

Dataset and Environment

The evaluation used a comprehensive dataset from the database domain, featuring multimodal elements like text and tables. Experiments were conducted on technical questions using domain-specific documentation as knowledge sources.

Performance Comparison

DSRAG demonstrated superior performance over baseline models (NaiveRAG, TiDB AutoFlow, and RAGFlow) in faithfulness, answer relevancy, and contextual precision. This underscores the importance of integrating multimodal KGs within RAG frameworks for domain-specific tasks.

Ablation Study

An ablation study confirmed that the inclusion of both Concept KG and Instance KG significantly elevates the performance metrics, validating the framework's comprehensive design. The complete DSRAG outperformed configurations with limited or no KG integration.

Conclusion

DSRAG presents an innovative adaptation of retrieval-augmented generation by leveraging a multimodal knowledge graph. This framework effectively addresses domain-specific challenges, surpassing traditional models in yielding factually consistent, contextually accurate responses. Future research could expand upon complex graph structures and intermodal data integration to refine the approach for broader applications in intelligent domain-specific question answering systems.

Paper to Video (Beta)

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.