Visual Grounding with Multi-modal Conditional Adaptation

Ruilin Yao, Shengwu Xiong, Yichen Zhao, Yi Rong · DOI

Abstract

Visual grounding is the task of locating objects specified by natural language expressions. Existing methods typically extract visual and textual features separately using independent encoders, then fuse them in a multi-modal decoder. However, this approach produces identical visual features for the same image regardless of the text query, limiting performance. We introduce Multi-modal Conditional Adaptation (MMCA), which enables the visual encoder to adaptively update its weights, directing focus towards text-relevant regions. By integrating information from different modalities to generate weighting coefficients for weight update matrices, MMCA achieves significant improvements and state-of-the-art results on four widely used datasets while remaining lightweight and efficient.

The Challenge of Static Visual Encoders

Visual Grounding (VG) requires a model to locate a specific object in an image based on a natural language description, such as "the man in the red hat on the left."

Traditional architectures utilize an independent visual encoder (like ResNet or Swin Transformer) to extract image features. Because these encoders are "static"—meaning they are not conditioned on the text query—they produce the exact same feature maps for an image whether the user is looking for a "red hat" or a "blue car." This forces the multi-modal decoder to perform the heavy lifting of filtering irrelevant information.

Comparison between independent visual feature extraction and the proposed multi-modal conditional approach.

As shown in the figure above, independent extraction results in a generic heatmap. In contrast, MMCA allows the visual encoder to produce query-specific features, concentrating attention on the target object early in the pipeline.

Multi-modal Conditional Adaptation (MMCA)

Inspired by Parameter-Efficient Fine-Tuning (PEFT) techniques like LoRA, MMCA allows a visual encoder to dynamically "re-tune" its weights based on a specific text query. The method consists of three primary components:

  1. Multi-modal Embedding via Gated Fusion: Instead of relying solely on text, which can be noisy, MMCA uses a gated fusion mechanism to combine visual and textual information. This ensures stable guidance even when descriptions are ambiguous.
  2. Conditional Weight Update: The model represents weight updates as the product of two low-rank matrices. Unlike standard LoRA, where updates are static after training, MMCA uses the multi-modal embedding to generate dynamic weighting coefficients that reorganize a set of "basis" update matrices.
  3. Plug-and-Play Integration: This mechanism is applied to the core components of the visual backbone, such as the Query, Key, and Feed-Forward layers in Transformers, or convolutional blocks in CNNs.
The detailed architecture of the MMCA module, showing the gated fusion and the low-rank projection mechanism.

Key Insights and Results

MMCA was evaluated on standard benchmarks including RefCOCO, RefCOCO+, RefCOCOg, and ReferItGame. The results demonstrate that incorporating visual features into the guidance signal makes the adaptation significantly more robust.

  • State-of-the-Art Performance: On the RefCOCO dataset, MMCA improved the baseline (TransVG) by +4.02% on the validation set, outperforming complex models like LUNA and LADS.
  • Efficiency: The model adds only ~1.82M parameters. Despite the dynamic updates, inference speed only drops by approximately 5% (roughly 1 FPS), making it viable for real-time applications.
  • Visualization: Attention maps confirm that MMCA-equipped encoders have attention distributions tightly concentrated on the object described in the text, whereas standard encoders remain diffuse.

Conclusion

MMCA treats visual grounding as a downstream task of general feature extraction. By using a tiny number of parameters to "steer" the visual backbone, it achieves superior accuracy without the computational burden of heavy, language-guided architectures. Future work will explore scaling this conditional adaptation to extremely large-scale foundation models.

Summary updated

BibTeX
@inproceedings{yao2024visual,
  author = {Ruilin Yao and Shengwu Xiong and Yichen Zhao and Yi Rong},
  title = {{Visual Grounding with Multi-modal Conditional Adaptation}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3681256},
}
Figure