Skip to content

Mastering Negation: Boosting Grounding Models via Grouped Opposition-Based Learning

Conference: CVPR 2025
arXiv: 2603.12606
Code: To be confirmed
Area: Multimodal VLM
Keywords: visual grounding, negation understanding, opposition-based learning, negative semantics, efficient fine-tuning

TL;DR

This work constructs D-Negation, the first visual grounding dataset containing positive and negative semantic descriptions, and proposes the Grouped Opposition-Based Learning (GOBL) fine-tuning mechanism to significantly enhance the grounding model's understanding of negative semantics via oppositional semantic constraints.

Background & Motivation

Background: Visual Grounding (VG) has made significant progress. Models like GLIP, Grounding DINO, and APE perform exceptionally well in standard scenarios, but they are primarily trained and evaluated on affirmative semantic prompts.

Limitations of Prior Work: Existing VG models fail severely when handling negative semantics (e.g., "not a black cat"), often ignoring negation words and producing completely opposite localization results.

Key Challenge: Negative logic is pervasive in daily human communication. However, training datasets (e.g., LVIS, Objects365, Flickr30K) contain almost no negative descriptions, leading to a lack of negation understanding capabilities in models.

Goal: To efficiently enhance the capability of existing grounding models to comprehend negative semantics and complex modifiers.

Key Insight: Construct a dataset containing comparisons of positive and negative semantics, and leverage the principles of opposition-based learning to design an efficient fine-tuning strategy targeting the fusion module.

Core Idea: Through positive-negative semantic opposition training, the model's understanding of both negative and affirmative semantics is simultaneously enhanced while fine-tuning less than 10% of the parameters.

Method

Overall Architecture

  1. Utilize GPT-4V to generate positive/negative semantic descriptions for single-annotated objects in the COCO dataset.
  2. Construct the D-Negation dataset (13,893 images, 139,980 textual annotations).
  3. Design the GOBL fine-tuning mechanism, comprising two opposition constraint losses: PNC and TSO.
  4. Fine-tune only the vision-language fusion module while keeping other parameters frozen.

Key Designs

1. D-Negation Dataset Construction - Function: Generates 12 descriptions per object across 4 categories × 3 attributes (color/position/state): P+ (correct positive semantics), P- (incorrect positive semantics / hard negative), N+ (correct negative semantics), and N- (incorrect negative semantics / hard negative). - Mechanism: Filter the COCO dataset for images with only single annotations (to avoid MLLM confusion), visualize the bounding boxes, and feed them into GPT-4V to generate descriptions following a strict dictionary template. - Design Motivation: P+ opposes N-, and P- opposes N+, forming a semantically complete opposition relation network with a total of 6 antonymous pairs for training.

2. GOBL Fine-Tuning Mechanism — PNC Loss - Function: Positive-Negation Constraint loss, which enforces the differentiation between positive and negative semantics in the output space of the fusion module. - Mechanism: For a given image regional feature \(f_q\), compute its cosine similarities with positive/negative semantic textual features \(f_{t_P}\) and \(f_{t_N}\), respectively. After softmax normalization, optimize using focal loss or matching loss: $\(\bar{S}_{\text{cls}} = \frac{e^{\sigma s_1}}{e^{\sigma s_1} + e^{\sigma s_2}}\)$ where \(\sigma=5\) controls the sensitivity to semantic differences. - Design Motivation: Directly enforce the model to distinguish opposing prompts at the cross-modal fusion level, addressing the fundamental problem of the fusion module confusing positive and negative features.

3. GOBL Fine-Tuning Mechanism — TSO Loss - Function: Text Semantic-Opposite loss, which pulls apart positive and negative semantic vectors in the text feature space. - Mechanism: \(L_{\text{TSO}} = \frac{1}{N}(2 - \sum_{i=1}^{N} \|f_p - f_n\|_2^2)\), maximizing the L2 distance between positive and negative semantic features. - Design Motivation: Prior works like CLIPN revealed that the high similarity between positive and negative prompt feature vectors is a critical reason for model failure. TSO addresses this issue from the feature space perspective.

Loss & Training

\[L_{\text{total}} = L_{\text{cls}} + L_{\text{loc}} + \alpha L_{\text{PNC}} + \beta L_{\text{TSO}}\]
  • \(\alpha=0.5\), \(\beta=0.3\)
  • Fine-tune only the fusion module (<10% parameters), with the remaining backbone frozen.
  • Trained for only 1 epoch with 13K training images, a batch size of 1, taking approximately 10 hours to complete.

