MDB-Link: Hierarchical Schema Linking for Multi-Database Text-to-SQL

Beiyu Xu, Zhenyu Wu, Jiaoyan Chen, Riza theresa Batista-navarro
8/10/2026
cs.CL

No confident code implementation found for this paper.

Abstract

Traditional Text-to-SQL research and benchmarks assume a known target database, overlooking settings in which a query must be routed within a large, heterogeneous database collection. We therefore study schema linking in a multi-database setting, where the system must first locate the target database and then construct a compact, SQL-relevant schema for generation.

Show full abstract

We propose MDB-Link, a hierarchical schema-linking framework that retrieves question-relevant columns from a global index, aggregates retrieval evidence to shortlist databases, and uses a budget-aware large language model (LLM) for database reranking, table selection, and column grounding. With Qwen2.5-14B, MDB-Link outperforms LinkAlign on MMQA, Spider2-Snow, and BIRD-dev in database localization and column selection while producing schema subsets close in size to the gold schemas. Exact match improves from 16.88 to 51.41 on MMQA, 2.50 to 9.17 on Spider2-Snow, and 12.52 to 38.01 on BIRD-dev. MDB-Link also runs faster than LinkAlign and AutoLink, demonstrating the effectiveness of hierarchical schema reduction for downstream SQL generation.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2026mdblink,
  title  = {MDB-Link: Hierarchical Schema Linking for Multi-Database Text-to-SQL},
  author = {Beiyu Xu and Zhenyu Wu and Jiaoyan Chen and Riza theresa Batista-navarro},
  year   = {2026},
  eprint = {2608.09588},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.09588v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.09588.svg)](https://codeofpaper.com/paper/2608.09588)

Discussion