Introduction
Large-scale Vision-Language Models (VLMs) like CLIP have demonstrated remarkable zero-shot capabilities. However, adapting these models to specific downstream tasks through prompt learning often introduces a significant challenge: the Base-to-Novel (B2N) generalization gap. While models become highly proficient at identifying "base" classes seen during training, they frequently overfit to specific fine-grained details—such as the exact texture of a cat's whiskers—at the expense of broader structural knowledge. Consequently, when presented with "novel" classes (e.g., a lynx instead of a house cat), the model fails because it searches for specific training-set artifacts rather than general category features.
Methodology
The LOBG (Less Overfitting for Better Generalization) framework addresses this overfitting by prioritizing coarse-grained structural information over distracting fine-grained details. The approach consists of three primary components:
1. Foreground Information Filtering (FIF)
Counter-intuitively, the high-attention areas of an image are often the primary source of overfitting. FIF utilizes the original CLIP model's attention maps as a mask to filter out these fine-grained foreground details. By intentionally "blurring" these areas, the model is forced to focus on robust structural elements like contours, shapes, and poses, which generalize more effectively to unseen categories.
2. Structural Topology Preservation (STP)
Traditional distillation methods often enforce rigid "point-to-point" constraints, requiring new features to match original features exactly. LOBG instead employs STP to preserve the angular relationships (topology) of the feature space. This ensures that if two images were conceptually close in the original CLIP space, they remain relatively close in the adapted space, maintaining the model's inherent "wisdom" while allowing the plasticity needed for task adaptation.
3. Hierarchical Logit Distillation (HLD)
To maintain grounding at the output level, LOBG uses two-tier distillation:
- Instance-aware: Keeps individual image predictions consistent with the original model.
- Class-aware: Preserves the relationships between different classes (e.g., ensuring a "dog" remains more similar to a "wolf" than a "car").
Experimental Results
LOBG was evaluated across 11 benchmark datasets, including general objects (ImageNet), fine-grained categories (OxfordPets, StanfordCars), and specialized tasks (EuroSAT, UCF101).
- State-of-the-Art Generalization: LOBG achieved an average accuracy of 77.04% on novel classes across all 11 datasets, outperforming the previous state-of-the-art method (TCP) by 1.68%.
- Fine-Grained Performance: On challenging datasets like FGVCAircraft and EuroSAT, LOBG improved the Harmonic Mean (the balance between base and novel performance) by 2.05% over existing methods.
- Cross-Dataset Robustness: When trained on ImageNet and tested on diverse external datasets, LOBG demonstrated superior stability, proving that it captures generalizable features rather than benchmark-specific shortcuts.
Conclusion
LOBG demonstrates that "less is more" when it comes to feature extraction for generalization. By filtering out distracting foreground details and preserving the underlying topology of the vision-language space, the framework successfully mitigates the B2N gap. Future research will focus on making the Foreground Information Filtering (FIF) more adaptive, automatically distinguishing between essential features and distracting details based on the specific task context.
Summary updated