[Paper Review] Using Small Proxy Datasets to Accelerate Hyperparameter Search
This paper proposes using small proxy datasets—specifically the easiest 10–50% of training examples from ImageNet subsets like Imagenette and Imagewoof—to accelerate hyperparameter search. By training on these easy examples, researchers achieve 81–95% of the variance in full-dataset results with significantly reduced computation, outperforming both full-dataset training with fewer epochs and hard-example proxies.
One of the biggest bottlenecks in a machine learning workflow is waiting for models to train. Depending on the available computing resources, it can take days to weeks to train a neural network on a large dataset with many classes such as ImageNet. For researchers experimenting with new algorithmic approaches, this is impractically time consuming and costly. We aim to generate smaller "proxy datasets" where experiments are cheaper to run but results are highly correlated with experimental results on the full dataset. We generate these proxy datasets using by randomly sampling from examples or classes, training on only the easiest or hardest examples and training on synthetic examples generated by "data distillation". We compare these techniques to the more widely used baseline of training on the full dataset for fewer epochs. For each proxying strategy, we estimate three measures of "proxy quality": how much of the variance in experimental results on the full dataset can be explained by experimental results on the proxy dataset. Experiments on Imagenette and Imagewoof (Howard, 2019) show that running hyperparameter search on the easiest 10% of examples explains 81% of the variance in experiment results on the target task, and using the easiest 50% of examples can explain 95% of the variance, significantly more than training on all the data for fewer epochs, a more widely used baseline. These "easy" proxies are higher quality than training on the full dataset for a reduced number of epochs (but equivalent computational cost), and, unexpectedly, higher quality than proxies constructed from the hardest examples. Without access to a trained model, researchers can improve proxy quality by restricting the subset to fewer classes; proxies built on half the classes are higher quality than those with an equivalent number of examples spread across all classes.
Motivation & Objective
- Reduce the time and computational cost of hyperparameter search in deep learning without sacrificing model performance.
- Address the bottleneck of long training times on large datasets like ImageNet, which can take days or weeks.
- Develop proxy datasets that preserve the relative performance ordering of hyperparameters observed on the full dataset.
- Evaluate and compare multiple proxy generation strategies to identify the most effective and efficient approach.
- Demonstrate that proxy quality is higher when using easy examples rather than hard examples or random subsets, even at lower computational cost.
Proposed method
- Generate proxy datasets by selecting the easiest 10% or 50% of training examples based on loss from a fully trained model.
- Compare proxy quality against baseline strategies, including training on the full dataset for fewer epochs (e.g., 1, 5, 10 epochs).
- Use a fixed hyperparameter grid across all proxy and full-dataset experiments to ensure consistent comparison.
- Measure proxy quality using three metrics: R-squared (variance explained), Spearman correlation, and cost-adjusted R-squared.
- Evaluate performance on two ImageNet subsets: Imagenette and Imagewoof, which are smaller, curated versions of ImageNet.
- Test multiple proxy strategies: easy/hard examples, random sampling, class-restricted subsets, and data distillation from synthetic examples.
Experimental results
Research questions
- RQ1Can small proxy datasets explain a high proportion of the variance in hyperparameter performance observed on the full dataset?
- RQ2How does the performance of hyperparameter search on easy examples compare to training on the full dataset with fewer epochs?
- RQ3Does using a subset of classes (rather than all classes) improve proxy quality for a given number of examples?
- RQ4Are hard examples as effective as easy examples for proxy datasets, or do they degrade performance?
- RQ5Can data distillation or other synthetic methods produce higher-quality proxies than simple example selection?
Key findings
- Training on the easiest 10% of examples explains 81% of the variance in full-dataset hyperparameter performance, significantly outperforming full-dataset training with only 1 epoch.
- Using the easiest 50% of examples explains 95% of the variance, demonstrating strong correlation between proxy and full-dataset results.
- Easy-example proxies consistently outperform hard-example proxies, even though the latter are expected to be more informative; this suggests that easy examples capture the relative dynamics of hyperparameter performance better.
- Proxy quality improves when restricting to fewer classes—half the classes with the same number of examples yields higher-quality proxies than spreading them across all classes.
- The baseline of training on the full dataset for fewer epochs performs worse than easy-example proxies, despite equivalent computational cost, indicating that proxy design matters more than just reducing training time.
- Data distillation and random sampling strategies yielded lower proxy quality, with R-squared values below 0.1, indicating weak correlation with full-dataset results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.