Join discovery aims to identify tables from large data repositories that can augment a query table with complementary information, enabling downstream tasks such as data exploration, feature engineering, and business intelligence. Although numerous join discovery methods have been proposed, existing studies rely on method-specific benchmark construction, making reproducible and fair comparison difficult. We present TabJoinBench, a benchmark for evaluating join discovery methods across semantic, relational, and hybrid data lake scenarios. TabJoinBench constructs query-candidate pairs using source-specific validation strategies, systematically introduces structural, representation, and semantic changes through composable perturbations while preserving reliable ground truth. We evaluate representative join discovery methods spanning set-based, feature-based, and learned approaches, together with general-purpose language-model embedding baselines, and publicly release the processed datasets, ground-truth annotations, and generation pipeline to facilitate reproducible evaluation and future research.
Figures & tables
Figure 1: Overview of TabJoinBench . Seed join pairs are generated from three complementary data sources (S1), candidate tables are transformed using composable perturbations while preserving the underlying join relationships (S2), and the resulting query set, heterogeneous data lake, and ground-truth annotations are assembled into the final benchmark (S3).
Subset
Query
Lake
WikiTables (Semantic)
Tables: 293 Avg. Rows: 60.1 Avg. Cols: 8.1
Tables: 11932 Avg. Rows: 55.8 Avg. Cols: 8.8
MMQA (EquiJoin)
Tables: 333 Avg. Rows: 632.0 Avg. Cols: 5.3
Tables: 13106 Avg. Rows: 1270.2 Avg. Cols: 5.1
NYC Open Data (Hybrid)
Tables: 70 Avg. Rows: 1015.2 Avg. Cols: 14.8
Tables: 2638 Avg. Rows: 856.8 Avg. Cols: 10.8
Table 1: Summary statistics of the TabJoinBench benchmark, including the numbers of query and lake tables and their average rows and columns.
Subset
No. of Queries
Relevant Pairs
Relevant / Query
WikiTables
295
11,916
40.4
MMQA
408
13,190
32.3
NYC Open Data
70
2,638
37.7
Table 2: Retrieval characteristics of the TabJoinBench subsets: number of unique queries, total number of relevant candidates, and average number of relevant candidates per query.
Method
P@1
R@1
P@5
R@5
P@15
R@15
P@30
R@30
P@R
(a) WikiTables Subset
LSH Ensemble
0.969
0.038
0.959
0.178
0.950
0.462
0.937
0.516
0.529
PEXESO
0.629
0.026
0.640
0.133
0.630
0.391
0.492
0.488
0.505
D3L
0.199
0.007
0.175
0.026
0.150
0.063
0.125
0.089
0.101
FREYJA
0.660
0.025
0.628
0.119
0.593
0.334
0.398
0.409
0.437
WarpGate
0.220
0.007
0.205
0.034
0.177
0.085
0.140
0.123
0.133
Table 3: Overall retrieval performance on the three TabJoinBench subsets. The best and second-best results within each subset are shown in bold and underlined, respectively.
Method
Struct.
Rep.
Sem.
WikiTables Subset
LSH Ensemble
0.749
0.482
0.534
PEXESO
0.778
0.549
0.471
D3L
0.150
0.109
0.090
FREYJA
0.551
0.417
0.391
WarpGate
0.156
0.150
0.103
Table 4: P@R under each perturbation category (Structural, Representation, Semantic) across TabJoinBench subsets.
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
Subset
Perturbation Type
Relevant Pairs
Relevant / Query
WikiTables (295 Queries)
Structural
3,995
13.54
Representation
3,677
12.46
Semantic
4,244
14.39
Total
11,916
40.39
MMQA (408 Queries)
Structural
4,586
11.24
Representation
4,195
10.28
Appendix
Table 5: Number of relevant candidate pairs and average relevant candidates per query, by perturbation category, across TabJoinBench subsets.
Method
P@1
R@1
P@5
R@5
P@15
R@15
Structural Perturbations
LSH Ensemble
0.947
0.125
0.956
0.621
0.936
0.744
PEXESO
0.784
0.107
0.793
0.541
0.571
0.767
D3L
0.168
0.017
0.166
0.085
0.124
0.152
FREYJA
0.625
0.080
0.609
0.389
0.340
0.545
WarpGate
0.190
0.019
0.172
0.088
0.129
0.173
Appendix
Table 6: Retrieval performance on the perturbed segments of WikiTables Subset.
Method
P@1
R@1
P@5
R@5
P@15
R@15
Structural Perturbations
LSH Ensemble
0.177
0.022
0.174
0.105
0.172
0.225
PEXESO
0.067
0.013
0.062
0.055
0.050
0.098
D3L
0.341
0.044
0.362
0.231
0.289
0.503
FREYJA
0.142
0.017
0.139
0.084
0.125
0.212
WarpGate
0.324
0.041
0.376
0.239
0.300
0.523
Appendix
Table 7: Retrieval performance on the perturbed segments of MMQA Subset.
Method
P@1
R@1
P@5
R@5
P@15
R@15
Structural Perturbations
LSH Ensemble
0.943
0.075
0.943
0.375
0.728
0.725
PEXESO
0.367
0.029
0.36
0.141
0.289
0.325
D3L
0.843
0.067
0.851
0.339
0.719
0.827
FREYJA
0.900
0.071
0.897
0.353
0.620
0.729
WarpGate
0.871
0.069
0.700
0.276
0.586
0.690
Appendix
Table 8: Retrieval performance on the perturbed segments of NYC Open Data Subset.
Join discovery is a core task in dataset search, enabling users to find columns that can be joined with a given query column. Early approaches focused on equi-joins, but data lakes and open-data repositories often contain columns whose values refer to the same entity but use different syntactic representations. To address this challenge, recent approaches discover semantically joinable columns but face a fundamental trade-off: methods that perform value-level comparisons accurately identify joinable columns but scale poorly to columns with high cardinality; column-level methods that encode an entire column into a single embedding are efficient but do not capture the fine-grained value alignment that determines whether a join is possible. We present MosaicJoin, a value-level semantic join discovery method that balances this trade-off. MosaicJoin achieves scalability through a novel sketching strategy that approximates the joinability of a column pair without having to compare all values. At query time, MosaicJoin scores each candidate sketch using a joinability score at a cost bounded by the sketch size, making retrieval efficient even for high-cardinality columns. A query subsampling operator further reduces online search time with provable accuracy guarantees, enabling robust retrieval for large query columns. Extensive experiments show that MosaicJoin outperforms previously published methods across all benchmarks while running up to 66 times faster than other value-level methods. MosaicJoin requires no training or fine-tuning, and it scales robustly to query columns containing up to 57K values and data lake columns containing up to 1M values.
Retrieving the right tables is a prerequisite for Text-to-SQL over realistic databases. Dense table retrievers rank schema elements independently, but this ignores a key source of evidence: some required tables are not mentioned in the question and become identifiable only through their join relationships to already relevant tables. We introduce JOINGR, a join-aware table retrieval method that treats the database join graph as the retrieval space. Columns are represented as graph nodes, while intra-table and foreign-key relationships are represented as typed edges. Given a question, JOINGR selects semantically similar anchor tables, traverses join edges with a query-conditioned scorer, and aggregates the resulting edge deposits into table scores. The scorer is a lightweight MLP on top of frozen query, node, and edge embeddings, trained with a pairwise margin loss over gold tables. On BIRD and Spider datasets, JOINGR is competitive with the strongest retrieval baselines. On BEAVER, a challenging enterprise benchmark with multi-hop table requirements, JOINGR substantially improves recall over dense retrieval and re-ranking baselines. Cross-domain experiments show that the learned scorer transfers across benchmarks, indicating that the method captures reusable joingraph traversal behavior.
Sandipan De, Abhijit Chakraborty, Sambaran Bandyopadhyay +1
Integrating heterogeneous datasets within data lakes is a critical challenge, particularly for semantically related tables that lack the explicit attributes needed to be joined. We study Discovery-Driven Integration, where the relevant sources and their missing relational structure must be discovered before integration. In this setting, unstructured text provides the evidence that connects otherwise disjoint tables. The fundamental challenge is to discover the relationships at a fine-grained level that connect individual rows from different tables through specific sentences. We formalize this task as Text-Mediated Join Path Discovery and propose a horizontal bidirectional cross-attention architecture called LOKI Latent-space Optimization for Knowledge Integration) that learns contextualized representations of table rows and sentences. Through a global table-text contrastive objective, fine-grained row-sentence associations emerge without explicit local supervision. Existing multi-modal discovery methods largely retrieve coarse-grained column-text associations, whereas integration systems assume supplied row-text links, schemas, or queries. LOKI instead transforms these implicit associations into explicit, interpretable join paths, organizes them into relation-consistent groups, and materializes them as typed integrated tables with sentence-level provenance. Comprehensive evaluations on real-world benchmarks demonstrate that LOKI consistently outperforms state-of-the-art multi-modal data discovery approaches, and materializes typed integrated tables with 0.982 macro typed-pair precision while being up to 40 times cheaper in LLM API cost than direct prompting.
Md Ataur Rahman, Dimitris Sacharidis, Oscar Romero +1