[Paper Review] SeqTR: A Simple yet Universal Network for Visual Grounding
This paper proposes SeqTR, a simple yet universal Transformer-based network for visual grounding that reformulates bounding box and mask prediction as sequential point prediction using discrete coordinate tokens. By unifying phrase localization, referring expression comprehension, and segmentation under a single cross-entropy loss and shared architecture, SeqTR achieves state-of-the-art or competitive performance across five benchmarks without task-specific heads or complex loss functions.
In this paper, we propose a simple yet universal network termed SeqTR for visual grounding tasks, e.g., phrase localization, referring expression comprehension (REC) and segmentation (RES). The canonical paradigms for visual grounding often require substantial expertise in designing network architectures and loss functions, making them hard to generalize across tasks. To simplify and unify the modeling, we cast visual grounding as a point prediction problem conditioned on image and text inputs, where either the bounding box or binary mask is represented as a sequence of discrete coordinate tokens. Under this paradigm, visual grounding tasks are unified in our SeqTR network without task-specific branches or heads, e.g., the convolutional mask decoder for RES, which greatly reduces the complexity of multi-task modeling. In addition, SeqTR also shares the same optimization objective for all tasks with a simple cross-entropy loss, further reducing the complexity of deploying hand-crafted loss functions. Experiments on five benchmark datasets demonstrate that the proposed SeqTR outperforms (or is on par with) the existing state-of-the-arts, proving that a simple yet universal approach for visual grounding is indeed feasible. Source code is available at https://github.com/sean-zhuh/SeqTR.
Motivation & Objective
- To simplify visual grounding modeling by eliminating task-specific architectures and loss functions.
- To unify phrase localization, referring expression comprehension, and segmentation under a single, shared network structure.
- To reduce the complexity of multi-task learning in vision-language alignment through a common optimization objective.
- To enable end-to-end training with minimal architectural and loss engineering.
- To demonstrate that a simple, universal approach can match or exceed state-of-the-art performance in visual grounding.
Proposed method
- Reformulate visual grounding as a sequence prediction problem where bounding boxes and binary masks are represented as discrete coordinate tokens.
- Use a standard Transformer encoder-decoder architecture to predict coordinate tokens autoregressively from image and text inputs.
- Represent masks via clockwise contour sampling to convert pixel-level segmentation into a sequence of N points.
- Train the model using a single cross-entropy loss across all tasks, eliminating the need for task-specific loss functions.
- Apply point shuffling during training to improve generalization and robustness to sequence order.
- Enable multi-task training without architectural modifications, allowing joint optimization of REC and RES.
Experimental results
Research questions
- RQ1Can visual grounding tasks be unified under a single, simple architecture without task-specific branches?
- RQ2Can a universal cross-entropy loss replace complex, task-specific loss functions in visual grounding?
- RQ3Does sequential point prediction via coordinate token generation preserve spatial accuracy for both bounding boxes and masks?
- RQ4Can a single model achieve strong performance on both localization and segmentation benchmarks without architectural specialization?
- RQ5How does point sampling strategy and sequence shuffling affect model generalization and performance?
Key findings
- SeqTR achieves state-of-the-art or competitive performance on five benchmark datasets: RefCOCO, RefCOCO+, RefCOCOg, ReferItGame, and Flickr30K Entities.
- On RefCOCO, SeqTR achieves 80.38% REC accuracy and 78.03% mIoU for RES, outperforming prior methods in mIoU while maintaining high localization accuracy.
- The model achieves 95.57% upper bound mIoU with uniform sampling and 18 points, indicating high fidelity in mask reconstruction.
- Multi-task training slightly degrades performance compared to single-task training, suggesting that REC and RES predictions are independent in the sequence-based paradigm.
- Point shuffling during training improves convergence and robustness, with 0.2 shuffle ratio yielding optimal results on RefCOCO and RefCOCO+.
- SeqTR outperforms large-scale BERT-style models with significantly less pre-training cost, demonstrating efficiency and effectiveness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.