Abstract
Vision-language foundation models (VLMs) like CLIP are typically pre-trained on massive, noisy datasets where image-text correlations are often weak. This paper introduces Data Adaptive Traceback (DAT), a novel framework that improves downstream image classification by "tracing back" to the original pre-training data. By intelligently sampling and reusing relevant images during the adaptation phase, DAT recovers task-specific knowledge that was present but under-mined during initial training. Experimental results across eight benchmarks show that DAT consistently outperforms standard fine-tuning and existing semi-supervised methods.
Introduction
The current standard for deploying vision-language models involves a "pre-train then fine-tune" pipeline. While effective, this approach often neglects the vast potential of the original pre-training data. Web-scraped datasets like LAION or YFCC contain billions of pairs, but many are "weakly correlated"—for instance, a visual of a dog might be paired with a generic caption like "a beautiful day." Consequently, the model may not fully learn the visual features of the dog from that specific sample.
The authors of DAT argue that much of the task-specific knowledge needed for downstream success was actually present during pre-training but was never fully "mined." DAT shifts the view of pre-training data from a "one-and-done" resource to a library that can be revisited. The challenge lies in efficiently finding and reusing that relevant data without incurring prohibitive computational costs or introducing excessive noise.
The DAT Framework
The DAT framework consists of three main components designed to bridge the gap between massive pre-training sets and small, labeled downstream tasks.
1. Data Sampling Module
To avoid the cost of processing millions of images, DAT uses a two-step zero-shot sampling method to create a "Label Bank." First, it leverages the model's existing knowledge to find pre-training images that match the classes of the downstream task. Second, it treats every image in the downstream dataset as a unique category to find pre-training images with a similar visual distribution. This dual approach ensures the sampled subset is both semantically and visually relevant to the target task.
2. Semi-supervised Module
Once the relevant pre-training images are identified, they are treated as unlabeled data. DAT employs a "FixMatch" consistency regularization strategy. The model generates a "pseudo-label" (a high-confidence guess) from a weakly augmented version of an image and is then trained to predict that same label when looking at a heavily distorted (strongly augmented) version of the same image. This process reinforces the model's visual understanding of the task-relevant categories using the recovered pre-training samples.
3. Semi-unified Contrastive Module
To combat "confirmation bias"—where a model trusts its own incorrect guesses—DAT aligns pre-training and downstream data in a shared semantic space. It enriches text descriptions with Wikipedia definitions to provide more robust anchors. Contrastive learning is then used to ensure that images with similar semantic meanings (whether from the new task or the old pre-training set) are clustered together, while dissimilar ones are pushed apart.
Experimental Evaluation
The authors evaluated DAT across eight widely-used image classification benchmarks, including general datasets (CIFAR10, CIFAR100), fine-grained tasks (FGVC-Aircraft, Oxford Pets, Stanford Cars, Food101), and specialized domains (DTD textures, SUN397 scenes). Pre-training sources included YFCC15M and a 30-million sample subset of LAION-400M.
Key Results
DAT consistently outperformed standard fine-tuning and existing semi-supervised methods (like CCSSL) across all benchmarks:
- Accuracy Boosts: On challenging datasets like DTD, DAT improved accuracy by +3.29% over standard fine-tuning. On CIFAR100, it saw a +1.63% increase.
- Architecture Agnostic: The method proved effective using both ResNet-50 and ViT-B/32 backbones.
- Scaling: When moving from the smaller YFCC15M to the larger LAION-400M subset, the performance gains became even more pronounced, suggesting the method scales well with more data.
Discussion and Limitations
While DAT offers a powerful way to recover "lost" knowledge, it faces several practical challenges:
- Pseudo-label Quality: The performance is sensitive to the "confidence threshold." If the model is too confident in a wrong guess, it can lead to training instability.
- Noise Persistence: Pre-training sets are inherently noisy. Significant visual noise can still make the training process difficult and slow down convergence.
- Computational Overhead: Although the sampling module reduces data volume, training on a "Label Bank" that is typically 4x the size of the downstream data increases the computational footprint compared to simple fine-tuning.
Conclusion
Data Adaptive Traceback demonstrates that "weak-paired" samples in large-scale pre-training are not useless; they simply require a more targeted second pass to extract their value. By treating pre-training data as a persistent resource for adaptation, DAT provides a robust path for improving the performance of vision-language foundation models in specialized domains.
Summary updated