BIRDIE: Natural Language-Driven Table Discovery Using Differentiable Search Index

Yuxiang Guo, Zhonghao Hu, Yuren Mao, Baihua Zheng, Yunjun Gao, Mingwei Zhou

Abstract

Traditional table discovery methods rely on complex, multi-stage retrieval pipelines that often suffer from semantic misalignment and error accumulation. This paper introduces Birdie, a novel framework that reimagines table discovery as a sequence-to-sequence generation task. By utilizing a Differentiable Search Index (DSI), Birdie maps natural language queries directly to structured table identifiers. Our approach incorporates hierarchical, prefix-aware identifiers and LLM-driven synthetic query generation to bridge the gap between unstructured questions and structured data. Experimental results across three major benchmarks demonstrate that Birdie achieves a 16.8% improvement in Precision@1 over state-of-the-art methods while operating up to 27x faster. Furthermore, Birdie introduces a parameter-isolation strategy using LoRA to enable efficient continual indexing without catastrophic forgetting.

1. Introduction

In modern data management, the ability to locate specific tables within massive data lakes or web-scale repositories is critical for downstream tasks like Retrieval-Augmented Generation (RAG) and automated data analysis. Historically, this has been treated as a "dense vector search" problem: tables are encoded into vectors, indexed, and retrieved via nearest-neighbor search. However, this paradigm faces significant hurdles. First, the separation of query encoding and table representation often leads to weak semantic alignment. Second, traditional pipelines are prone to error accumulation across their multiple stages.

Birdie (Table Discovery with Differentiable Search Index) flips this script by treating retrieval as a direct generation problem. Instead of matching vectors, the model—an encoder-decoder architecture based on mT5—is trained to "speak" the unique identifier of the relevant table in response to a natural language query.

2. Challenges in Traditional Table Retrieval

The authors identify two primary flaws in existing dense retrieval systems:

  1. Semantic Interaction Gaps: Most systems use "bi-encoders," where queries and tables are processed independently. This prevents the model from performing the deep, nuanced interactions necessary to understand how a specific question relates to the granular data within a table.
  2. Catastrophic Forgetting in Dynamic Environments: Data lakes are not static. When new tables are added, traditional neural models often require retraining or fine-tuning, which frequently causes them to "forget" how to retrieve previously indexed tables.

3. The Birdie Framework

3.1 Differentiable Search Index (DSI)

At the core of Birdie is the DSI, which internalizes the mapping between content and identifiers directly into the model's parameters. Rather than searching an external index, the model acts as the index itself.

3.2 Two-View Prefix-Aware Tabids

To facilitate the autoregressive generation of table IDs (tabids), Birdie moves away from arbitrary identifiers. Instead, it employs a hierarchical clustering algorithm that considers two views: metadata (titles and headers) and instance data (actual cell values). This ensures that semantically similar tables share common ID prefixes (e.g., 01001 and 01002). This structure transforms the retrieval process into a guided search through a semantic decision tree within the model's decoder.

3.3 LLM-Powered Query Generation and Sampling

Training a DSI requires a vast corpus of query-table pairs. Birdie utilizes a specialized LLM, TLLaMA3, fine-tuned specifically for tabular tasks to generate high-quality synthetic questions. To ensure these queries represent the entire table rather than just the initial rows, the authors developed a Table Sampling Algorithm (TSA). TSA partitions large tables into representative sub-sections, ensuring the synthetic training data provides comprehensive coverage of the table's content.

3.4 Continual Indexing via Parameter Isolation

To address the challenge of evolving data, Birdie introduces a parameter-isolation strategy. When a new batch of tables is added, the base model remains frozen. Instead, a small, specialized LoRA (Low-Rank Adaptation) module is trained to act as a "memory unit" for the new data. This allows the system to scale and incorporate new information without interfering with the knowledge of previously indexed tables.

4. Experimental Setup

Birdie was evaluated on three diverse benchmarks:

  • NQ-Tables: A large-scale (170k tables) dataset derived from real-world Google searches, characterized by "dirty" or unstructured table data.
  • FetaQA: A dataset of 10k tables focused on complex, free-form question answering.
  • OpenWikiTable: A high-precision dataset (24k tables) where queries often contain specific metadata like table titles.

5. Results and Discussion

5.1 Retrieval Performance

Birdie significantly outperforms existing state-of-the-art (SOTA) dense retrieval methods like Solo and OpenDTR. On average, Birdie achieved a 16.8% boost in P@1 across the NQ-Tables and FetaQA benchmarks. This suggests that the generative approach captures the relationship between queries and tabular data more effectively than vector similarity.

5.2 Efficiency and Speed

By eliminating the need for expensive vector similarity calculations and subsequent re-ranking steps, Birdie is remarkably efficient. In head-to-head comparisons, Birdie demonstrated search speeds 20x to 27x faster than the previous SOTA, Solo.

5.3 Robustness to Forgetting

In dynamic scenarios involving sequential data updates, Birdie’s LoRA-based isolation strategy proved highly effective. The framework reduced the "forgetting" of old tables by over 90% compared to standard continual learning baselines like CLEVER or DSI++.

6. Conclusion and Future Work

Birdie represents a paradigm shift in table discovery, proving that generative retrieval is not only more accurate but also significantly faster than traditional methods. While the current framework is optimized for single-table retrieval, future research will explore extending Birdie to handle multi-table joins and further optimizing the inference of multiple LoRA modules within the encoder-decoder architecture. By treating the search index as a differentiable component of the model, Birdie provides a scalable and robust solution for navigating the increasingly complex landscape of structured data.

Summary updated

BibTeX
@article{guo2025birdie,
  author = {Yuxiang Guo and Zhonghao Hu and Yuren Mao and Baihua Zheng and Yunjun Gao and Mingwei Zhou},
  title = {{BIRDIE: Natural Language-Driven Table Discovery Using Differentiable Search Index}},
  journal = {Proc. VLDB Endow.},
  year = {2025},
  url = {https://openreview.net/forum?id=9q1PFAEsis},
}
Figure