DNN2LR: Interpretation-inspired Feature Crossing for Real-world Tabular Data

Zhaocheng Liu, Qiang Liu, Haoli Zhang, Yuntian ChenarXiv 2020

Introduction

In high-stakes domains such as finance and healthcare, the choice of machine learning models often involves a trade-off between predictive performance and interpretability. Logistic Regression (LR) is favored for its global interpretability, allowing practitioners to audit how each feature contributes to the final decision. However, LR lacks the capacity to automatically capture complex, non-linear feature interactions inherent in tabular data. Conversely, Deep Neural Networks (DNNs) excel at modeling these interactions but operate as "black boxes," making their internal logic difficult to decipher.

Automated feature crossing aims to bridge this gap by identifying high-value feature interactions to augment LR models. Yet, existing methods like AutoCross face a combinatorial explosion when dealing with "wide" datasets containing hundreds of fields. Searching for optimal feature crosses becomes computationally expensive and prone to noise.

The DNN2LR Framework

The authors propose DNN2LR, a framework that leverages the internal representations of a trained DNN to guide the discovery of feature crosses for an LR model. The core innovation is the concept of Interpretation Inconsistency.

Quantifying Interpretation Inconsistency

The intuition behind interpretation inconsistency is straightforward: if a feature's influence on the model's prediction remains stable across different samples, it likely acts independently. However, if its impact fluctuates significantly depending on the presence of other features, it is likely involved in a complex interaction.

The framework quantifies this by calculating the gradient of the DNN's prediction with respect to a feature's embedding—termed "local interpretation." By analyzing the variance of these gradients across a validation set, the system identifies features with high inconsistency.

The DNN2LR pipeline: from DNN interpretation to a supercharged LR model.

The Pipeline

  1. DNN Training: A deep model is trained to capture complex interactions implicitly.
  2. Feature Filtering: Features are ranked by their interpretation inconsistency, and the top $\eta$ percent are selected.
  3. Candidate Generation: A compact set of 2nd, 3rd, and 4th-order feature crosses is generated from these inconsistent features.
  4. Sparse LR Training: An LR model is trained using the original features plus the candidate crosses.
  5. Iterative Selection: A greedy algorithm selects the most impactful crosses based on validation AUC.

Experimental Evaluation

The framework was evaluated on a diverse set of tabular datasets, ranging from narrow datasets like Employee and Criteo to wide datasets such as Allstate, BNP, and two proprietary financial datasets (RW1, RW2).

Performance and Efficiency

DNN2LR consistently achieved the highest AUC across all tested datasets, outperforming standalone DNNs and state-of-the-art feature-crossing baselines like AutoCross and AutoFM. Beyond predictive accuracy, the most significant advantage of DNN2LR is its computational efficiency.

Comparison of running times (log scale) between DNN2LR and existing automated feature crossing methods.

On wide datasets, DNN2LR demonstrated speedups ranging from 6x to 50x compared to AutoCross. For instance, on the RW2 dataset, while AutoCross required nearly $10^5$ seconds, DNN2LR completed the process in a fraction of that time. This efficiency stems from using the DNN to prune the search space, resulting in a candidate set of only $2N$ to $3N$ crosses, where $N$ is the number of original fields.

Discussion and Key Insights

The success of DNN2LR highlights several key insights:

  • Gradients as Interaction Signals: Using the variance of local interpretations (gradients) effectively identifies non-linearly separable patterns, turning a perceived weakness of DNNs (unstable local interpretations) into a tool for feature discovery.
  • DNN as a Teacher: The DNN acts as a "scout" that identifies complex interactions, which are then explicitly modeled in a simpler, interpretable LR framework.
  • Interpretability and Scalability: The final model remains a standard LR, ensuring that the discovered feature crosses (e.g., [Occupation=Doctor] AND [City=New York]) are human-readable and auditable.

Limitations

The framework's performance is inherently tied to the quality of the initial DNN; if the DNN fails to learn an interaction, it cannot be extracted. Additionally, the method requires tuning hyperparameters such as the quantile threshold ($\eta$) for feature filtering. Future research may explore more advanced local interpretation techniques to uncover even more subtle feature dependencies.

Summary updated

BibTeX
@misc{liu2020dnn,
  author = {Zhaocheng Liu and Qiang Liu and Haoli Zhang and Yuntian Chen},
  title = {{DNN2LR: Interpretation-inspired Feature Crossing for Real-world Tabular Data}},
  year = {2020},
  eprint = {2008.09775},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.09775},
}
Figure