Papers › SegVG: Transferring Object Bounding Box to Segmentation for Visual Grounding

SegVG: Transferring Object Bounding Box to Segmentation for Visual Grounding

3 Jul 2024arXiv:2407.03200archive 2025-07-28

Weitai Kang, Gaowen Liu, Mubarak Shah, Yan Yan

Different from Object Detection, Visual Grounding deals with detecting a bounding box for each text-image pair. This one box for each text-image data provides sparse supervision signals. Although previous works achieve impressive results, their passive utilization of annotation, i.e. the sole use of the box annotation as regression ground truth, results in a suboptimal performance. In this paper, we present SegVG, a novel method transfers the box-level annotation as Segmentation signals to provide an additional pixel-level supervision for Visual Grounding. Specifically, we propose the Multi-layer Multi-task Encoder-Decoder as the target grounding stage, where we learn a regression query and multiple segmentation queries to ground the target by regression and segmentation of the box in each decoding layer, respectively. This approach allows us to iteratively exploit the annotation as signals for both box-level regression and pixel-level segmentation. Moreover, as the backbones are typically initialized by pretrained parameters learned from unimodal tasks and the queries for both regression and segmentation are static learnable embeddings, a domain discrepancy remains among these three types of features, which impairs subsequent target grounding. To mitigate this discrepancy, we introduce the Triple Alignment module, where the query, text, and vision tokens are triangularly updated to share the same space by triple attention mechanism. Extensive experiments on five widely used datasets validate our state-of-the-art (SOTA) performance.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.03200")

Code

Syntology Ran 20 of 31 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 5 ran · our draft was wrong; 15 ran with no contract checked.

By repository: official repository: 31 samples from 1 repository, 20 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

weitaikang/segvg officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

31 samples harvested; 20 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

5ran · our draft was wrong
15ran
11unverified

Licence: 31 of the 31 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from WeitaiKang/SegVG. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Backbone WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 3cea0289236abff1 · report
BackboneBase WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 64ed5e61066db71b · report
DETR WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 86783d5616cc10ae · report
FrozenBatchNorm2d WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · edab1f7b54761edc · report
Joiner WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 83277abc6189fc0e · report
MLP WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 1630454d42cd8f1e · report
MultiheadAttention WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · d232f407f48ea631 · report
NestedTensor WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · b636bcda4557023e · report
PositionEmbeddingLearned WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · b088aa9b061f576f · report
PositionEmbeddingSine WeitaiKang/SegVG/models/SegVG.py official repository ran no licence file found · pointer only · f6738d0ca7aecfc9 · report
TransformerDecoder WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 3f84d490190e415e · report
TransformerDecoderLayer WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · cb39d54bf9488205 · report
TransformerEncoder WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 143c12efbf5e86a7 · report
TransformerEncoderLayer WeitaiKang/SegVG/models/SegVG.py official repository ran no licence file found · pointer only · 11325595a1e21029 · report
Triple_Alignment WeitaiKang/SegVG/models/SegVG.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 8fadf62d0de39848 · report
_get_activation_fn WeitaiKang/SegVG/models/SegVG.py official repository ran · our draft was wrong no licence file found · pointer only · 0bb264f52e707e08 · report
_get_clones WeitaiKang/SegVG/models/SegVG.py official repository ran · our draft was wrong no licence file found · pointer only · a8f1bbeb369e1829 · report
build_backbone WeitaiKang/SegVG/models/SegVG.py official repository ran · our draft was wrong no licence file found · pointer only · f07174e325e1d5a1 · report
build_position_encoding WeitaiKang/SegVG/models/SegVG.py official repository ran · our draft was wrong no licence file found · pointer only · 153726d9d215fcbd · report
nested_tensor_from_tensor_list WeitaiKang/SegVG/models/SegVG.py official repository ran · our draft was wrong no licence file found · pointer only · a7b239b27e836fef · report
CustomBertModelLayers WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · 98a92778fc361b78 · report
SegVG WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · a46b55dedcf54d6a · report
Transformer WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · 7e21dc328864a039 · report
Triple_Alignment_MHA WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · b2c1a11b8bad9f0f · report
VisionLanguageDecoder WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · be0f0a78676af033 · report
VisionLanguageEncoder WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · a9723207bca49592 · report
_onnx_nested_tensor_from_tensor_list WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · 18ab6b8c9071badc · report
build_bert WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · d094d16051634f8d · report
build_detr WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · 6dde8f71aadd6481 · report
build_transformer WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · 9008729eeca3ae5e · report
build_vl_transformer WeitaiKang/SegVG/models/SegVG.py official repository unverified no licence file found · pointer only · fa56b4b60f836e92 · report

Tasks

Object DetectionSegmentationVisual Groundingobject-detectionregression

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections