Abstract
Feature Selection (FS) under domain adaptation (DA) is a critical task in machine learning, especially when dealing with limited target data. However, existing methods lack the capability to guarantee the reliability of FS under DA. In this paper, we introduce a novel statistical method to statistically test FS reliability under DA, named SFS-DA (statistical FS-DA). The key strength of SFS-DA lies in its ability to control the false positive rate (FPR) below a pre-specified level $\alpha$ (e.g., 0.05) while maximizing the true positive rate. Compared to the literature on statistical FS, SFS-DA presents a unique challenge in addressing the effect of DA to ensure the validity of the inference on FS results. We overcome this challenge by leveraging the Selective Inference (SI) framework. Specifically, by carefully examining the FS process under DA whose operations can be characterized by linear and quadratic inequalities, we prove that achieving FPR control in SFS-DA is indeed possible. Furthermore, we enhance the true detection rate by introducing a more strategic approach. Experiments conducted on both synthetic and real-world datasets robustly support our theoretical results, showcasing the SFS-DA’s superior performance.
Introduction
In high-stakes machine learning applications such as medical diagnostics or financial forecasting, identifying the underlying features driving a model's prediction is as critical as the prediction itself. Feature Selection (FS) is the standard tool used to find these variables. However, when data in a target domain is scarce, practitioners often employ Domain Adaptation (DA) to "borrow" information from a related source domain, typically using techniques like Optimal Transport (OT).
A significant challenge arises when combining these techniques: performing feature selection on adapted data and subsequently testing for significance on that same data leads to biased results. This "double dipping" causes standard statistical tests to produce invalid p-values, resulting in a high False Positive Rate (FPR). Irrelevant features may appear significant simply because of how the DA process warped the data. To address this, we propose SFS-DA (Statistical Feature Selection after Domain Adaptation), a framework that guarantees statistical reliability by controlling the FPR at a pre-specified level $\alpha$.
Methodology
The core of SFS-DA is the application of the Selective Inference (SI) framework to the joint DA and FS pipeline. Instead of standard p-values, SFS-DA calculates conditional p-values that account for the specific selection process used.
The technical innovation lies in characterizing the "selection event"—the combination of Optimal Transport mapping and Lasso selection—as a series of linear and quadratic inequalities. By solving these, we identify a "truncation region" $\mathcal{Z}$, representing the range of data values that would have led to the same set of selected features. We then adjust the distribution of the test statistic to a truncated Gaussian based on this region, ensuring the resulting p-values are mathematically valid. To maintain computational efficiency, we utilize a divide-and-conquer algorithm to handle the complex selection event.
Experimental Evaluation
We validated SFS-DA using synthetic data and several real-world benchmarks, including medical datasets (Diabetes, Heart Failure), urban planning (Seoul Bike rentals), and high-dimensional bioinformatics data (Riboflavin production with over 4,000 features).
Key findings include:
- Strict FPR Control: In all experiments, SFS-DA consistently maintained the FPR at or below the target threshold (e.g., $\alpha = 0.05$), whereas "naive" methods often exhibited error rates three times higher (~0.15).
- Superior Statistical Power: SFS-DA achieved a significantly higher True Positive Rate (TPR) compared to traditional methods like Data Splitting or Bonferroni correction. While Data Splitting is valid, it sacrifices power by discarding half the data; SFS-DA utilizes the entire dataset while remaining valid.
- Scalability: Despite the mathematical complexity, the algorithm demonstrated practical scalability, processing the high-dimensional Riboflavin dataset (4,088 features) in approximately 70 seconds.
Conclusion
SFS-DA provides a rigorous solution for reliable feature selection in domain adaptation scenarios. By leveraging selective inference, it overcomes the biases introduced by data-dependent selection processes. While currently optimized for Optimal Transport-based DA, future work will explore extending this framework to other DA methods and further optimizing its computational performance for even larger-scale datasets.
Summary updated