Paper deep dive
Discovering Relationships in Data Lakes Using Large Language Models: An Industrial Case
Ahlame Diouan, Eric Ferey, Sabine Loudcher, JérÎme Darmont
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 90%
Last extracted: 8/28/2026, 4:08:36 AM
Summary
The paper introduces ColRel, a two-stage method for discovering column relationships in data lakes, particularly those derived from ERP systems with weak or coded metadata. ColRel uses embeddings of column metadata and values (Stage 1) and optionally enhances them with LLM-generated natural language descriptions grounded in business dictionaries (Stage 2). It is evaluated against classical schema matching baselines and shows superior performance in semantically related, weak-signal settings.
Entities (14)
Relation Signals (11)
ColRel â evaluatedon â ChEMBL
confidence 95% · In the paper, we report results on ChEMBL, a biomedical dataset with specialized terminology
ColRel â evaluatedon â Public Housing
confidence 95% · we also evaluate a Public Housing asset-management dataset.
ColRel â targets â Data Lakes
confidence 95% · We propose ColRel, a two-stage method that builds column embeddings from metadata and data available at ingestion time.
ColRel â uses â LLM
confidence 95% · ColRel ... optionally generates concise, dictionary-grounded natural-language descriptions with a large language model (LLM)
ColRel â uses â GPT-4o-mini
confidence 95% · ColRelâStage 2 augments the Stage 1 representation with concise natural-language descriptions generated by GPT-4o-mini
ColRel â uses â BGE
confidence 90% · BAAI/bge-base-en-v1.5
ColRel â uses â MiniLM
confidence 90% · We evaluate four widely used encoders ... sentence-transformers/all-MiniLM-L6-v2 ... sentence-transformers/all-MiniLM-L12-v2
ColRel â uses â MPNet
confidence 90% · sentence-transformers/all-mpnet-base-v2
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Data lakes rely on metadata to remain usable, yet this meta data 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 better 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.
Tags
Links
- Source: https://arxiv.org/abs/2608.26750v1
- Canonical: https://arxiv.org/abs/2608.26750v1
Trouble viewing inline? Open PDF directly â
Full Text
40,982 characters extracted from source content.
Expand or collapse full text
Discovering Relationships in Data Lakes Using Large Language Models: An Industrial Case Ahlame Diouan 1,2[0009â0003â1481â4662] , Eric Ferey 2 , Sabine Loudcher 1[0000â0002â0494â0169] , and JĂ©rĂŽme Darmont 1[0000â0003â1491â384X] 1 UniversitĂ© LumiĂšre Lyon 2, UR ERIC, Lyon, France sabine.loudcher,jerome.darmont@univ-lyon2.fr 2 Bial-X, Lyon, France ahlame.diouan,eric.ferey@bial-x.com Abstract. Data lakes rely on metadata to remain usable, yet this meta- data is often limited or weakly informative for column relationship dis- covery, especially in ERP-derived datasets with coded or abbreviated schema labels. We propose ColRel, a two-stage method that builds col- umn embeddings from metadata and data available at ingestion time. In difficult cases, such as coded schemata, business dictionaries help inter- pret 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 arXiv:2608.26750v1 [cs.AI] 27 Aug 2026 2A. 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. 2 Related Work Schema matching aims to identify schema elements that refer to the same con- cept across datasets. It is a central problem in data integration and has been widely studied in the literature [7,23]. Classical approaches combine schema and instance-level information. In this context, Valentine [17] provides reference imple- mentations of several matchers and evaluates them in a dataset-discovery setting where methods return ranked candidate correspondences. Among schema-based techniques, Cupid [19] combines linguistic and structural similarity, Similarity Flooding [20] propagates similarity across schema graphs and COMA [6, 10] aggregates multiple matching strategies. Instance-based methods complement these approaches by exploiting column values, for example through value distri- bution comparison [30] or overlap-based measures such as JaccardâLevenshtein. While effective when column names or values provide clear signals, these methods degrade in data lakes where metadata are missing and column names are often coded. This challenge is amplified in modern data lakes, where datasets are ingested with minimal documentation. The problem is therefore often framed as dataset or table discovery, where systems aim to retrieve related tables and suggest possible joins. Aurum supports exploration of enterprise data repositories through abstrac- tions of dataset relationships [11], while benchmarks such as LakeBench evaluate methods for joinability and unionability discovery [3]. These works emphasize scalable discovery but also highlight the difficulty of identifying relationships under weak metadata. To overcome the limitations of purely lexical matching, representation learning approaches encode schema elements into dense vectors and retrieve candidates Discovering Relationships in ERP Data Lakes with LLMs3 through nearest-neighbor search. EmbDI learns embeddings for relational integra- tion tasks from relational structures [2]. More recently, retrieval frameworks based on pre-trained language models (PLMs) have been proposed for join discovery in data lakes. DeepJoin formulates joinable table discovery, including semantic joins, as an embedding retrieval task using pre-trained language models and column evidence [8]. These approaches scale well and naturally produce ranked candidates, but they still rely on informative column names or value signals. In enterprise settings such as ERP systems, column identifiers are often abbreviated or encoded, and values may consist of short categorical codes, which limits the semantic information captured by embeddings derived from names and small samples. Recent work explores the use of LLMs to capture richer semantic relationships between schema elements. Some approaches use LLMs directly as matchers by prompting them with schema context. Parciak et al. [22] study the use of off- the-shelf LLMs for schema matching, while ReMatch [25] incorporates retrieval to provide additional evidence for LLM reasoning. Other works enrich schema elements before matching. For instance, SMUTF [31] generates semantic tags for columns and combines them with lexical and instance-based features in a hybrid matching framework. However, many LLM-based methods invoke the model for each candidate pair of columns, which can become costly when exploring large repositories. Hybrid approaches attempt to balance scalability and reasoning by combining retrieval with LLM reranking. Magneto first retrieves candidate correspondences using a smaller model and then refines them through LLM-based reasoning [18]. In contrast, ColRel focuses on column relationship discovery in data lakes rather than strict schema alignment. It follows an embedding-based retrieval paradigm similar to representation-based discovery approaches [2,8], but targets weak-metadata ERP environments where lexical signals are limited. ColRel intro- duces an optional semantic enrichment stage that generates concise, dictionary- grounded descriptions for columns and injects them into the embedding input. Unlike LLM-based matching approaches that invoke the model for each column pair [22,25] or reranking pipelines such as Magneto [18], ColRel uses the LLM only once per column to generate a semantic description. The resulting repre- sentation is then embedded and reused during similarity retrieval, preserving scalability while strengthening semantic signals in semantically related scenarios where lexical overlap and value equality are insufficient. 3 ColRel: Column Relationship Discovery 3.1 Problem Statement In ERP-sourced data lakes, identifying meaningful relationships between columns is challenging because schemas are heterogeneous, attribute names are often coded or abbreviated, and metadata are weak. Our objective is to automatically uncover column-level relationships that help users detect whether two tables share related entities, even when lexical or structural signals are limited. 4A. Diouan et al. More formally, letT 1 andT 2 be two tables with column setsAandB. We study column-level relationship discovery: given only the information typically available at data lake ingestion timeânamely column names, data types, values, and intra-metadataâour goal is to identify related column pairs (A i , B j ) and rank them by confidence. We focus on two types of relationships that are particularly relevant for ERP- derived data lakes. Two tables are joinable if there exists at least one column pair (A i , B j ) that can serve as an equality join key, i.e., the columns represent the same concept and their value sets overlap sufficiently for an equality join. For instance, the ERP-coded columnsggcdogaandhpcdoga, as well asggdeptand hpdept, are joinable because they denote the same business attributes and share overlapping values despite opaque naming conventions. Two tables are semantically related if there exists at least one semantically equivalent column pair, but an equality join fails because values are not verba- tim equal, for example due to formatting differences, noise, or heterogeneous conventions. In this case, relationships must be inferred beyond direct value over- lap. For example,ggdtconstructin tableUGPanddate_constructionin table PATRIMOINE_GIMrefer to the same business concept, namely the construction date of an asset, but their names and value formats differ: the former uses an opaque ERP-coded label and compact date-like values such as20022506, whereas the latter uses an explicit label and a standard date format such as1996-06-17. This example also illustrates the role of semantic enrichment in ColRel. In Stage 1,ggdtconstructis represented only through its name, type, and repre- sentative values, which provide weak semantic evidence. In Stage 2, dictionary entries such asdt = dateandconstruct = constructionguide the generation of a short description such as âconstruction date of the assetâ, which is appended before embedding and brings the representation closer to date_construction. These two relationship types directly reflect the challenges of ERP-derived data lakes. In many cases, join keys are fragmented across tables or hidden behind coded identifiers that require semantic interpretation. When direct value overlap is insufficient, semantic reasoning becomes necessary to reveal the underlying correspondences. 3.2 ColRel Methodology ColRel is a two-stage method for column relationship discovery in data lakes (Figure 1). It outputs ranked candidate correspondences that can be inspected and validated by users. The method represents each column with a single embedding vector computed from an enriched textual representation that aggregates the evidence available at ingestion time and, when enabled, an LLM-generated natural-language description. Operationally, ColRel follows five steps: Column-to-Text construction, Column Description Generation with an LLM, Column Encoding into a single embedding per column, Similarity Computation to retrieve ranked candidate correspondences, and Human Validation of the suggested matches (and the generated descriptions). Discovering Relationships in ERP Data Lakes with LLMs5 Fig. 1. ColRel two-stage pipeline. Column-to-Text. For each columnc, we construct a compact textual representation colT extfrom the information typically available at data-lake ingestion time. This representation combines (i) schema cues and (i) representative values. Schema cues include the raw column name, tokenized variants obtained by splitting underscores and camelCase, and the declared or inferred primitive type. Representative values correspond to a fixed-size budget of examples (e.g., a mix of first non-null and frequent values), truncated to keep the input compact. Column Description Generation. Column names and small samples are often insufficient in ERP and data-lake settings, where identifiers are opaque and con- ventions rely on abbreviated or coded labels. To strengthen semantic signals under these weak-metadata conditions, ColRel generates a concise natural-language description colDesc for each column using an LLM. The LLM is prompted with the column-to-text representationcolT ext, aug- mented with enterprise knowledge when available. In particular, we exploit a business dictionary that provides code-to-label mappings, domain hints, and construction rules. If the column name (or its sub-tokens) and/or frequent values match dictionary entries, ColRel retrieves the corresponding definitions and appends them to the prompt, grounding otherwise opaque identifiers with explicit semantics. The generated description is intentionally short and strictly grounded in the provided evidence. Its goal is to verbalize the most plausible meaning of the column and make the semantics explicit for both users and the downstream matching step. Column Encoding. We encode each column into a single dense vector using a sentence embedding modelf(·) To do so, we build a final text input by concatenating the ingestion-time representation and the generated description: colInput(c) = colT ext(c) â„ colDesc(c), 6A. Diouan et al. and we setcolInput(c) =colT ext(c) when descriptions are not used or unavailable. The column embedding is then computed as: v c = f(colInput(c))âR d This design keeps the approach simple by maintaining a single vector per column while allowing the LLM-generated description to inject explicit semantic cues into the encoder input. Similarity Computation. Given the column embeddings, ColRel scores candidate correspondences using cosine similarity. For a source columnaand a target column b, we compute: score(a, b) = cos(v a ,v b ). For each source column, we rank all target columns byscore(a, b) and return the top-kcandidates as ranked suggestions. This retrieval setting matches our objective of assisting users with shortlist-based exploration rather than enforcing a strict one-to-one alignment. Review and Validation. ColRel outputs ranked candidate correspondences for inspection. In our experiments, validation is performed by manually reviewing the top suggestions and marking them as correct or incorrect, which allows us to quantify how effectively the method surfaces true relationships under a limited review budget. 4 Experimental Setup Our experimental study follows a progressive evaluation designed to show the con- tribution of semantic enrichment while keeping the matching pipeline consistent. We compare three modeling levels: â Classical schema- and instance-based matchers. âColRel â Stage 1 (Embeddings only), where each column is encoded using ingestion-time evidence (column name, data types, and representative values), and correspondences are ranked using embedding similarity. âColRel â Stage 2 (Semantic enrichment + embeddings), which extends Stage 1 by augmenting the column representation with an LLM-generated semantic description before encoding. Stage 1 and Stage 2 share the same encoder and similarity computation pipeline. The only difference is the addition of generated descriptions in Stage 2. This controlled setup isolates the incremental effect of semantic enrichment. Each method produces a ranked list of candidate correspondences for a given pair of tables. We evaluate performance both in a one-to-one alignment setting (for comparability with the Valentine benchmark [17]) and in a retrieval setting aligned with our objective: surfacing high-quality candidates for user validation. Discovering Relationships in ERP Data Lakes with LLMs7 4.1 Datasets We evaluate ColRel on public benchmarks and an industrial ERP-inspired dataset. The public benchmarks come from Valentine [17], which is widely used in recent schema-matching evaluations [12,15,16,18]. In the paper, we report results on ChEMBL, a biomedical dataset with specialized terminology, using both clean and noisy variants to assess robustness to schema noise. Additional WikiData results are available in the repository. To reflect ERP conditions, we also evaluate a Public Housing asset-management dataset. Due to confidentiality constraints, we release a synthetic counterpart preserving its main schema characteristics. 3 It covers housing assets, identifiers, location and organizational attributes, lifecycle events, and exploitation-related information. Ground truth is provided by Valentine for ChEMBL and was con- structed with a domain expert for Public Housing. The same evaluation protocol is applied across datasets. 4.2 Evaluation Metrics A common approach for evaluating schema-matching methods is to assess their ability to produce high-quality ranked lists of candidate matches [9,17]. This aligns with our objective of generating ranked match suggestions for users. Hit@5 src checks whether at least one correct match appears within the top five suggestions, reflecting a realistic human validation budget. MRR src (Mean Reciprocal Rank) captures ranking quality by averaging the reciprocal rank of the first correct match per source column, rewarding methods that rank true correspondences higher. Recall@|GT| evaluates performance at the table-pair level by measuring how many ground-truth pairs are recovered within the top|GT|globally ranked predictions. For comparability with prior work [17], we also report Precision, Recall, and F1 under a one-to-one alignment constraint, although this stricter regime is less aligned with our retrieval-oriented objective. 4.3 Baselines: Classical Matchers We compare ColRel against classical schema matching techniques: Cupid, a tree-based matcher combining linguistic and structural similarity [19]; Similarity Flooding, a graph-based approach that propagates similarity scores to align schema elements [20]; COMA, a composite matching framework for combining multiple matchers [6,10] (we use COMA 3.0 in two variants: COMA-Schema and COMA-Instance); Distribution-Based, an instance-based method relying on value distribution similarity [30]; and Jaccard-Levenshtein, a value-based matcher using Jaccard similarity with approximate string equality (Levenshtein threshold) as implemented in Valentine [17]. 3 Data and evaluation material: https://git.msh-lse.fr/mon-groupe/colrel. 8A. Diouan et al. 4.4 ColRelâStage1: Embedding Models In ColRelâStage 1, each column is encoded into a dense vector constructed from lightweight metadata (name, type, tokenized variants) and representative values. Candidate correspondences are retrieved via nearest-neighbor search in the embedding space. We evaluate four widely used encoders available on the Hugging Face Hub: âsentence-transformers/all-MiniLM-L6-v2 (384 dimensions), a compact and efficient bi-encoder commonly used for semantic similarity and retrieval [28]. âsentence-transformers/all-MiniLM-L12-v2 (384 dimensions), a deeper MiniLM variant offering improved semantic representation while maintaining strong efficiency. â sentence-transformers/all-mpnet-base-v2 (768 dimensions), a stronger general-purpose encoder that typically provides improved semantic discrimi- nation at higher computational cost [26]. âBAAI/bge-base-en-v1.5 (768 dimensions), a retrieval-oriented model opti- mized for nearest-neighbor ranking quality [29]. Model selection is guided by the MTEB benchmark [21], which evaluates performance on retrieval and semantic similarity tasks closely related to our setting. We therefore cover a realistic spectrum of efficiency and quality: compact encoders (MiniLM), stronger general-purpose encoders (MPNet), and retrieval- focused models (BGE). 4.5 ColRelâStage2: Semantic Description Generation ColRelâStage 2 augments the Stage 1 representation with concise natural-language descriptions generated by GPT-4o-mini (default settings, no fine-tuning). Descrip- tions are conditioned on available schema cues and representative values, and groundedâwhen availableâusing domain dictionaries to expand coded identifiers and constrain vocabulary. The generated description is appended to the column representation before encoding and embedded using the same encoder as in Stage 1. GPT-4o-mini was selected as a practical generation model because recent studies have used it in metadata-generation, and have shown it to be competitive with, or stronger than, open-weight alternatives in related tasks [13,27]. 4.6 Computational Setup All experiments were run on GPU server, accessed remotely via VPN and SSH. Computations were executed on a single Nvidia RTX A6000 GPU (48 GB VRAM). This constraint influences our design choices in two ways: - We focus on embedding models that can be executed efficiently on a single GPU; - We keep column representations compact to control runtime and maintain scalability for large data lakes. Discovering Relationships in ERP Data Lakes with LLMs9 5 Results and Discussion We evaluate our approach under two relationship regimes: joinable and semanti- cally related. In the joinable setting, shared identifiers and strong value overlap provide reliable instance evidence; classical matchers and embedding-based rep- resentations already perform well, so we report results for classical methods and ColRelâStage 1 only. In the semantically related setting, equality joins fail because of heterogeneous conventions, coded identifiers, or limited verbatim overlap. Since lexical and instance cues are often insufficient, we first evaluate classical matchers and ColRelâStage 1 as baselines, then activate ColRelâStage 2 to measure the benefit of semantic enrichment through descriptions grounded in available evidence and domain dictionaries. To keep the presentation concise and the tables readable, we omit WikiData results from the paper. WikiData is the easiest benchmark in our suite and does not meaningfully challenge the compared approaches. Full results, including WikiData and additional dataset variants, are available in the accompanying GitLab repository. Concretely, our experiments are organized as follows: (i) Joinable: classical matchers vs. ColRelâStage 1; (i) semantically related: classical matchers vs. ColRelâStage 1 vs. ColRelâStage 2. 5.1 ColRelâStage1 Results Table 1 reports joinable results for classical matchers and ColRelâStage 1 (embed- dings only). Since our goal is shortlist-based relationship discovery, we focus on retrieval metrics (Rec@|GT|, Hit@5, MRR), while one-to-one (P/R/F1) is shown for comparability with Valentine [17]. Overall, joinability is driven by strong instance evidence: shared identifiers and value overlap allow many methods to achieve near-perfect performance, with Hit@5 and MRR close to 1.00. Differences therefore concern ranking consistency (Rec@|GT|, MRR) and runtime rather than the mere presence of a correct match in the shortlist. On ChEMBLâClean, several classical matchers reach perfect retrieval. These include COMA-Schema, COMA-Instance, and Similarity Flooding (Rec@|GT| / Hit@5 / MRR: 1.00 / 1.00 / 1.00). ColRelâStage 1 is similarly strong: MPNet and MiniLM-L12 achieve (Rec@|GT| / Hit@5 / MRR: 0.97 / 1.00 / 1.00). Since performance is near ceiling, runtime becomes the key differentiator: Similarity Flooding is fastest (0.70 s), whereas Jaccard and COMA-Instance are much slower (73.58 s and 36.57 s). Among embeddings, MiniLM variants are the most efficient (1.01 s and 1.96 s), while BGE-m3 is slower (25.77 s) despite comparable ranking quality. On ChEMBLâNoisy, schema noise exposes fragility in several classical methods: COMA-Schema drops to Rec@|GT| = 0.18, and Cupid to 0.31. Jaccard becomes the strongest classical baseline on Rec@|GT| and MRR (0.78 and 0.86), confirming that value overlap remains effective in joinable settings. For embeddings, robustness is model-dependent: BGE-m3 performs best (Rec@|GT| / Hit@5 / MRR: 0.79 / 1.00 / 0.97), whereas MPNet and MiniLM-L12 show large Rec@|GT| drops (0.28 and 0.26). Their Hit@5 remains high (0.89â0.93), 10A. Diouan et al. Table 1. Joinable results: Classical methods vs. ColRelâStage 1 (embeddings only). DatasetApproach / Model Retrieval (primary) One-to-one (informative) Time (s) Rec@|GT| Hit@5 MRR P RF1 ChEMBL - Clean Classical methods Jaccard0.780.87 0.87 0.94 0.780.8573.58 Cupid0.990.99 0.99 0.91 0.990.949.52 Distribution0.760.71 0.70 0.91 0.630.731.68 COMA-Schema1.001.00 1.00 0.99 0.750.841.21 COMA-Instance1.001.00 1.00 0.99 0.650.7736.57 Similarity Flooding 1.001.00 1.00 0.76 1.000.850.70 ColRelâStage1 (embeddings only) BGE-m30.931.00 1.00 0.75 0.990.8325.77 MPNet0.971.00 1.00 0.77 0.990.856.96 MiniLM-L120.971.00 1.00 0.75 0.990.841.96 MiniLM-L60.971.00 0.99 0.77 0.990.851.01 ChEMBL - Noisy Classical methods Jaccard0.780.86 0.86 0.93 0.790.8569.55 Cupid0.310.63 0.46 0.57 0.310.4014.71 Distribution0.710.68 0.67 0.90 0.620.721.58 COMA-Schema0.180.12 0.12 0.63 0.150.241.18 COMA-Instance0.690.66 0.66 0.96 0.470.6334.01 Similarity Flooding 0.280.96 0.62 0.39 0.370.380.67 ColRelâStage1 (embeddings only) BGE-m30.791.00 0.97 0.72 0.930.8025.32 MPNet0.280.89 0.60 0.44 0.410.426.93 MiniLM-L120.260.93 0.74 0.48 0.530.501.94 MiniLM-L60.340.93 0.83 0.51 0.620.541.00 Public Housing Classical methods Jaccard0.711.00 1.00 0.76 0.930.842.38 Cupid1.001.00 1.00 1.00 0.860.9217.12 Distribution0.711.00 1.00 0.80 0.570.672.76 COMA-Schema1.001.00 1.00 1.00 1.001.001.47 COMA-Instance1.001.00 1.00 1.00 0.790.8810.44 Similarity Flooding 1.001.00 1.00 0.70 1.000.824.07 ColRelâStage1 (embeddings only) BGE-m30.861.00 1.00 0.64 1.000.7847.73 MPNet0.431.00 0.96 0.65 0.930.7613.82 MiniLM-L120.791.00 1.00 0.67 1.000.8013.21 MiniLM-L60.711.00 1.00 0.70 1.000.824.16 meaning correct matches are still retrieved but ranked less consistently at the top. On Public Housing, although schema naming remains difficult, the join- able regime is still relatively easy because value overlap remains strong. Sev- eral classical methods achieve perfect retrieval, notably Cupid, COMA-Schema, COMA-Instance, and Similarity Flooding, while Jaccard and Distribution-Based Discovering Relationships in ERP Data Lakes with LLMs11 remain slightly below ceiling on Rec@|GT| (0.71). ColRelâStage 1 also produces strong shortlists, with Hit@5 = 1.00 for all encoders and MRR reaching 1.00 for BGE-m3, MiniLM-L12, and MiniLM-L6. However, embedding models remain below the strongest classical methods on Rec@|GT|, with BGE-m3 performing best on this metric (0.86), followed by MiniLM-L12 (0.79), MiniLM-L6 (0.71), and MPNet (0.43). In summary, joinable cases are largely driven by instance overlap; differences mainly concern robustness to schema noise, ranking consistency, and efficiency. This motivates studying semantically related cases, where semantic enrichment (ColRelâStage 2) is most beneficial. 5.2 ColRelâStage2 Results Table 2 reports results in the semantically related regime, which is more challeng- ing than joinable cases because equality joins fail under heterogeneous conventions, coded identifiers, and weak lexical overlap. In this setting, instance- and string- based signals are often insufficient, and ranking consistency becomes the main difficulty. On ChEMBLâClean, some classical methods still achieve perfect retrieval, including Cupid, Similarity Flooding, and COMA-Instance (Rec@|GT| / Hit@5 / MRR: 1.00 / 1.00 / 1.00), showing that clean schemata retain exploitable structure. ColRelâStage 1 already performs strongly, with MiniLM-L12 and BGE- m3 reaching Rec@|GT| = 0.84 and MRR up to 0.98. ColRelâStage 2 further improves ranking stability: MiniLM-L12 and MPNet reach Rec@|GT| = 0.90, and MiniLM-L12 achieves MRR = 1.00. Although gains remain moderate because the baseline is already high, they confirm that semantic enrichment improves ranking quality without major runtime overhead (e.g., 1.43 s and 0.72 s for MiniLM-L12 and MiniLM-L6). The difference becomes clearer on ChEMBLâNoisy. Classical methods degrade sharply; the best baseline is Jaccard (Rec@|GT| / MRR: 0.57 / 0.81). ColRelâStage 1 already mitigates this degradation, with BGE-m3 achieving the strongest retrieval scores overall (Rec@|GT| / Hit@5 / MRR: 0.66 / 0.97 / 0.94). ColRelâStage 2 further improves several encoder variants: MiniLM-L6, MiniLM- L12, and MPNet gain in Rec@|GT| while maintaining strong shortlist quality, although gains are not uniform across models. For noisy ChEMBL, many column names are coded. To support description generation, we manually constructed a controlled dictionary from the public ChEMBL schema documentation, without expert assistance, and used it to expand coded identifiers before prompting. Although this dictionary was not validated by domain experts, the results suggest that even documentation-based lexical grounding can improve robustness in coded schemata. This strengthens our motivation for ERP settings, where expert- validated business dictionaries are likely to provide even more reliable support for semantic enrichment. 12A. Diouan et al. Table 2. Semantically related results: Classical methods vs. ColRelâStage 1 vs. ColRelâ Stage 2. DatasetApproach / Model Retrieval (primary) One-to-one (informative) Time (s) Rec@|GT| Hit@5 MRR P RF1 ChEMBL â Clean Classical methods Cupid1.00 1.00 1.00 0.89 1.000.9310.33 Similarity Flooding 1.00 1.00 1.00 0.73 1.000.830.75 COMA-Instance1.00 1.00 1.00 0.99 0.570.7139.61 Distribution-Based0.350.37 0.36 0.83 0.290.422.46 Jaccard0.540.80 0.76 0.77 0.500.6096.66 ColRelâStage1 MiniLM-L60.810.97 0.97 0.71 0.930.791.19 MiniLM-L120.840.97 0.97 0.74 0.940.812.29 MPNet0.790.97 0.97 0.68 0.900.768.20 BGE-m30.84 0.98 0.98 0.73 0.960.8128.61 ColRelâStage2 MiniLM-L60.870.98 0.99 0.76 0.970.840.72 MiniLM-L120.90 0.99 1.00 0.74 0.960.821.43 MPNet0.900.96 0.98 0.75 0.970.835.01 BGE-m30.840.97 0.99 0.74 0.940.8221.90 ChEMBL â Noisy Classical methods Jaccard0.57 0.81 0.81 0.78 0.530.6278.08 Distribution-Based0.430.47 0.45 0.82 0.350.472.04 COMA-Instance0.490.51 0.51 0.86 0.340.4738.41 Cupid0.280.59 0.43 0.65 0.290.4014.59 Similarity Flooding 0.190.96 0.62 0.18 0.160.170.67 ColRelâStage1 MiniLM-L60.340.85 0.79 0.45 0.510.471.15 MiniLM-L120.250.84 0.65 0.34 0.380.352.16 MPNet0.190.80 0.57 0.31 0.290.307.86 BGE-m30.66 0.97 0.94 0.65 0.820.7227.71 ColRelâStage2 MiniLM-L60.410.96 0.79 0.49 0.650.550.99 MiniLM-L120.470.94 0.73 0.48 0.630.542.45 MPNet0.540.94 0.71 0.51 0.660.575.68 BGE-m30.590.95 0.81 0.55 0.740.6223.79 Public Housing Classical methods COMA-Schema0.410.41 0.41 0.44 0.410.422.95 COMA-Instance0.240.24 0.24 0.36 0.240.29115.24 Similarity Flooding 0.290.53 0.53 0.16 0.410.2336.47 Distribution-Based0.060.12 0.09 0.12 0.060.0819.38 Jaccard0.000.12 0.06 0.07 0.060.0618.99 Cupid0.000.00 0.00 0.00 0.000.00422.94 ColRelâStage1 MiniLM-L60.000.65 0.41 0.00 0.000.005.90 MiniLM-L120.000.53 0.43 0.07 0.180.1011.22 MPNet0.060.41 0.36 0.07 0.180.1039.86 BGE-m30.060.65 0.37 0.04 0.120.06104.45 ColRelâStage2 BGE-m30.35 0.82 0.68 0.16 0.410.23154.31 MPNet0.120.71 0.57 0.07 0.180.1051.46 MiniLM-L120.120.71 0.56 0.09 0.240.1315.31 MiniLM-L60.240.71 0.51 0.11 0.290.168.58 Discovering Relationships in ERP Data Lakes with LLMs13 The clearest effect appears on Public Housing. In this setting, the key objective is to maximize useful matches within the shortlist presented to the user, rather than to enforce a fully automatic one-to-one alignment. From this perspective, classical methods remain limited: the best classical shortlist quality is obtained by Similarity Flooding (Hit@5 / MRR: 0.53 / 0.53), while COMA- Schema reaches only (Hit@5 / MRR: 0.41 / 0.41). ColRelâStage 1 already improves the shortlist, with Hit@5 up to 0.65 and MRR up to 0.43, but rankings remain unstable. ColRelâStage 2 makes the effect much clearer: BGE-m3 reaches (Hit@5 / MRR: 0.82 / 0.68), meaning that relevant target columns are much more often retrieved within the top candidates and ranked earlier in the list. The other Stage2 variants also remain consistently stronger than Stage1 on shortlist usefulness, with Hit@5 = 0.71 and MRR between 0.51 and 0.57. In coded ERP schemata, semantic enrichment is therefore essential to maximize useful matches in the shortlist and make user-driven validation much more effective. 6 Conclusion and Future Work This paper addresses column-level relationship discovery in data lakes under industrial constraints, with a focus on ERP-derived data characterized by coded schemata and weak metadata. We introduced ColRel, a two-stage method that performs embedding-based retrieval and optionally enriches column representa- tions with business dictionary and LLM-generated descriptions. Our experiments show that joinable settings are often close to ceiling due to strong value overlap, whereas semantically related settings remain challenging when lexical overlap is weak and equality joins fail. In this regime, ColRelâStage2 provides clear gains: grounded semantic enrichment improves ranking quality and shortlist coherence without changing the embedding and similarity computation pipeline. Although our evaluation focuses on ERP data, ColRel can be applied to other fields whenever columns can be represented through a combination of schema cues, representative values, and business dictionary. In practice, this means that the method remains generic, while its adaptation to a new domain mainly requires an appropriate user- or expert-provided dictionary, terminology resource, or equivalent grounding support. Several directions remain open for future work. First, we plan to implement ColRel into an interactive assistant for data lake exploration, where user feedback on suggested correspondences can be captured and reused to refine rankings. Second, description generation could be improved through better prompt design, ontology-based guidance, or other grounding mechanisms, in order to reduce reliance on manual dictionaries while preserving robustness. Third, we intend to investigate scalability aspects, including indexing strategies and incremental updates for very large data lakes. Fourth, privacy and confidentiality issues also deserve further investigation, since description generation may require limited schema cues and a small number of representative values when metadata alone are insufficient. In this respect, locally deployable language models could provide 14A. Diouan et al. a useful alternative to reduce exposure to external services while preserving domain-specific semantic enrichment. Finally, beyond relationship discovery, generated semantic descriptions could support broader metadata enrichment goals, including data cataloging and governance within industrial data lakes [3]. Acknowledgments. Ahlame Diouanâs PhD is funded by BIAL-X. Disclosure of Interests. The authors have no competing interests to declare that are relevant to the content of this article. References 1. Bogatu, A., Fernandes, A.A., Paton, N.W., Konstantinou, N.: Dataset discovery in data lakes. In: 2020 ieee 36th international conference on data engineering (icde). p. 709â720. IEEE (2020) 2. Cappuzzo, R., Papotti, P., Thirumuruganathan, S.: Embdi: generating embeddings for relational data integration. In: 29th Italian Symposium on Advanced Database Systems (SEDB), Pizzo Calabro, Italy (2021) 3.Deng, Y., Chai, C., Cao, L., Yuan, Q., Chen, S., Yu, Y., Sun, Z., Wang, J., Li, J., Cao, Z., et al.: Lakebench: A benchmark for discovering joinable and unionable tables in data lakes. Proceedings of the VLDB Endowment 17(8), 1925â1938 (2024) 4.Diouan, A., Ferey, E., Darmont, J., Loudcher, S.: About relationships in data lakes. In: International Database Engineered Applications Symposium. p. 141â155. Springer (2024) 5. Diouan, A., Ferey, E., Loudcher, S., Darmont, J., NoĂ»s, C.: MĂ©tadonnĂ©es des lacs de donnĂ©es et principes fair. In: EDA. p. 109â110 (2022) 6.Do, H.H., Rahm, E.: Comaâa system for flexible combination of schema matching approaches. In: VLDBâ02: Proceedings of the 28th International Conference on Very Large Databases. p. 610â621. Elsevier (2002) 7.Doan, A., Halevy, A.Y.: Semantic integration research in the database community: A brief survey. AI magazine 26(1), 83â83 (2005) 8. Dong, Y., Xiao, C., Nozawa, T., Enomoto, M., Oyamada, M.: Deepjoin: Joinable table discovery with pre-trained language models. arXiv preprint arXiv:2212.07588 (2022) 9. Du, X., Yuan, G., Wu, S., Chen, G., Lu, P.: In situ neural relational schema matcher. In: 2024 IEEE 40th International Conference on Data Engineering (ICDE). p. 138â150. IEEE (2024) 10.Engmann, D., Massmann, S.: Instance matching with coma++. In: BTW workshops. vol. 7, p. 28â37 (2007) 11.Fernandez, R.C., Abedjan, Z., Koko, F., Yuan, G., Madden, S., Stonebraker, M.: Aurum: A data discovery system. In: 2018 IEEE 34th International conference on data engineering (ICDE). p. 1001â1012. IEEE (2018) 12.Hellenberg, J.E., Mahling, F.D., Laskowski, L., Naumann, F., Paganelli, M., Panse, F., et al.: Prisma: A privacy-preserving schema matcher using functional dependen- cies. In: Advances in Database Technology-EDBT, vol. 28, p. 297â309. OpenPro- ceedings. org (2025) 13.Ji, X., Glenn, P., Parameswaran, A.G., Hulsebos, M.: Target: Benchmarking table retrieval for generative tasks. arXiv preprint arXiv:2505.11545 (2025) Discovering Relationships in ERP Data Lakes with LLMs15 14. Jiang, A.Q., Sablayrolles, A., Mensch, A., et al.: Mistral 7b (2023) 15.Kired, N.E., Ravat, F., Song, J., Teste, O.: Embedding-based data matching for disparate data sources. In: International Conference on Big Data Analytics and Knowledge Discovery. p. 66â71. Springer (2024) 16. Kokel, H., Khatiwada, A., Pedapati, T., Ananthakrishnan, H., Hassanzadeh, O., Samulowitz, H., Srinivas, K.: Evaluating joinable column discovery approaches for context-aware search. arXiv preprint arXiv:2510.24599 (2025) 17.Koutras, C., Siachamis, G., Ionescu, A., Psarakis, K., Brons, J., Fragkoulis, M., Lofi, C., Bonifati, A., Katsifodimos, A.: Valentine: Evaluating matching techniques for dataset discovery. In: 2021 IEEE 37th International Conference on Data Engineering (ICDE). p. 468â479. IEEE (2021) 18. Liu, Y., Pena, E., Santos, A., Wu, E., Freire, J.: Magneto: Combining small and large language models for schema matching. arXiv preprint arXiv:2412.08194 (2024) 19.Madhavan, J., Bernstein, P.A., Rahm, E., et al.: Generic schema matching with cupid. In: vldb. vol. 1, p. 49â58 (2001) 20. Melnik, S., Garcia-Molina, H., Rahm, E.: Similarity flooding: A versatile graph matching algorithm and its application to schema matching. In: Proceedings 18th international conference on data engineering. p. 117â128. IEEE (2002) 21.Muennighoff, N., Tazi, N., Magne, L., Reimers, N.: Mteb: Massive text embedding benchmark. In: Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics. p. 2014â2037 (2023) 22.Parciak, M., Vandevoort, B., Neven, F., Peeters, L.M., Vansummeren, S.: Schema matching with large language models: an experimental study. arXiv preprint arXiv:2407.11852 (2024) 23.Rahm, E., Bernstein, P.A.: A survey of approaches to automatic schema matching. the VLDB Journal 10(4), 334â350 (2001) 24.Reimers, N., Gurevych, I.: Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084 (2019) 25.Sheetrit, E., Brief, M., Mishaeli, M., Elisha, O.: Rematch: Retrieval enhanced schema matching with llms. arXiv preprint arXiv:2403.01567 (2024) 26.Song, K., Tan, X., Qin, T., Lu, J., Liu, T.Y.: Mpnet: Masked and permuted pre- training for language understanding. Advances in neural information processing systems 33, 16857â16867 (2020) 27.Tinn, P., SĂžrbĂž, S., Jiang, S., Voutetakis, K., Giounis, S.M., Pilalis, E., Papadodima, O., Roman, D.: Pre-meta: priors-augmented retrieval for llm-based metadata gener- ation. Bioinformatics 41(10), btaf519 (2025) 28.Wang, W., Wei, F., Dong, L., Bao, H., Yang, N., Zhou, M.: Minilm: Deep self- attention distillation for task-agnostic compression of pre-trained transformers. Advances in neural information processing systems 33, 5776â5788 (2020) 29.Xiao, S., Liu, Z., Zhang, P., Muennighoff, N.: C-pack: Packaged resources to advance general chinese embedding (2023) 30.Zhang, M., Hadjieleftheriou, M., Ooi, B.C., Procopiuc, C.M., Srivastava, D.: Auto- matic discovery of attributes in relational databases. In: Proceedings of the 2011 ACM SIGMOD International Conference on Management of data. p. 109â120 (2011) 31.Zhang, Y., Mei, D., Luo, H., Xu, C., Tsai, R.T.H.: Smutf: Schema matching using generative tags and hybrid features. Information Systems 133, 102570 (2025)