[KongchangAI]
· 3 min read· 1,527 words

Ranking-Preserving Coreset Selection: Speeding Up Evolutionary Hyperparameter Optimization by 8.8x

Ranking-Preserving Coreset Selection: Speeding Up Evolutionary Hyperparameter Optimization by 8.8x

RPC builds ranking-preserving coresets via evolutionary optimization, accelerating evolutionary HPO by 1.14x-8.80x with comparable accuracy.

The paper proposes the Ranking-Preserving Coreset (RPC) framework to address the computational bottleneck of repeated full-data training in hyperparameter optimization (HPO). RPC models coreset selection as an evolutionary optimization problem, maximizing the Spearman rank correlation of configuration rankings between full and subset data while penalizing subset size, thereby finding a small subset that faithfully reflects the relative merits of configurations. After selecting the coreset, it is used in three evolutionary HPO pipelines: genetic algorithm, CHC, and particle swarm optimization. Experiments on 11 benchmark datasets show that the HPO stage is sped up by roughly 1.14x to 8.80x, with test accuracy comparable to full-data HPO; on 20 held-out configurations, RPC achieves better ranking correlation than random sampling on 8 of 11 datasets (Wilcoxon test p=0.014). Coreset construction is a one-time cost that can be amortized through reuse across runs.

Hyperparameter optimization (HPO) is a key step in improving model performance, but when candidate configurations need to be repeatedly trained on large datasets, the computational cost becomes prohibitive. A new paper proposes the "Ranking-Preserving Coreset" (RPC) selection framework, which accelerates evolutionary HPO by constructing a small subset that preserves the relative ranking among hyperparameter configurations. Experiments show that on multiple benchmark datasets, this method speeds up the HPO stage by roughly 1.14x to 8.80x, with test accuracy comparable to full-data HPO.

Paper source screenshot

Core Problem: The Computational Bottleneck of HPO

The goal of HPO is to find the optimal hyperparameter combination for a model, but traditional methods require training the model on the full training set for each candidate configuration. As dataset sizes grow, the computational overhead of this process rises sharply. This is especially true in evolutionary algorithm-driven HPO, where each generation requires evaluating a large number of configurations, making repeated full-data training the main bottleneck.

An intuitive solution is to use data subsets to evaluate configurations, but random subsets may distort the ranking among configurations, leading to suboptimal hyperparameters being selected. The core innovation of the RPC framework is that when selecting the subset, it explicitly targets "preserving ranking" rather than merely approximating performance on the subset.

How RPC Works: Evolutionarily Searching for a Ranking-Preserving Subset

RPC models the coreset selection itself as an evolutionary optimization problem. Its objective is to maximize the Spearman rank correlation coefficient between the configuration rankings on the full data and on the subset data, while penalizing subset size. In other words, the algorithm seeks the smallest possible subset such that the ranking of hyperparameter configurations evaluated on this subset is highly consistent with the ranking obtained on the full data.

This formalization brings two benefits: first, the subset selection directly serves the decision quality of HPO rather than merely approximating training loss; second, the penalty term controls the subset size, preventing degeneration into using the full data. The paper uses an evolutionary algorithm to solve this subset selection problem because the search space is discrete and the objective function is non-convex.

After selecting the coreset, the paper applies it to the HPO pipelines of three evolutionary algorithms: genetic algorithm (GA), CHC (cross-generational elitist selection, heterogeneous recombination, and cataclysmic mutation), and particle swarm optimization (PSO).

Spearman rank correlation coefficient is a non-parametric statistic used to measure the consistency between two rankings, with values ranging from [-1, 1]. In the RPC framework, it is used to quantify how similar the rankings of hyperparameter configurations are on the full data versus the subset data: the closer the coefficient is to 1, the more faithfully the subset reflects the relative ordering of configurations under the full data. Unlike the Pearson correlation coefficient, Spearman does not require variables to follow a normal distribution or have a linear relationship; it only concerns ranks, making it particularly suitable for evaluating ordinal objectives such as configuration ranking. The paper uses it as the objective function for coreset optimization precisely because it directly corresponds to the decision needs of HPO—selecting the best configuration rather than accurately predicting the absolute performance value of each configuration.

Evolutionary algorithms are a class of global optimization methods based on populations and iterative improvement, with a typical process including population initialization, fitness evaluation, selection, crossover/recombination, and mutation. The paper chooses evolutionary algorithms to solve the coreset selection problem because this problem has a discrete search space (whether each sample is included in the subset) and a non-convex objective function (Spearman rank correlation), making traditional gradient-based methods difficult to apply directly. Specifically for the HPO pipeline, the paper integrates three evolutionary optimizers: genetic algorithm (GA), CHC, and particle swarm optimization (PSO). GA searches by simulating natural selection; CHC combines cross-generational elitist selection, heterogeneous recombination, and cataclysmic mutation to maintain diversity; PSO simulates bird flock cooperation, guiding the search through individual best and global best. The RPC coreset is decoupled from these optimizers, so it can be flexibly combined with them.