Key Experimental Results

Main Results

D³ Dataset (Intra-scenario, mAP):

Method Full Presence Absence
APE-C (baseline) 27.8 27.9 27.3
APE-C + Ours 32.5 (+4.7) 32.3 (+4.4) 33.0 (+5.7)
APE-D (baseline) 37.5 38.8 33.9
APE-D + Ours 38.6 (+1.1) 39.8 (+1.0) 35.0 (+1.1)
Grounding-DINO-Base 15.6 16.4 13.4
Grounding-DINO-Base + Ours 17.8 (+2.2) 17.4 (+1.0) 19.0 (+5.6)

D-Negation Test Set (mAP):

Method Original +Flickr30k +Ours
APE-D 78.9 80.2 (+1.3) 84.1 (+5.2)
APE-C 78.6 80.1 (+1.4) 82.8 (+4.2)

Ablation Study

D-Negation TSO Loss PNC Loss Full Presence Absence
- - - 27.8 27.9 27.3
- - 28.7 (+0.9) 28.5 (+0.6) 29.1 (+1.8)
- 29.2 (+1.4) 29.1 (+1.2) 29.5 (+2.2)
- 32.1 (+4.3) 31.0 (+3.2) 32.5 (+5.2)
32.5 (+4.7) 32.3 (+4.4) 33.0 (+5.7)

Key Findings

  1. Negation understanding simultaneously boosts affirmation understanding: Consistent improvements (+4.4 mAP @ APE-C) are achieved even under the Presence (affirmation-only) setting, indicating that opposition-based learning enhances the overall understanding of modifiers.
  2. PNC loss is the primary contributor: Using PNC alone yields a significant boost of +4.3 Full / +5.2 Absence, with TSO providing complementary gains.
  3. Simply scaling data is ineffective: Training with an equivalent amount of Flickr30K data might instead degrade performance (APE-A: -1.8), suggesting that the training paradigm is critical rather than the data quantity.
  4. Cross-domain generalization: APE-C achieves a +1.0/+0.9 improvement on RefCOCO testA/testB, respectively, without harming out-of-domain performance.
  5. High efficiency: Requires only 13K images, a single epoch of training, and fine-tuning <10% of the parameters.

Highlights & Insights

  • The first work to systematically introduce negative semantic understanding into visual grounding.
  • Identifies that the fusion module, rather than the text encoder or the detector, is the bottleneck in negation understanding.
  • The insight of opposition-based learning is highly elegant: enhancing negation understanding also drives improvements in affirmation understanding.
  • The extremely high training efficiency (13K data, 1 epoch, <10% parameters) makes the method highly practical.

Limitations & Future Work

  • D-Negation only covers three attributes (color, position, and state) and does not encompass more complex negative logic (e.g., conditional negation, double negation).
  • Reliance on GPT-4V for annotation generation may introduce biases towards specific MLLM preferences.
  • The scale of improvement is smaller on the larger APE-D model, suggesting a potential saturation effect.
  • Validation is limited to only two architectures (Grounding DINO and APE); its universality remains to be further verified.
  • The filtering strategy for single-annotated images limits the overall dataset scale.
  • NegCLIP and CLIPN utilize negative samples in classification tasks but have not extended them to spatial localization tasks.
  • CoN-CLIP uses LLMs to generate negative prompts for classification; this work extends a similar philosophy to grounding.
  • Introducing Opposition-Based Learning from the optimization domain to vision-language is a noteworthy cross-domain transfer.
  • Insight: Negation understanding might be a common weakness across all VLMs, warranting further research across a broader range of tasks.

Rating

  • Novelty: ⭐⭐⭐⭐ The first work to systematize negative semantic grounding, with a cleverly designed GOBL mechanism.
  • Experimental Thoroughness: ⭐⭐⭐⭐ Multiple models, benchmarks, and comprehensive ablation, with validation on cross-domain generalization.
  • Writing Quality: ⭐⭐⭐⭐ Clear problem motivation, detailed methodology description, and transparent dataset construction pipeline.
  • Value: ⭐⭐⭐⭐ High practical value; negative semantics is a crucial shortcoming of VLMs, and the proposed method is highly efficient and easy to deploy.