Abstract
The problem of all-relevant feature selection is concerned with finding a relevant feature set with preserved redundancies. There exist several approximations to solve this problem but only one could give a distinction between strong and weak relevance. This approach was limited to the case of linear problems. In this work, we present a new solution for this distinction in the non-linear case through the use of random forest models and statistical methods.
Introduction
In machine learning, feature selection typically focuses on the "minimal-optimal" set—the smallest subset of features required for maximum predictive accuracy. However, in domains like medicine or biology, understanding the underlying mechanisms is as important as prediction. This requires "all-relevant" feature selection, which identifies every informative feature, including redundant ones.
A critical challenge in this area is distinguishing between strongly relevant features (indispensable for model performance) and weakly relevant features (informative but redundant). While methods like Feature Relevance Intervals (FRI) exist for linear problems, they do not scale well or handle non-linear relationships. This paper introduces Squamish, a scalable, non-linear approach to feature classification.
Methodology: The Squamish Algorithm
Squamish employs a three-stage sequential decomposition process to classify features:
- Discovery of All Relevant Features ($A$): Using the Boruta wrapper method, the algorithm compares actual features against "shadow" features (randomly permuted copies) to identify all features that provide more information than noise.
- Identification of the Minimal-Optimal Set ($M$): A Random Forest model (via LightGBM) is fitted to find the most significant non-redundant features.
- Classification of Strong vs. Weak Relevance: Leveraging the mathematical property that strongly relevant features ($S$) are a subset of the minimal set ($M$), the algorithm performs "leave-one-out" testing only on features in $M$. If removing a feature causes a significant increase in loss—determined by a statistical threshold based on a Student’s t-distribution—it is classified as Strongly Relevant. Otherwise, it is Weakly Relevant.
Key Insights: Combating Correlation Bias
A significant contribution of this work is the strategy to handle correlated features. In standard Random Forests, highly correlated features often "overshadow" each other, leading the model to ignore redundant but relevant variables. The authors found that using a low feature_fraction (e.g., 10%) during the initial discovery phase forces the model to consider a wider variety of features, distributing importance more evenly.
By reducing the number of features available at each split, the algorithm ensures that even "weak" features have a chance to demonstrate their relevance, facilitating the identification of the complete all-relevant set.
Evaluation and Results
The method was evaluated using synthetic datasets with known ground truths for both linear and non-linear relationships.
Scalability and Accuracy
Squamish demonstrated superior scalability compared to existing linear methods. On large linear datasets, it completed tasks significantly faster than the FRI method (80s vs 201s). In non-linear scenarios, where linear models like ElasticNet failed (accuracy ~60-70%), Squamish maintained high predictive accuracy (>82%) and achieved high recall for relevant features.
Classification Performance
The algorithm showed near-perfect recall for strongly relevant features in linear cases. In complex non-linear cases, it correctly identified over 80% of strong features, a task where traditional methods often fail entirely.
Conclusion
Squamish provides a robust framework for all-relevant feature selection in non-linear contexts. By efficiently distinguishing between strong and weak relevance, it offers researchers a tool to look "under the hood" of complex models. While challenges remain in minimizing false positives in highly complex data, Squamish represents a significant step forward in interpretable machine learning for high-dimensional datasets.
Summary updated