TL;DR
This paper provides a comprehensive review and evaluation of causality-based feature selection, moving beyond simple correlation to identify the underlying mechanisms of data. The authors introduce CausalFS, the first open-source C++ library implementing 28 representative algorithms, and demonstrate that causal features significantly improve model interpretability and robustness across diverse datasets.
What Problem Does This Paper Address?
In machine learning, feature selection is the process of picking a subset of relevant variables to build a model. Traditional methods rely on correlation—if two things happen together, they are both kept. However, correlation is not causation. A classic example cited is "yellow fingers" and "lung cancer." While strongly correlated, yellow fingers don't cause cancer; smoking causes both.
Standard "filter" methods might select yellow fingers as a top feature, but a model built on this would be brittle. If people start wearing gloves (changing the environment), the model fails. Causality-based feature selection aims to find the Markov Boundary (MB): the minimal set of direct causes, direct effects, and "spouses" (other parents of those effects) that make a target variable independent of everything else. This leads to models that are more interpretable and robust to "distribution shifts" (changes in the data environment).
Methods
The paper categorizes causality-based methods into two primary families:
- Constraint-based Methods: These use statistical conditional independence (CI) tests to prune irrelevant features. They are further divided into:
- Simultaneous Learning: Finding the whole Markov Boundary at once (e.g., GSMB, IAMB).
- Divide-and-Conquer: Finding parents/children first, then identifying spouses (e.g., MMMB, HITON-MB).
- Relaxed Assumptions: Algorithms that work even when the data doesn't perfectly follow standard causal "faithfulness" rules.
- Score-based Methods: These treat the problem as a search for the best-fitting Bayesian Network structure using scoring criteria like BIC or BDeu (e.g., SLL, $S^2$TMB).
The authors also highlight the CausalFS toolbox, which they developed to provide a unified, high-performance implementation of these algorithms in C, making them accessible for large-scale engineering tasks.
Datasets
The researchers evaluated the algorithms using two distinct types of data:
- Synthetic Benchmarks: Four well-known Bayesian Networks (Child, Alarm, Pigs, and Gene) were used to generate datasets where the "ground truth" causal relationships are known. This allowed for precise measurement of how many "true" causal features were correctly identified.
- Real-world Datasets: Eight datasets from the UCI repository and NIPS2003 challenges, including infant (mortality), spambase, arcene (mass spectrometry), and dorothea (drug discovery). These tested the algorithms' ability to improve classification accuracy and AUC in messy, high-dimensional scenarios.
Key Insights and Ideas
- The Markov Boundary is the "Gold Standard": Theoretically, the MB is the smallest set of features that provides maximum predictive power. Any feature outside the MB adds no new information if the MB is already known.
- Divide-and-Conquer Wins on Data Efficiency: Algorithms that break the search into sub-problems (finding direct neighbors first) require significantly fewer data samples to reach a correct conclusion than those that try to learn the whole boundary simultaneously.
- Symmetry Checks are a Double-Edged Sword: Many advanced algorithms use a "symmetry check" (e.g., if A is a parent of B, then B must be a child of A). While this drastically improves precision (reducing false positives), it is computationally expensive and can sometimes hurt recall if the statistical tests are unreliable.
- PC Learning is "Good Enough": The authors found that just identifying Parents and Children (PC) often provides classification performance nearly identical to the full Markov Boundary but with much higher computational efficiency.
Key Results
- Efficiency: In synthetic tests, forward-strategy algorithms like MMPC and HITON-PC were highly competitive and significantly faster than backward-search methods.
- Accuracy vs. Compactness: Causal methods often selected much smaller feature sets than traditional methods while maintaining or exceeding classification accuracy. For example, on the arcene dataset, some algorithms reduced 10,000 features down to fewer than 10 while keeping high accuracy.
- Robustness: Causal features proved more persistent. While non-causal features might provide a temporary accuracy boost, causal features remained valid even when the underlying data distribution shifted.
- Toolbox Performance: The
CausalFSpackage proved capable of handling datasets with up to 100,000 features (dorothea), filling a major gap in the open-source ecosystem.
Limitations and Future Work
The authors identify several "open frontiers" for the field:
- Low-Quality Data: Most current algorithms assume no missing values and no noise, which is rarely true in the real world.
- Streaming Data: Existing methods usually require the entire dataset upfront. Developing "online" causal selection for data streams is a major challenge.
- Class Imbalance: The evaluation showed that current causal algorithms struggle with highly imbalanced datasets (like infant or bankruptcy), where they often fail to achieve high AUC scores.
- Latent Variables: Dealing with "hidden" causes that aren't measured in the dataset remains a complex theoretical and practical hurdle.
Summary updated