Pretrained vision foundation models deliver strong performance across tasks with limited fine-tuning. However, their Vision Transformer (ViT) backbones impose high inference costs, limiting deployment on resource-constrained devices. In this work, we accelerate large-scale pretrained ViTs while preserving their feature extraction capabilities by exploiting the intrinsic convolution-like behavior of some attention heads. Specifically, we introduce an efficient depthwise convolution-based layer that serves as a drop-in replacement for these heads. Additionally, we propose simple strategies to identify which heads can be replaced and introduce a fine-tuning procedure that recovers downstream task performance. Across both image classification and segmentation tasks, our method achieves 17–20% inference speedup with minimal performance degradation. We validate the approach through detailed derivations, extensive experiments, and efficiency benchmarks. The reference implementation is publicly available (https://github.com/cscribano/DWConv_VFM).

Accelerating Vision Foundation Models with Drop-in Depthwise Convolution / Scribano, C., Mahdi, M., Prisadnikov, N., Fu, Y., Franchini, G., Paudel, D.P., Bertogna, M., Van Gool, L.. - 16824:(2026), pp. 463-477. (28th International Conference on Pattern Recognition, ICPR 2026 fra 2026) [10.1007/978-3-032-31927-2_31].

Accelerating Vision Foundation Models with Drop-in Depthwise Convolution

Scribano, Carmelo;Franchini, Giorgia;Bertogna, Marko;
2026

Abstract

Pretrained vision foundation models deliver strong performance across tasks with limited fine-tuning. However, their Vision Transformer (ViT) backbones impose high inference costs, limiting deployment on resource-constrained devices. In this work, we accelerate large-scale pretrained ViTs while preserving their feature extraction capabilities by exploiting the intrinsic convolution-like behavior of some attention heads. Specifically, we introduce an efficient depthwise convolution-based layer that serves as a drop-in replacement for these heads. Additionally, we propose simple strategies to identify which heads can be replaced and introduce a fine-tuning procedure that recovers downstream task performance. Across both image classification and segmentation tasks, our method achieves 17–20% inference speedup with minimal performance degradation. We validate the approach through detailed derivations, extensive experiments, and efficiency benchmarks. The reference implementation is publicly available (https://github.com/cscribano/DWConv_VFM).
2026
28th International Conference on Pattern Recognition, ICPR 2026
fra
2026
16824
463
477
Scribano, Carmelo; Mahdi, Mohammad; Prisadnikov, Nedyalko; Fu, Yuqian; Franchini, Giorgia; Paudel, Danda Pani; Bertogna, Marko; Van Gool, Luc
Accelerating Vision Foundation Models with Drop-in Depthwise Convolution / Scribano, C., Mahdi, M., Prisadnikov, N., Fu, Y., Franchini, G., Paudel, D.P., Bertogna, M., Van Gool, L.. - 16824:(2026), pp. 463-477. (28th International Conference on Pattern Recognition, ICPR 2026 fra 2026) [10.1007/978-3-032-31927-2_31].
File in questo prodotto:
File Dimensione Formato  
2605.22132v1.pdf

Open access

Tipologia: AO - Versione originale dell'autore proposta per la pubblicazione
Licenza: [IR] creative-commons
Dimensione 979.29 kB
Formato Adobe PDF
979.29 kB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

Licenza Creative Commons
I metadati presenti in IRIS UNIMORE sono rilasciati con licenza Creative Commons CC0 1.0 Universal, mentre i file delle pubblicazioni sono rilasciati con licenza Attribuzione 4.0 Internazionale (CC BY 4.0), salvo diversa indicazione.
In caso di violazione di copyright, contattare Supporto Iris

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11380/1425710
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? 0
  • OpenAlex 2
social impact