Characterizing Vision Backbones for Dense Prediction with Dense Attentive Probing

Timo Lüddecke, Alexander S. EckerTMLR 2025

Abstract

The paradigm of pretraining a backbone on a large set of (often unlabeled) images has gained popularity. The quality of the resulting features is commonly measured by freezing the backbone and training different task heads on top of it. However, current evaluations cover only classifications of whole images or require complex dense task heads which introduce a large number of parameters and add their own inductive biases. In this work, we propose dense attentive probing, a parameter-efficient readout method for dense prediction on arbitrary backbones – independent of the size and resolution of their feature volume. To this end, we extend cross-attention with distance-based masks of learnable sizes. We employ this method to evaluate 18 common backbones on dense predictions tasks in three dimensions: instance awareness, local semantics and spatial understanding. We find that DINOv2 outperforms all other backbones tested – including those supervised with masks and language – across all three task categories. Furthermore, our analysis suggests that self-supervised pretraining tends to yield features that separate object instances better than vision-language models.

Introduction

Evaluating the representational quality of pretrained vision backbones, such as Vision Transformers (ViT) or ResNets, typically relies on linear probing. While effective for image-level classification, this approach fails to capture performance on "dense" tasks—where a prediction is required for every pixel, such as semantic segmentation or depth estimation. Traditionally, evaluating these tasks requires massive task heads (e.g., UPerNet) that introduce millions of parameters. This complexity makes it difficult to disentangle the backbone's inherent feature quality from the capacity of the decoder.

Dense Attentive Probing (DeAP)

To address this, the researchers introduce Dense Attentive Probing (DeAP), an ultra-lightweight readout method designed to be the dense equivalent of a linear probe. DeAP uses a single cross-attention layer where queries represent output pixels on a grid.

The DeAP architecture uses masked cross-attention and a lightweight CNN to produce dense predictions from frozen backbone features.

Key technical innovations include:

  • Masked Cross-Attention: Queries attend to backbone features through distance-based Gaussian masks.
  • Learnable Locality: Each attention head has a learnable standard deviation ($\sigma$), allowing the probe to automatically adjust its receptive field to match the backbone's feature distribution.
  • Resolution Decoupling: The query grid is independent of the backbone's feature resolution, allowing for high-resolution outputs from low-resolution feature maps.
  • Efficiency: DeAP utilizes only 0.05M to 0.5M parameters, roughly 50x fewer than standard task heads, ensuring that performance metrics reflect the backbone's quality rather than the probe's capacity.

Evaluation Framework

The study evaluated 18 backbones across three core dimensions:

  1. Instance Awareness: Measured using COCO to test object center detection and boundary discrimination.
  2. Local Semantics: Evaluated via Pascal VOC 2012 and COCO Stuff to identify category-level pixel information.
  3. Spatial Understanding: Assessed using NYUv2 for monocular depth estimation.

Key Insights

The DINOv2 Dominance

DINOv2 (specifically the ViT-L variant) emerged as the top performer across nearly all categories, outperforming models supervised with human labels or language. This suggests that its self-supervised objective produces highly versatile dense features.

SSL vs. Vision-Language Models (VLM)

The analysis reveals a distinct trade-off between training styles:

  • Self-Supervised Learning (SSL) models like MAE and DINO excel at Instance Awareness, treating objects as distinct entities.
  • Vision-Language Models (VLM) like CLIP and SigLIP are superior in Local Semantics, better identifying specific categories (e.g., "chair" vs. "table").

Backbone-Specific Locality

The learnable $\sigma$ parameter in DeAP highlights that different backbones store spatial information differently. Some backbones require highly localized attention, while others benefit from a broader context.

Learnable Gaussian attention masks adapt to the specific spatial characteristics of different backbones.

Results and Conclusion

DeAP demonstrates that model scaling generally improves performance, though the pretraining objective is often more influential than parameter count alone. For instance, DINOv2 achieved an mIoU of 83.4 on Pascal VOC, significantly higher than the best VLM tested (ViTamin at 77.9). On the Adjusted Rand Index (ARI) for instance separation, DINOv2 scored 46.8, while standard ImageNet-supervised models trailed at 36.3.

While DeAP reduces architectural bias, it may still slightly favor certain architectures like ViTs. In conclusion, DINOv2 currently provides the strongest features for dense prediction, while MAE and Hiera offer excellent efficiency for compute-constrained applications.

Code is available at http://eckerlab.org/code/deap.

Summary updated

BibTeX
@article{luddecke2025characterizing,
  author = {Timo Lüddecke and Alexander S. Ecker},
  title = {{Characterizing Vision Backbones for Dense Prediction with Dense Attentive Probing}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=neMAx4uBlh},
}
Figure