LEDD: Large Language Model-Empowered Data Discovery in Data Lakes

Qi An, Chihua Ying, Yuqing Zhu, Yihao Xu, Manwei Zhang, Jianmin WangarXiv 2025 · DOI

Introduction

Modern data lakes often transform into "data swamps" as they scale to include millions of datasets from disparate sources. While traditional discovery tools facilitate keyword searches or identify joinable tables, they frequently fail to provide a comprehensive "global view" of the data. LEDD (Large Language Model-Empowered Data Discovery) addresses this challenge by leveraging Large Language Models (LLMs) to automatically organize vast metadata into intuitive, hierarchical catalogs, enabling semantic exploration through natural language queries rather than rigid SQL or keyword searches.

System Architecture

LEDD is designed as an extension of the IGinX federated data lake system. Its architecture integrates several specialized components to bridge the gap between raw metadata and human-understandable categories.

The system architecture of LEDD, illustrating the flow from data source plugins through AI models and embeddings to the interactive visualization layer.

The system relies on three primary pillars:

  1. Multi-faceted Embeddings: LEDD extracts six distinct "facets" for each column—including data source, file path, sibling columns, and value distributions—which are fused into a single vector using LLM-based summarization. This captures significantly more nuance than traditional schema matching.
  2. Hierarchical Clustering & Summarization: The system iteratively clusters these embeddings. For each cluster, an LLM generates a descriptive label (e.g., "Educational data management systems"), creating a browseable tree structure that aligns with human cognitive organization.
  3. Semantic Search: Utilizing the Milvus vector database, LEDD performs semantic searches by rephrasing user queries via an LLM to find the most contextually relevant tables, moving beyond exact keyword matching.

Methodology and Implementation

A core innovation of LEDD is the use of LLMs as "semantic glue." By summarizing diverse metadata contexts before embedding, the system captures functional relationships between datasets. Furthermore, the system employs Python User-Defined Functions (UDFs), providing an extensible interface where researchers can swap LLM backends (e.g., moving from OpenAI to a local Llama model) or clustering algorithms without re-engineering the entire pipeline.

Evaluation and Key Results

The authors evaluated LEDD using SchemaPile, a massive benchmark comprising over 221,000 database schemas and approximately 10 million columns. The system successfully demonstrated its ability to summarize 1.7 million tables into a navigable hierarchy.

The LEDD user interface showing the hierarchical global data catalog and the semantic search functionality.

Key functional capabilities include:

  • Scalability: Efficient organization of millions of tables into a human-graspable hierarchy.
  • Natural Language Interface: Mapping vague user intents to specific physical tables in the lake.
  • Interactive Exploration: A dynamic graph interface where users can expand nodes to reveal sub-categories or identify potential join candidates in real-time based on edge thickness representing similarity.

Limitations and Future Outlook

While LEDD offers a significant leap in data discovery, it currently faces challenges regarding API dependency and computational costs associated with hosted LLMs. Additionally, while the system utilizes value characteristics, it primarily operates on metadata; deep discovery involving full row scans at petabyte scale remains a future challenge. Moving forward, LEDD could serve as a foundation for automated text-to-SQL tasks and optimized data selection for model training.

Summary updated

BibTeX
@misc{an2025ledd,
  author = {Qi An and Chihua Ying and Yuqing Zhu and Yihao Xu and Manwei Zhang and Jianmin Wang},
  title = {{LEDD: Large Language Model-Empowered Data Discovery in Data Lakes}},
  year = {2025},
  eprint = {2502.15182},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.15182},
}
Figure