Investigating the Role of Attribute Context in Vision-Language Models for Object Recognition and Detection

Kyle Buettner, Adriana Kovashka

Introduction

Vision-language (VL) models like CLIP have revolutionized computer vision by aligning visual data with natural language. However, recent research suggests these models often operate as "bag-of-words" systems, primarily focusing on nouns (objects) while neglecting the descriptive context provided by adjectives (attributes). This "attribute laziness" limits their effectiveness in fine-grained tasks, such as distinguishing between a "large furry brown bear" and a "small black bear."

Overview of the gap between image-caption pretraining and fine-grained retrieval tasks.

Methodology

The authors investigated this phenomenon across two major paradigms: OVR-CNN (region-word grounding) and CLIP (image-text alignment). Their approach involved three key components:

  1. Sensitivity Analysis: The researchers measured model performance when attributes were removed, swapped for plausible alternatives, or replaced with random adjectives.
  2. Contextualization: They integrated contextualized BERT embeddings into OVR-CNN to determine if linguistic awareness alone could improve visual grounding.
  3. Adjective-Based Negative Sampling: The core contribution involves a contrastive training strategy using "hard negatives." Instead of comparing an image to a random caption, the model must distinguish the correct caption from one where only the adjective is changed (e.g., "green banana" vs. "rotten banana").

Key Insights and Experimental Analysis

The study revealed that standard training often wastes attribute context. In OVR-CNN, removing adjectives entirely resulted in only a minimal (-0.36 AP) drop in object detection, indicating that the model was not utilizing descriptive context for object localization.

Furthermore, CLIP demonstrated a heavy "noun anchor" dependency. When the authors attempted to classify images using only attribute descriptions (e.g., "a large bird with a brightly colored bill" instead of "toucan"), accuracy plummeted by up to 40%. This suggests that models rely on class names as anchors rather than understanding the full descriptive context.

Results

The introduction of adjective-based negative sampling and contextualization yielded significant improvements across several benchmarks:

  • Open-Vocabulary Detection: OVR-CNN performance on COCO improved by +3.0 AP50 for base classes and +2.5 AP50 overall.
  • Fine-Grained Retrieval: In text-to-region retrieval tasks, the proposed negative sampling strategy improved CLIP’s Recall@1 from 48.9% to 60.1%.
  • Attribution Accuracy: On the ARO Visual Genome Attribution (VGA) benchmark, the model more reliably paired attributes with their corresponding objects compared to standard training methods.

Conclusion and Future Work

While contextualization alone is not a "silver bullet," forcing models to differentiate between fine-grained attribute variations through hard negative sampling effectively mitigates attribute laziness. This approach enhances the model's ability to leverage descriptive context for better object recognition and detection. Future work may explore the use of Large Language Models (LLMs) to generate more sophisticated "plausible" negatives to further challenge and refine model sensitivity.

Summary updated

BibTeX
@inproceedings{buettner2024investigating,
  author = {Kyle Buettner and Adriana Kovashka},
  title = {{Investigating the Role of Attribute Context in Vision-Language Models for Object Recognition and Detection}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00539},
}
Figure