TL;DR
Hyperparameter optimization (HPO) is the "hidden tax" of machine learning, often requiring hundreds of expensive model trainings on massive datasets. This paper introduces Ranking-Preserving Coresets (RPC)—tiny, curated versions of your data designed not just to be accurate, but to ensure that if Configuration A is better than Configuration B on the full dataset, it stays that way on the subset. By searching on these "tasting menus" instead of the full feast, researchers achieved HPO speedups of up to 8.8x with negligible loss in final model performance.
What Problem Does This Paper Address?
Finding the right hyperparameters (like learning rate or tree depth) is a bit like tuning a high-performance engine: you have to try a lot of combinations to find the "sweet spot." Evolutionary algorithms like Genetic Algorithms (GA) or Particle Swarm Optimization (PSO) are great at this search, but they are computationally "hungry." They might evaluate dozens of configurations over many generations.
If your dataset has a million rows, training a model 100 times is a recipe for a massive cloud computing bill and a lot of wasted time. Researchers often use "coresets"—small subsets of data—to speed things up. However, most coresets are built to preserve the accuracy of a single model. The authors argue that for HPO, we don't actually care if the accuracy on the subset is exactly the same as the full data; we only care that the relative ranking of the configurations remains the same so the optimizer can still find the best one.
Methods
The authors propose a two-stage framework:
- Coreset Selection (The RPC Stage):
- They pick a small number of "anchor" hyperparameter configurations.
- They evaluate these anchors on the full dataset to get a "ground truth" ranking.
- They use an evolutionary algorithm to find a subset of the data (a coreset) that maximizes the Spearman rank correlation between the subset-ranking and the full-data ranking.
- The fitness function also includes a penalty for the size of the subset, forcing the algorithm to find the smallest possible "representative" slice of data (usually between 10% and 30% of the original).
- Evolutionary HPO:
- Once the coreset is fixed, they run standard HPO algorithms (GA, PSO, or CHC) using only the coreset for training.
- The best configuration found on the coreset is then trained one final time on the full dataset.
Datasets
The framework was put through its paces across 11 diverse benchmarks:
- Tabular: Seven UCI datasets ranging from small (Dermatology) to large (CoverType, Census-Income).
- Text: IMDb (sentiment analysis) and TweetEval (multi-class sentiment), using TF-IDF features and Multi-Layer Perceptrons.
- Image: CIFAR-10 (natural images) and DermaMNIST (medical skin lesions), using the ResNet18 architecture.
Key Insights and Ideas
- Ranking > Accuracy: This is the "Aha!" moment. In HPO, the absolute validation score is a distraction. As long as the "best" configurations stay at the top of the leaderboard on your subset, the optimizer will be guided to the right place.
- Generalization to the Unseen: Crucially, the authors tested if a coreset built using 20 "anchor" configurations would still work for 20 completely different "held-out" configurations. It did. This suggests the coreset captures a fundamental "hyperparameter landscape" of the data.
- The Break-Even Point: Building a coreset isn't free—it requires an upfront investment of compute. The authors show that for large or complex tasks (like deep learning on images), this cost is "amortized" (paid back) very quickly, often within the first one or two HPO runs.
Key Results
- Speedups: The HPO stage itself saw speedups ranging from 1.14x to 8.80x.
- Performance Retention: The "accuracy gap" between using the full dataset and the RPC coreset was tiny—averaging less than 1 percentage point (0.73% to be exact).
- Efficiency: On the "Diabetes" dataset, a full HPO cycle took about 54 minutes. With the RPC coreset, it took less than 7 minutes. Even including the time to build the coreset, the RPC approach was cheaper after just a single optimization cycle.
- Statistical Edge: RPC significantly outperformed simple random sampling in preserving configuration rankings on 8 out of 11 datasets.
Limitations and Future Work
- Small Data Penalty: For very small datasets (like those with only a few hundred rows), the overhead of building the coreset is higher than the time saved. It’s a tool for the "big data" regime.
- Image Task Nuance: On image datasets (CIFAR-10), random sampling was surprisingly competitive with RPC for held-out configurations. The authors suggest that deep learning training dynamics might make ranking preservation more volatile in the vision domain.
- Anchor Selection: The quality of the coreset depends on the "anchors" used to build it. Future work could explore more sophisticated ways to pick these reference points.
- Expanding Horizons: The current study focused on classification. The authors aim to extend this to regression, multi-label learning, and massive Transformer-based models in the future.
Summary updated