Skip to main content
QUICK REVIEW

[Paper Review] DIFER: Differentiable Automated Feature Engineering

Guanghui Zhu, Zhuoer Xu|arXiv (Cornell University)|Oct 17, 2020
Machine Learning and Data ClassificationComputer Science19 references4 citations
TL;DR

DIFER proposes the first differentiable automated feature engineering method that performs feature search in a continuous vector space using an encoder-predictor-decoder framework. By optimizing feature embeddings via gradient ascent and decoding them back into discrete features, DIFER achieves state-of-the-art performance with 40× fewer feature evaluations than prior methods.

ABSTRACT

Feature engineering, a crucial step of machine learning, aims to extract useful features from raw data to improve data quality. In recent years, great efforts have been devoted to Automated Feature Engineering (AutoFE) to replace expensive human labor. However, existing methods are computationally demanding due to treating AutoFE as a coarse-grained black-box optimization problem over a discrete space. In this work, we propose an efficient gradient-based method called DIFER to perform differentiable automated feature engineering in a continuous vector space. DIFER selects potential features based on evolutionary algorithm and leverages an encoder-predictor-decoder controller to optimize existing features. We map features into the continuous vector space via the encoder, optimize the embedding along the gradient direction induced by the predicted score, and recover better features from the optimized embedding by the decoder. Extensive experiments on classification and regression datasets demonstrate that DIFER can significantly improve the performance of various machine learning algorithms and outperform current state-of-the-art AutoFE methods in terms of both efficiency and performance.

Motivation & Objective

  • To address the computational inefficiency and feature explosion problem in existing AutoFE methods that operate over discrete feature spaces.
  • To enable efficient and effective automated feature engineering by formulating the search process as a continuous optimization problem.
  • To develop a novel feature optimizer based on an encoder-predictor-decoder architecture that supports end-to-end differentiable feature evolution.
  • To demonstrate that differentiable feature search can significantly improve model performance while reducing computational cost.
  • To provide a flexible and scalable framework for automated feature engineering applicable across diverse machine learning tasks.

Proposed method

  • Proposes an evolutionary framework that iteratively generates better features through continuous optimization in a latent vector space.
  • Represents features using a parse tree structure, enabling flexible and expressive representation of complex feature transformations.
  • Employs an encoder to map the traversal string of a parse tree into a continuous embedding vector.
  • Uses a predictor network to estimate the performance score of a feature based on its embedding, enabling gradient-based optimization.
  • Applies gradient ascent on the embedding space to optimize for higher performance, followed by a decoder to reconstruct a discrete feature from the optimized embedding.
  • Integrates the entire pipeline into a differentiable end-to-end framework, allowing backpropagation through the feature construction process.

Experimental results

Research questions

  • RQ1Can differentiable optimization in a continuous latent space outperform discrete search in automated feature engineering?
  • RQ2How does DIFER’s continuous feature optimization compare to existing AutoFE methods in terms of model performance and computational efficiency?
  • RQ3To what extent does the parse tree representation improve the expressiveness and flexibility of feature construction compared to sequence-based methods?
  • RQ4Does the gradient-based feature optimizer in DIFER generalize across different machine learning algorithms and datasets?
  • RQ5How sensitive is DIFER’s performance to hyperparameter choices and initialization in the embedding space?

Key findings

  • DIFER outperforms the state-of-the-art AutoFE method on 22 out of 25 classification and regression datasets in terms of model performance.
  • DIFER achieves this improvement using only 40 times fewer feature evaluations than the SOTA method, significantly enhancing computational efficiency.
  • The method demonstrates consistent gains across diverse datasets and machine learning models, indicating strong generalization capability.
  • Ablation studies confirm that the differentiable optimization component and the encoder-predictor-decoder architecture are critical to DIFER’s performance.
  • The use of parse trees enables more expressive and flexible feature construction compared to sequence-based representations, contributing to better search efficiency and quality.
  • DIFER’s implementation is publicly available on GitHub, enabling reproducibility and further research.

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.