Feature selection based on cluster assumption in PU learning

Motonobu Uchikoshi, Youhei AkimotoGECCO 2025

Abstract

In many real-world machine learning applications, such as anomaly detection and medical diagnosis, datasets often consist of a small number of confirmed positive instances and a large volume of unlabeled data. This scenario, known as Positive-Unlabeled (PU) learning, presents significant challenges for traditional feature selection methods. This paper introduces FSCPU (Feature Selection based on Cluster assumption in PU learning), a novel framework that identifies relevant features by leveraging the underlying data structure rather than relying solely on scarce labels. By assuming that positive instances naturally cluster in an optimal feature space, FSCPU remains robust even when the labeling rate is extremely low.

Introduction

Standard supervised feature selection methods typically require a well-labeled dataset containing both positive and negative examples. In PU learning, however, treating unlabeled data as "negative" introduces significant bias, as the unlabeled set contains hidden positives. Conversely, ignoring labels entirely through unsupervised methods discards valuable signal.

FSCPU addresses this gap by utilizing a modified cluster assumption: if a subset of features is truly relevant, the positive instances should form distinct, cohesive clusters. This approach allows the model to navigate the "biased labeling" problem without requiring extensive ground truth, making it ideal for scenarios where labels are expensive or difficult to obtain.

Methodology

1. The Objective Function

The core of FSCPU is an objective function that evaluates feature subsets based on how well they facilitate the clustering of positive data. The framework employs a Gaussian Mixture Model (GMM) to cluster the data and then calculates a score based on the product of recall and precision across these clusters.

A significant theoretical contribution of this work is the proof that this objective function is invariant to the "label drop rate" under the Missing Completely At Random (MCAR) assumption. This means the selection criteria remains mathematically sound and effective whether 40% or only 1% of the positive instances are labeled.

2. Evolutionary Optimization via cGA

Finding the optimal subset of features is a combinatorial problem that is computationally prohibitive for large feature sets. FSCPU utilizes a compact Genetic Algorithm (cGA) to search the feature space. Unlike traditional GAs that maintain a large population of solutions, the cGA evolves a probability vector. Each element in the vector represents the likelihood that a specific feature should be included in the optimal set. This approach reduces memory overhead while effectively converging on high-performing feature subsets.

3. The Repair Operator

To accommodate practical constraints where a specific "feature budget" (e.g., selecting exactly $k$ features) is required, the authors implemented a repair operator. During the evolutionary process, if a candidate solution selects more features than the budget allows, the operator uses the current probability parameters to intelligently flip bits back to zero. This ensures the search remains focused on the most promising features within the defined constraints.

Experimental Evaluation

Datasets

The researchers evaluated FSCPU using both synthetic and real-world benchmarks:

  • Synthetic Datasets: 10 configurations featuring 50 variables (25 relevant, 25 noise) were used to test the method against multi-modality and varying label scarcity.
  • Real-World Benchmarks: The study utilized Spambase (email classification), Ionosphere (radar data), and RT-IoT2022 (IoT network intrusion detection).

Key Results

  • Robustness to Label Scarcity: On synthetic data with only a 10% labeling rate, FSCPU achieved a Feature Selection Recall (FSR) of 0.92. In contrast, supervised baselines like K-Best and Lasso dropped to 0.67 and 0.78, respectively.
  • Competitive Performance: On the Spambase and RT-IoT datasets, FSCPU achieved AUC scores of 0.844 and 0.910. These results are competitive with, and often superior to, established semi-supervised and reinforcement learning-based feature selectors.
  • Feature Convergence: Analysis of the cGA's probability parameters confirmed that relevant features consistently saw their probabilities move toward 1.0, while noise features were successfully discarded (moving toward 0.0).

Discussion and Limitations

While FSCPU demonstrates high efficacy in label-scarce environments, its success is inherently tied to the cluster assumption. If the underlying data structure does not allow positives to cluster—for instance, if positives are scattered outliers—the method's performance degrades. The authors noted that if negative data is too concentrated, it can occasionally "swallow" positive clusters, hindering separation.

Furthermore, the computational complexity of the search process is a notable trade-off. On the Spambase dataset, FSCPU required over two hours to complete, whereas simpler filter methods finished in under a minute. Future work will focus on accelerating the search strategy and developing mechanisms to detect the validity of the cluster assumption before execution.

Conclusion

FSCPU represents a significant step forward for feature selection in PU learning. By shifting the focus from individual labels to the global data structure, it provides a theoretically grounded and robust solution for identifying relevant variables in the "dark" of unlabeled data. Its invariance to label drop rates makes it a powerful tool for modern data science applications where complete labeling is rarely a reality.

Summary updated

BibTeX
@inproceedings{uchikoshi2025feature,
  author = {Motonobu Uchikoshi and Youhei Akimoto},
  title = {{Feature selection based on cluster assumption in PU learning}},
  booktitle = {GECCO},
  year = {2025},
}
Figure