TL;DR
Training deep learning models on massive datasets is slow and expensive. Traditional data selection methods like active learning are often just as costly because they require training the full model repeatedly to identify useful data. This paper introduces Selection via Proxy (SVP), a technique that uses small, fast "proxy" models to identify the most informative data points. SVP achieves up to a 42x speedup in selection runtime with virtually no loss in final model accuracy.
What Problem Does This Paper Address?
In the world of deep learning, more data usually means better performance, but it also means astronomical training costs. Researchers use two main strategies to handle this:
- Active Learning: Picking the most "confusing" unlabeled points to be labeled by a human.
- Core-set Selection: Finding a small, representative subset of a large labeled dataset that yields the same performance as the whole thing.
The "catch-22" is that to know which data points are informative, you usually need a model that already understands the data. In deep learning, this means training a massive, expensive model just to decide which data to use—often defeating the purpose of saving time or compute. The authors tackle this bottleneck: how do we select data efficiently without the overhead of training the "target" model?
Methods: Selection via Proxy (SVP)
The authors propose Selection via Proxy (SVP). Instead of using the large "target" model (e.g., a ResNet-164) to rank data points, they use a significantly cheaper "proxy" model.
They create these proxies in two primary ways:
- Scaling Down: Using smaller architectures (e.g., a ResNet-20 instead of a ResNet-164) or reducing the number of filters/layers.
- Training for Fewer Epochs: Stopping the proxy's training early, before it reaches peak accuracy.
The workflow is simple:
- Train the fast proxy model on the available data.
- Use the proxy to rank data points based on metrics like uncertainty (which points is the model least confident about?), representativeness (which points best cover the data space?), or forgetting events (which points does the model learn and then "forget" during training?).
- Use those selected points to train the large, final target model.
Datasets
The authors evaluated SVP across five diverse datasets spanning computer vision and natural language processing:
- Vision: CIFAR-10, CIFAR-100, and the massive ImageNet (1.28 million images).
- Text: Amazon Review Polarity and Amazon Review Full (millions of reviews).
These datasets represent a range of difficulty levels, from coarse-grained 10-class classification to fine-grained 1,000-class tasks.
Key Insights and Ideas
- Rankings Matter More Than Accuracy: The most surprising "aha" moment is that a model doesn't need to be highly accurate to be a good judge of data. Even if a proxy model has a high error rate, it tends to rank the "difficulty" or "informativeness" of data points in the same order as a much larger model.
- High Correlation: The authors found high Spearman’s rank-order correlations (often >0.9) between the rankings produced by tiny proxies and giant target models. This suggests that the "signal" for what makes a data point useful is consistent across model scales.
- Architecture Agnosticism: Selection signals are remarkably robust. A proxy with a completely different architecture (like a fastText model) can effectively select data for a complex deep-learning model (like a VDCNN).
Key Results
- Massive Speedups: In active learning tasks, SVP achieved an order of magnitude improvement in selection runtime. On the Amazon Review dataset, they saw a 41.9x speedup in the time it took to select points without harming final accuracy.
- Data Pruning: For core-set selection on CIFAR-10, a proxy that was 10x faster to train could remove 50% of the training data without reducing the final target model's accuracy.
- End-to-End Efficiency: On CIFAR-10, using SVP led to a 1.6x improvement in total end-to-end training time (this includes the time spent training the proxy, selecting the data, and training the final model on the subset).
Limitations and Future Work
- The ImageNet Challenge: While SVP worked well for active learning on ImageNet, core-set selection (pruning the dataset before training) was more difficult. Neither the baseline nor SVP could remove a large percentage of ImageNet data without some drop in accuracy, suggesting that ImageNet is already quite "dense" with information.
- Algorithmic Bottlenecks: Some selection methods, like "greedy k-centers," have a quadratic computational complexity ($O(n^2)$). Even with a fast proxy, these algorithms become the bottleneck on massive datasets like ImageNet.
- Proxy Divergence: There is likely a limit to how small a proxy can be. If a proxy is too simple to even represent the basic features of the data, its rankings will eventually diverge from the target model. Exploring these boundaries remains an area for future research.
Summary updated