Related Experiment Videos
Detecting reconciliation discrepancies in tabular data using transformers
Carl Du Plessis1, Mike Wa Nkongolo2
1Department of Computer Science, University of Pretoria, Pretoria, South Africa.
Introduction:
Large organisations maintain heterogeneous datasets in data lakes, where schema variability, inconsistent formats, and semantic ambiguity complicate reconciliation. Achieving a unified view of entities requires methods that capture both structural equality and semantic relationships.
Methods:
We propose a transformer-based methodology that adapts pre-trained language models (PLMs) to tabular data by generating metadata-enriched embeddings (table title, column name, type, and statistics). These embeddings are compared using mutual top-K similarity, value-level verification, and Facebook AI Similarity Search (FAISS) for discrepancy detection. Ground-truth labels were established through manual annotation of 1,000 column pairs per dataset, with three annotators achieving substantial agreement (Cohen's κ = 0.82).
Results:
Experiments on large-scale tabular data (185,909 tables) demonstrate that semantic embeddings efficiently uncover relationships and discrepancies, achieving precision of 0.958 at τ = 0.9 and F1-scores ranging from 0.77-0.87. Benchmarking against baselines (exact matching, Jaccard similarity, edit distance, TF-IDF/BM25, sentence-transformer embeddings, DeepJoin-style embeddings, and schema-name-only matching) shows that lexical baselines achieve high precision but poor recall, while semantic baselines capture relationships but underperform on heterogeneous tables. In contrast, our metadata-enriched transformer embeddings consistently achieved the highest F1-scores.
Discussion:
Unlike prior schema-aligned or query-driven approaches such as DeepJoin, WarpGate, and Lotus, this study introduces a unified reconciliation pipeline that integrates equality-based and semantic matching for large-scale tabular data. The key contribution is a scalable and generalisable reconciliation methodology that operationalises transformer architectures for automated discrepancy detection in heterogeneous environments, establishing both methodological novelty and practical effectiveness.
Related Concept Videos
Energy Losses in Transformers
There are four main reasons for energy losses in transformers.
The first cause can be the high resistance of the copper windings...
Improving Translational Accuracy
Transformers
The iron core has a substantial relative permeability. Therefore, the magnetic field lines generated due to the current in one winding are almost entirely confined within the core, such that the same magnetic flux permeates each turn of both...
Transformers with Off-Nominal Turns Ratios
Detection of Gross Error: The Q Test
Types Of Transformers
If the ratio of the number of turns in the secondary winding to that of the primary winding is greater than one, then the transformer is said to be a step-up transformer. In a step-up transformer, the voltage at the secondary winding is greater than the voltage applied at the primary winding.
However, if this ratio is less than one, the transformer is said to be a step-down...