{"title":"Cost-Aware Uncertainty Reduction in Schema Matching with GPT-4: The Prompt-Matcher Framework","authors":"Longyu Feng, Huahang Li, Chen Jason Zhang","doi":"arxiv-2408.14507","DOIUrl":null,"url":null,"abstract":"Schema matching is the process of identifying correspondences between the\nelements of two given schemata, essential for database management systems, data\nintegration, and data warehousing. The inherent uncertainty of current schema\nmatching algorithms leads to the generation of a set of candidate matches.\nStoring these results necessitates the use of databases and systems capable of\nhandling probabilistic queries. This complicates the querying process and\nincreases the associated storage costs. Motivated by GPT-4 outstanding\nperformance, we explore its potential to reduce uncertainty. Our proposal is to\nsupplant the role of crowdworkers with GPT-4 for querying the set of candidate\nmatches. To get more precise correspondence verification responses from GPT-4,\nWe have crafted Semantic-match and Abbreviation-match prompt for GPT-4,\nachieving state-of-the-art results on two benchmark datasets DeepMDatasets 100%\n(+0.0) and Fabricated-Datasets 91.8% (+2.2) recall rate. To optimise budget\nutilisation, we have devised a cost-aware solution. Within the constraints of\nthe budget, our solution delivers favourable outcomes with minimal time\nexpenditure. We introduce a novel framework, Prompt-Matcher, to reduce the uncertainty in\nthe process of integration of multiple automatic schema matching algorithms and\nthe selection of complex parameterization. It assists users in diminishing the\nuncertainty associated with candidate schema match results and in optimally\nranking the most promising matches. We formally define the Correspondence\nSelection Problem, aiming to optimise the revenue within the confines of the\nGPT-4 budget. We demonstrate that CSP is NP-Hard and propose an approximation\nalgorithm with minimal time expenditure. Ultimately, we demonstrate the\nefficacy of Prompt-Matcher through rigorous experiments.","PeriodicalId":501123,"journal":{"name":"arXiv - CS - Databases","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Databases","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.14507","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Schema matching is the process of identifying correspondences between the
elements of two given schemata, essential for database management systems, data
integration, and data warehousing. The inherent uncertainty of current schema
matching algorithms leads to the generation of a set of candidate matches.
Storing these results necessitates the use of databases and systems capable of
handling probabilistic queries. This complicates the querying process and
increases the associated storage costs. Motivated by GPT-4 outstanding
performance, we explore its potential to reduce uncertainty. Our proposal is to
supplant the role of crowdworkers with GPT-4 for querying the set of candidate
matches. To get more precise correspondence verification responses from GPT-4,
We have crafted Semantic-match and Abbreviation-match prompt for GPT-4,
achieving state-of-the-art results on two benchmark datasets DeepMDatasets 100%
(+0.0) and Fabricated-Datasets 91.8% (+2.2) recall rate. To optimise budget
utilisation, we have devised a cost-aware solution. Within the constraints of
the budget, our solution delivers favourable outcomes with minimal time
expenditure. We introduce a novel framework, Prompt-Matcher, to reduce the uncertainty in
the process of integration of multiple automatic schema matching algorithms and
the selection of complex parameterization. It assists users in diminishing the
uncertainty associated with candidate schema match results and in optimally
ranking the most promising matches. We formally define the Correspondence
Selection Problem, aiming to optimise the revenue within the confines of the
GPT-4 budget. We demonstrate that CSP is NP-Hard and propose an approximation
algorithm with minimal time expenditure. Ultimately, we demonstrate the
efficacy of Prompt-Matcher through rigorous experiments.