Abstract
Feature selection eliminates redundancy among features to improve downstream task performance while reducing computational overhead. Existing methods often struggle to capture intricate feature interactions and adapt across diverse application scenarios. Recent advances employ generative intelligence to alleviate these drawbacks. However, these methods remain constrained by permutation sensitivity in embedding and reliance on convexity assumptions in gradient-based search. To address these limitations, our initial work introduces a novel framework that integrates permutation-invariant embedding with policy-guided search. Although effective, it still left opportunities to adapt to realistic distributed scenarios. In practice, data across local clients is highly imbalanced, heterogeneous and constrained by strict privacy regulations, limiting direct sharing. These challenges highlight the need for a framework that can integrate feature selection knowledge across clients without exposing sensitive information. In this extended journal version, we advance the framework from two perspectives: 1) developing a privacy-preserving knowledge fusion strategy to derive a unified representation space without sharing sensitive raw data. 2) incorporating a sample-aware weighting strategy to address distributional imbalance among heterogeneous local clients. Extensive experiments validate the effectiveness, robustness, and efficiency of our framework. The results further demonstrate its strong generalization ability in federated learning scenarios. The code and data are publicly available: https://anonymous.4open.science/r/FedCAPS-08BF.
Introduction
Feature selection—identifying the most relevant variables in a dataset—is critical for model interpretability and efficiency. However, traditional methods struggle with two major hurdles. First, most methods are sensitive to the arbitrary order of features (permutation bias) or rely on the assumption that the search space is convex, which is rarely true for complex feature interactions. Second, in fields like healthcare or finance, data is often siloed. Sharing raw data to perform global feature selection is a privacy risk, and standard Federated Learning (FL) often fails to capture the diverse feature importance across heterogeneous clients.
To address these limitations, we introduce FedCAPS, a framework that transforms feature selection from a discrete search problem into a continuous, permutation-invariant optimization task. By sharing feature selection "knowledge" (indices and performance scores) rather than raw data, it enables robust, privacy-preserving feature selection across decentralized clients.
Methodology
Permutation-Invariant Feature Subset Embedding
The core of our approach is the CAPS (Centralized) framework. Instead of treating feature subsets as simple lists, we utilize an encoder-decoder architecture based on Induced Set Attention Blocks (ISAB) and Pooling by Multihead Attention (PMA). As shown in Figure 1, this ensures that the embedding of a feature subset remains identical regardless of the order in which features are listed. To maintain efficiency, we use "inducing points" to reduce computational complexity from $O(N^2)$ to $O(NM)$, where $N$ is the number of features and $M$ is a small constant.
Policy-Guided Multi-objective Search
Because the resulting embedding space is non-convex, gradient-based search often gets stuck in local optima. We employ Proximal Policy Optimization (PPO)—a reinforcement learning algorithm—to explore the embedding manifold and identify the optimal feature subset that maximizes performance while minimizing subset length.
Federated Knowledge Fusion (FedCAPS)
In the federated setting, clients do not share raw data. Instead, they share "records" consisting of feature indices and their corresponding local performance scores. The server aggregates these into a global embedding space. As illustrated in Figure 2, we incorporate a sample-aware weighting strategy to handle distributional imbalance among heterogeneous local clients, assigning higher weights to evaluations from clients with larger datasets to ensure statistical stability.
Experimental Results
We evaluated the framework on 14 publicly accessible datasets covering binary classification, multi-class classification, and regression tasks.
- Centralized Superiority: CAPS outperformed 12 baseline methods (including LASSO, mRMR, and GAINS) across almost all datasets. For example, on the SpectF dataset, it achieved an F1-score of 89.71, significantly higher than the original data's 75.96.
- Federated Robustness: FedCAPS consistently beat standard federated baselines like FedAvg and FedProx. In the Openml_616 regression task, FedCAPS achieved a 1-RAE of 48.52, while FedAvg trailed at 34.07.
- Efficiency: The use of inducing points successfully mitigated the quadratic cost of self-attention, making the framework scalable to high-dimensional datasets like UrbanSound (16,000 features).
Conclusion
FedCAPS demonstrates that global feature representation can be learned without raw data sharing by leveraging the "results" of local feature experiments. The integration of permutation-invariant embeddings with RL-based search provides a robust solution for complex feature selection tasks. Future work will explore formal privacy guarantees and adaptation to vertical federated learning scenarios.
Summary updated