Abstract
Training high-performance computer vision models typically requires massive amounts of manually labeled data, which is both expensive and time-consuming. This paper introduces Co-Reg (Collaborative consistency Regularization), a framework designed to leverage large Vision-Language Models (VLMs) like CLIP to automatically annotate datasets for training smaller, specialized models. By treating VLM-generated labels as "noisy partial labels" and utilizing a dual-network collaborative learning strategy, Co-Reg achieves significantly better downstream performance than standard zero-shot inference or traditional knowledge distillation.
Introduction
The emergence of powerful VLMs has provided a potential shortcut for data labeling. However, VLM annotations are rarely perfect. They often manifest as Noisy Partial Labels (NPLL): a "partial label" provides a set of candidate classes, while "noisy" implies the true class might not even be present in that set. Unlike random noise, VLM noise is instance-dependent, reflecting the teacher model's internal biases. This makes the noise particularly challenging to filter, as student models tend to memorize these "smart" mistakes as legitimate patterns.
Generating Noisy Partial Labels from VLMs
To utilize a VLM for annotation, the framework processes images through an image encoder and class descriptions through a text encoder. By using multiple prompt templates (e.g., "a photo of a...", "a landscape painting of..."), the system generates various probability distributions for the candidate classes. These distributions can be aggregated to form either a single-label estimate or a partial label set.
The Co-Reg Framework
The authors propose Co-Reg to bridge the gap between weakly-supervised learning and VLM distillation. The framework consists of several key components:
- Dual-Network Collaboration: To combat confirmation bias, Co-Reg trains two neural networks simultaneously. Each network assists in purifying labels for its counterpart.
- Co-Pseudo-Labeling: A Gaussian Mixture Model (GMM) divides training data into a "Partial Set" (reliable) and an "Unlabeled Set" (highly noisy). For noisy samples, the model ignores the VLM's suggestion and generates its own pseudo-labels by averaging predictions from both networks.
- Prototypical Similarity Alignment: The model maintains class prototypes (average feature vectors for each category) and ensures that a sample’s representation aligns with its corresponding prototype in a shared embedding space.
- Noisy Supervised Contrastive Learning: Utilizing the MoCo framework, this component pulls representations of the same class together while pushing different classes apart, using a noise-tolerant loss function.
Experimental Evaluation
The researchers evaluated Co-Reg on six diverse benchmarks, including general-purpose datasets (CIFAR-10/100, SVHN) and domain-specific ones (EuroSAT, GTSRB). Labels were generated using CLIP and LLaVA-1.5 to test robustness against different teacher biases.
Key Results
- Superior Accuracy: On CIFAR-100, Co-Reg achieved 71.04% accuracy, significantly outperforming CLIP’s zero-shot performance (62.74%) and unsupervised knowledge distillation (56.80%).
- Few-Shot Power: In semi-supervised settings (e.g., 1-shot GTSRB), Co-Reg reached 57.75% accuracy, nearly 20% higher than the popular LoRA fine-tuning method.
- Efficiency: The resulting models are standard ResNets, which are significantly smaller and faster for deployment than the massive VLMs used for labeling.
Conclusion
Co-Reg demonstrates that VLM errors are structured rather than random. By reframing Noisy Partial Label Learning as a superior form of knowledge distillation, the framework allows for the creation of efficient, specialized models without the need for exhaustive manual annotation. Future work aims to extend this annotation-free pipeline to more complex tasks like object detection and segmentation.
Summary updated