Skip to main content
QUICK REVIEW

[Paper Review] Neural Feature Learning From Relational Database

Hoang Thanh Lam, Tran Ngoc Minh|arXiv (Cornell University)|Jan 16, 2018
Machine Learning and Data ClassificationComputer Science18 references10 citations
TL;DR

This paper proposes R2N, a novel deep neural network architecture that automates feature engineering for relational databases by learning optimal feature transformations through supervised training. It outperforms state-of-the-art rule-based methods on four Kaggle competitions, achieving top 6–10% performance with minimal manual effort, and establishes theoretical foundations by proving the feature generation problem is NP-hard and analyzing the network's expressive capacity.

ABSTRACT

Feature engineering is one of the most important but most tedious tasks in data science. This work studies automation of feature learning from relational database. We first prove theoretically that finding the optimal features from relational data for predictive tasks is NP-hard. We propose an efficient rule-based approach based on heuristics and a deep neural network to automatically learn appropriate features from relational data. We benchmark our approaches in ensembles in past Kaggle competitions. Our new approach wins late medals and beats the state-of-the-art solutions with significant margins. To the best of our knowledge, this is the first time an automated data science system could win medals in Kaggle competitions with complex relational database.

Motivation & Objective

  • To address the critical bottleneck of manual, time-intensive feature engineering in data science, especially for relational databases.
  • To overcome the limitations of rule-based feature engineering, such as redundancy and lack of adaptability to problem-specific needs.
  • To develop a supervised, end-to-end neural network approach that learns meaningful feature transformations directly from relational data.
  • To provide theoretical guarantees on the expressiveness and complexity of feature learning in relational databases.
  • To enable democratization of data science by reducing dependency on expert knowledge for feature engineering.

Proposed method

  • The method uses a relational tree representation to encode multi-table joins, where each training example is transformed into a tree structure based on foreign-key relationships.
  • A novel deep neural network architecture, R2N (Relational-to-Vector Network), processes these relational trees to learn compact, meaningful feature representations.
  • The network applies hierarchical transformations to tree-structured data, with each layer capturing increasingly abstract representations of the joined relational paths.
  • The final layer uses a fully connected network to produce fixed-size feature vectors suitable for downstream machine learning models.
  • A bootstrapping technique is applied to improve model robustness and generalization, especially in low-data regimes.
  • The approach is trained end-to-end in a supervised manner, optimizing for predictive performance on the target label.

Experimental results

Research questions

  • RQ1Can a deep neural network effectively learn useful features from relational databases without relying on hand-crafted rules?
  • RQ2Is the proposed R2N architecture capable of capturing complex, non-linear relationships in multi-table relational data?
  • RQ3How does the performance of R2N compare to state-of-the-art rule-based feature engineering systems like DFS on real-world data science competitions?
  • RQ4What is the computational complexity of the feature learning problem in relational databases, and can it be formally characterized?
  • RQ5Can theoretical analysis demonstrate the universal expressiveness of the proposed neural architecture for relational feature learning?

Key findings

  • R2N outperforms the state-of-the-art rule-based feature engineering system DFS on four Kaggle competitions, achieving top 6–10% of all participants in three of them.
  • The method achieves competitive performance with minimal data preparation effort, completing in weeks compared to the typical months-long duration of Kaggle competitions.
  • The feature generation problem for relational databases is formally proven to be NP-hard, establishing a theoretical foundation for the difficulty of the task.
  • The R2N architecture demonstrates strong expressive capacity, capable of learning complex, non-linear transformations from relational tree structures.
  • The use of bootstrapping significantly improves model robustness, outperforming a single R2N model and enhancing generalization.
  • The proposed method enables automated, scalable, and domain-agnostic feature engineering, reducing reliance on expert knowledge and accelerating data science workflows.

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.