KcMF: A Knowledge-compliant Framework for Schema and Entity Matching with Fine-tuning-free LLMs
Yongqin Xu, Huan Li, Ke Chen, Lidan Shou
TL;DR
KcMF tackles schema matching and entity matching with a tuning-free, knowledge-enhanced framework that uses a once-and-for-all pseudo-code-based reasoning design, augmented by external knowledge from Dataset as Knowledge (DaK) and Examples as Knowledge (EaK). It introduces Self-Indicator Extraction and Summarized Demonstrations to improve prompt quality, and an Inconsistency-tolerant Generation Ensemble (IntGE) to robustly combine outputs from multiple knowledge sources. Empirical results across SM and EM show consistent improvements across five LLM backbones and competitive performance versus fine-tuned baselines, with strong generalization to out-of-domain data. The work offers a practical pathway for deploying LLM-based data matching without fine-tuning, particularly in privacy-sensitive or cross-domain settings.
Abstract
Schema matching (SM) and entity matching (EM) tasks are crucial for data integration. While large language models (LLMs) have shown promising results in these tasks, they suffer from hallucinations and confusion about task instructions. This study presents the Knowledge-Compliant Matching Framework (KcMF), an LLM-based approach that addresses these issues without the need for domain-specific fine-tuning. KcMF employs a once-and-for-all pseudo-code-based task decomposition strategy to adopt natural language statements that guide LLM reasoning and reduce confusion across various task types. We also propose two mechanisms, Dataset as Knowledge (DaK) and Example as Knowledge (EaK), to build domain knowledge sets when unstructured domain knowledge is lacking. Moreover, we introduce a result-ensemble strategy to leverage multiple knowledge sources and suppress badly formatted outputs. Extensive evaluations confirm that KcMF clearly enhances five LLM backbones in both SM and EM tasks while outperforming the non-LLM competitors by an average F1-score of 17.93%.
