Synergy and Diversity in CLIP: Enhancing Performance Through Adaptive Backbone Ensembling
Cristian Rodriguez-Opazo, Ehsan Abbasnejad, Damien Teney, Hamed Damirchi, Edison Marrese-Taylor, Anton van den Hengel
TL;DR
This paper investigates the diverse representations and robustness of CLIP backbones trained on the same data and objective, revealing substantial complementarity across architectures. It introduces Neural Logit Controller (NLC), an adaptive ensemble that learns per-backbone temperatures to weight logits conditioned on the input, using only a small labeled holdout. Across 21 datasets, NLC achieves up to 39.1% improvement over the best single backbone and averages around 9% gains, while remaining compatible with efficiency frameworks like Cascade. The results demonstrate that leveraging backbone diversity with input-aware weighting yields substantial accuracy gains, reduces computational load when selecting a subset of backbones, and complements existing few-shot adapters.
Abstract
Contrastive Language-Image Pretraining (CLIP) stands out as a prominent method for image representation learning. Various architectures, from vision transformers (ViTs) to convolutional networks (ResNets) have been trained with CLIP to serve as general solutions to diverse vision tasks. This paper explores the differences across various CLIP-trained vision backbones. Despite using the same data and training objective, we find that these architectures have notably different representations, different classification performance across datasets, and different robustness properties to certain types of image perturbations. Our findings indicate a remarkable possible synergy across backbones by leveraging their respective strengths. In principle, classification accuracy could be improved by over 40 percentage with an informed selection of the optimal backbone per test example.Using this insight, we develop a straightforward yet powerful approach to adaptively ensemble multiple backbones. The approach uses as few as one labeled example per class to tune the adaptive combination of backbones. On a large collection of datasets, the method achieves a remarkable increase in accuracy of up to 39.1% over the best single backbone, well beyond traditional ensembles
