How to Benchmark Vision Foundation Models for Semantic Segmentation?
Tommie Kerssies, Daan de Geus, Gijs Dubbelman
TL;DR
The paper addresses the lack of standardized benchmarks for evaluating vision foundation models (VFMs) on semantic segmentation. It proposes a structured benchmarking framework that varies key factors (encoder freezing, decoder, model size, patch size, datasets, domain shifts) while using Kendall's tau to assess ranking stability and mean IoU as the main metric, with ADE20K as the default task. Its main findings show that end-to-end fine-tuning with ViT-B/16 and a linear decoder provides a representative baseline, linear probing is not reliable, and Mask2Former largely preserves ranking at higher training cost; notably, masked image modeling (MIM) with abstract representations emerges as a crucial pretraining objective, more impactful than the choice of supervision. The practical impact is a guidance for efficient, multi-dataset benchmarking and a public codebase to enable researchers to compare VFMs for semantic segmentation and to re-evaluate benchmarks as new models emerge.
Abstract
Recent vision foundation models (VFMs) have demonstrated proficiency in various tasks but require supervised fine-tuning to perform the task of semantic segmentation effectively. Benchmarking their performance is essential for selecting current models and guiding future model developments for this task. The lack of a standardized benchmark complicates comparisons. Therefore, the primary objective of this paper is to study how VFMs should be benchmarked for semantic segmentation. To do so, various VFMs are fine-tuned under various settings, and the impact of individual settings on the performance ranking and training time is assessed. Based on the results, the recommendation is to fine-tune the ViT-B variants of VFMs with a 16x16 patch size and a linear decoder, as these settings are representative of using a larger model, more advanced decoder and smaller patch size, while reducing training time by more than 13 times. Using multiple datasets for training and evaluation is also recommended, as the performance ranking across datasets and domain shifts varies. Linear probing, a common practice for some VFMs, is not recommended, as it is not representative of end-to-end fine-tuning. The benchmarking setup recommended in this paper enables a performance analysis of VFMs for semantic segmentation. The findings of such an analysis reveal that pretraining with promptable segmentation is not beneficial, whereas masked image modeling (MIM) with abstract representations is crucial, even more important than the type of supervision used. The code for efficiently fine-tuning VFMs for semantic segmentation can be accessed through the project page at: https://tue-mps.github.io/benchmark-vfm-ss/.
