Ranking-Preserving Coreset Selection for Efficient Evolutionary Hyperparameter Optimization
Organizations: National University of Computer and Emerging Sciences (FAST-NUCES), Lahore, Pakistan
Abstract
Hyperparameter optimization (HPO) is essential for high predictive performance, but its computational cost becomes prohibitive when candidate configurations require repeated training on large datasets. This paper proposes a ranking-preserving coreset (RPC) selection framework for accelerating evolutionary HPO. The method constructs a compact coreset that preserves the relative ranking of hyperparameter configurations observed on the full training data. Coreset selection is formulated as an evolutionary optimization problem that maximizes Spearman rank correlation between full-data and subset-based configuration rankings while penalizing subset size. The selected coreset is then used for HPO with three evolutionary algorithms: Genetic Algorithm (GA), Cross-generational elitist Selection, Heterogeneous Recombination and Cataclysmic Mutation (CHC), and Particle Swarm Optimization (PSO). Experiments on seven tabular, two text, and two image benchmark datasets show that RPC substantially reduces HPO time while maintaining test accuracy comparable to full-dataset HPO across decision tree, text classification, and image classification tasks. Across datasets and optimizers, HPO-stage speedups range from approximately 1.14x to 8.80x, while the one-time coreset construction cost is accounted for separately through end-to-end runtime and break-even analysis. On 20 held-out configurations excluded from coreset construction, RPC achieves higher ranking correlation than same-size random sampling on 8 of 11 datasets (dataset-level Wilcoxon signed-rank test, p = 0.014). These results show that ranking preservation extends beyond the configurations used during selection. The one-time construction cost can be amortized when the coreset is reused across HPO runs.
Figures & tables
| Method Category | Main Optimization Objective | Primary Use Case | Relevance to HPO |
|---|---|---|---|
| Gradient-matching methods, e.g., GRAD-MATCH [ Killamsetty et al., 2021a ] | Match subset gradients to full-data gradients | Efficient model training | Preserving gradients does not necessarily preserve the ranking of hyperparameter configurations. |
| Validation-aware methods, e.g., GLISTER [ Killamsetty et al., 2021b ] | Select examples that improve validation performance through bilevel optimization | Generalization-oriented subset selection | Optimizes predictive performance rather than the hyperparameter ranking landscape. |
| HPO-oriented gradient subset methods, e.g., AutoMata [ Killamsetty et al., 2022 ] | Reduce compute cost for hyperparameter tuning using gradient-based subset selection | Compute-efficient HPO | Focuses on gradient/accuracy preservation and does not explicitly optimize rank correlation among configurations. |
| Clustering/diversity/ submodular methods [ Saha et al., 2022 , Nema et al., 2026 , Wei et al., 2015 ] | Preserve data distribution, diversity, or representative samples | Dataset summarization and training acceleration | Representative data subsets may still distort the ordering of candidate hyperparameter configurations. |
| Ranking-aware surrogate methods, e.g., Deep Ranking Ensembles [ Khazi et al., 2023 ] | Learn the relative ordering of configuration performance using learning-to-rank objectives | Surrogate-guided hyperparameter optimization | Predicts configuration rankings to guide the search; does not select a training subset to preserve full-data rankings. |
| Proposed method | Maximize Spearman rank correlation between full-data and subset-based configuration rankings while penalizing subset size | Ranking-preserving coreset selection for evolutionary HPO | Directly optimizes ranking agreement through training-subset selection; generalization beyond construction anchors is evaluated on held-out configurations. |
| Modality | Anchors | Anchor | Held-out | Retained (%) |
|---|---|---|---|---|
| Tabular | 10 | 0.921 | 0.705 | 20.07 |
| 20 | 0.894 | 0.729 | 20.74 | |
| 30 | 0.871 | 0.750 | 21.40 | |
| Text | 10 | 0.648 | 0.305 | 25.20 |
| 20 | 0.644 | 0.357 | 27.38 | |
| 30 | 0.616 | 0.387 | 27.59 |
| Anchor-count comparison | -value |
|---|---|
| 10 versus 20 | 0.0674 |
| 20 versus 30 | 0.4648 |
| 10 versus 30 | 0.0186 |
| Dataset | Type | Instances Used | Features | Classes |
| Dermatology | Tabular | 366 | 34 | 6 |
| Car Evaluation | Tabular | 1,728 | 6 | 4 |
| Abalone | Tabular | 4,177 | 8 | 28 |
| Adult | Tabular | 32,561 | 14 | 2 |
| Diabetes | Tabular | 101,766 | 49 | 3 |
| Census-Income | Tabular | 199,523 | 41 | 2 |
| Data Type | Model | Search Space |
|---|---|---|
| Tabular | Decision Tree | criterion {gini, entropy, log_loss} max_depth {None, 5, 10, 15, 20, 30} min_samples_split {2, 5, 10, 20} min_samples_leaf {1, 2, 5, 10} max_features {None, sqrt, log2} |
| Text | TF-IDF + PyTorch MLP | max_features {5000, 10000, 20000} ngram_range {(1,1), (1,2)} min_df {1, 2, 5} max_df {0.90, 0.95, 1.0} sublinear_tf {True, False} hidden_layers {(64), (128), (256), (512), (128,64), (256,128), (512,256)} dropout {0.0, 0.2, 0.4} activation {relu, tanh, gelu} learning_rate { , , , } weight_decay {0, , , } batch_size {64, 128} epochs {5, 10, 20} optimizer {Adam, AdamW} |
| Image | ResNet18 | learning_rate { , , , , } weight_decay {0, , , } batch_size {64, 128, 256} optimizer {SGD, AdamW} epochs {3, 5, 8, 12} |
| Parameter | Tabular | Text | Image |
| Number of anchor configurations | 20 | 20 | 20 |
| Anchor candidate pool size | 500 | 500 | 500 |
| Elite count | 1 | 1 | 1 |
| Crossover probability | 1.0 | 1.0 | 1.0 |
| Coreset mutation rate | 0.10 | 0.10 | 0.10 |
| Minimum coreset fraction | 0.10 | 0.10 | 0.10 |
| Dataset | Baseline | Full-HPO (GA) | Full-HPO (CHC) | Full-HPO (PSO) |
|---|---|---|---|---|
| Dermatology | ||||
| Car Evaluation | ||||
| Abalone | ||||
| Adult | ||||
| Diabetic | ||||
| Census-Income |
| Dataset | Full HPO | RPC HPO | Random HPO | Gradient-Based HPO |
| Dermatology | – | |||
| Car Evaluation | – | |||
| Abalone | – | |||
| Adult | – | |||
| Diabetes | – | |||
| Census-Income | – |
| Dataset | Full HPO | RPC HPO | Random HPO | Gradient-Based HPO |
| Dermatology | – | |||
| Car Evaluation | – | |||
| Abalone | – | |||
| Adult | – | |||
| Diabetes | – | |||
| Census-Income | – |
| Dataset | Full HPO | RPC HPO | Random HPO | Gradient-Based HPO |
| Dermatology | – | |||
| Car Evaluation | – | |||
| Abalone | – | |||
| Adult | – | |||
| Diabetes | – | |||
| Census-Income | – |
| Dataset | Subset Fraction | RPC Spearman | Random Spearman | Gradient-Based Spearman |
| Dermatology | – | |||
| Car Evaluation | – | |||
| Abalone | – | |||
| Adult | – | |||
| Diabetes | – | |||
| Census-Income | – |
| Dataset | Subset Fraction | RPC Spearman | Random Spearman | Gradient-Based Spearman |
| Dermatology | – | |||
| Car Evaluation | – | |||
| Abalone | – | |||
| Adult | – | |||
| Diabetes | – | |||
| Census-Income | – |
| Shortlist | RPC | Random | -value |
|---|---|---|---|
| Top-1 | 0.00818 | 0.01328 | 0.0547 |
| Top-3 | 0.00350 | 0.00518 | 0.5703 |
| Top-5 | 0.00139 | 0.00294 | 0.0078 |
| Dataset | Optimizer | (s) | (s) | Speedup |
|---|---|---|---|---|
| Dermatology | GA | |||
| CHC | ||||
| PSO | ||||
| Car Evaluation | GA | |||
| CHC | ||||
| PSO |
| Dataset | |||||
|---|---|---|---|---|---|
| Dermatology | |||||
| Car Evaluation | |||||
| Abalone | |||||
| Adult | |||||
| Diabetes | |||||
| Census-Income |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Instances | Class counts and percentages |
|---|---|---|
| Dermatology | 366 | 0: 112 (30.60%); 1: 61 (16.67%); 2: 72 (19.67%); 3: 49 (13.39%); 4: 52 (14.21%); 5: 20 (5.46%). |
| Car Evaluation | 1,728 | 0: 384 (22.22%); 1: 69 (3.99%); 2: 1,210 (70.02%); 3: 65 (3.76%). |
| Abalone | 4,177 | 0: 1 (0.02%); 1: 634 (15.18%); 2: 487 (11.66%); 3: 267 (6.39%); 4: 203 (4.86%); 5: 126 (3.02%); 6: 103 (2.47%); 7: 67 (1.60%); 8: 58 (1.39%); 9: 42 (1.01%); 10: 32 (0.77%); 11: 1 (0.02%); 12: 26 (0.62%); 13: 14 (0.34%); 14: 6 (0.14%); 15: 9 (0.22%); 16: 2 (0.05%); 17: 1 (0.02%); 18: 1 (0.02%); 19: 2 (0.05%); 20: 1 (0.02%); 21: 15 (0.36%); 22: 57 (1.36%); 23: 115 (2.75%); 24: 259 (6.20%); 25: 391 (9.36%); 26: 568 (13.60%); 27: 689 (16.50%). |
| Adult | 32,561 | 0: 24,720 (75.92%); 1: 7,841 (24.08%). |
| Diabetic | 101,766 | 0: 11,357 (11.16%); 1: 35,545 (34.93%); 2: 54,864 (53.91%). |
| Dataset | Seeds | 10 anchors | 20 anchors | 30 anchors |
|---|---|---|---|---|
| Dermatology | 10 | |||
| Car Evaluation | 10 | |||
| Abalone | 10 | |||
| Adult | 10 | |||
| Diabetic | 5 | |||
| Census-Income | 5 |
| Dataset | Anchor | Held-out | Retained (%) | |
|---|---|---|---|---|
| Adult | 0 | |||
| 0.10 | ||||
| 0.20 | ||||
| 0.40 | ||||
| IMDb | 0 | |||
| 0.10 |
| Dataset | RPC | Random | Gradient-Based |
| Dermatology | – | ||
| Car Evaluation | – | ||
| Abalone | – | ||
| Adult | – | ||
| Diabetes | – | ||
| Census-Income | – |
| Dataset | RPC | Random | Gradient-Based |
| Dermatology | – | ||
| Car Evaluation | – | ||
| Abalone | – | ||
| Adult | – | ||
| Diabetes | – | ||
| Census-Income | – |
| Dataset | Optimizer | |||||
|---|---|---|---|---|---|---|
| Dermatology | GA | |||||
| CHC | ||||||
| PSO | ||||||
| Car Evaluation | GA | |||||
| CHC | ||||||
| PSO |
Hyperparameter Optimization
Hyperparameter optimization selects model and training settings to improve predictive performance, efficiency, or reliability under limited evaluation budgets.
See all 188 papers