Generative Retrieval for Table Union Search

2026-07-01Databases

Databases
AI summary

The authors address the problem of finding tables in large, messy data collections that can be combined together for analysis. Existing methods first pick a list of possible matches, then refine this list, which can be slow and require lots of storage. Their new method, GenTUS, treats the search like a text generation task that directly produces codes representing matching tables, skipping the slow filtering step. Tests show GenTUS finds better matches more quickly and with less storage than previous methods.

data laketable uniongenerative retrievalsemantic table identifiersconstrained decodingdata discoveryrerankingencoder-decoder modelincremental update
Authors
Shulun Zhang, Linting Wang, Yuwei Xu, Yingli Zhou, Chenhao Ma
Abstract
Modern data lakes contain heterogeneous tables whose task-relevant information is often scattered across different schemas, sources, and naming conventions. Table union search (TUS) retrieves tables that can be reliably unioned with a query table, supporting data discovery, enrichment, and downstream analytics. Although learning-based TUS methods improve table- or column-level representations, they still follow an encode-search-refine pipeline: candidate retrieval is followed by query-candidate matching or reranking, making quality dependent on candidate-pool recall and incurring growing latency and storage costs as the data lake scales. We propose GenTUS, a generative retrieval framework that reformulates TUS as constrained generation over discrete semantic table identifiers. Instead of searching and reranking an explicit candidate pool, GenTUS assigns candidate tables compact unionability-aware identifiers and trains a generator to produce the identifiers of unionable tables directly from the query. At query time, constrained decoding ensures that generated identifiers correspond to valid data-lake tables and returns them as ranked retrieval results. Experiments on seven public TUS benchmarks show that GenTUS achieves the best overall retrieval quality, with an average rank of 1.05 compared to 2.57 for the strongest baseline, while substantially reducing online latency, retrieval-artifact storage, and incremental update cost.