Abstract
Vision-language (VL) models often exhibit a limited understanding of complex expressions of visual objects (e.g., attributes, shapes, and their relations), given complex and diverse language queries. Traditional approaches attempt to improve VL models using hard negative synthetic text, but their effectiveness is limited. In this paper, we harness the exceptional compositional understanding capabilities of generative foundational models. We introduce a novel method for structured synthetic data generation aimed at enhancing the compositional understanding of VL models in language-based object detection. Our framework generates densely paired positive and negative triplets (image, text descriptions, and bounding boxes) in both image and text domains. By leveraging these synthetic triplets, we transform ‘weaker’ VL models into ‘stronger’ models in terms of compositional understanding, a process we call “Weak-to-Strong Compositional Learning” (WSCL). To achieve this, we propose a new compositional contrastive learning formulation that discovers semantics and structures in complex descriptions from synthetic triplets. As a result, VL models trained with our synthetic data generation exhibit a significant performance boost in the Omnilabel benchmark by up to +5AP and the $D^3$ benchmark by +6.9AP upon existing baselines.
Introduction: The Compositionality Challenge
Current vision-language (VL) models, while powerful, often behave like "bags-of-words." They excel at identifying individual objects like "dog" or "car" but struggle to distinguish between complex queries where the relationship between attributes and objects is critical—for example, confusing "a person holding a red bag" with "a red person holding a bag." This lack of compositional understanding stems from two primary issues: the models' tendency to ignore sentence structure in favor of keyword matching, and the extreme scarcity of high-quality, human-annotated data for complex phrase grounding.
Weak-to-Strong Compositional Learning (WSCL)
To address these limitations, we propose Weak-to-Strong Compositional Learning (WSCL). This framework leverages the compositional knowledge embedded in large-scale generative models (LLMs and Diffusion models) to create dense synthetic training data.
Synthetic Triplet Generation
The core of WSCL is the generation of "triplets" consisting of an image, a complex description, and precise bounding boxes:
- Text Generation: An LLM generates diverse, detailed descriptions for specific categories (e.g., "a red double-decker bus parked next to a bustling city street").
- Image Synthesis: A text-to-image diffusion model (e.g., Pixart-alpha) generates high-fidelity images based on these descriptions.
- Weak-to-Strong Labeling: To obtain accurate bounding boxes for complex sentences, we decompose them into simple noun phrases. We detect these simple entities individually and then re-combine them to form high-quality "strong" labels for the original complex description.
Compositional Contrastive Learning
We introduce two training strategies to ensure the detector learns from this synthetic data:
- Description-awareness: The model is trained to distinguish between different descriptions of the same category (e.g., "red bus" vs. "yellow bus"), forcing it to attend to specific adjectives.
- Textural-structural-awareness: The model learns to distinguish the primary subject of a sentence from other mentioned entities, penalizing incorrect detections of background objects mentioned in the query.
Experimental Results
The WSCL framework was evaluated on challenging benchmarks designed for compositionality: OmniLabel and $D^3$ (Described Object Detection).
- OmniLabel Benchmark: WSCL improved GLIP-T by +5.0 AP and FIBER-B by +4.8 AP. Notably, for the most complex long queries, the performance of GLIP-T doubled from 8.2 to 16.4 AP.
- $D^3$ Benchmark: The method achieved a significant boost of +6.9 AP over the baseline.
- Generalization: The performance gains were consistent across various visual backbones (Swin-Transformer) and language models (BERT, RoBERTa), demonstrating the model-agnostic nature of the approach.
Conclusion
WSCL demonstrates that generative models can serve as effective "teachers" for discriminative object detectors. By breaking down complex linguistic tasks into simpler components and generating dense synthetic data, we can significantly enhance the compositional understanding of VL models. While challenges like diffusion artifacts and domain bias remain, the continued advancement of generative AI promises even greater improvements in the future.
Summary updated