# Knowledge Graph-based Retrieval-Augmented Generation for Schema Matching

DevFeed: [Knowledge Graph-based Retrieval-Augmented Generation for Schema Matching](<https://devfeed.tech/articles/knowledge-graph-based-retrieval-augmented-generation-for-schema-matching-124222.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2501.08686>)

Author: Chuangtao Ma, Sriom Chakrabarti, Arijit Khan, B\\'alint Moln\\'ar

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [Retrieval Augmented Generation (RAG)](<https://devfeed.tech/topics/retrieval-augmented-generation-rag.md>), [Enhancing AI model performance](<https://devfeed.tech/topics/enhancing-ai-model-performance.md>), [AI-driven information retrieval](<https://devfeed.tech/topics/ai-driven-information-retrieval.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Hallucination detection](<https://devfeed.tech/topics/hallucination-detection.md>), [knowledge-engineering](<https://devfeed.tech/topics/knowledge-engineering.md>)

Tags: [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [graph](<https://devfeed.tech/tags/graph.md>), [knowledge-graph](<https://devfeed.tech/tags/knowledge-graph.md>), [large-language-models-llms](<https://devfeed.tech/tags/large-language-models-llms.md>), [matching](<https://devfeed.tech/tags/matching.md>), [reranking](<https://devfeed.tech/tags/reranking.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [retrieval-augmented-generation](<https://devfeed.tech/tags/retrieval-augmented-generation.md>), [schema](<https://devfeed.tech/tags/schema.md>)

## AI overview

KG-RAG4SM augments schema matching with external knowledge graphs to address semantic ambiguity and unsupported LLM guesses. It retrieves relevant subgraphs using LLM-based, vector-based, graph-traversal, or hybrid methods, followed by reranking, and requires no retraining. The abstract reports gains over Jellyfish-8B on MIMIC (39.79% precision and 30.56% F1) and over SMAT on Synthea (69.20% precision and 21.99% F1). It also describes an instruction-tuning component intended to preserve truthful end-to-end matching when retrieved graph context is poorly relevant, and reports that the approach works across commonsense and domain-specific knowledge graphs.

## Source excerpt

arXiv:2501.08686v2 Announce Type: replace Abstract: Traditional similarity-based schema matching methods fail to resolve semantic ambiguities and conflicts in complex, domain-specific mappings due to a lack of commonsense and domain-specific knowledge. In parallel, large language models (LLMs) without sufficient background knowledge tend to hallucinate, further complicating schema matching. To overcome these limitations, we introduce KG-RAG4SM, a Knowledge Graph-based Retrieval-Augmented Generation for Schema Matching. This method integrates novel retrieval mechanisms, including LLM-based, vector-based, graph traversal-based, and hybrid techniques with advanced reranking schemes to extract the most relevant subgraphs from large external KGs. Our approach achieves superior results without requiring re-training, as evidenced by improvements of 39.79% in precision and 30.56% in F1 score over LLM-based state-of-the-art (SOTA) methods (e.g., Jellyfish-8B) on the MIMIC dataset, and enhancements of 69.20% in precision and 21.99% in F1 score over pre-trained language model (PLM)-based SOTA methods (e.g., SMAT) on the Synthea dataset. Additionally, KG-RAG4SM scales effectively across KGs from commonsense KGs to domain-specific ones, while its instruction-tuning knowledge exclusion component ensures truthful performance in end-to-end schema matching tasks despite the suboptimal relevance of KG context. Our empirical analysis and case studies from real-world scenarios show that the hallucination problem in LLMs for schema matching is well mitigated by our solution.