Skip to main content
QUICK REVIEW

[Paper Review] One button machine for automating feature engineering in relational databases

Hoang Thanh Lam, Johann-Michael Thiebaut|arXiv (Cornell University)|Jun 1, 2017
Data Mining Algorithms and ApplicationsComputer Science7 references61 citations
TL;DR

OneBM automatically discovers features from relational databases by traversing the entity graph, transforming joined data into structured features, and selecting them for modeling, achieving competitive and in some cases superior results on Kaggle competitions compared to prior state-of-the-art methods.

ABSTRACT

Feature engineering is one of the most important and time consuming tasks in predictive analytics projects. It involves understanding domain knowledge and data exploration to discover relevant hand-crafted features from raw data. In this paper, we introduce a system called One Button Machine, or OneBM for short, which automates feature discovery in relational databases. OneBM automatically performs a key activity of data scientists, namely, joining of database tables and applying advanced data transformations to extract useful features from data. We validated OneBM in Kaggle competitions in which OneBM achieved performance as good as top 16% to 24% data scientists in three Kaggle competitions. More importantly, OneBM outperformed the state-of-the-art system in a Kaggle competition in terms of prediction accuracy and ranking on Kaggle leaderboard. The results show that OneBM can be useful for both data scientists and non-experts. It helps data scientists reduce data exploration time allowing them to try and error many ideas in short time. On the other hand, it enables non-experts, who are not familiar with data science, to quickly extract value from their data with a little effort, time and cost.

Motivation & Objective

  • Automate feature engineering from relational databases to reduce manual data exploration and feature crafting.
  • Handle diverse data types from multiple joined tables, including unstructured data.
  • Provide an extensible framework where feature extractors can be plugged in for domain-specific features.
  • Demonstrate effectiveness and scalability on large real-world datasets and Kaggle competitions.

Proposed method

  • Construct an entity graph of database tables and perform depth-first path enumeration up to a user-defined MaxDepth.
  • Collect data along joining paths and represent results as relational trees for each entity.
  • Identify data types of collected data based on path properties and apply appropriate transformations (numerical, categorical, text, time-series, etc.).
  • Apply a set of default feature transformations and allow plug-in extensions for domain-specific features.
  • Perform feature selection including deduplication and drift detection, with scope for further improvement (NP-hard problem).
  • Implement efficiency strategies including depth-first traversal with caching, redundant path removal via canonical path forms, and dynamic subsampling based on MAX-JOINED-SIZE.

Experimental results

Research questions

  • RQ1How can feature engineering be automated from relational databases with multiple tables and complex joins?
  • RQ2What data types and transformations are suitable for features extracted from joined relational data, including unstructured data?
  • RQ3Does OneBM scale to large datasets and how does it perform compared to existing systems like DSM?
  • RQ4To what extent can OneBM improve predictive performance on real Kaggle competitions without manual feature engineering?

Key findings

  • OneBM achieves competitive leaderboard performance on Kaggle datasets, matching or exceeding data scientists in several competitions.
  • In KDD Cup 2014, OneBM outperformed the state-of-the-art DSM without tuning and ranked in the top 17% on the private leaderboard.
  • On the Grupo Bimbo inventory prediction task, OneBM identified meaningful features such as recent demand and product types, with top features showing substantial correlation to the target.
  • Outbrain click prediction experiments demonstrated useful feature discovery across 8 tables and yielded competitive scores with top predictors including geo-location and ad_id.
  • OneBM scales to large datasets (e.g., 100 GB, 119 million training examples) using a Spark-based implementation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.