Model Specific Task Similarity for Vision Language Model Selection via Layer Conductance

Wei Yang, Hong Xie, Tao Tan, Xin Li, Defu Lian, Enhong ChenarXiv 2026

TL;DR

Selecting the optimal pre-trained Vision-Language Model (VLM) for a new downstream task is challenging due to the high cost of exhaustive evaluation. This paper introduces a lightweight, label-free framework that measures model-specific task similarity using layer conductance on just a few unlabeled images. By evaluating how well a source task covers a target task's critical functional blocks via an asymmetric metric called Directional Conductance Divergence (DCD), this method improves VLM selection accuracy by 14.7% over text-based state-of-the-art approaches.

What Problem Does This Paper Address?

With the rapid proliferation of open-source Vision-Language Models (VLMs) like CLIP, choosing the right model for a specific downstream task has become a major bottleneck. Evaluating every candidate model directly on a target task is computationally prohibitive and often impossible when data is scarce (such as in few-shot or zero-shot scenarios).

Existing model selection methods either require massive amounts of labeled target data or rely purely on text descriptions of the tasks (e.g., LOVM, SWAB). Text-only methods suffer because task similarity is inherently model-specific—two tasks might sound semantically similar in text space but activate completely different internal representations inside a specific VLM's visual encoder. Furthermore, transferability is directional (asymmetric); a comprehensive source task might transfer well to a narrow target task, but the reverse is rarely true.

Methods

The authors propose grounding task similarity in the internal functional dynamics of the VLM's visual encoder using layer conductance.

  1. Task Representation via Layer Conductance: Instead of using text prompts or labels, they pass a few unlabeled images through the visual encoder. They compute the layer conductance (an attribution method extending Integrated Gradients) using the $\ell_2$ norm of the image embedding as a label-free objective. This maps each task into a model-specific layer contribution profile across coarse-grained functional blocks (e.g., ResNet stages or ViT blocks).
  2. Target-Conditioned Importance: They apply an entropy-regularized alignment objective to derive a soft probability distribution ($\alpha$) over the blocks, highlighting which layers are most critical for the target task.
  3. Directional Conductance Divergence (DCD): To capture the directional nature of transferability, they introduce DCD. This asymmetric metric measures the expected relative deviation of a source task's layer contributions compared to the target task's critical blocks.
  4. Rank Aggregation: Finally, they convert DCD scores into similarity weights to aggregate known source-task model rankings, predicting the optimal model ranking for the target task without ever running direct inference on it.

Datasets

The framework was evaluated using a massive "VLM Zoo" consisting of 48 models across 21 diverse datasets spanning various domains (including Stanford Cars, CIFAR100, CLEVR-D, Country211, Retinopathy, DTD, EuroSAT, FER2013, GTSRB, KITTI, MNIST, Flowers102, Oxford Pet, PCam, RenderedSST2, RESISC45, STL10, SUN397, SVHN, and VOC2007). While no new datasets were introduced, the model zoo was significantly expanded compared to prior benchmarks to ensure a heterogeneous evaluation.

Key Insights and Ideas

  • Task perception is model-specific: As shown in Figure 2, models within the same architectural family (e.g., ResNets vs. ViTs) share similar task distance perceptions, but cross-architecture agreement drops substantially. Text-only proxies completely miss this nuance.
Figure 2. Model-to-Model Correlation Matrix in Task Per- ception. High correlations within architectural families and low correlations across them indicate model-specific task relationships.
  • Asymmetry is crucial: Traditional symmetric metrics (like Cosine similarity or Euclidean distance) penalize a source task for having "extra" capabilities that the target task doesn't need. DCD fixes this by focusing purely on whether the source task covers what the target task requires.
  • Unlabeled images are powerful signals: Even without labels, the structural activation patterns elicited by a tiny handful of target images provide a far more reliable transferability signal than rich textual descriptions.

Key Results

  • The proposed method achieved a 0.707 NDCG@5, marking a 14.7% relative improvement over the previous state-of-the-art text-based method, SWAB (0.616).
  • Extreme Data Efficiency: As shown in Figure 4, the method achieves peak performance using just 1 unlabeled target image ($N_{tgt} = 1$) and saturates rapidly at around 25 source images ($N_{src} = 25$), making it incredibly practical for real-world deployment.
Figure 4. Impact of Source Task Sample Size (Nsrc). With a fixed single-shot target representation (Ntgt = 1), performance improves rapidly and saturates around Nsrc = 25, demonstrating that our method requires minimal data to construct the source reference library.
  • Robustness: Hyperparameter sensitivity analysis (Figure 3) demonstrated that the method maintains stable performance across a broad parameter space for both layer attention intensity ($\eta$) and task similarity scaling ($\gamma$).
Figure 3: Hyperparameter sensitivity heatmaps for $\eta$ and $\gamma$.
  • Ablation studies confirmed that replacing the asymmetric DCD metric with symmetric alternatives (like Cosine similarity or Jensen-Shannon divergence) drops performance significantly (NDCG@5 falls from 0.707 to ~0.640).

Limitations and Future Work

  • Heterogeneous Backbones: The current method assumes functional blocks can be aligned easily, but future work is needed to develop architecture-aware strategies to map blocks across highly heterogeneous visual backbones.
  • Multimodal Attribution: The layer conductance is currently computed solely on the visual encoder; extending this to capture vision-language interactions would benefit alignment-sensitive tasks.
  • Extreme Sampling Robustness: Performance under extreme data scarcity could be further stabilized using adaptive anchor selection and uncertainty-aware rank aggregation.

Summary updated

BibTeX
@misc{yang2026model,
  author = {Wei Yang and Hong Xie and Tao Tan and Xin Li and Defu Lian and Enhong Chen},
  title = {{Model Specific Task Similarity for Vision Language Model Selection via Layer Conductance}},
  year = {2026},
  eprint = {2602.01346},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.01346},
}
Figure