Abstract
Visual grounding aims to localize objects in images based on natural language queries. Traditional models often suffer from an "inconsistency issue" where the visual backbone extracts query-agnostic features, leading to noise and misalignment. We present Query-modulated Refinement Networks (QRNet), which integrate a Query-aware Dynamic Attention (QD-ATT) mechanism directly into the visual backbone. By modulating the backbone with textual information, QRNet ensures that extracted features are task-specific and query-consistent. Our approach achieves state-of-the-art performance on five standard benchmarks and demonstrates significant real-world impact in e-commerce applications.
Introduction
Visual grounding is the task of localizing a specific object in an image based on a natural language description, such as "the orange on top in between the green." Despite recent progress, a major bottleneck remains: the inconsistency issue.
Standard visual grounding models typically rely on pre-trained, "static" backbones (e.g., ResNet or Swin-Transformer). These backbones are query-agnostic, meaning they extract features for every salient object in a scene regardless of the user's intent. As a result, the model must later filter through significant visual "noise" to find the target object. The authors of this paper argue that the backbone itself should be "informed" of the query during the feature extraction process to ensure that the resulting visual representations are relevant to the specific task.
The QRNet Architecture
The core contribution of this work is the Query-modulated Refinement Network (QRNet). Unlike traditional frameworks that treat the backbone as a black-box feature extractor, QRNet transforms the hierarchical backbone into a query-aware reasoning component.
Query-aware Dynamic Attention (QD-ATT)
The engine behind QRNet is the QD-ATT mechanism. Instead of using static weights, QRNet employs Dynamic Linear Layers whose weights are generated on-the-fly based on the textual embedding of the query. This allows the model to "re-specialize" its vision for every unique sentence. To maintain computational efficiency and prevent overfitting, the authors utilize Matrix Factorization, decomposing the dynamic weights into a query-dependent factor and a static learnable factor.
Hierarchical Refinement and Fusion
QD-ATT is applied across multiple stages of the visual backbone (e.g., Stages 1 through 4 of a Swin-Transformer). This enables both channel attention (identifying which features like color or shape are important) and spatial attention (identifying where in the image to focus). Finally, a Query-aware Multiscale Fusion module combines features from different scales to ensure the final representation captures both fine-grained details and global context.
Experimental Results
QRNet was evaluated on five major benchmarks: RefCOCO, RefCOCO+, RefCOCOg, ReferItGame, and Flickr30K Entities. The model achieved state-of-the-art (SOTA) performance across the board, notably outperforming previous leading models like TransVG.
- Benchmark Performance: On RefCOCO and RefCOCO+, QRNet showed absolute accuracy improvements of up to 4.32% on object-focused test sets. On ReferItGame, it reached a record accuracy of 74.61%.
- Real-world Application: The practical utility of QRNet was demonstrated through its deployment in Alibaba's Pailitao search engine. In large-scale A/B testing, the model decreased the "no-click" rate by 1.47% and increased successful transactions by 2.20%, highlighting the value of precise visual grounding in e-commerce.
Conclusion
QRNet shifts the paradigm of visual grounding by moving the cross-modal interaction into the visual backbone itself. By addressing the inconsistency issue through dynamic, query-aware attention, the model produces more relevant visual features and achieves superior localization accuracy. Future work may explore more granular textual representations beyond global embeddings and further simplify the architecture to rely even more heavily on query-aware backbones.
Summary updated