Introduction
In the current landscape of computer vision, the dominant paradigm involves pretraining models on massive unlabeled datasets using self-supervised learning (SSL), followed by finetuning on a smaller, task-specific labeled dataset. While significant research has focused on optimizing the pretraining and finetuning phases themselves, the question of data selection remains under-explored: given a limited annotation budget, which specific samples should be selected for labeling to maximize performance?
Challenges in Modern Active Learning
Traditional Active Learning (AL) methods were primarily designed for training models from scratch. These methods typically employ an iterative "batch-selection" strategy: a model is trained on existing labels, used to identify "uncertain" or "hard" samples, which are then labeled and added to the training set for the next iteration.
When applied to the pretraining-finetuning paradigm, two major issues arise:
- Selection Bias: At very low annotation budgets (e.g., <1% of the total data), the small initial batches used in iterative AL lead to significant selection bias, as the model's uncertainty estimates are often unreliable.
- Computational Inefficiency: Iterative retraining is prohibitively expensive and slow, especially with large-scale modern architectures like Vision Transformers (ViTs).
The ActiveFT Framework
To address these challenges, the authors introduce ActiveFT, a novel active finetuning method that treats data selection as a continuous optimization problem within the feature space of a pretrained model.
Parametric Optimization in Feature Space
ActiveFT shifts the focus from selecting discrete samples to optimizing a set of "virtual" features. The process involves:
- Feature Mapping: Utilizing the pretrained backbone to map the entire unlabeled pool into a high-dimensional feature space.
- Virtual Feature Optimization: Defining a set of parameters—virtual feature vectors—that represent the ideal subset for annotation.
- Loss Function: The virtual features are optimized using a dual-objective loss:
- Distribution Matching: This objective minimizes the KL-divergence between the distribution of the selected subset and the entire unlabeled pool. The authors provide a theoretical proof that this is equivalent to minimizing the Earth Mover’s Distance (EMD), ensuring the selected subset is globally representative.
- Diversity Regularization: A penalty term ensures that the virtual features remain distinct, preventing redundancy and ensuring coverage of "corner cases" within the data distribution.
Single-Pass Selection
Unlike iterative AL, ActiveFT is a single-pass method. Once the virtual features are optimized via gradient descent, the algorithm identifies the real images in the unlabeled pool whose features are closest to these optimized vectors. This eliminates the need for repeated model retraining, making the process significantly more scalable.
Experimental Evaluation
The researchers evaluated ActiveFT across diverse benchmarks and architectures:
- Datasets: Image classification on CIFAR-10, CIFAR-100, and ImageNet-1k; semantic segmentation on the complex ADE20k dataset.
- Architectures: Tests included both Transformer-based (DeiT-Small) and CNN-based (ResNet-50) backbones.
Key Results
ActiveFT demonstrates significant improvements in both accuracy and efficiency:
- Superior Accuracy at Low Budgets: On CIFAR-100 with a 1% sampling ratio, ActiveFT achieved an accuracy of 26.1%, vastly outperforming random sampling (14.9%) and K-Means (17.6%). The performance gap is most pronounced at extremely low budgets (0.5%–1%).
- Computational Efficiency: The method is orders of magnitude faster than traditional AL. For a 10% selection task on CIFAR-100, ActiveFT completed in 37.3 seconds, whereas methods like CoreSet or VAAL required 20 to 36 hours.
- Task Versatility: The method proved effective not only for global classification but also for localized tasks like semantic segmentation, suggesting it is task-agnostic.
Conclusion
ActiveFT represents a shift in active learning philosophy, prioritizing representativeness over uncertainty. By leveraging the rich feature space of pretrained models and optimizing for distribution matching, it provides a theoretically grounded and computationally efficient solution for data selection.
Limitations and Future Work
The success of ActiveFT is inherently tied to the quality of the pretrained model's feature space. If the pretraining fails to produce a meaningful representation, the selection process may be compromised. Additionally, the current method assumes a fixed, pre-defined annotation budget. Future research may explore integrating ActiveFT with query-synthesizing techniques or extending the framework to other modalities such as Natural Language Processing (NLP).
Summary updated