Skip to main content
QUICK REVIEW

[Paper Review] Visual Grounding with Transformers

Ye Du, Zehua Fu|arXiv (Cornell University)|May 10, 2021
Multimodal Machine Learning ApplicationsComputer Science8 citations
TL;DR

This paper proposes VGTR, a novel end-to-end transformer-based framework for visual grounding that eliminates reliance on pretrained object detectors or language models. By introducing text-guided self-attention to learn context-aware visual features aligned with language semantics, VGTR achieves state-of-the-art performance on four benchmarks, outperforming prior proposal-free methods by significant margins, including a 4.89% accuracy gain on Flickr30K Entities.

ABSTRACT

In this paper, we propose a transformer based approach for visual grounding. Unlike previous proposal-and-rank frameworks that rely heavily on pretrained object detectors or proposal-free frameworks that upgrade an off-the-shelf one-stage detector by fusing textual embeddings, our approach is built on top of a transformer encoder-decoder and is independent of any pretrained detectors or word embedding models. Termed VGTR -- Visual Grounding with TRansformers, our approach is designed to learn semantic-discriminative visual features under the guidance of the textual description without harming their location ability. This information flow enables our VGTR to have a strong capability in capturing context-level semantics of both vision and language modalities, rendering us to aggregate accurate visual clues implied by the description to locate the interested object instance. Experiments show that our method outperforms state-of-the-art proposal-free approaches by a considerable margin on five benchmarks while maintaining fast inference speed.

Motivation & Objective

  • To address the limitations of proposal-and-rank and proposal-free visual grounding methods that depend on pretrained detectors or suffer from poor context modeling.
  • To develop an end-to-end visual grounding framework independent of object detectors and pretrained language models.
  • To improve localization accuracy by learning discriminative visual features guided by language semantics through a novel attention mechanism.
  • To enable strong cross-modal understanding by jointly reasoning over vision and language features using a two-stream transformer architecture.

Proposed method

  • VGTR employs a four-module architecture: visual and textual encoders for tokenization, a two-stream grounding encoder for cross-modal interaction, a grounding decoder using textual tokens as queries, and a bounding box regression head.
  • The core innovation is the text-guided self-attention mechanism, which replaces standard self-attention in the visual stream to align visual features with linguistic context without compromising spatial localization.
  • The model performs end-to-end training by regressing object bounding box coordinates directly from the image-text pair, avoiding the need for candidate proposal generation.
  • Cross-attention between visual and textual features enables joint reasoning and context-level semantic alignment.
  • The grounding decoder dynamically attends to visual tokens relevant to the query, refining feature representations based on the linguistic description.
  • The framework is trained end-to-end with a standard regression loss on bounding box coordinates, enabling direct optimization of localization performance.

Experimental results

Research questions

  • RQ1Can a transformer-based visual grounding model achieve state-of-the-art performance without relying on pretrained object detectors or language models?
  • RQ2How effectively can text-guided self-attention improve visual feature learning for grounding by aligning visual features with linguistic semantics?
  • RQ3Does an end-to-end, proposal-free transformer framework outperform existing proposal-free and proposal-based methods in visual grounding?
  • RQ4To what extent does joint cross-modal reasoning enhance localization accuracy in complex or ambiguous referring expressions?

Key findings

  • On Flickr30K Entities, VGTR with ResNet50 outperforms ReSC-Large by 4.89% in accuracy, demonstrating a significant improvement over the strongest proposal-free baseline.
  • On RefCOCO, VGTR with ResNet101 achieves 78.70% accuracy on the validation set, surpassing ReSC-Large by 1.67% on the validation set and 2.08% on the testB set.
  • The ablation study confirms that text-guided self-attention is critical, increasing accuracy from 79.24% to 82.09% on RefCOCO, proving its effectiveness in context-aware feature learning.
  • The model with N=2 layers achieves optimal performance, indicating diminishing returns beyond a certain depth, with N=2 selected as the default.
  • Qualitative analysis shows VGTR excels in localizing background objects, inconspicuous instances, and objects in complex scenes—cases where prior models fail.
  • Failure cases are often due to misinterpretation of negation ('not'), indicating a limitation in understanding logical negation in language.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.