Copula for Instance-wise Feature Selection and Rank

Hanyu Peng, Guanhua Fang, Ping Li

Abstract

Instance-wise feature selection and ranking methods can achieve a good selection of task-friendly features for each sample in the context of neural networks. However, existing approaches that assume feature subsets to be independent are imperfect when considering the dependency between features. To address this limitation, we propose to incorporate the Gaussian copula, a powerful mathematical technique for capturing correlations between variables, into the current feature selection framework with no additional changes needed. Experimental results on both synthetic and real datasets, in terms of performance comparison and interpretability, demonstrate that our method is capable of capturing meaningful correlations.

Introduction

Feature selection identifies the most relevant input variables for a task, reducing noise and improving model interpretability. While traditional methods are "population-aware"—selecting one set of features for the entire dataset—"instance-wise" selection recognizes that different features matter for different samples. For example, to identify a "bird," feathers are key; to identify a "plane," wings are key.

Existing instance-wise methods, such as INVASE or L2X, typically treat features as independent during the selection process. This is a significant oversight, as real-world features are often redundant or highly correlated. Failing to account for these relationships can lead to suboptimal accuracy and "noisy" explanations. This paper introduces a novel framework that uses Gaussian copulas to explicitly model these dependencies for instance-wise feature selection.

Methodology: The Copula-based Framework

The proposed architecture consists of three primary components designed to integrate dependency modeling into the selection process:

  1. ChoiceNet: Predicts a "score" ($\alpha$) for each feature based on the input sample.
  2. Sampler Module: The core innovation, utilizing a Gaussian Copula to generate a selection mask. A copula allows the model to describe the joint distribution of features by separating individual behaviors (marginals) from their dependency structure.
  3. PredictNet: Makes the final prediction using only the selected features.
The proposed three-part architecture consisting of ChoiceNet, Sample Module, and PredictNet.

To maintain end-to-end trainability via backpropagation, the authors developed differentiable sampling schemes for both binary masking and top-k ranking. They also address computational challenges by using a low-rank approximation for the correlation matrix, ensuring the method scales effectively to high-dimensional data.

Experimental Evaluation

The researchers evaluated their method on synthetic datasets (Syn1-Syn6) and real-world benchmarks, including MNIST, Fashion-MNIST, and ISOLET.

Key Results and Insights

  • Synthetic Performance: On complex instance-wise tasks (Syn5 and Syn6), the copula-based method significantly outperformed the previous state-of-the-art (INVASE), achieving a higher True Positive Rate (TPR) and a lower False Discovery Rate (FDR).
  • Real-World Accuracy: In top-k feature ranking, the proposed method consistently maintained higher prediction accuracy than competitors like L2X and STG, particularly when only a small number of features were selected.
Accuracy comparison across MNIST, Fashion-MNIST, and ISOLET datasets for varying numbers of selected features (K).
  • Interpretability: By explicitly modeling pairwise relationships, the model can identify redundancy. Visualizations of the learned correlation structure (via t-SNE) reveal that the model naturally groups related features together, such as pixels defining similar visual categories in Fashion-MNIST.

Conclusion

By incorporating Gaussian copulas, this framework successfully captures meaningful correlations between features for instance-wise selection. This approach leads to state-of-the-art performance in both accuracy and interpretability. Future work may explore more sophisticated copulas to capture non-linear tail dependencies and further optimize efficiency for extremely high-dimensional genomics data.

Summary updated

BibTeX
@inproceedings{peng2023copula,
  author = {Hanyu Peng and Guanhua Fang and Ping Li},
  title = {{Copula for Instance-wise Feature Selection and Rank}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=ggt1RIWwCA},
}
Figure