Are Key-Foreign Key Joins Safe to Avoid when Learning High-Capacity Classifiers?
Not on the map. Why?
Abstract (arXiv)
Machine learning (ML) over relational data is a booming area of the database industry and academia. While several projects aim to build scalable and fast ML systems, little work has addressed the pains of sourcing data and features for ML tasks. Real-world relational databases typically have many tables (often, dozens) and data scientists often struggle to even obtain and join all possible tables that provide features for ML. In this context, Kumar et al. showed recently that key-foreign key dependencies (KFKDs) between tables often lets us avoid such joins without significantly affecting prediction accuracy--an idea they called avoiding joins safely. While initially controversial, this idea has since been used by multiple companies to reduce the burden of data sourcing for ML. But their work applied only to linear classifiers. In this work, we verify if their results hold for three popular complex classifiers: decision trees, SVMs, and ANNs. We conduct an extensive experimental study using both real-world datasets and simulations to analyze the effects of avoiding KFK joins on such models. Our results show that these high-capacity classifiers are surprisingly and counter-intuitively more robust to avoiding KFK joins compared to linear classifiers, refuting an intuition from the prior work's analysis. We explain this behavior intuitively and identify open questions at the intersection of data management and ML theoretical research. All of our code and datasets are available for download from http://cseweb.ucsd.edu/~arunkk/hamlet.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 3 Apr 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 0; 2024: 1; 2025: 1; 2026: 1.
4 papers.
- 2021Ember: No-Code Context Enrichment via Similarity-Based Keyless Joinscited by 7
- 2024Retrieve, Merge, Predict: Augmenting Tables with Data Lakescited by 4
- 2025Graph-Based Feature Augmentation for Predictive Tasks on Relational Datasetscited by 0
- 2026Hippasus: Effective and Efficient Automatic Feature Augmentation for Machine Learning Tasks on Relational Datacited by 0
- 2026Hippasus: Effective and Efficient Automatic Feature Augmentation for Machine Learning Tasks on Relational Data2 Feb 2026
- 2025Graph-Based Feature Augmentation for Predictive Tasks on Relational Datasets28 Aug 2025
- 2024Retrieve, Merge, Predict: Augmenting Tables with Data Lakes9 Feb 2024
- 2021Ember: No-Code Context Enrichment via Similarity-Based Keyless Joins2 Jun 2021