NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Task-aware Cross-modal Feature Refinement Transformer with Large Language Models for Visual Grounding

Wenbo Chen, Zhen Xu, Ruotao Xu, Si Wu, Hau-San WongCVPR 2025

Introduction

Visual grounding—the ability of a computer to locate a specific object in an image based on a text description—is a cornerstone of human-computer interaction. However, it remains a significant challenge because it requires a deep, simultaneous understanding of natural language and pixel data. Existing methods often struggle with the domain discrepancy between Large Language Models (LLMs), which are primarily text-trained, and raw visual features. Furthermore, translating high-level concepts like "man in a blue tie" into pixel-perfect masks or tight bounding boxes requires a mechanism to refine visual features based on the specific task at hand.

The Task-aware Cross-modal Feature Refinement Transformer (TCRT) is a new framework that leverages the reasoning power of LLMs to improve visual grounding. By using LLM-generated "priors" to guide how a model "looks" at an image, TCRT achieves state-of-the-art performance in both identifying objects with bounding boxes and precisely segmenting them from the background.

Methodology

TCRT is an end-to-end transformer-based model built around three novel components designed to bridge the gap between vision and language.

The architecture of TCRT, featuring the LLM Adaptation Module and the Task-aware Cross-modal Feature Fusion Module.

LLM Adaptation Module

To help the LLM (Llama 3.1-8B) understand images, TCRT uses a "text-aware visual encoder." This module employs conditioned normalization, which adjusts the statistical characteristics of visual features based on the input text before they reach the LLM. This reduces the "modality gap" early in the pipeline, making visual features more digestible for the language model.

Task-aware Cross-modal Feature Fusion

Instead of requiring the LLM to predict coordinates directly, TCRT uses the LLM's output to create task-aware embeddings. These embeddings act as a "refinement prompt" that guides a cross-attention mechanism, effectively telling the vision backbone which parts of the image are most relevant to the specific task—whether it be Referring Expression Comprehension (REC - boxes) or Referring Expression Segmentation (RES - masks).

Semantic Matching and Interaction

The model utilizes Object-Text Semantic Matching Regularization, a training strategy where the model learns to classify whether a specific image region matches the text description. Additionally, the model explicitly shares information between the REC and RES tasks, allowing locational data from boxes to improve the boundary details of segmentation masks.

Key Results and Insights

TCRT sets a new bar for performance across standard benchmarks including RefCOCO, RefCOCO+, RefCOCOg, and ReferItGame.

  • Superior Accuracy: On the RefCOCO dataset, TCRT achieved a 91.07% accuracy ([email protected]), outperforming the previous state-of-the-art model, Vista-7B, by nearly 3%.
  • Precise Segmentation: The model showed significant gains in Mean Intersection over Union (mIoU), with absolute improvements of up to 2.62% on RefCOCO compared to previous leaders.
  • Robustness in Cluttered Scenes: Qualitative results show that TCRT excels in complex environments where previous models often fail, such as picking out the "second vase from the front" among many similar objects.
Qualitative comparison of TCRT against TransVG and QRNet on challenging referring expressions involving cluttered scenes.

Visualization of the model’s attention confirms that LLM-guided refinement significantly "cleans up" visual features, focusing the model's "eyes" on the target object while suppressing background noise. This confirms the core insight: LLMs are most effective when providing high-level semantic priors to guide specialized vision modules.

Limitations and Future Work

Despite its power, TCRT carries the computational weight of an 8-billion parameter LLM, making it more expensive to run than smaller, specialized transformers. Future work may explore parameter-efficient fine-tuning (PEFT) to integrate the LLM more tightly or optimize the multi-stage refinement process for real-time applications where ultra-low latency is required.

Summary updated

BibTeX
@inproceedings{chen2025task,
  author = {Wenbo Chen and Zhen Xu and Ruotao Xu and Si Wu and Hau-San Wong},
  title = {{Task-aware Cross-modal Feature Refinement Transformer with Large Language Models for Visual Grounding}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00372},
}
Figure