Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Retrieve Only Relevant Tables Whether Few or Many: Adaptive Table Retrieval Method

About

Retrieving relevant tables from extensive databases for a given natural language query is essential for accurately answering questions in tasks such as text-to-SQL. Existing table retrieval approaches select a pre-determined set of k tables with the highest similarity to the query. However, the number of required tables varies across queries and cannot be known in advance. Enforcing a fixed number of retrieved tables regardless of the query may either retrieve an undersized set, failing to obtain all necessary evidence, or retrieve an oversized pool, including irrelevant tables. To address this issue, we propose an adaptive table retrieval method that adjusts the number of tables retrieved according to the requirements of each query. Specifically, we utilize an adaptive thresholding mechanism to selectively retrieve tables and integrate a sliding-window reranking algorithm to efficiently process a large table corpus. Extensive experiments on Spider, BIRD, and Spider 2.0 demonstrate that our method effectively addresses the limitations of the top-k retrieval strategy, improving performance in retrieval and downstream tasks. Our code and data are available at https://github.com/sbY99/Adaptive-Table-Retrieval.

Taehee Kim, Seungbin Yang, Jihwan Kim, Jaegul Choo• 2026

Related benchmarks

TaskDatasetResultRank
Text-to-SQLSpider (test)
Execution Accuracy71.5
213
Text-to-SQLSpider
Exec Acc (All)71.5
139
Text-to-SQLBIRD (test)--
46
Text-to-SQLSpider 2.0 (test)
Execution Accuracy (Spider 2.0 Test)9
27
Text-to-SQLBird
Execution Accuracy (Llama-8B)29
21
Text-to-SQLSpider 2.0
Llama-8B Execution Accuracy1.6
21
Table RetrievalSpider union (test)
Precision (P)69.6
20
Table RetrievalBIRD union (test)
Precision54
20
Table RetrievalSpider Lite 2.0 (test)
Precision21.9
20
Table RetrievalSpider
Precision69.6
11
Showing 10 of 12 rows

Other info

Follow for update