How Universal Are SAM2 Features?
Masoud Khairi Atani, Alon Harell, Hyomin Choi, Runyu Yang, Fabien Racape, Ivan V. Bajic
TL;DR
The paper addresses how universal SAM2 features compare to generalist Hiera under adaptation with a trainable neck, and whether specialization incurs information loss. It introduces a neck-based adaptation framework and a cross-neck analysis to quantify information bottlenecks via multiple MI estimators and distributional metrics. Results show SAM2 excels on depth (spatial tasks) but loses versatility on pose and captioning, while Hiera maintains broader semantic utility; distillation and higher neck capacity mitigate but do not fully erase these trade-offs. The findings provide a quantitative foundation for designing efficient universal feature coding and adaptation strategies.
Abstract
The trade-off between general-purpose foundation vision models and their specialized counterparts is critical for efficient feature coding design and is not yet fully understood. We investigate this trade-off by comparing the feature versatility of the general-purpose Hiera encoder against the segmentation-specialized Segment Anything Model 2 (SAM2). Using a lightweight, trainable neck to probe the adaptability of their frozen features, we quantify the information-theoretic cost of specialization. Our results reveal that while SAM2's specialization is highly effective for spatially-related tasks like depth estimation, it comes at a cost. The specialized SAM2 encoder underperforms its generalist predecessor, Hiera, on conceptually distant tasks such as pose estimation and image captioning, demonstrating a measurable loss of broader semantic information. A novel cross-neck analysis on SAM2 reveals that each level of adaptation creates a further representational bottleneck. Our analysis illuminates these trade-offs in feature universality, providing a quantitative foundation for designing efficient feature coding and adaptation strategies for diverse downstream applications.
