Localization vs. Semantics: How Can Language Benefit Visual Representation Learning?

Zhuowan Li, Cihang Xie, Benjamin Van Durme, Alan L. YuillearXiv 2022 · OpenReview

TL;DR

Training vision models with language (e.g., CLIP) creates a superior "vocabulary" for objects and attributes but reduces spatial precision. Conversely, vision-only models (e.g., MAE) excel at pinpointing boundaries but lack high-level semantic nuance.

Introduction

In the era of "Foundation Models," researchers often leverage pre-trained vision-only (V) or multimodal vision-and-language (VL) representations as backbones for diverse tasks. However, the specific impact of language on visual perception remains under-explored. Does language help a model understand geometry, or does it simply facilitate label memorization? This study conducts a "diagnostic checkup" on popular models to identify their core strengths.

Conceptual overview of the semantic-to-localization spectrum and the diagnostic tasks used to evaluate vision and vision-language models.

Methodology: Probing the Representations

The researchers used probing to evaluate five models: VL models (CLIP, OFA, FLAVA) and vision-only models (MAE, MOCOv3). By freezing the pre-trained backbones and training only a simple linear prediction head, they could determine what information is inherently present in the model's features. The evaluation spanned a spectrum of five tasks, from high-level Semantics (naming objects) to fine-grained Localization (segmenting parts).

Key Insights: The Semantic-Localization Trade-off

The study identifies a clear inverse relationship between semantic depth and spatial precision.

  • Language as a Semantic Anchor: VL models are "semantic masters." Language supervision helps them distinguish abstract concepts like "actions" (e.g., running vs. standing) and "states," which are frequently captured in text captions.
  • Reconstruction Breeds Precision: Vision-only models like MAE, trained to reconstruct missing pixels, are "spatial masters." The need to "draw" the image back forces a precise understanding of object boundaries.
  • The "Action vs. Texture" Divide: VL models dominate in abstract categories (actions, states), while vision-only models hold their own or even lead in highly grounded visual categories like "texture."

Quantitative Results

The performance data confirms the trade-off across different benchmarks, including Visual Genome, MSCOCO, and PartImageNet.

Quantitative results comparing Vision+Language (VL) and Vision-only (V) models across various semantic and localization tasks.
  • Label Prediction: On the Visual Genome naming task, the VL model OFA achieved 57.13% accuracy, significantly outperforming the best vision-only model, MAE (49.52%).
  • Dense Prediction: In MSCOCO Instance Segmentation, MAE achieved a mAP of 22.05, while the top VL model (OFA) trailed at 19.38.
  • Part Segmentation: On PartImageNet, MAE reached an mIOU of 42.30, compared to CLIP at 40.61.

Notably, the study found that fine-tuning a model on a specific task (like ImageNet) actually decreases the quality of its general probing features, as the model over-specializes and discards broader information.

Conclusion

This research highlights a fundamental trade-off: language enhances semantic understanding at the expense of spatial localization. Future work should aim for a "Goldilocks" objective—combining the conceptual richness of language with the pixel-level precision of reconstruction—to create models that can both name an object and trace its boundaries perfectly.

Summary updated

BibTeX
@misc{li2022localization,
  author = {Zhuowan Li and Cihang Xie and Benjamin Van Durme and Alan L. Yuille},
  title = {{Localization vs. Semantics: How Can Language Benefit Visual Representation Learning?}},
  year = {2022},
  url = {https://openreview.net/forum?id=pKn9HFgVnBF},
}
Figure