OpenFE: Automated Feature Generation beyond Expert-level Performance

Tianping Zhang, Zheyu Zhang, Haoyan Luo, Fengyuan Liu, Wei Cao, Jian Li

TL;DR

OpenFE is an automated feature generation framework for tabular data that matches or outperforms human competitive data scientists. By replacing expensive full retraining and misleading statistical filtering with an efficient feature boosting mechanism and a two-stage successive pruning pipeline, OpenFE identifies truly informative features from massive candidate pools. In real-world benchmarks and Kaggle competitions, it consistently beats existing AutoML tools and elevates both Gradient Boosted Decision Trees (GBDTs) and modern deep learning models.

What Problem Does This Paper Address?

In tabular machine learning, feature engineering often dictates whether a model succeeds or fails. Domain experts spend days crafting interaction terms, aggregations, and ratios by hand. While automated feature generation via the "expand-and-reduce" paradigm exists (generate thousands of transformations, then filter out unhelpful ones), it faces two major bottlenecks:

  1. The combinatorial explosion: Generating candidate features across numerical and categorical columns creates huge pools of candidates that quickly exhaust memory and compute.
  2. Poor evaluation heuristics: Testing every candidate by retraining a model from scratch is too slow. Conversely, relying on lightweight statistical tests (such as correlation or mutual information) often fails because statistically significant features might be redundant given the base feature set, while seemingly weak individual features might be powerful in combination.

Methods

OpenFE addresses these challenges with a two-pronged approach:

[Base Features + Data] 
       │
       ▼
1. Expansion (Apply Unary & Binary Operators: +, -, *, /, GroupByThenMean, etc.)
       │
       ▼
2. Stage I: Successive Featurewise Pruning (Bandit-style halving over data blocks)
       │
       ▼
3. Stage II: Feature Importance Attribution (GBDT feature boosting + MDI attribution)
       │
       ▼
[Top-Ranked Incremental Features Added to Model]
  • Feature Boosting: Instead of training a model from scratch to assess a candidate feature $\tau$, OpenFE leverages the residual-fitting logic of gradient boosting. It freezes the predictions $\hat{y}$ of a model trained on the base features $T$, and trains a new shallow model (via LightGBM) only on candidate features using $\hat{y}$ as the starting prediction. The reduction in loss $\Delta$ directly estimates the candidate's true incremental predictive value.
  • Stage I – Successive Featurewise Pruning: Adapting the multi-armed bandit successive halving algorithm, OpenFE partitions the data into $2^q$ blocks. Candidate features are evaluated on small data slices first; only the top-performing half receive more data blocks in subsequent rounds. Identical/redundant transformations are pruned early via a fast deduplication step (delete_same).
  • Stage II – Feature Importance Attribution: The surviving candidate features are pooled with the base features in a multi-feature boosting step. OpenFE uses Mean Decrease in Impurity (MDI) to account for interaction effects and attribute the overall reduction in loss to individual candidates, selecting only top-ranked features.
  • Theoretical Foundation: The authors theoretically formalize group aggregations (such as GroupByThenMean) in a transductive setting, proving that empirical risk minimization with generated group features achieves near-zero test loss as sample size grows, whereas any predictor lacking feature generation suffers a non-vanishing error floor ($\ge \frac{3}{64}$).

Datasets

The authors evaluated OpenFE across diverse benchmarks:

  • 7 Standard Benchmarks: California Housing (CA) and Microsoft LETOR (MI) for regression; Diabetes (DI), Nomao (NO), and Vehicle (VE) for binary classification; Jannis (JA) and Covertype (CO) for multi-class classification.
  • 2 Large-Scale Kaggle Competitions: IEEE-CIS Fraud Detection (6,351 teams) and BNP Paribas Cardif Claims Management (2,920 teams).
  • Prior Literature Benchmarks: 7 smaller UCI datasets (Airfoil, German Credit, Higgs Boson subset, Ionosphere, SpamBase, SpectF, Sonar) to compare against unreleased baselines from past work.

Key Insights and Ideas

  • Incremental value $\neq$ statistical correlation: Features that look great in a correlation or mutual information test often offer zero incremental improvement over an existing feature set. Feature boosting directly measures whether a candidate explains the residuals of the current model.
  • Automated discovery matches domain intuition: On the IEEE-CIS Fraud Detection dataset, OpenFE automatically discovered compound features like CombineThenFreq(user_id, month) (transaction velocity) and GroupByThenStd(day_delta, user_id) without knowing what the masked column names meant.
  • Deep tabular models still need explicit feature engineering: Even specialized tabular neural networks (FT-Transformer, TabNet, DCN-V2, AutoInt) designed to learn feature interactions internally gained substantial accuracy boosts when fed OpenFE-engineered features.

Key Results

  • Beating Kaggle Grandmasters: On the IEEE-CIS Fraud Detection competition, adding OpenFE features to an XGBoost baseline boosted the private leaderboard ranking from 2286th to 42nd out of 6,351 teams (top 0.7%), outperforming the public feature set designed by the 1st-place team (which ranked 76th). On BNP Paribas, it moved the baseline from 31st to 12th place.
  • SOTA across Baselines: OpenFE consistently outperformed prior automated feature engineering methods (AutoFeat, AutoCross, SAFE, FCTree) across both LightGBM and FT-Transformer models.
  • High Efficiency: On the 1.2M-row Microsoft dataset, OpenFE finished feature generation in 31 minutes, whereas AutoFeat required ~24 hours and FCTree required nearly 33 hours.

Limitations and Future Work

  • Focus on Low-Order Features: OpenFE focuses primarily on first-order (and selectively second-order) transformations. High-order feature spaces explode combinatorially; the authors noted that higher-order features rarely yielded significant gains in their tests, but a scalable exploration strategy remains open.
  • GBDT-Centric Generation: The candidate selection phase assumes tree-based splitting mechanics via LightGBM. While generated features transfer well to deep architectures, end-to-end differentiable feature generation within neural architectures was not explored.

Summary updated

Abstract

The goal of automated feature generation is to liberate machine learning experts from the laborious task of manual feature generation, which is crucial for improving the learning performance of tabular data. The major challenge in automated feature generation is to efficiently and accurately identify useful features from a vast pool of candidate features. In this paper, we present OpenFE, an automated feature generation tool that provides competitive results against machine learning experts. OpenFE achieves efficiency and accuracy with two components: 1) a novel feature boosting method for accurately estimating the incremental performance of candidate features. 2) a feature-scoring framework for retrieving effective features from a large number of candidates through successive featurewise halving and feature importance attribution. Extensive experiments on seven benchmark datasets show that OpenFE outperforms existing baseline methods. We further evaluate OpenFE in two famous Kaggle competitions with thousands of data science teams participating. In one of the competitions, features generated by OpenFE with a simple baseline model can beat 99.3% data science teams, demonstrating for the first time that automated feature generation can outperform human experts. In addition to the empirical results, we provide a theoretical perspective to show that feature generation has benefit provably in a simple yet representative setting. Codes and datasets are available in the supplementary materials.
BibTeX
@inproceedings{zhang2023openfe,
  author = {Tianping Zhang and Zheyu Zhang and Haoyan Luo and Fengyuan Liu and Wei Cao and Jian Li},
  title = {{OpenFE: Automated Feature Generation beyond Expert-level Performance}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=1H1irbEaGV},
}
Figure