Bootstrapping Self-Improvement of Language Model Programs for Zero-Shot Schema Matching

Nabeel Seedat, Mihaela van der Schaar

TL;DR

Matchmaker is a novel framework for zero-shot schema matching that uses a multi-stage "language model program" to handle complex data integration without any labeled data. By bootstrapping its own performance through synthetic in-context examples, it significantly outperforms existing methods on challenging real-world medical and e-commerce datasets.

The Challenge of Schema Matching

Schema matching is the critical but often painful first step in data science: figuring out how attributes in one database (e.g., admissions-admittime) map to another (e.g., visit_start_datetime). It is notoriously difficult due to structural and semantic heterogeneity—different names for the same concept, varying table structures, and missing information across disparate sources.

Traditional machine learning approaches require thousands of manual labels, which is prohibitively expensive (e.g., mapping one medical database took experts 500 hours). While Large Language Models (LLMs) offer hope, simple prompting often fails on large, complex schemas because the search space is too vast for a single call, and zero-shot performance is typically poor.

Introducing Matchmaker: A Compositional LM Program

Matchmaker treats schema matching as an Information Retrieval (IR) problem rather than a binary classification task. Instead of asking "Does A match B?" for every possible pair—which scales poorly—it retrieves a small set of likely candidates and then ranks them.

Matchmaker's multi-stage pipeline compared to traditional supervised, prompting, and RAG-based approaches.

The system consists of three main steps:

  1. Multi-vector Document Creation: It encodes target schema attributes using token-level embeddings (ColBERT-v2) to capture fine-grained semantic nuances.
  2. Diverse Candidate Generation: It combines semantic retrieval (finding candidates based on vector similarity) with reasoning-based generation (using an LLM to "think" through the schema hierarchy and metadata to propose candidates that might not be semantically obvious).
  3. Confidence Scoring: It uses a Multiple Choice Question (MCQ) format to let the LLM score candidates and provide an "abstain" option if no match is found.

The "secret sauce" of the framework is Zero-Shot Self-Improvement. Matchmaker starts cold with no examples. It runs on an unlabeled evaluation set, uses an LLM-as-a-judge to score its own reasoning traces, and then selects the best ones to use as synthetic in-context examples to guide the model in future tasks.

Key Insights and Results

The authors evaluated Matchmaker on several challenging benchmarks, including real-world medical datasets (MIMIC-OMOP & Synthea-OMOP) and e-commerce domains (Magellan & WikiData).

  • IR > Classification: Formulating schema matching as retrieval and ranking is significantly more efficient and accurate than binary classification for large-scale schemas.
  • Reasoning is Essential: Semantic similarity alone is often insufficient. LLM-driven reasoning over table metadata helps bridge structural gaps that simple embedding-based search misses.
  • Bootstrapping Works: You don't need human labels to improve an LLM program. By systematically selecting its own successful reasoning traces, the model can "teach itself" how to handle difficult queries.

Matchmaker sets a new state-of-the-art for zero-shot schema matching. On the highly complex MIMIC dataset, it achieved an accuracy@1 of 62.2%, nearly 20 percentage points higher than the previous best zero-shot method, ReMatch (42.5%). On Synthea, it reached 70.2% accuracy@1, again significantly outperforming all baselines.

Quantitative comparison showing Matchmaker consistently outperforming LLM-based and supervised baselines.

Limitations and Future Work

  • Human-in-the-loop: The authors emphasize that Matchmaker is best used to assist experts rather than replace them. Its confidence scores can be used to strategically defer uncertain cases to humans for review.
  • Metadata Focus: The current version operates solely on schema-level information (metadata). Future work could incorporate actual data values (row-level info) to improve accuracy, though this introduces privacy challenges in sensitive domains like healthcare.
  • Broader Integration: Schema matching is just one part of the data harmonization process; integrating Matchmaker with other data-centric AI tasks remains a promising direction.

Summary updated

BibTeX
@inproceedings{seedat2025bootstrapping,
  author = {Nabeel Seedat and Mihaela van der Schaar},
  title = {{Bootstrapping Self-Improvement of Language Model Programs for Zero-Shot Schema Matching}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=clLERWKNja},
}
Figure