Experimental Setup and Main Results

The paper conducts experiments on 11 benchmark datasets, including seven tabular datasets, two text datasets, and two image datasets. The tasks cover decision trees, text classification, and image classification.

The main findings include:

  • Significant acceleration in the HPO stage: Across datasets and optimizers, the speedup in the HPO stage ranges from roughly 1.14x to 8.80x.
  • Accuracy preservation: The test accuracy obtained by HPO using RPC subsets is comparable to full-data HPO.
  • Ranking preservation generalizes: On 20 held-out configurations not involved in coreset construction, RPC achieves higher ranking correlation than random sampling of the same size on 8 of 11 datasets (dataset-level Wilcoxon signed-rank test, p = 0.014). This indicates that the ranking-preserving effect is not limited to the configurations used during selection.
  • Construction cost can be amortized: Coreset construction is a one-time cost, which the paper accounts for separately through end-to-end runtime and break-even analysis. When the coreset is reused across multiple HPO runs, this cost can be amortized.

A detail worth noting: the wide range of speedups (1.14x to 8.80x) suggests that the method's effectiveness depends on dataset characteristics and optimizer type. The paper does not claim to achieve maximum speedup in all scenarios but instead provides a range, which aligns with expectations in practical applications.

The Wilcoxon signed-rank test is a non-parametric paired test used to determine whether the median difference between two related samples is significant. In the paper, it is used to test the statistical significance of the difference in ranking correlation between RPC and random sampling across multiple datasets: for each dataset, the Spearman correlation coefficients of the two methods on held-out configurations are computed to form paired samples, and then the test determines whether the median of the differences is significantly greater than zero. A p-value of 0.014 means that at commonly used significance levels (e.g., 0.05), the conclusion that RPC outperforms random sampling has statistical support rather than being due to random fluctuation. This test does not assume that the data follow a normal distribution, making it suitable for scenarios with limited sample size (11 datasets) and unknown distributions.

Multi-Source Perspectives and Limitations

This research is currently released as a paper, with no independent third-party reproduction or community discussion yet available. Therefore, for the robustness of its conclusions, we mainly rely on the paper's own experimental design. From the methodological design perspective, RPC's evaluation covers three evolutionary algorithms and multiple data types, and the generalization test on held-out configurations also increases the credibility of the conclusions.

However, several issues are worth attention: coreset construction itself requires additional computational overhead. Although the paper provides a break-even analysis, the actual number of reuses depends on the specific workflow. In addition, the evaluation of ranking preservation relies on the Spearman correlation coefficient. For scenarios where the performance differences between configurations are extremely small, the ranking itself may be unstable, and the significance of preserving ranking in such cases needs further scrutiny.

Implications for Practitioners

For teams that need to run HPO frequently, RPC offers an approach: rather than blindly using the full data in every round of HPO, it is better to first spend a one-time cost to find a "ranking-representative subset," and then perform all subsequent configuration evaluations on this subset. This method is particularly suitable for scenarios with a large hyperparameter search space and multiple rounds of HPO, because the coreset can be reused across runs.

The paper's design of decoupling coreset selection from HPO is also worth learning from: subset selection does not depend on a specific optimizer, so it can be flexibly combined with different search strategies such as GA, CHC, and PSO. This modular characteristic lowers the barrier to applying the method.

Conclusion

The RPC framework constructs a ranking-preserving coreset through evolutionary optimization, significantly reducing the scale of evaluation data while preserving the relative ranking of hyperparameter configurations, thereby accelerating evolutionary HPO. Experiments show that this method achieves significant speedups on various datasets and optimizers while maintaining accuracy, and the ranking-preserving effect generalizes to configurations not involved in construction. For scenarios with limited computational resources or requiring repeated hyperparameter tuning, this method provides a promising acceleration path.

One-line Summary

RPC constructs a ranking-preserving coreset through evolutionary optimization, accelerating evolutionary HPO by 1.14x to 8.80x with comparable accuracy.

Paragraph Summary

The paper proposes the Ranking-Preserving Coreset (RPC) framework to address the computational bottleneck of repeated full-data training in hyperparameter optimization (HPO). RPC models coreset selection as an evolutionary optimization problem, maximizing the Spearman rank correlation of configuration rankings between full and subset data while penalizing subset size, thereby finding a small subset that faithfully reflects the relative merits of configurations. After selecting the coreset, it is used in three evolutionary HPO pipelines: genetic algorithm, CHC, and particle swarm optimization. Experiments on 11 benchmark datasets show that the HPO stage is sped up by roughly 1.14x to 8.80x, with test accuracy comparable to full-data HPO; on 20 held-out configurations, RPC achieves better ranking correlation than random sampling on 8 of 11 datasets (Wilcoxon test p=0.014). Coreset construction is a one-time cost that can be amortized through reuse across runs.

#hyperparameter optimization#coreset selection#evolutionary algorithms#Spearman rank correlation#HPO acceleration
Share:

Related articles