NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GXJoin: Generalized Cell Transformations for Explainable Joinability

Soroush Omidvartehrani, Arash Dargahi Nobari, Davood Rafiei · DOI

Abstract

Data integration across heterogeneous sources often requires joining tables where corresponding entities are represented in different formats. While automated tools for "explainable joins" exist, they frequently suffer from overfitting, producing specific rules that fail on unseen or slightly varied data. This paper introduces GXJoin, a framework that leverages generalized cell transformations to create robust, explainable join rules. By incorporating relative indexing, recurrence generalization, and simplicity-based selection, GXJoin discovers universal patterns that outperform state-of-the-art methods in coverage and F1-score, particularly on small training samples.

Introduction

Data integration is a critical challenge in modern data science, often complicated by the fact that the same entity may be represented differently across various sources. For instance, a person might be identified by their full name in one table and an email address in another. To join these tables effectively, a transformation rule is required to map one format to the other.

Current explainable join tools attempt to automate this discovery process but often fall into the trap of overfitting. They generate highly specific rules that work for a few rows but fail when encountering minor variations, such as the addition of a middle name or a change in string length. GXJoin addresses this by focusing on "generalization"—discovering transformations that capture the underlying structural pattern rather than memorizing individual examples.

The GXJoin workflow involves finding joinable columns and matching rows through discovered transformations.

Methodology

GXJoin enhances standard string transformation primitives (e.g., substr, split, literal) with four primary generalization strategies designed to improve rule robustness:

  1. Relative Indices: Instead of absolute positions, GXJoin uses indices relative to the start ($s$) or end ($e$) of a string. This makes rules length-invariant, allowing them to handle variable-length identifiers.
  2. Recurrence Generalization:
  3. Unit Repetition: This handles repeating patterns, such as extracting the first character of every word, regardless of the word count.
  4. Unit Removal: This allows for optional components in a rule, such as skipping a middle name if it is absent in certain records.
  5. Source-Target Directionality: GXJoin evaluates transformations in both directions (Source → Target and Target → Source) and selects the direction that yields the simplest, most consistent mapping.
  6. Simplicity Tie-breaking: Adhering to Occam's Razor, when multiple rules offer similar coverage, GXJoin prioritizes the one with the fewest parameters or units to avoid capturing accidental regularities.
Examples of specific transformations (T1, T2, T3) being generalized into more universal rules (TG, TH).

Experimental Evaluation

The framework was evaluated on two distinct real-world benchmarks:

  • Web Dataset: 31 table pairs from Google and Bing, characterized by significant formatting noise across 17 topics.
  • Spreadsheet Dataset: 108 table pairs from Microsoft Excel forum challenges, representing common end-user data cleaning tasks.

Results and Discussion

The experimental results highlight the efficacy of generalization in join tasks:

  • Improved Coverage: On the noisy Web Dataset, GXJoin improved the coverage of the primary transformation by approximately 10% compared to the state-of-the-art baseline, CST.
  • Rule Efficiency: The total number of transformations required to cover the Web Dataset dropped from 431 to 394, indicating that GXJoin finds more universal rules.
  • Sample Efficiency: When trained on only 10% of the data, GXJoin's performance gap over baselines increased to 10.8%, demonstrating its superior ability to anticipate unseen data patterns.
  • End-to-End Accuracy: GXJoin achieved up to an 8% improvement in F1-score over existing methods in actual join operations.

A key insight from the study is that generality directly correlates with explainability. A single rule covering 90% of a dataset is far more interpretable and verifiable by a human user than a collection of fragmented, highly specific rules.

Conclusion

GXJoin demonstrates that incorporating relative anchors and recurrence patterns significantly boosts the robustness of explainable joins. While currently focused on syntactic string manipulations and dependent on initial joinable row pairs, future work could extend this approach to semantic transformations by integrating external knowledge bases.

Summary updated

BibTeX
@inproceedings{omidvartehrani2024gxjoin,
  author = {Soroush Omidvartehrani and Arash Dargahi Nobari and Davood Rafiei},
  title = {{GXJoin: Generalized Cell Transformations for Explainable Joinability}},
  booktitle = {ADBIS},
  year = {2024},
  doi = {10.1007/978-3-031-70626-4\_9},
}
Figure