Abstract
Small-sample datasets with high dimension often contain many redundant, irrelevant, and noisy features, leading to exponentially large search spaces, unstable population initialization, and insufficient use of task-related prior knowledge during evolutionary search. To address these issues, we propose CA-SAE-BPSO, a class-aware sparse autoencoder-assisted binary particle swarm optimization method with dynamic feature-prior guidance. First, a class-aware sparse autoencoder is trained by jointly optimizing reconstruction loss, classification loss, and sparsity regularization to learn task-relevant feature representations and derive class-discriminative feature priors. These priors guide a hybrid initialization strategy designed to exploit task-related information while retaining randomly generated alternatives. During evolution, the learned priors are dynamically fused with population-level feature selection frequencies so that the search gradually shifts from externally learned knowledge to population-accumulated search experience. A composite fitness function jointly considering balanced accuracy, subset size, and inter-feature redundancy is further introduced, together with a budget-limited single-bit-flip local refinement strategy. When features were selected using the full dataset before classifier cross-validation, CA-SAE-BPSO achieved the highest mean balanced accuracy on four of eight datasets and the lowest mean rank (2.5000) among nine methods. In a separate five-fold outer-test evaluation, in which test folds were excluded from feature selection, it obtained the lowest mean rank (3.6875) and shared the highest mean balanced accuracy on two datasets. The Friedman test did not detect an overall difference in the outer-test evaluation.
1. Introduction
The rapid development of high-throughput sequencing, biomedical sensing, and large-scale data acquisition technologies has led to the widespread emergence of high-dimensional data in bioinformatics, disease diagnosis, and pattern recognition [1]. A representative example is gene-expression analysis, where the number of measured features can reach thousands or even tens of thousands, whereas the number of available samples is often comparatively limited [2]. Such high-dimensional and small-sample settings pose substantial challenges to statistical learning. In particular, the presence of numerous irrelevant, redundant, and noisy features not only increases computational complexity but also aggravates model overfitting and may deteriorate both predictive performance and model interpretability [3,4]. Feature selection (FS), which aims to identify a compact subset of informative variables from the original feature space, therefore provides an effective means of alleviating the curse of dimensionality while improving the efficiency and generalization capability of downstream learning models [5].
Existing FS methods can generally be categorized into filter, embedded, and wrapper approaches [6]. Filter methods evaluate feature relevance using data-dependent criteria independently of a specific predictive model and are therefore generally computationally efficient. Recent studies have extended conventional univariate ranking toward more sophisticated multivariate and task-sensitive criteria. For example, Pham et al. [7] propose an attention-inspired filter-based method for tabular data to estimate feature importance without embedding feature selection into a specific downstream learner, whereas Ma and Lu [8] develop a class-specific filter method based on neighborhood mutual information and relevance-redundancy weighting to characterize feature importance for different classes. Nevertheless, because filter-based selection is performed separately from model training, the selected features are not explicitly optimized with respect to the learning mechanism of a particular predictive model. Embedded methods, in contrast, integrate feature selection directly into the model-training process, enabling feature importance to be optimized jointly with predictive model parameters. Recent developments include the sparse-rule-based TSK framework proposed by Gong et al. [9], which embeds feature selection into the learning of a high-dimensional fuzzy classifier, and the generalized classifier neural network developed by Naik and Kuppili [10], which performs embedded feature selection while modeling nonlinear relationships in high-dimensional cancer data. Such methods can exploit model-specific discriminative information more directly than filter approaches, but the resulting feature subsets are typically coupled to the underlying learning model. In contrast, wrapper methods evaluate candidate feature subsets according to the performance of a downstream classifier, enabling feature dependencies and task-specific subset quality to be considered explicitly [11]. Nevertheless, wrapper-based FS requires searching an exponentially expanding combinatorial space, making exhaustive optimization infeasible for high-dimensional problems. Consequently, evolutionary and swarm-intelligence algorithms have attracted considerable attention because of their global search capabilities [12]. Among them, binary particle swarm optimization (BPSO) has been widely adopted for FS owing to its simple implementation and natural binary representation of feature subsets. Kamal et al. [13] conduct a systematic review of meta-heuristic feature selection algorithms in high-dimensional data, summarizing the application characteristics, existing challenges, and future research directions of different algorithms.
Existing studies have improved particle-swarm-based feature selection mainly from the perspectives of search-space restructuring, population construction, and search-mechanism enhancement. To alleviate the combinatorial complexity of high-dimensional search spaces, Yang et al. [14] combine information gain with grouped particle swarm optimization, where feature grouping is employed to reduce the effective search complexity. Song et al. [15] develop a variable-size cooperative coevolutionary particle swarm optimization method in which multiple subpopulations collaboratively search for informative feature subsets in high-dimensional spaces. From the perspective of population construction and local refinement, Osei-Kwakye et al. [16] introduce clustering-based initialization and a hybrid search mechanism to enhance population diversity. Farek and Benaidja [17] incorporate filtering and local search into an adaptive BPSO framework to improve feature selection for text classification. Song et al. [18] propose MIBBPSO, where mutual information is used for both population initialization and local search, together with addition, deletion, and adaptive bit-flipping operators to refine candidate feature subsets. In addition to directly modifying the evolutionary search process, several studies have focused on reducing evaluation cost or restructuring the search landscape. Hu et al. [19] propose a multi-surrogate-assisted BPSO method, in which surrogate models approximate the fitness of candidate solutions in different subpopulations, thereby reducing the computational burden of wrapper-based evaluation. From a multimodal optimization perspective, Hu et al. [20] further investigate feature selection through niching-based search to identify multiple candidate subsets with comparable classification performance. Hu and Zhu [21] develop a filter–wrapper framework that first ranks features using information gain and Fisher score and subsequently employs adaptive strategies to guide population search and position updating. Overall, these studies have substantially enhanced the search capability of particle-swarm-based feature selection through search-space decomposition, population initialization, cooperative search, surrogate-assisted evaluation, and local refinement. Nevertheless, most of these improvements primarily focus on the efficiency and search behavior of the evolutionary optimizer itself. For methods that still rely on random or weakly informed initialization, the quality of the initial population may remain unstable in high-dimensional spaces. Moreover, particle updating is generally dominated by each particle’s personal best and swarm-level best solutions, while task-dependent discriminative structures contained in the original data are not always sufficiently exploited. This motivates the extraction of more task-relevant feature information from the data and its effective integration into the subsequent evolutionary feature-subset search.
To provide evolutionary search with data-dependent prior information, existing studies have employed either filter-based evaluation criteria or representation-learning approaches to estimate feature importance [22]. Filter methods such as mutual information and ReliefF are computationally efficient and can characterize statistical associations between input features and class labels. However, when such criteria are directly converted into feature-wise importance scores, the resulting priors tend to emphasize individual or locally estimated discriminative relevance, while complex feature dependencies and task-dependent joint discriminative structures may not be fully represented [23]. Vergara et al. [24] systematically review mutual-information-based feature selection methods and highlight the importance of feature relevance, redundancy, and complementarity in identifying informative subsets. These observations suggest that feature relevance alone may be insufficient to fully characterize the discriminative information structure of high-dimensional data. Compared with predefined statistical criteria, representation learning provides an alternative data-driven mechanism for estimating feature importance. Autoencoders can capture latent structures in high-dimensional observations and have therefore been employed for feature weighting and selection. Li et al. [25] develop an explainable autoencoder-based framework to characterize the contributions of input genes to learned latent representations, whereas Sun et al. [26] incorporate redundancy regularization and sparsity constraints into an autoencoder to improve unsupervised feature selection. Nevertheless, these approaches are primarily driven by data reconstruction or structure-preservation objectives, without explicitly incorporating class supervision into representation learning. Consequently, feature importance derived from the learned latent representations is not necessarily well aligned with the discriminative objective of the downstream classification task [27]. This motivates the explicit integration of class supervision into representation learning so that feature priors can preserve intrinsic data structure while being more closely aligned with the target classification task.
An equally important issue concerns how learned feature priors are incorporated into evolutionary search. Existing studies have demonstrated that prior feature information can benefit population initialization, search-space adaptation, and leader selection. For example, ISBPSO employs mutual-information-based feature weights to initialize the population and progressively reduces the search space through dynamic bit masks [28]. Feature-label mutual information has also been used to establish adaptive thresholds and guide global-leader selection in multi-objective PSO [29]. These studies confirm the usefulness of data priors. However, the priors are commonly constructed from predefined statistical criteria and are often injected into the search using predetermined or relatively static strategies. A learned prior should not necessarily be regarded as equally reliable throughout the entire optimization process. In the early evolutionary stage, when limited search experience is available, task-related prior knowledge can provide valuable directional information. As evolution proceeds, however, the population itself accumulates information regarding promising feature combinations. Excessive reliance on the original prior may consequently restrict exploration and prevent the optimizer from discovering complementary feature interactions that are not fully captured by feature-wise relevance estimates. This observation suggests that effective evolutionary FS should enable a progressive transition from externally learned feature knowledge to internally accumulated swarm experience, rather than treating prior information as an invariant source of guidance.
In addition to search guidance, the evaluation criterion used for candidate feature subsets directly affects the optimization direction of evolutionary search and the composition of the final solution. Existing wrapper-based and multi-objective feature selection methods commonly regard predictive performance and subset cardinality as two major criteria for assessing candidate solutions. Zanjani et al. [30] compare several population-based multi-objective feature selection methods and further demonstrated the importance of jointly considering classification performance and the number of selected features. Similarly, many wrapper-based approaches evaluate candidate subsets through either weighted combinations or multi-objective formulations involving predictive performance and subset size [18,31,32,33]. For example, Xue et al. [32] formulate classification error and the number of selected features as two independent objectives and employed multi-objective particle swarm optimization to obtain candidate subsets with different levels of complexity. Cinar [33] systematically compares several fitness formulations constructed from classification accuracy and feature-selection ratio to investigate how different trade-offs affect the resulting feature subsets. Although these evaluation strategies can establish an effective trade-off between predictive performance and subset compactness, controlling subset cardinality alone does not necessarily ensure information complementarity among the selected features. Highly correlated features may still be retained simultaneously, resulting in information overlap and limited additional discriminative contribution. Therefore, explicitly incorporating inter-feature redundancy into candidate-subset evaluation, in addition to classification performance and subset size, can discourage the repeated selection of highly correlated variables and promote more compact feature subsets with stronger information complementarity.
We propose CA-SAE-BPSO, a class-aware sparse autoencoder-assisted binary particle swarm optimization framework with dynamic feature-prior guidance, for high-dimensional feature selection. The framework integrates class-aware sparse representation learning with a dynamically guided binary particle swarm search. The central idea is to establish a coherent information flow between task-aware representation learning and evolutionary subset search. A class-aware sparse autoencoder (CA-SAE) is first developed to jointly learn data reconstruction and class discrimination under sparsity regularization, from which feature-level priors reflecting both representation contribution and classification relevance are derived. Rather than using these priors solely as a preprocessing filter, they are incorporated into both population initialization and subsequent particle evolution. During optimization, the learned priors are dynamically integrated with population-level feature selection frequencies, allowing the dominant source of search guidance to gradually shift from offline learned task knowledge toward online swarm-derived experience. Candidate subsets are further evaluated using a composite criterion incorporating balanced classification performance, subset cardinality, and inter-feature redundancy, while a lightweight single-bit-flip local refinement strategy is employed to refine promising solutions. In this manner, the proposed framework links task-aware prior learning, evolutionary knowledge accumulation, and compact subset optimization within a unified search process. The main contributions of this study are summarized as follows:
- (1)
- A class-aware feature-prior learning mechanism is developed for high-dimensional FS. Unlike conventional sparse autoencoders (SAEs) that primarily emphasize reconstruction, the proposed CA-SAE jointly optimizes reconstruction loss, classification loss, and sparsity regularization. Feature-level task priors are subsequently derived by combining the contribution of the encoding paths with information from the classification branch, thereby improving the alignment between learned feature importance and the downstream classification objective.
- (2)
- A dynamic prior-to-population guidance mechanism is introduced into BPSO. The learned feature priors are first exploited through a hybrid population initialization strategy to improve initial solution quality while retaining population diversity. During evolution, these priors are progressively fused with population-level feature selection frequencies and incorporated into particle updates. This mechanism enables the search to transition from externally learned task knowledge in the early stage toward internally accumulated swarm experience in later stages, thereby establishing a dynamic coupling between representation learning and evolutionary optimization.
- (3)
- A redundancy-aware subset evaluation and lightweight refinement strategy is constructed. A composite fitness function jointly considers balanced classification performance, subset cardinality, and inter-feature redundancy to favor compact and complementary feature subsets. A single-bit-flip local refinement mechanism is further applied to the current global-best solution, allowing the subset size to increase or decrease by one. Experiments on eight public datasets, together with parameter analysis, ablation studies, and statistical tests, are conducted to systematically evaluate the effectiveness of the proposed framework.
The remainder of this paper is organized as follows. Section 2 reviews the fundamental principles of BPSO and SAE. Section 3 presents the proposed CA-SAE-BPSO framework. Section 4 reports the experimental results and analysis. Section 5 discusses the scope of the two evaluation protocols and the limits of the current ablations. Finally, Section 6 concludes the paper.
2. Preliminaries
2.1. Binary Particle Swarm Optimization
BPSO extends conventional particle swarm optimization to discrete binary search spaces and is therefore particularly suitable for combinatorial optimization problems such as feature selection [34,35]. Consider a dataset containing M samples and D original features. The position of the ith particle at the tth iteration is defined as
where t denotes the iteration index, indicates that the jth feature is selected by the ith particle, and indicates that the corresponding feature is excluded. Therefore, each particle represents a candidate feature subset in the original D-dimensional feature space. At the th iteration, the velocity of the ith particle along the jth dimension is updated as
where denotes the velocity of the ith particle along the jth dimension. is the inertia weight controlling the preservation of the previous search trajectory. and denote the cognitive and social learning coefficients, respectively. and are independent random variables uniformly distributed over . represents the jth component of the personal-best position of the ith particle, and denotes the corresponding component of the global-best position. The three terms in (2) characterize the influence of the previous motion state, individual search experience, and swarm-level search experience, respectively. Because the velocity variable is continuous whereas the particle position is binary, a transfer function is required to convert each velocity component into a feature-selection probability. The standard sigmoid transfer function is defined as
where represents the probability associated with selecting the jth feature for the ith particle. Accordingly, the binary position of each particle is updated according to
where is independently sampled from a uniform distribution over . Through repeated velocity updating, probabilistic position generation, and candidate-subset evaluation, the swarm progressively explores the discrete feature space and moves toward feature subsets with improved fitness values.
Although standard BPSO provides an effective stochastic mechanism for discrete feature-subset search, its evolutionary dynamics are mainly governed by the previous velocity, personal-best information, and global-best information. In high-dimensional feature selection, these search signals do not explicitly encode the task-dependent importance of individual input features. Consequently, the search process may suffer from unstable initialization and insufficient utilization of discriminative information contained in the observed data. This limitation motivates the incorporation of learned task-relevant feature priors into both population initialization and subsequent particle updating.
2.2. Sparse Autoencoder
An autoencoder (AE) is a neural representation-learning model that aims to encode high-dimensional observations into latent representations from which the original inputs can subsequently be reconstructed. A conventional AE consists of an encoder and a decoder. For the nth input sample , the latent representation generated by the encoder is defined as
where and denote the encoder weight matrix and bias vector, respectively. represents a nonlinear activation function, and is the latent representation of the nth input sample. The decoder reconstructs the original input from the latent representation, which is expressed as
where and denote the decoder weight matrix and bias vector, respectively. is the decoder activation function, and represents the reconstructed input sample. The reconstruction objective evaluates the discrepancy between the original observations and their reconstructed counterparts. Using the mean squared error, the reconstruction loss is defined as
where N denotes the number of training samples. Minimizing encourages the latent representation to retain the information required for reconstructing the dominant structure of the original input data. To further enhance the representation capability of conventional AEs, SAEs introduce an additional sparsity constraint on hidden-unit activations [36,37]. Let the empirical average activation of the kth hidden unit be defined as
where denotes the activation value of the kth hidden unit for the nth input sample and represents its empirical average activation over the training set. Given a predefined target sparsity level , the discrepancy between the desired and empirical activation levels can be quantified using the Kullback–Leibler (KL) divergence. The sparsity regularization term is formulated as
where H denotes the number of hidden units, is the predefined sparsity target, and represents the empirical average activation of the kth hidden unit. The sparsity regularization discourages persistent activation of all latent units and promotes a more selective representation of the input information. Accordingly, the conventional SAE objective is formulated by jointly considering reconstruction fidelity and sparsity regularization as
where denotes the regularization coefficient controlling the contribution of the sparsity constraint. By minimizing (10), the SAE learns a compact latent representation that preserves information required for reconstructing the original observations while encouraging sparse hidden activations.
Nevertheless, reconstruction fidelity and sparsity alone do not explicitly require the learned representation to be discriminative with respect to class labels. Consequently, a feature that contributes substantially to reconstructing the input distribution is not necessarily informative for the downstream classification task. This distinction is particularly important in the proposed framework, where the representation-learning module is expected not merely to compress the original data but also to provide task-relevant feature priors for evolutionary feature selection.
Remark 1.
BPSO searches feature combinations, whereas SAE learns representations of the input data. The proposed framework connects these roles by deriving class-aware feature priors and incorporating them into population initialization and particle updating.
3. Proposed CA-SAE-BPSO Framework
3.1. Overall Framework
Figure 1 summarizes the two-stage CA-SAE-BPSO framework. First, CA-SAE learns a feature-prior vector from reconstruction, classification, and sparsity objectives. Second, BPSO uses this prior for hybrid initialization and dynamic particle guidance. The guidance combines the fixed learned prior with feature frequencies in the evolving population. Candidate subsets are assessed through a composite fitness, and sequential single-bit-flip trials refine the global best.
Figure 1.
Overall framework of the proposed CA-SAE-BPSO method. Task-aware feature priors are first learned by CA-SAE and transferred to the evolutionary search through prior-guided initialization and progressive prior-to-population fusion. Candidate subsets are optimized using redundancy-aware fitness evaluation and budget-limited local refinement. The outer test fold shown here is reserved for final assessment in the supplementary fold-wise evaluation. It is not used to learn the feature prior or select the subset.
3.2. Task-Aware Feature-Prior Learning via CA-SAE
A conventional SAE primarily learns latent representations by preserving reconstruction information, whereas reconstruction relevance does not necessarily imply discriminative relevance to the target classification task. To reduce this discrepancy, a classification branch is incorporated into the SAE, resulting in the proposed CA-SAE. The classification branch serves as an auxiliary source of supervision during representation learning and is subsequently exploited, together with the encoder parameters, to construct feature-level task priors. The CA-SAE consists of an encoder, a symmetric decoder, and an auxiliary classification branch, as illustrated in Figure 2. For an input sample , the encoder maps the original D-dimensional observation into a low-dimensional bottleneck representation . The numbers of neurons in the two encoding layers are defined as
where and denote the numbers of neurons in the first encoding layer and bottleneck layer, respectively. The decoder adopts a symmetric structure to reconstruct the original input from . Meanwhile, the classification branch is connected directly to the bottleneck representation, and its predicted class-probability vector is expressed as
where and denote the weight matrix and bias vector of the classification branch, respectively, and represents the predicted class-probability vector of the nth sample. The hidden layers employ ReLU activation functions, and a dropout rate of is used to alleviate overfitting. Unlike a conventional SAE, the proposed CA-SAE learns the latent representation under both reconstruction and class-discriminative supervision.
Figure 2.
Architecture of the proposed CA-SAE. The auxiliary classification branch introduces class supervision into sparse representation learning and is used jointly with the encoder parameters to derive task-aware feature priors. Label (1) denotes the CA-SAE architecture and joint training using reconstruction, classification, and sparsity losses. Label (2) denotes post-training feature-prior extraction, in which encoder-based and class-dependent weight contributions are fused and normalized to obtain feature-prior weights.
The Bernoulli KL sparsity expression requires its activation argument to lie strictly between zero and one. ReLU activations do not guarantee this condition. The numerical treatment used in the supplementary implementation is therefore disclosed separately in Section 4.5.2. It is not assumed to be mathematically equivalent to the implementation without clipping.
To simultaneously preserve the intrinsic structure of the input data, incorporate class-discriminative supervision, and maintain sparse latent representations, the CA-SAE training objective is formulated as
where and denote the reconstruction loss and sparsity regularization term, respectively. is the classification loss, and and control the relative contributions of class supervision and sparsity regularization. For a training set containing N samples from C classes, the classification loss is defined using cross-entropy as
where denotes the ground-truth indicator specifying whether the nth sample belongs to class c, and represents the corresponding class probability predicted by the auxiliary classification branch. By jointly minimizing (13), the learned bottleneck representation is encouraged to preserve structural information required for reconstruction while simultaneously incorporating discriminative information associated with the downstream classification task.
After CA-SAE training, the learned network parameters are exploited to quantify the relative contribution of each original feature. Rather than directly using the CA-SAE classifier for final prediction, the classification branch is employed only as an auxiliary supervisory mechanism for learning task-related feature importance. For the jth original feature, its accumulated contribution through the encoding pathway is defined as
where denotes the connection weight from the jth input feature to the kth neuron in the first hidden layer, and is the connection weight from the kth neuron in the first hidden layer to the mth bottleneck neuron. Absolute weight magnitudes are used because the objective here is to characterize contribution strength rather than the direction of the corresponding influence. The class-aware contribution of the jth input feature is subsequently defined as
where denotes the weight connecting the mth bottleneck neuron to the cth output class. The quantity therefore measures the overall contribution of the mth bottleneck neuron to class prediction. The two complementary importance measures are then fused to form an unnormalized task-aware feature prior, which is given by
where determines the relative contribution of representation information and class-discriminative information. The reference setting assigns coefficients of 0.6 and 0.4 to the encoder-only and class-dependent scores, respectively. Because these scores are fused before normalization and may differ in scale, the coefficients do not specify their effective contributions to the resulting prior. The normalized task-aware feature prior is subsequently defined as
where represents the normalized prior importance of the jth feature. The complete feature-prior vector is denoted by . The stabilizing constant prevents division by zero. An all-zero unnormalized vector remains zero.
The preceding softmax formulation describes a general classification head. The archived binary implementation instead uses a single classification logit and a binary classification loss. Its feature-prior readout therefore uses the single-head weight vector specified below. For the binary implementation, the classification loss is
where is the classification logit and is the sigmoid function. The loss is evaluated using a numerically stable logit-based implementation.
The corresponding feature-prior readout is expressed in matrix form as follows. Let and denote the encoder weight matrices in implementation storage order, and let denote the binary classification-head weight vector. The two contributions are expressed by
The implementation combines the raw contributions as before applying the single normalization above. It does not normalize the two contributions separately. The readout provides a nonnegative heuristic search preference rather than causal feature importance. Its magnitude depends on network parameterization and term scales. The fusion coefficient is therefore a reference setting, not a theoretically optimal value.
It should be emphasized that CA-SAE is not used as the final classification model. Its classification branch provides auxiliary supervision during representation learning. After is obtained, the CA-SAE classification head is discarded, and candidate subsets are evaluated by the classifier used in the wrapper objective. This separation of models does not, by itself, imply statistically independent validation. Independence depends on the placement of preprocessing, prior learning and feature selection within the evaluation protocol. The training and feature-prior extraction procedure is summarized in Algorithm 1.
| Algorithm 1 Task-Aware Feature-Prior Learning via CA-SAE |
|
3.3. Dynamic Feature-Prior-Guided BPSO
The task-aware feature priors generated by CA-SAE provide informative guidance before evolutionary optimization begins. However, maintaining a fixed dependence on these priors throughout the entire search may excessively constrain exploration because feature-wise relevance learned before evolution does not necessarily characterize all beneficial feature combinations. Conversely, the population progressively accumulates information regarding promising feature combinations as evolution proceeds. Accordingly, the proposed CA-SAE-BPSO dynamically integrates the externally learned feature prior with population-derived search information. Conventional BPSO generally initializes particle positions randomly, which may result in poor and highly variable starting points in high-dimensional search spaces. To exploit task-aware information without sacrificing population diversity, a hybrid initialization strategy is introduced. For approximately of the population, the probability of selecting the jth feature is defined as
where denotes the normalized task-aware prior of the jth feature, is the mean prior weight, D is the original feature dimension, and is a small constant used to avoid division by zero. Before probability clipping, the scaling factor uses as a nominal reference for the expected initial subset size. The subsequent probability floor of 0.05 can increase the expected cardinality, so this reference is not a hard upper bound on the number of selected features. The operator restricts the selection probability to the interval .
where indicates that the jth feature is initially selected by particle i. The remaining of particles are initialized randomly, with each feature independently selected with probability . The prior-guided particles provide informed starting solutions, whereas the randomly generated particles preserve population diversity and retain the possibility of exploring regions insufficiently emphasized by CA-SAE. To continuously exploit learned feature knowledge while allowing evolutionary experience to become increasingly influential, the task-aware prior is dynamically fused with population-level feature selection information. At iteration t, the selection frequency of the jth feature in the current population is defined as
where denotes the population size and denotes the binary selection state of the jth feature in particle i at iteration t. Therefore, characterizes how frequently the jth feature is retained by the current population. The contribution of the externally learned feature prior is controlled by a linearly decreasing coefficient, which is defined as
where denotes the maximum number of iterations, while and denote the initial and final prior coefficients, respectively. Accordingly, the dynamic feature-guidance value for the jth feature is formulated as
where represents the task-aware prior learned before evolutionary search, and represents the feature-selection experience accumulated by the current population. The resulting guidance vector is normalized by dividing each component by the maximum component of the fused vector, and the normalized vector is denoted by , where . In the early stage, the relatively large value of gives the learned prior a larger coefficient than the population frequency in the fused guidance vector. As evolution proceeds, the contribution of gradually decreases and that of the population frequency increases. The mechanism therefore implements a progressive transition from externally learned task knowledge to internally accumulated swarm experience rather than imposing a static feature ranking throughout evolution. To transfer the dynamically fused feature information into the BPSO search dynamics, an additional guidance term is introduced into the standard velocity equation. The inertia weight is linearly decreased according to
where and denote the initial and final inertia weights, respectively. The velocity of particle i along dimension j is then updated as
where denotes the jth dimension of the personal-best position of particle i. is the jth dimension of the global-best position. , , and are independently generated random variables uniformly distributed over . are the cognitive and social learning coefficients. controls the contribution of dynamic feature-prior guidance, and denotes the normalized dynamic guidance associated with the jth feature.
The first three terms in (27) correspond to the conventional inertia, cognitive, and social components of BPSO, respectively. The fourth term adjusts the particle velocity according to the difference between the dynamic guidance value and the current binary position. Therefore, the dynamic feature-prior information guides particles toward feature dimensions with larger guidance weights, rather than directly adding a fixed positive selection bias. After velocity updating, particle positions are generated using the sigmoid transfer function and binary position-update rule defined in (3) and (4).
Effective feature selection should not only preserve predictive information but also control subset complexity and suppress redundant variables. Accordingly, the quality of a candidate feature subset P is evaluated using a composite fitness function defined as
where is the balanced accuracy obtained using subset P. denotes the number of selected features. and represent the subset-size penalty coefficient and diversity reward coefficient, respectively. Balanced accuracy is evaluated using three-fold stratified cross-validation during the evolutionary search, thereby reducing the dominance of majority classes when class distributions are imbalanced. To penalize information overlap among selected features, the diversity term is defined as
where denotes the Pearson correlation coefficient between the ath and bth selected features. For exact evaluation, a larger value of indicates lower mean absolute correlation among the selected features. The normalized term penalizes subset size. A singleton subset is assigned , and an empty subset is invalid.
To reduce the cost of repeated correlation evaluations, the fixed-diversity rule assigns a diversity value of 1 to subsets containing more than 3000 features. This is an implementation approximation rather than an estimate that such subsets have maximal diversity. Because the diversity term enters fitness additively, the fixed-value rule can introduce a reward transition at the threshold. The original rule and an exact blockwise implementation are assessed separately in Section 4.6. The blockwise implementation evaluates the same pairwise-correlation definition without constructing the complete selected-subset correlation array at once.
To enhance local exploitation in the later stage of the search, a single-bit-flip local refinement strategy is applied to the current global-best solution, as illustrated in Figure 3. The local search is activated when and . Once triggered, the current global-best solution is used as the local best solution. Twenty candidate solutions are generated sequentially. For each candidate, one feature position is selected randomly and its binary state is flipped from 0 to 1 or from 1 to 0. The candidate replaces the local best solution only when its composite fitness is improved. After the 20 trials, the global-best solution is updated only if the resulting local best solution is better. Each trial changes subset cardinality by exactly one relative to the current local incumbent. Because accepted trials update that incumbent sequentially, a complete local-search event can produce a net change of more than one feature. The complete CA-SAE-BPSO procedure is summarized in Algorithm 2.
| Algorithm 2 The Proposed CA-SAE-BPSO |
|
Figure 3.
Single-bit-flip local refinement strategy. At each local-search event, candidate solutions are generated by flipping one randomly selected feature bit, and the local best solution is updated only when the composite fitness is improved.
3.4. Computational Complexity
The computational cost of CA-SAE-BPSO mainly arises from task-aware prior learning, evolutionary particle updating, wrapper-based fitness evaluation, and local refinement. Considering the network architecture, the dominant computational complexity of CA-SAE training can be expressed as
where E denotes the number of training epochs. Constant factors associated with the symmetric decoder and backpropagation are omitted in the asymptotic expression. For the evolutionary stage, the operations required to compute population frequencies and update particle velocities and positions have a complexity of per iteration. If the average number of selected features is denoted by k, the correlation-based diversity term requires pairwise operations of order for each candidate subset. Let denote the cost of the classifier-based cross-validation procedure used to evaluate a k-feature subset. The dominant complexity of the evolutionary stage is therefore expressed as
The local refinement strategy is activated from iteration onward whenever . At each activation, up to 20 single-bit-flip candidate solutions are evaluated sequentially. If L local-search events occur, local refinement adds at most candidate evaluations. The fixed trial limit bounds the additional number of wrapper evaluations, while single-bit moves provide local exploration around the incumbent solution. This schedule is a computational-budget choice rather than a claim of optimality. Its relative overhead depends on the population size, the activation schedule, subset dimensionality, and classifier-evaluation cost. The evolutionary-stage bound excludes the one-time construction of the dense feature-correlation matrix, which takes time and storage for N training samples and D candidate features. Prior training, correlation estimation, and repeated classifier fitting therefore contribute separately to the pipeline cost.
4. Experimental Results and Analysis
The experiments assess predictive performance, subset compactness, and computational cost across eight public datasets. The comparisons cover evolutionary, ranking, embedded, and hybrid methods. Ablations and sensitivity analyses assess the individual components, and matched experiments test the redundancy approximation above 3000 features. Results from full-dataset feature selection and held-out assessment are reported separately because the protocols answer different questions.
4.1. Experimental Setup
4.1.1. Benchmark Datasets
To compare predictive performance and subset compactness across different data types, we use eight public benchmarks. Table 1 summarizes the source datasets. We treat all evaluated tasks as binary. For Isolet, we convert the 26-class task into a binary one by treating letter A as the positive class and the remaining letters as the negative class. We use balanced accuracy (BA) to give equal weight to class-specific recall and report the average number of selected features separately. Under full-dataset selection, we select features before classifier cross-validation. Under outer-test evaluation, we select features using only the outer training partition and reserve the corresponding outer test fold for final assessment.
Table 1.
The characteristics of the benchmark datasets.
4.1.2. Comparison Methods and Parameter Settings
The comparison includes BBPSO, BPSO, CSO, CCSO, AaC, NES, QuickSelection, All-input, and CA-SAE-BPSO. Table 2 lists the settings. AaC ranks features by approximate mutual information [38], QuickSelection uses an autoencoder [39], and NES combines feature filtering with backward elimination [40]. For the full-dataset protocol, feature selection precedes five repeats of five-fold stratified classifier cross-validation, and results are summarized across 30 runs. These scores measure classifier performance on fixed subsets, not independent out-of-sample performance of the entire pipeline. Population methods report 100 recorded search positions, whereas NES follows a finite elimination path.
Table 2.
Baseline settings.
For AaC, we discretize continuous features at training quantiles 0.2000, 0.4000, 0.6000, and 0.8000. We choose among 5, 10, 25, 50, and 100 features, capped at the input dimension, by mean three-fold BA and prefer smaller subsets in ties. Ranking is fitted within each training split and refitted on the fixed input after configuration selection. For NES, we average random-forest and extra-trees importances using 100 trees per ensemble and limit the random forest to depth 2. The filter retains scores above the twenty-first largest score. Backward elimination continues to two features at seed 0. Across runs, we vary the filtering seed and choose the highest out-of-bag score along the elimination path, preferring smaller subsets in ties rather than using a graphical elbow.
Publication years refer to the cited method versions. AaC retains the published ranking procedure, with discretization, subset-size selection, and evaluation adaptations described above. All-input is a reference without feature selection.
4.2. Comparative Performance
4.2.1. Classification Performance
To compare predictive performance under full-dataset feature selection, we evaluate nine methods on the same eight benchmarks. Table 3 reports mean BA, and Figure 4 visualizes the same values. To compare the direction of dataset-level differences against each baseline, we summarize wins, ties, and losses in Figure 5. We count ties after rounding mean BA to two decimal places on the percentage scale. In the BA and feature-count tables, bold marks the highest mean BA or lowest mean feature count, respectively, including ties at the displayed precision. Statistical ranks use values before display rounding.
Table 3.
Mean BA after full-dataset feature selection.
Figure 4.
Visual comparison of mean balanced accuracy under full-dataset feature selection.
Figure 5.
Win–tie–loss counts across datasets.
CA-SAE-BPSO achieves the highest mean BA on Isolet, Prostate, Sonar, and TCGA-BRCA. CCSO leads on Hill-Valley, AaC on DLBCL and Leukemia, and QuickSelection on TCGA-LUAD. AaC achieves 95.29% and 95.93% BA on DLBCL and Leukemia, respectively, exceeding CA-SAE-BPSO by 10.03 and 8.22 percentage points. It also selects fewer features on both datasets (60.5000 versus 536.30 and 55.50 versus 1162, respectively). The win–tie–loss results describe the direction of differences, not statistical significance. We report the separate outer-test results in Section 4.5.4. Table 4 summarizes ranks calculated from dataset mean BA values before display rounding, with average ranks assigned to ties. Numerical aggregation noise is removed before ranking.These ranks complement the win–tie–loss counts by comparing all nine methods jointly.
Table 4.
Mean ranks across eight datasets.
Using the eight datasets as blocks, the nine-method Friedman test gives with eight degrees of freedom and an asymptotic . CA-SAE-BPSO obtains the lowest average rank of 2.5000, followed by CCSO and BPSO with ranks of 3.5000 and 3.7500, respectively. An omnibus rejection does not establish superiority over every competing method. The all-pairs Nemenyi procedure at gives a critical difference of 4.2472. Among comparisons involving CA-SAE-BPSO, the rank differences against NES and BBPSO exceed this threshold. Their respective rank differences are 4.5000 and 4.2500, with adjusted p-values of 0.0282 and 0.0497, respectively. The BBPSO comparison is therefore only marginally below the 0.0500 significance level and should be interpreted cautiously. No other comparison involving CA-SAE-BPSO reached this threshold. These rankings use eight dataset blocks under full-dataset feature selection and do not establish performance under independent nested validation.
4.2.2. Feature-Subset Compactness
To assess how compact the subsets are under the original evaluation protocol, we compare the mean number of selected features for the nine methods. The results are reported in Table 5 and visualized in Figure 6. We interpret subset size alongside balanced accuracy because selecting fewer features does not necessarily improve predictive performance.
Table 5.
Mean selected feature counts by method.
Figure 6.
Selected feature counts by method.
Figure 6 compares mean subset sizes under full-dataset feature selection. The color scale is logarithmic, and the cell labels show the original feature counts. NES returns small subsets across the benchmark suite. AaC selects substantially fewer features than CA-SAE-BPSO on DLBCL and Leukemia but retains all 100 features on Hill-Valley. CA-SAE-BPSO selects fewer features than all four evolutionary baselines on each of the eight datasets, but it does not consistently return smaller subsets than ranking-based methods. We examine the effect of alternative redundancy estimators separately in Section 4.6.
4.2.3. Convergence Behavior
To compare progress over iterations, we recorded the best-so-far balanced accuracy for five population-based methods. Figure 7 shows these trajectories. They describe progress by iteration, not elapsed time. The shaded bands show sample standard deviations across 30 runs. We use these curves to describe how each method progresses on its own objective scale, not to rank the methods at equal computational cost, because their objectives and per-iteration workloads differ. For a common predictive measure, we report final BA for all nine methods in Table 3, including methods without comparable iterative fitness trajectories.
Figure 7.
Best-so-far trajectories of five methods.
4.3. Comparison of Existing Regularization Configurations
To check how the two fitness weights behave inside the full pipeline, we compared four settings on the same eight datasets and five outer folds, and Table 6 reports their mean BA and ranks. Because two of the four settings also differ in initialization and implementation, these contrasts describe the tested configurations rather than isolate either weight. We examine the two weights separately in Section 4.5.5, where we vary one parameter at a time and record the corresponding outer-test BA results (Supplementary Table S29). The fitness weights control subset evaluation during search, whereas the classification-loss and sparsity-loss weights control training of the neural prior.
Table 6.
Performance comparison of BA for different settings.
4.4. Ablation Study
To distinguish prior-guided initialization from dynamic guidance, we compare the full configuration with NOINIT and NOGUIDE under full-dataset feature selection. NOINIT removes prior-guided initialization, whereas NOGUIDE disables dynamic guidance while retaining prior-guided initialization. Table 7 reports mean BA, and Figure 8 illustrates representative results. The selected-feature counts are reported separately (Supplementary Table S27). We evaluate the broader component ablation separately on outer test folds in Section 4.5.6 because scores from the two protocols are not directly comparable.
Table 7.
BA in the full-dataset ablation.
Figure 8.
Full-dataset ablation results.
The full configuration has higher mean BA than NOINIT on six datasets and selects fewer features on several high-dimensional datasets. These final outcomes do not directly measure the quality of the initial population. NOGUIDE has higher mean BA than the full configuration on Hill-Valley, DLBCL, Leukemia, Sonar, and TCGA-LUAD. On Prostate, NOGUIDE selects an average of 4669.1000 features compared with 5132.2000 for the full configuration. The direction of the BA and subset-size differences therefore depends on the dataset and the outcome being compared.
4.5. Evaluation on Outer Test Folds
4.5.1. Preprocessing and Held-Out Assessment
The outer-test evaluations use five outer folds. For the TCGA datasets, partitions are grouped by patient identifier so that samples from the same patient do not appear in both training and held-out partitions. The remaining six datasets use sample-level stratified partitions. Patient- or speaker-level independence is not inferred when the required identifiers are unavailable. For each TCGA training partition, constant features are excluded before ranking. BRCA features are ranked by median absolute deviation, whereas LUAD features are ranked by variance. The top 2000 features are retained, and standardization parameters are fitted using the corresponding training partition only. The selected columns and fitted transformation are then applied to the held-out data. The supplementary BRCA cohort retains 1218 samples, including seven metastatic samples. For LUAD, two recurrent samples are excluded, leaving 574 evaluated samples. These evaluated cohort sizes are distinguished from the source-dataset counts in Table 1. For the remaining six datasets, training-constant features are removed, but no additional top-2000 restriction is imposed. Preprocessing, prior learning, correlation estimation, and subset search are confined to the outer training data. The outer test data are used only for the final assessment of the selected subset. The adaptive three-fold CV scores used during swarm search are treated as training-selection criteria, not as independent test performance. Where a method requires configuration selection, it uses three inner folds within each outer training partition.
4.5.2. Training and Implementation Settings
The supplementary CA-SAE reference is trained for 50 epochs using Adam with a learning rate of and a batch size of 64. The target sparsity is 0.0500. The classification-loss and sparsity-loss weights are 0.5000 and 0.1000, respectively. These training weights are distinct from the fitness weights and , whose reference values are both 0.0500. The feature-prior readout combines its two contributions with weights 0.6000 and 0.4000. We fixed the CA-SAE training hyperparameters before the supplementary evaluations and did not tune them separately for each dataset or outer fold. We fixed the neural-training seed at 0. The CA-SAE-BPSO reference in the seven-method comparison and the supplementary component ablations use search seeds 0 and 1. The separate nine-method evaluation on outer test folds uses seed 0 only. Search uses 30 particles and 100 iterations. The final classifier is an RBF SVM with and gamma set to scale.
For the outer-test evaluations, the CA-SAE architecture is unchanged, and mean activations are clipped to before evaluating the Bernoulli KL term. For DLBCL outer fold 0, the preparation report records 61 training samples, 16 held-out samples, zero index overlap, and 50 completed epochs. The low- and high-clipped unit fractions are 0.0041 and zero, respectively. These diagnostics describe the numerical behavior of the clipped loss. They do not establish that clipping has no effect on the experimental results. The primary supplementary reference and conventional baselines use Python 3.10, NumPy 1.26.4, SciPy 1.11.4, and scikit-learn 1.4.2. The STG adaptation uses a separate Python 3.9 environment with scikit-learn 1.2.2. Its environment is therefore not described as identical to that of the other methods. The supplementary neural training and classification computations are performed on the CPU.
4.5.3. Additional Feature-Selection Baselines
The seven-method outer-test comparison includes an All-input reference, mRMR ranking, L1-based embedded selection, an mRMR–BPSO hybrid, QuickSelection, and an STG-based ranking adaptation. These methods are evaluated on the recorded outer partitions used by the supplementary CA-SAE-BPSO reference. For mRMR, QuickSelection, and the STG ranking adaptation, candidate subset sizes are 25, 50, 100, 200, and 300, capped at the available dimensionality and deduplicated. Selection uses mean inner-held-out BA, with ties resolved in favor of fewer features. The L1 selection-strength grid is 0.0100, 0.1000, 1, and 10. The mRMR implementation uses discretized mutual information with three bins and the MID criterion. The hybrid method applies an mRMR prefilter before BPSO search. QuickSelection is evaluated with a fixed budget of 100 training epochs and one neural seed. The STG adaptation uses a hidden layer of 64 units, Adam with a learning rate of , a sparsity coefficient of 0.1000, a noise parameter of 0.5000, and 500 epochs. Features are ranked by the raw STG gate parameters, and the subset size is selected using the inner folds. This method is reported as STG ranking with top-K selection rather than as an exact reproduction of native threshold-based STG selection. The supplementary reference and the mRMR–BPSO hybrid use two search seeds, whereas the standalone and neural ranking baselines use their specified single seeds. Seed results are averaged within each outer fold before calculating dataset-level means for ranking. Equal wall-clock budgets or identical repetition counts are not claimed across all methods.
Across the seven supplementary methods, CA-SAE-BPSO and L1 obtain the joint-lowest average rank of 3.6250. The average ranks of mRMR–BPSO, mRMR, STG ranking with top-K selection, QuickSelection, and the All-input reference are 3.7500, 3.8125, 4.2500, 4.4375, and 4.5000, respectively (Supplementary Table S28). The Friedman test does not detect an overall difference among these seven methods (tie-corrected , , ). These supplementary results are reported separately from the nine-method comparison with full-dataset feature selection. The non-significant result does not establish equivalence among the methods.
4.5.4. Out-of-Sample Evaluation on the Outer Test Folds
All nine methods were evaluated on the same five outer folds for each of the eight datasets, yielding 360 method–dataset–fold results. For TCGA, both outer and inner splits kept patient groups disjoint between training and evaluation partitions. The feature screen fitted on the outer training data was reused across inner folds, as were the CA-SAE prior and correlation matrix for CA-SAE-BPSO. AaC and QuickSelection refitted their rankings within each inner training fold when choosing subset size. The outer test data were reserved for final assessment. Not all transformations were refitted within each inner fold. The final RBF SVM used and gamma=scale, with standardization fitted on the outer training data. Swarm methods used 30 particles and 100 recorded iterations (indices 0–99). CA-SAE and QuickSelection were trained for 50 and 100 epochs, respectively, and CA-SAE used the clipped KL term described above. To compare predictive performance and subset compactness on the held-out data, we report mean BA in Table 8 and mean selected-feature counts in Table 9.
Table 8.
Mean outer-test BA (%).
Table 9.
Mean outer-test feature counts.
CA-SAE-BPSO obtained the lowest mean BA rank (3.6875) in this outer-test comparison. It shared the highest mean BA on Isolet (98.82%, with CSO) and TCGA-LUAD (99.90%, with BBPSO, BPSO, and CSO), but did not uniquely lead on any dataset. At these shared BA maxima, CA-SAE-BPSO selected fewer features on average: 255.2000 versus 313.4000 for CSO on Isolet, and 268.8000 versus 1019.4000 for each of the three tied baselines on TCGA-LUAD. Ranks were computed before display rounding. The tie-corrected Friedman test, with datasets as blocks, did not detect an overall difference (, , ). On the outer test folds, AaC retained its advantage on DLBCL: 92.27% versus 78.26% BA, with 80.0000 versus 334.6000 features on average. On Leukemia, CA-SAE-BPSO achieved 92.00% BA versus 91.78% for AaC, but selected 1006.6000 features on average versus 16.0000 for AaC. Thus, AaC outperformed CA-SAE-BPSO on DLBCL under both protocols, whereas the ordering changed on Leukemia. On Leukemia, the much larger subset corresponded to only a small difference in mean BA.
4.5.5. Controlled Single-Factor Parameter Analysis
To assess the sensitivity of the supplementary configuration, we varied one parameter at a time while holding the remaining settings fixed. For each fitness weight, and , we tested 0.0100 and 0.1000 against a reference of 0.0500. For the guidance coefficient , we tested 0.7500 and 2.2500 against 1.5000. The prior-guided initialization ratios were 0.5000 and 0.9000 against 0.7000, and the prior-readout fusion coefficients were 0.4000 and 0.8000 against 0.6000. The ten alternatives were evaluated on eight datasets and five outer folds at search seed 0, yielding 400 records. The mean outer-test BA is reported for each setting (Supplementary Table S29). The reference row averages seeds 0 and 1, whereas the alternatives use seed 0. Comparisons with that row are descriptive rather than strictly seed-matched.
On DLBCL, changing from 0.01 to 0.10 left the mean outer-test BA at 75.76%. Changing between the same two values gave mean BA values of 78.26% and 75.76%, respectively. On Prostate, the two settings gave mean BA values of 90.18% and 87.27%, respectively (Supplementary Table S29). These comparisons describe sensitivity over the tested settings. The outer-test results were not used to select new reference settings. The three-way guidance diagnostic, the component ablation, and the nine-method outer-fold comparison are separate experiment batches. The guidance diagnostic and the nine-method comparison use search seed 0, whereas the component ablation averages search seeds 0 and 1. Each diagnostic is interpreted against its own reference configuration. The full configuration in the component-ablation table should therefore not be substituted for the CA-SAE-BPSO entry in the nine-method comparison.
4.5.6. Supplementary Component Ablations
The supplementary analysis evaluates the full reference and NOGUIDE, NOLOCAL, NORED, NOCB and NOSP on eight datasets, five outer folds and two search seeds, yielding 480 result records. NOCB removes both the auxiliary classification loss and the class-dependent readout contribution. It therefore tests their combined effect. NOSP removes the sparsity penalty, whereas NORED and NOLOCAL remove the redundancy reward and local refinement, respectively. Variants affecting prior learning are retrained. Search-only variants reuse the matched reference prior. To assess the effect of each component under held-out evaluation, we compare each variant with its matched reference in Table 10.
Table 10.
Component ablation: outer-test BA (%).
Across the eight datasets, the full configuration had higher mean BA than NOGUIDE on Hill-Valley, Isolet, Leukemia, and Sonar; lower mean BA on DLBCL; and equal mean BA at the reported precision on Prostate, TCGA-BRCA, and TCGA-LUAD. The direction on Leukemia differs from that observed in the ablation with full-dataset feature selection: the supplementary full and NOGUIDE configurations achieved 89.94% and 84.94%, respectively. Other component effects were also mixed. On DLBCL, mean BA was 76.55% for the full configuration, compared with 83.26% for NOCB, 81.55% for NOSP, 77.80% for NOLOCAL, and 83.22% for NORED. On Sonar, NOLOCAL improved mean BA from 85.85% to 86.54%, whereas NORED yielded 85.65%. These comparisons use the supplementary reference rather than the scores from the comparison with full-dataset feature selection. To distinguish the effect of the learned feature ordering from the effect of adding a guidance term, we compared learned guidance, shuffled guidance, and no dynamic guidance. All three variants used the learned prior for initialization. Shuffling was applied only after the initial population had been constructed. The comparison comprised 120 runs on eight datasets and five outer folds at the same search seed. The comparison is summarized by dataset (Supplementary Table S34), with BA and feature counts also reported for each outer fold (Supplementary Tables S1–S8). At the displayed precision, learned guidance achieved higher mean BA than shuffled guidance on Hill-Valley, Isolet, and Sonar, and tied on the other five datasets. Relative to no guidance, it achieved higher mean BA on four datasets, tied on three, and achieved lower mean BA on DLBCL (79.92% versus 82.42%), where it selected fewer features (334.8000 versus 615.8000 on average). On Leukemia, learned and shuffled guidance both achieved 90.00%, compared with 86.00% without guidance. The Leukemia gain therefore cannot be attributed specifically to the learned ordering. To examine whether the differences in mean BA were consistent across folds, we compared learned guidance with no dynamic guidance on each fold. Learned guidance achieved higher BA on 12 of the 40 paired folds, tied on 24, and achieved lower BA on 4 (Supplementary Table S35).
4.6. Evaluation of the Large-Subset Redundancy Approximation
4.6.1. Paired Predictive and Subset-Size Comparison
The original implementation sets the diversity term to 1 when more than 3000 features are selected. This rule is a computational approximation and does not imply that large subsets have maximal information complementarity. To examine its effect, the original rule is compared with exact blockwise evaluation of the same mean absolute-correlation definition. The paired comparison of the fixed rule and exact redundancy evaluation covered five outer folds of DLBCL, Leukemia, and Prostate at seed 0. Each pair used the same data, preprocessing, prior, correlation matrix, initialization, and budget. All 15 pairs produced identical outer-test predictions. The subset sizes differed even when the predicted labels were identical. The separate three-treatment search experiment is described in Section 4.6.4.
4.6.2. Verification Across Additional Search Seeds
The Prostate comparison was repeated at seeds 1 and 2 without changing the prepared inputs. Across the 15 fold–seed pairs, exact evaluation improved BA in one pair, tied in twelve, and reduced BA in two. Mean BA was 90.18% under the fixed rule and 89.85% under exact evaluation. Exact evaluation selected fewer features in 14 pairs and reduced the mean subset size from 5395.7000 to 2901.1000 (46.23%). Across the ten new timing pairs, exact evaluation took 2.4900 to 3.7000 times as long. The paired folds and seeds are not independent datasets, so these results describe a cost–compactness trade-off rather than statistical equivalence.
4.6.3. Behavior near the 3000-Feature Threshold
A structural diagnostic examines nested subsets containing 2999, 3000, 3001, 3002, and 4000 features where dimensionality permits. Subsets are constructed from the training-prior ranking and two fixed random feature orders. No outer-test scores are used to choose these subsets. The diagnostic separates the subset-size and diversity contribution from the BA term. For a fixed subset with more than 3000 features, replacing exact diversity by 1 adds to the fitness. This quantity is nonnegative when correlations satisfy their usual bounds. Therefore, this approximation is not equivalent to neutrally removing the redundancy term. Under the original rule, crossing the 3000-feature threshold changes how the diversity term is computed. Exact evaluation does not introduce this switch. This distinction concerns the structural component of the fitness, while the full fitness can also change with the classification score.
4.6.4. Computational Cost of Exact Evaluation
For DLBCL, Leukemia, and Prostate, timing measurements covered single-threaded matched searches on outer fold 0 at seed 0 and excluded preprocessing and prior training. Exact evaluation was not uniformly slower in these single observations. In this separate timing batch, the Prostate run on outer fold 0 at seed 0 took 172.4000 s under the fixed-diversity rule and 534.8000 s under exact evaluation. The two runs selected 5477 and 3622 features, respectively, and produced identical outer-test predictions. In a separate fixed-mask benchmark, we alternated estimator order and timed only redundancy evaluation. We compared the fixed rule, exact blockwise evaluation, and threshold-free sampling on the same 225 masks, using up to 16,384 uniformly sampled ordered pairs of distinct features with replacement when sampling was used. Above 3000 features, the mean absolute diversity errors relative to exact evaluation were 0.2312 for the fixed rule and 0.0011 for sampling (Supplementary Table S30a).
A separate experiment compared the fixed-diversity rule, exact evaluation, and sampling across five outer folds per dataset at search seed 0, giving 45 matched runs. Sampling achieved 92.00% BA on Leukemia and 80.76% on DLBCL, compared with 90.00% and 79.92%, respectively, under both the fixed rule and exact evaluation. On Prostate, all three treatments achieved a mean outer-test BA of 90.18%, and the mean subset sizes were 6010.8000 under the fixed-diversity rule, 2802.4000 under exact evaluation, and 3750.8000 under sampling. Relative to the fixed-diversity rule, exact evaluation reduced the mean subset size by 53.38% (Supplementary Table S30b). The corresponding fold-level results are reported for DLBCL, Leukemia, and Prostate (Supplementary Tables S9–S11, respectively). The nine-method benchmark does not use the alternative estimators.
4.7. Dedicated Computational-Cost Evaluation
The serial benchmark compared CA-SAE-BPSO, BPSO, and mRMR–BPSO on outer fold 0 of Sonar and Prostate using three search seeds, one thread pinned to a single Intel Xeon Platinum 8470Q core, and no cache. Each run used 1800 native objective calls and recorded 5400 search-stage SVM fits. On Sonar, median total times were 15.0800, 12.8600, and 12.8500 s in method order. On Prostate, CA-SAE-BPSO shortened median search time relative to BPSO (90.1700 versus 95.1400 s), but its total time was longer (106.1100 versus 95.2200 s), including 13.5500 s of prior training. The serial comparison matches objective-call counts, not elapsed time. mRMR–BPSO serves only as a timing reference. In a separate shared-load survey, we measured total wall time for nine methods on eight datasets at outer fold 0 and seed 0 (Supplementary Table S36). These 72 runs shared resources across up to eight workers, with additional diagnostics overlapping the Isolet jobs. They are not isolated latency measurements. Selection time, assessment time, total time, and peak memory are reported by dataset for all nine methods (Supplementary Tables S12–S19). Among the shared-load runs of CA-SAE-BPSO, Isolet had the longest selection time (2315.94 s), whereas Prostate had the highest peak worker memory (4113.9 MiB) (Supplementary Table S31). Total wall time includes final held-out SVM assessment, whereas selection time does not.
The nominal time-limit check comprised 63 runs over seven datasets at outer fold 0 and seed 0. Of these, 57 returned eligible subsets. Missing results were not scored as zero. CA-SAE-BPSO tied for the highest reported BA on four of the seven datasets (Supplementary Table S32). The BA, subset sizes, and observed selection times are reported by dataset (Supplementary Tables S20–S26). Isolet was calibrated and run serially on its own, with a nominal limit of 1055 s. All nine methods returned eligible subsets. CA-SAE-BPSO achieved 97.50% BA with 320 features compared with the highest BA of 98.33% (Supplementary Table S33). Stopping was cooperative rather than a hard time limit, and neither result set enters the five-fold rankings.
5. Discussion
The two protocols answer different questions. Classifier cross-validation after full-dataset feature selection measures performance given the selected subset. The separate out-of-sample evaluation reserves outer test folds for assessment, but the nine-method comparison uses one search seed and does not repeat every preparation step within each inner fold. On DLBCL, AaC achieved higher BA with fewer features under both protocols. One possible explanation is that, when samples are few relative to features, the search can favor combinations that score well during training without generalizing better. The present comparison does not isolate sample size or dimensionality as the cause.
An informative prior can help the swarm explore useful combinations, whereas a misaligned prior may restrict exploration or favor correlated substitutes. The ablations are consistent with these mechanisms but do not identify the cause on individual datasets. The fixed-mask diagnostic shows that the fixed-diversity rule creates an artificial jump at the 3000-feature threshold. The paired search experiment addresses a different question: whether changing that rule changes the subset returned by the search. On Prostate, exact evaluation produced a smaller mean subset than the fixed-diversity rule at the same displayed mean BA. A separate timing comparison on one Prostate fold also found a longer search with exact evaluation. That timing observation should not be generalized to all five folds or to other datasets. Smaller subsets and shorter search times should therefore not be treated as interchangeable benefits. The shuffled-guidance control isolates the ordering used during dynamic guidance, not the contribution of prior learning to the entire pipeline. Likewise, the shared-load timing and nominal time-limit results do not replace the pinned-core benchmark.
6. Conclusions
CA-SAE-BPSO combines class-aware sparse representation learning with prior-guided initialization, dynamic population guidance, correlation-aware subset evaluation, and local refinement. The method had the lowest mean rank in the outer-test comparison and used fewer features than the baselines with which it shared the highest BA on Isolet and TCGA-LUAD. However, the Friedman test did not detect an overall difference among the nine methods in the outer-test comparison. The ablations further show that the effect of guidance depends on the dataset and on whether the comparison emphasizes BA or subset size. Future work should examine fully nested evaluation, adaptive control of prior influence, and scalable redundancy estimation.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/app162311655/s1, The supplementary file contains fold-level dynamic-guidance comparisons (Tables S1–S8), matched redundancy-threshold searches (Tables S9–S11), shared-load runtime and memory measurements (Tables S12–S19), and dataset-level nominal time-limit results (Tables S20–S26); Table S27 reports feature counts from the full-dataset ablation; Table S28 reports the supplementary seven-method ranks; Table S29 reports single-factor sensitivity results; Table S30 compares redundancy estimators on fixed masks and in matched searches; Table S31 reports selection time and peak memory under shared load; Table S32 reports the nominal time-limit comparison; and Table S33 reports the separate serial Isolet experiment; Table S34 reports mean outer-test BA and mean selected-feature counts for the paired dynamic-guidance comparison; Table S35 reports the numbers of outer folds on which learned guidance achieves higher, equal, or lower BA than no dynamic guidance; Table S36 reports total worker wall time for nine methods on eight datasets under shared load, including final held-out SVM assessment.
Author Contributions
Conceptualization, Z.Z. and B.Q.; methodology, Z.Z.; software, Z.Z.; validation, T.Z.; formal analysis, J.Z.; investigation, H.Y.; resources, Z.Z.; data curation, J.D.; writing—original draft preparation, Z.Z.; writing—review and editing, T.Z.; visualization, H.Y.; supervision, J.Z.; project administration, B.Q.; funding acquisition, J.D. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The source datasets used in this study are publicly available from the UCI Machine Learning Repository, OpenML, public gene expression benchmark repositories, and UCSC Xena. The processed data and analysis code are available from the corresponding author upon reasonable request.
Acknowledgments
We thank all colleagues who provided helpful suggestions during this research.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Yue, X.; Liao, Y.; Peng, H.; Kang, L.; Zeng, Y. A high-dimensional feature selection algorithm via fast dimensionality reduction and multi-objective differential evolution. Swarm Evol. Comput. 2025, 94, 101899. [Google Scholar] [CrossRef] [Scilit]
- Tarek, S.; Abd Elwahab, R.; Shoman, M. Gene expression based cancer classification. Egypt. Inform. J. 2017, 18, 151–159. [Google Scholar] [CrossRef] [Scilit]
- Feng, Y.; Feng, L.; Liu, S.; Kwong, S.; Tan, K.C. Towards multi-objective high-dimensional feature selection via evolutionary multitasking. Swarm Evol. Comput. 2024, 89, 101618. [Google Scholar] [CrossRef] [Scilit]
- Nguyen, B.H.; Xue, B.; Zhang, M. A survey on swarm intelligence approaches to feature selection in data mining. Swarm Evol. Comput. 2020, 54, 100663. [Google Scholar] [CrossRef] [Scilit]
- Yuan, K.; Xu, W.; Miao, D. A local rough set method for feature selection by variable precision composite measure. Appl. Soft Comput. 2024, 155, 111450. [Google Scholar] [CrossRef] [Scilit]
- Espinosa, R.; Jiménez, F.; Palma, J. Multi-surrogate assisted multi-objective evolutionary algorithms for feature selection in regression and classification problems with time series data. Inf. Sci. 2023, 622, 1064–1091. [Google Scholar] [CrossRef] [Scilit]
- Pham, H.; Tan, Y.; Singh, T.; Pavlopoulos, V.; Patnayakuni, R. A multi-head attention-like feature selection approach for tabular data. Knowl.-Based Syst. 2024, 301, 112250. [Google Scholar] [CrossRef] [Scilit]
- Ma, X.A.; Lu, K. Class-specific feature selection using neighborhood mutual information with relevance-redundancy weight. Knowl.-Based Syst. 2024, 300, 112212. [Google Scholar] [CrossRef] [Scilit]
- Gong, X.; Wang, J.; Ren, Q.; Zhang, K.; El-Alfy, E.S.M.; Mańdziuk, J. Embedded feature selection approach based on TSK fuzzy system with sparse rule base for high-dimensional classification problems. Knowl.-Based Syst. 2024, 295, 111809. [Google Scholar] [CrossRef] [Scilit]
- Naik, A.K.; Kuppili, V. An embedded feature selection method based on generalized classifier neural network for cancer classification. Comput. Biol. Med. 2024, 168, 107677. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Saeys, Y.; Inza, I.; Larrañaga, P. A review of feature selection techniques in bioinformatics. Bioinformatics 2007, 23, 2507–2517. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Katoch, S.; Chauhan, S.S.; Kumar, V. A review on genetic algorithm: Past, present, and future. Multimed. Tools Appl. 2021, 80, 8091–8126. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kamal, R.; Amin, E.; AbdElminaam, D.S.; Ismail, R. A Comprehensive Survey on Meta-Heuristic Algorithms for Feature Selection in High-Dimensional Data: Challenges, Applications, and Future Directions. In Proceedings of the 2024 International Mobile, Intelligent, and Ubiquitous Computing Conference (MIUCC), Cairo, Egypt, 13–14 November 2024; pp. 84–90. [Google Scholar]
- Yang, F.; Xu, Z.; Wang, H.; Sun, L.; Zhai, M.; Zhang, J. A hybrid feature selection algorithm combining information gain and grouping particle swarm optimization for cancer diagnosis. PLoS ONE 2024, 19, e0290332. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Song, X.F.; Zhang, Y.; Guo, Y.N.; Sun, X.Y.; Wang, Y.L. Variable-Size Cooperative Coevolutionary Particle Swarm Optimization for Feature Selection on High-Dimensional Data. IEEE Trans. Evol. Comput. 2020, 24, 882–895. [Google Scholar] [CrossRef] [Scilit]
- Osei-kwakye, J.; Han, F.; Amponsah, A.A.; Ling, Q.H.; Abeo, T.A. A diversity enhanced hybrid particle swarm optimization and crow search algorithm for feature selection. Appl. Intell. 2023, 53, 20535–20560. [Google Scholar] [CrossRef] [Scilit]
- Farek, L.; Benaidja, A. An adaptive binary particle swarm optimization algorithm with filtration and local search for feature selection in text classification. Memetic Comput. 2025, 17, 45. [Google Scholar] [CrossRef] [Scilit]
- Song, X.F.; Zhang, Y.; Gong, D.W.; Sun, X.Y. Feature selection using bare-bones particle swarm optimization with mutual information. Pattern Recognit. 2021, 112, 107804. [Google Scholar] [CrossRef] [Scilit]
- Hu, P.; Pan, J.S.; Chu, S.C.; Sun, C. Multi-surrogate assisted binary particle swarm optimization algorithm and its application for feature selection. Appl. Soft Comput. 2022, 121, 108736. [Google Scholar] [CrossRef] [Scilit]
- Hu, X.M.; Zhang, S.R.; Li, M.; Deng, J.D. Multimodal particle swarm optimization for feature selection. Appl. Soft Comput. 2021, 113, 107887. [Google Scholar] [CrossRef] [Scilit]
- Hu, P.; Zhu, J. A filter-wrapper model for high-dimensional feature selection based on evolutionary computation. Appl. Intell. 2025, 55, 581. [Google Scholar] [CrossRef] [Scilit]
- Dokeroglu, T.; Deniz, A.; Kiziloz, H.E. A comprehensive survey on recent metaheuristics for feature selection. Neurocomputing 2022, 494, 269–296. [Google Scholar] [CrossRef] [Scilit]
- Zhang, B.; Li, Y.; Chai, Z. A novel random multi-subspace based ReliefF for feature selection. Knowl.-Based Syst. 2022, 252, 109400. [Google Scholar] [CrossRef] [Scilit]
- Vergara, J.R.; Estévez, P.A. A review of feature selection methods based on mutual information. Neural Comput. Appl. 2014, 24, 175–186. [Google Scholar] [CrossRef] [Scilit]
- Li, Q.; Yu, Y.; Kossinna, P.; Lun, T.; Liao, W.; Zhang, Q. XA4C: Explainable representation learning via Autoencoders revealing Critical genes. PLoS Comput. Biol. 2023, 19, e1011476. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sun, M.; Li, F.; Han, H. Fractal autoencoder with redundancy regularization for unsupervised feature selection. Sci. China Inf. Sci. 2025, 68, 122103. [Google Scholar] [CrossRef] [Scilit]
- Li, J.; Cheng, K.; Wang, S.; Morstatter, F.; Trevino, R.P.; Tang, J.; Liu, H. Feature Selection: A Data Perspective. ACM Comput. Surv. 2018, 50, 1–45. [Google Scholar] [CrossRef] [Scilit]
- Li, A.D.; Xue, B.; Zhang, M. Improved binary particle swarm optimization for feature selection with new initialization and search space reduction strategies. Appl. Soft Comput. 2021, 106, 107302. [Google Scholar] [CrossRef] [Scilit]
- Han, F.; Wang, T.; Ling, Q. An improved feature selection method based on angle-guided multi-objective PSO and feature-label mutual information. Appl. Intell. 2023, 53, 3545–3562. [Google Scholar] [CrossRef] [Scilit]
- Zanjani Miyandoab, S.; Rahnamayan, S.; Asilian Bidgoli, A.; Makrehchi, M. A comparative study on population-based multi-objective feature selection. Int. J. Mach. Learn. Cybern. 2026, 17, 105. [Google Scholar] [CrossRef] [Scilit]
- Chen, C.; Yao, X.; Gong, D.; Tu, H. A multi-objective evolutionary algorithm for feature selection incorporating dominance-based initialization and duplication analysis. Swarm Evol. Comput. 2025, 95, 101914. [Google Scholar] [CrossRef] [Scilit]
- Xue, B.; Zhang, M.; Browne, W.N. Particle Swarm Optimization for Feature Selection in Classification: A Multi-Objective Approach. IEEE Trans. Cybern. 2013, 43, 1656–1671. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cinar, A.C. A comprehensive comparison of accuracy-based fitness functions of metaheuristics for feature selection. Soft Comput. 2023, 27, 8931–8958. [Google Scholar] [CrossRef] [Scilit]
- Xue, B.; Zhang, M.; Browne, W.N.; Yao, X. A Survey on Evolutionary Computation Approaches to Feature Selection. IEEE Trans. Evol. Comput. 2016, 20, 606–626. [Google Scholar] [CrossRef] [Scilit]
- Ji, B.; Lu, X.; Sun, G.; Zhang, W.; Li, J.; Xiao, Y. Bio-Inspired Feature Selection: An Improved Binary Particle Swarm Optimization Approach. IEEE Access 2020, 8, 85989–86002. [Google Scholar] [CrossRef] [Scilit]
- Li, P.; Pei, Y.; Li, J. A comprehensive survey on design and application of autoencoder in deep learning. Appl. Soft Comput. 2023, 138, 110176. [Google Scholar] [CrossRef] [Scilit]
- Yang, Z.; Xu, B.; Luo, W.; Chen, F. Autoencoder-based representation learning and its application in intelligent fault diagnosis: A review. Measurement 2022, 189, 110460. [Google Scholar] [CrossRef] [Scilit]
- Salam, M.A.; Basu Roy, S.; Das, G. Efficient approximate top-k mutual information based feature selection. J. Intell. Inf. Syst. 2023, 61, 191–223. [Google Scholar] [CrossRef] [Scilit]
- Atashgahi, Z.; Sokar, G.; van der Lee, T.; Mocanu, E.; Mocanu, D.C.; Veldhuis, R.; Pechenizkiy, M. Quick and robust feature selection: The strength of energy-efficient sparse training for autoencoders. Mach. Learn. 2022, 111, 377–414. [Google Scholar] [CrossRef] [Scilit]
- Kamalov, F.; Sulieman, H.; Moussa, S.; Reyes, J.A.; Safaraliev, M. Nested ensemble selection: An effective hybrid feature selection method. Heliyon 2023, 9, e19686. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.







