Manuscript Offprint

arXiv:2608.26750

Discovering Relationships in Data Lakes Using Large Language Models: An Industrial Case

Ahlame Diouan, Eric Ferey, Sabine Loudcher, Jérôme Darmont

Ahlame Diouan 1,2^{1,2}[0009-0003-1481-4662], Eric Ferey 2^{2}, Sabine Loudcher 1^{1}[0000-0002-0494-0169], and Jérôme Darmont 1^{1}[0000-0003-1491-384X]

1^{1} Université Lumière Lyon 2, UR ERIC, Lyon, France

{sabine.loudcher, jerome.darmont}@univ-lyon2.fr

2^{2} Bial-X, Lyon, France

{ahlame.diouan,eric.ferey}@bial-x.com

Abstract. Data lakes rely on metadata to remain usable, yet this metadata is often limited or weakly informative for column relationship discovery, especially in ERP-derived datasets with coded or abbreviated schema labels. We propose ColRel, a two-stage method that builds column embeddings from metadata and data available at ingestion time. In difficult cases, such as coded schemata, business dictionaries help interpret column names and support the generation of short natural-language descriptions used in the second stage. Experiments on public benchmarks and an industrial ERP dataset show that ColRel is particularly effective in semantically related, weak-signal settings.

Keywords: Data lakes · Schema matching · Metadata enrichment · Embeddings · Large language models

1 Introduction

As organizations integrate data from diverse systems, data lakes have become a common choice to store raw, heterogeneous tables at scale. However, this flexibility shifts the burden to metadata: when documentation is missing or weak, data lakes quickly become difficult to explore, and discovering relationships between tables becomes largely manual. The problem is particularly acute for enterprise resource planning (ERP) data, where information is fragmented across many tables and column names are often abbreviated or coded, making semantics hard to infer from names and small samples alone.

We address this challenge in an industrial public-housing setting, where analysts must inspect tables to identify joinable or semantically related columns, both within a single ERP and across multiple ERP systems with diverging conventions. Our goal is to uncover meaningful column-level relationships to support scalable data lake exploration and integration.

To this end, we introduce ColRel, a two-stage method for column relationship discovery. Stage 1 embeds each column from ingestion-time evidence (schema cues and representative values). When signals are weak, Stage 2 optionally generates concise, dictionary-grounded natural-language descriptions with a large language

A. Diouan et al.

model (LLM) and injects them into the embedding input. Columns are encoded using a sentence embedding model [24], similarities are computed with cosine similarity, and the top-ranked candidates are returned for validation.

This work makes the following contributions.

– We propose ColRel, a two-stage method that combines embedding-based retrieval with optional LLM-based semantic enrichment for coded, weak-metadata schemata.

– We evaluate ColRel against established schema-matching baselines [6, 19, 20, 30] using the Valentine framework and additional datasets [17].

– We apply ColRel to an industrial public-housing ERP dataset and release a synthetic counterpart that preserves its weak-metadata characteristics for reproducible evaluation.

The remainder of the paper is organized as follows. Section 2 reviews existing work on schema matching, and recent embedding and LLM-based approaches. Section 3 presents the problem and ColRel. Section 4 describes the experimental setup. Section 5 reports results. Section 6 concludes the paper and outlines directions for future work.

References (30)