ARDA: Automatic Relational Data Augmentation for Machine Learning

Nadiia Chepurko, Ryan Marcus, Emanuel Zgraggen, Raul Castro Fernandez, Tim Kraska, David Karger

TL;DR

ARDA is an end-to-end system that automates relational data augmentation for machine learning by automatically discovering, joining, and filtering relevant features from external data repositories. By introducing a novel feature selection technique called Random Injection Feature Selection (RIFS), ARDA successfully injects and leverages statistical noise as a baseline to prune away irrelevant data, significantly boosting model accuracy without human-in-the-loop intervention.

What Problem Does This Paper Address?

Automated Machine Learning (AML) tools excel at optimizing model selection, hyperparameter tuning, and feature engineering. However, they operate under a fundamental constraint: they can only work with the data provided. If a user's base table lacks sufficient predictive signal—such as trying to forecast New York City taxi ride durations without any data on weather or local sporting events—even the most advanced AML pipeline will struggle to produce an accurate model.

While data repositories and search engines make it easy to find potentially related datasets, integrating them into an ML pipeline automatically is incredibly difficult. Traditional database joins require exact "hard" keys, whereas real-world data integration often demands "soft" keys (e.g., matching timestamps of different granularities). Furthermore, blindly joining every matching table creates a massive "uber-table" packed with noisy, irrelevant features. This can lead to an underdetermined system (more features than rows), which confuses machine learning models and drastically slows down training times.

Methods

ARDA introduces an end-to-end workflow to safely and efficiently augment a base table with external relational data:

Figure 1: We provide a visual description of the workflow of our system. We start with a database and a base table as input to a join discovery framework that returns a large collection of tables which may contain information relevant to our learning task. After appropriate pre-processing, ARDA joins the candidate tables in batches.
  1. Coreset Construction: To maximize computational efficiency, ARDA samples a small, representative subset of rows (a coreset) from the base table using uniform sampling, stratified sampling, or matrix sketching techniques.
  2. Fuzzy & Soft Joins: ARDA supports traditional hard keys alongside soft keys (like time series or GPS data). It implements strategies like Nearest Neighbor, Two-way Nearest Neighbor (linear interpolation), and Time-Resampling (aggregating data to match coarser granularities) to align mismatched datasets without losing critical information.
  3. Budget-Join Plan: Instead of joining all tables at once or one by one, ARDA groups tables into batches that fit within a predefined feature "budget" (by default, equal to the coreset size). This allows the system to discover co-predicting features across tables without overwhelming the model with noise.
  4. Random Injection Feature Selection (RIFS): This is the paper's core algorithmic contribution. To filter out the massive influx of spurious features from external joins, ARDA fits a statistical model ($N(\mu, \Sigma)$) to match the empirical mean and covariance of the input data. It then injects these carefully constructed random noise features into the dataset. Using an ensemble of Random Forests and regularized Sparse Regression ($\ell_{2,1}$-norm minimization), it ranks all features. Any candidate feature that ranks worse than the injected random noise is aggressively pruned.

Datasets

The authors evaluated ARDA using both real-world scenarios and synthetic micro-benchmarks:

  • Real-World Regression Datasets (NYC Open Data / DARPA D3M): Taxi, Pickup (hourly passenger numbers at LGA airport), and Poverty (socio-economic indicators across US counties), paired with up to 39 joinable external tables.
  • Real-World Classification Datasets (DataMart API): School (S) and School (L), which predict standardized test performance using 16 and 350 joinable tables, respectively.
  • Micro-Benchmarks (Synthetic Noise): Kraken (machine failure classification) and Digits (handwritten digit classification from Sklearn), where the authors appended 10x more random, uncorrelated noise features than original features to test extreme noise filtering.

Key Insights and Ideas

  • Performance as a Semantic Proxy: Instead of trying to solve the incredibly complex problem of semantic data understanding (i.e., "Does it make logical sense to join these two tables?"), ARDA uses downstream ML model performance as a proxy. If a join improves predictive power, it is semantically meaningful to the task at hand.
  • Fighting Noise with Noise: The core intuition behind RIFS is elegant: if a feature derived from an external dataset cannot outperform purely random noise that shares its same statistical distribution, it is highly unlikely to contain a real predictive signal.
  • The Power of Co-Predictors: The authors discovered that evaluating tables individually (table-join) performs significantly worse than evaluating them in batches (budget-join). This proves the existence of "co-predictors"—features from different tables that are only useful when combined together.

Key Results

ARDA consistently outperformed standard baselines, standalone table-filtering methods (like the Tuple Ratio rule), and even full-scale commercial AML platforms operating on fully materialized joins:

Augmentation Performance and Execution Time
  • Accuracy Boosts: On the School (L) dataset, ARDA achieved a test accuracy of 98.15%, compared to the base table's 71.11%.
  • Massive Speedups: While standard wrapper feature selection methods (like forward selection) achieved comparable accuracy in some tasks, they were routinely 1 to 2 orders of magnitude slower. ARDA processed complex joins and feature selections in seconds or minutes, whereas full materialization approaches often timed out or took hours.
  • Noise Selectivity: In synthetic micro-benchmarks, RIFS demonstrated the best selectivity, successfully filtering out massive pools of planted noise while maintaining top-tier model accuracy.

Limitations and Future Work

While ARDA marks a major step forward for automated data engineering, the authors note a few limitations:

  • Geospatial Joins: The current framework focuses heavily on date-time and categorical soft joins; location-based (geospatial) joins remain largely unexplored.
  • Transitive Joins: ARDA currently searches for tables that can directly join with the initial base table. It does not yet automate transitive "multi-hop" joins (joining Table A to Table B, then Table B to Table C).
  • Advanced Modeling: The system could be further improved by integrating more sophisticated data imputation techniques, utilizing neural networks as base learning models, and applying formal statistical significance tests to augmented features.

Summary updated

Abstract

Automatic machine learning (\AML) is a family of techniques to automate the process of training predictive models, aiming to both improve performance and make machine learning more accessible. While many recent works have focused on aspects of the machine learning pipeline like model selection, hyperparameter tuning, and feature selection, relatively few works have focused on automatic data augmentation. Automatic data augmentation involves finding new features relevant to the user's predictive task with minimal ``human-in-the-loop'' involvement. We present \system, an end-to-end system that takes as input a dataset and a data repository, and outputs an augmented data set such that training a predictive model on this augmented dataset results in improved performance. Our system has two distinct components: (1) a framework to search and join data with the input data, based on various attributes of the input, and (2) an efficient feature selection algorithm that prunes out noisy or irrelevant features from the resulting join. We perform an extensive empirical evaluation of different system components and benchmark our feature selection algorithm on real-world datasets.
BibTeX
@article{chepurko2020arda,
  author = {Nadiia Chepurko and Ryan Marcus and Emanuel Zgraggen and Raul Castro Fernandez and Tim Kraska and David Karger},
  title = {{ARDA: Automatic Relational Data Augmentation for Machine Learning}},
  journal = {Proc. VLDB Endow.},
  year = {2020},
  doi = {10.14778/3397230.3397235},
}
Figure