IIFE: Interaction Information Based Automated Feature Engineering

Tom Overman, Diego Klabjan, Jean Utke

Introduction

Feature engineering—the process of transforming raw data into informative input variables—is often the determining factor in the performance of machine learning models. While domain experts traditionally perform this task manually, the process is labor-intensive and prone to trial and error. Automated Feature Engineering (AutoFE) aims to streamline this by algorithmically searching for optimal transformations. However, existing AutoFE methods often struggle with a "combinatorial explosion," where the number of potential feature combinations grows exponentially, making exhaustive search impossible.

IIFE (Interaction Information Based Automated Feature Engineering) addresses this challenge by utilizing information theory to guide the search process. By identifying "synergistic" feature pairs, IIFE efficiently navigates the search space to produce high-quality features that significantly boost model performance, particularly for simpler, more interpretable models.

The Combinatorial Challenge and Experimental Integrity

The primary hurdle in AutoFE is the sheer scale of the search space. For a dataset with 100 features and a small set of mathematical operators, the number of candidate features can quickly reach the thousands. Current tools often rely on expensive genetic algorithms or model-specific heuristics that may not generalize well across different datasets.

Furthermore, the authors of IIFE highlight a critical issue in the existing AutoFE literature: flawed experimental setups. Many studies report cross-validation scores calculated on the full dataset or use "transductive" learning methods that inadvertently leak information from the test set into the training process. IIFE establishes a more rigorous benchmark, ensuring that performance gains are genuine and reproducible in real-world, inductive settings.

Methodology: Leveraging Interaction Information

The core innovation of IIFE is the use of Interaction Information (II) to quantify synergy. While standard Mutual Information measures the relationship between a single feature and the target, Interaction Information quantifies the joint predictive power of two features relative to the target. It identifies pairs that provide more information together than the sum of their individual contributions.

The IIFE Workflow

  1. Synergy Calculation: The algorithm computes the Interaction Information for all possible feature pairs to identify those with the highest potential for synergy.
  2. Candidate Generation: IIFE selects the top $K$ pairs and applies a suite of bivariate functions, such as addition, multiplication, or group-by operations, to create new candidate features.
  3. Iterative Refinement: The best-performing features are selected via rigorous cross-validation and added back into the feature pool. This iterative approach allows the algorithm to discover high-order features (e.g., combinations of three or more original variables).
  4. Univariate Tuning: Once a strong bivariate combination is found, the algorithm applies univariate transformations (like $\log$ or square root) to further refine the feature's predictive power.

Experimental Results

The authors evaluated IIFE against four state-of-the-art competitors—OpenFE, EAAFE, AutoFeat, and DIFER—across eight public benchmarks and a large-scale private industry dataset.

Performance Benchmarks

IIFE achieved the top rank in 10 out of 24 dataset/model combinations, outperforming all other tested methods. On average, across public datasets, IIFE provided a 26.88% improvement over the raw feature baseline.

Scalability

On a massive private dataset containing over a thousand features and hundreds of thousands of samples, IIFE demonstrated superior scalability. It achieved a 6.21% improvement, significantly higher than the gains seen by adjusted versions of OpenFE (1.16%) and AutoFeat (4.22%).

Key Insights

Closing the Explainability Gap

One of the most significant findings is that IIFE-engineered features allow simple linear models (like Lasso or Linear Regression) to approach the performance levels of complex, black-box models like Random Forests or LightGBM. This is a vital development for regulated industries such as finance and healthcare, where model interpretability is a requirement, but performance cannot be sacrificed.

Interaction Information as a Filter

Beyond its own framework, the authors demonstrated that Interaction Information can serve as a powerful "filter" for other AutoFE tools. By integrating II into existing algorithms (creating variants like "OpenFE-II"), they were able to significantly accelerate the search process by narrowing the focus to high-synergy candidates without losing accuracy.

High-Order Feature Discovery

Unlike tools that limit themselves to simple combinations of two variables, IIFE’s iterative nature allows it to find complex, high-order relationships. In datasets like Jungle Chess, the discovery of "Order 10" features was essential for achieving superior predictive accuracy.

Conclusion

IIFE represents a significant step forward in Automated Feature Engineering by grounding the search process in information theory. By focusing on synergistic interactions and maintaining strict experimental integrity, IIFE not only improves predictive performance but also enhances the utility of interpretable models. Future work will focus on optimizing the computation of Interaction Information for even larger datasets and expanding the set of supported mathematical functions to capture even more complex data relationships.

Summary updated

BibTeX
@inproceedings{overman2024iife,
  author = {Tom Overman and Diego Klabjan and Jean Utke},
  title = {{IIFE: Interaction Information Based Automated Feature Engineering}},
  booktitle = {ICDM},
  year = {2024},
  doi = {10.1109/icdm59182.2024.00096},
}
Figure