SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.04833 · ICCV · 2025

PropVG: End-to-End Proposal-Driven Visual Grounding with Multi-Granularity Discrimination

Wankou Yang, Jiedong Zhuang, Zhenhua Feng, Ming Dai, Jiang-Jiang Liu, Wenxuan Cheng, Hongshen Zhao

arXiv · PDF · Open in the Atlas

Code that ran

8 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 4 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2509.04833.json · badge: /api/ran/2509.04833.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Dmmm1997/PropVG canonical (classifier label)
classifier basis: census
8 ran · 4 no recorded run
FunctionStatusWhere it lives
apply_box_noise Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Dmmm1997/PropVG/propvg/layers/denoising.py
code served (permissive licence) · get_code("c8ea5508b3ca2db0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor of bounding boxes in (x_c, y_c, w, h) format
# Shape: (num_boxes=2, 4)
# Values normalized to be in a reasonable range for boxes (0 to 1)
boxes = torch.tensor([
    [0.5, 0.5, 0.3, 0.4],
    [0.2, 0.7, 0.2, 0.2]
], dtype=torch.float32)

box_noise_scale = 0.4

ARGS = {
    "boxes": boxes,
    "box_noise_scale": box_noise_scale,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
apply_label_noise Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Dmmm1997/PropVG/propvg/layers/denoising.py
code served (permissive licence) · get_code("95bd488170c50d24")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family int, shape (5,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor of classification labels
# Shape: (num_labels,) - using 5 labels as a small example
labels = torch.tensor([0, 1, 2, 3, 4], dtype=torch.long)

# Define arguments for apply_label_noise
ARGS = {
    "labels": labels,
    "label_noise_prob": 0.2,
    "num_classes": 80
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family int, shape (5,) — shape (5,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
box_cxcywh_to_xyxy Ran
ran; our contract draft was wrong, not the code
Dmmm1997/PropVG/propvg/layers/box_ops.py
code served (permissive licence) · get_code("856982244cffd7e3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small batch of bounding boxes in (cx, cy, w, h) format
# Shape: (2, 4) - 2 bounding boxes, each with 4 values
bbox = torch.tensor([
    [50.0, 50.0, 20.0, 30.0],  # cx=50, cy=50, w=20, h=30
    [100.0, 100.0, 40.0, 50.0]  # cx=100, cy=100, w=40, h=50
], dtype=torch.float32)

ARGS = {
    "bbox": bbox
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_act_layer Ran
ran; our contract draft was wrong, not the code
Dmmm1997/PropVG/propvg/layers/dcn_v3.py
code served (permissive licence) · get_code("c8f336bbb9a19971")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ReLU. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

# The function build_act_layer takes a single parameter: act_layer
# which should be a string specifying the activation layer type.
# It supports 'ReLU', 'SiLU', and 'GELU'

ARGS = {
    'act_layer': 'ReLU'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ReLU — a ReLU output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ReLU output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_norm_layer Ran
ran; our contract draft was wrong, not the code
Dmmm1997/PropVG/propvg/layers/dcn_v3.py
code served (permissive licence) · get_code("132d865c3c70a243")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Sequential. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch import nn

torch.manual_seed(0)

ARGS = {
    'dim': 64,
    'norm_layer': 'BN',
    'in_format': 'channels_last',
    'out_format': 'channels_last',
    'eps': 1e-06
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
create_dummy_class Ran
ran; our contract draft was wrong, not the code
Dmmm1997/PropVG/propvg/layers/multi_scale_deform_attn.py
code served (permissive licence) · get_code("47b44963c80f19d1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned _DummyMetaClass. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    'klass': 'MyClass',
    'dependency': 'some_package',
    'message': 'Please install some_package to use MyClass'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type _DummyMetaClass — a _DummyMetaClass output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
create_dummy_func Ran
ran; our contract draft was wrong, not the code
Dmmm1997/PropVG/propvg/layers/multi_scale_deform_attn.py
code served (permissive licence) · get_code("5f2ed565ef0da8fc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Test with a single dependency (string)
func_name = "some_function"
single_dependency = "missing_library"
message_text = "Please install the missing_library package"

# Test with multiple dependencies (list)
multiple_dependencies = ["lib1", "lib2", "lib3"]

ARGS = {
    "func": func_name,
    "dependency": single_dependency,
    "message": message_text,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
multi_scale_deformable_attn_pytorch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Dmmm1997/PropVG/propvg/layers/multi_scale_deform_attn.py
code served (permissive licence) · get_code("be924e54ed79731b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (2, 3, 32) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn.functional as F

torch.manual_seed(0)

# Parameters
bs = 2  # batch size
num_heads = 4
embed_dims = 8
num_queries = 3
num_levels = 2
num_points = 5

# value_spatial_shapes: tensor of shape (num_levels, 2) with [H, W] for each level
value_spatial_shapes = torch.tensor([
    [4, 5],  # level 0: 4x5
    [2, 3]   # level 1: 2x3
])

# Compute total spatial positions
total_spatial_positions = (value_spatial_shapes[:, 0] * value_spatial_shapes[:, 1]).sum().item()

# value: shape (bs, total_spatial_positions, num_heads, embed_dims)
value = torch.randn(bs, total_spatial_positions, num_heads, embed_dims)

# sampling_locations: shape (bs, num_queries, num_heads, num_levels, num_points, 2)
# Each location is normalized to [-1, 1]
sampling_locations = torch.rand(bs, num_queries, num_heads, num_levels, num_points, 2) * 2 - 1

# attention_weights: shape (bs, num_queries, num_heads, num_levels, num_points)
attention_weights = torch.rand(bs, num_queries, num_heads, num_levels, num_points)

ARGS = {
    "value": value,
    "value_spatial_shapes": value_spatial_shapes,
    "sampling_locations": sampling_locations,
    "attention_weights": attention_weights
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 3, 32) — shape (2, 3, 32) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
box_iou Not yet run
unverified (harvested, no recorded run)
Dmmm1997/PropVG/propvg/layers/box_ops.py
code served (permissive licence) · get_code("abe66849ff8e9119")
How it ran

no invocation recorded.

box_xyxy_to_cxcywh Not yet run
unverified (harvested, no recorded run)
Dmmm1997/PropVG/propvg/layers/box_ops.py
code served (permissive licence) · get_code("9d703502a5c06dd4")
How it ran

no invocation recorded.

build_matcher Not yet run
unverified (harvested, no recorded run)
Dmmm1997/PropVG/propvg/core/matcher.py
code served (permissive licence) · get_code("3189378f2936393a")
How it ran

no invocation recorded.

dcnv3_core_pytorch Not yet run
unverified (harvested, no recorded run)
Dmmm1997/PropVG/propvg/layers/dcn_v3.py
code served (permissive licence) · get_code("a63400f18f4a819c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 0 the same month, 2 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
multi_scale_deformable_attn_pytorch 6 other papers
6 dated earlier
2312.02153 (2023-12)
Aligning and Prompting Everything All at Once for Universal Visual Perception
Shen_Aligning_and_Prompting_Everything_All_at_Once_for_Universal_Visual_CVPR_2024_paper (2024 (year only))
Aligning and Prompting Everything All at Once for Universal Visual Perception
2401.14159 (2024-01)
Grounded SAM: Assembling Open-World Models for Diverse Visual Tasks
and 3 more not named here
box_cxcywh_to_xyxy 5 other papers
4 dated earlier, 1 same year, order not determinable
2304.04742 (2023-04)
Detection Transformer with Stable Matching
2309.12969 (2023-09)
Detect Everything with Few Examples
2402.03094 (2024-02)
Cross-Domain Few-Shot Object Detection via Enhanced Open-Set Object Detector
and 2 more not named here
build_norm_layer 5 other papers
4 dated earlier, 1 later
2211.05778 (2022-11)
InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutions
2410.21535 (2024-10)
ECMamba: Consolidating Selective State Space Model with Retinex Guidance for Efficient Multiple Exposure Correction
2501.06710 (2025-01)
Multi-task Visual Grounding with Coarse-to-Fine Consistency Constraints
and 2 more not named here
create_dummy_class 5 other papers
5 dated earlier
2312.02153 (2023-12)
Aligning and Prompting Everything All at Once for Universal Visual Perception
Shen_Aligning_and_Prompting_Everything_All_at_Once_for_Universal_Visual_CVPR_2024_paper (2024 (year only))
Aligning and Prompting Everything All at Once for Universal Visual Perception
2401.14159 (2024-01)
Grounded SAM: Assembling Open-World Models for Diverse Visual Tasks
and 2 more not named here
create_dummy_func 5 other papers
5 dated earlier
2312.02153 (2023-12)
Aligning and Prompting Everything All at Once for Universal Visual Perception
Shen_Aligning_and_Prompting_Everything_All_at_Once_for_Universal_Visual_CVPR_2024_paper (2024 (year only))
Aligning and Prompting Everything All at Once for Universal Visual Perception
2401.14159 (2024-01)
Grounded SAM: Assembling Open-World Models for Diverse Visual Tasks
and 2 more not named here
box_xyxy_to_cxcywh 4 other papers
3 dated earlier, 1 same year, order not determinable
2309.12969 (2023-09)
Detect Everything with Few Examples
2402.03094 (2024-02)
Cross-Domain Few-Shot Object Detection via Enhanced Open-Set Object Detector
Zhou_When_Pixel_Difference_Patterns_Meet_ViT_PiDiViT_for_Few-Shot_Object_ICCV_2025_paper (2025 (year only))
When Pixel Difference Patterns Meet ViT: PiDiViT for Few-Shot Object Detection
and 1 more not named here
build_act_layer 4 other papers
3 dated earlier, 1 later
2211.05778 (2022-11)
InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutions
2501.06710 (2025-01)
Multi-task Visual Grounding with Coarse-to-Fine Consistency Constraints
2508.08612 (2025-08)
Hierarchical Visual Prompt Learning for Continual Video Instance Segmentation
and 1 more not named here
build_matcher 3 other papers
3 dated earlier
2210.12658 (2022-10)
Extending Phrase Grounding with Pronouns in Visual Dialogues
2409.17531 (2024-09)
SimVG: A Simple Framework for Visual Grounding with Decoupled Multi-modal Fusion
2501.06710 (2025-01)
Multi-task Visual Grounding with Coarse-to-Fine Consistency Constraints
apply_box_noise 2 other papers
2 dated earlier
2203.01305 (2022-03)
DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
2501.06710 (2025-01)
Multi-task Visual Grounding with Coarse-to-Fine Consistency Constraints
apply_label_noise 2 other papers
2 dated earlier
2203.01305 (2022-03)
DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
2501.06710 (2025-01)
Multi-task Visual Grounding with Coarse-to-Fine Consistency Constraints
box_iou 2 other papers
2 dated earlier
2304.04742 (2023-04)
Detection Transformer with Stable Matching
2501.06710 (2025-01)
Multi-task Visual Grounding with Coarse-to-Fine Consistency Constraints
dcnv3_core_pytorch 1 other paper
1 dated earlier
2501.06710 (2025-01)
Multi-task Visual Grounding with Coarse-to-Fine Consistency Constraints

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recent advances in visual grounding have largely shifted away from traditional proposal-based two-stage frameworks due to their inefficiency and high computational complexity, favoring end-to-end direct reference paradigms. However, these methods rely exclusively on the referred target for supervision, overlooking the potential benefits of prominent prospective targets. Moreover, existing approaches often fail to incorporate multi-granularity discrimination, which is crucial for robust object identification in complex scenarios. To address these limitations, we propose PropVG, an end-to-end proposal-based framework that, to the best of our knowledge, is the first to seamlessly integrate foreground object proposal generation with referential object comprehension without requiring additional detectors. Furthermore, we introduce a Contrastive-based Refer Scoring (CRS) module, which employs contrastive learning at both sentence and word levels to enhance the model's capability in understanding and distinguishing referred objects. Additionally, we design a Multi-granularity Target Discrimination (MTD) module that fuses objectand semantic-level information to improve the recognition of absent targets. Extensive experiments on gRe-fCOCO (GREC/GRES), Ref-ZOM, R-RefCOCO/+/g, and RefCOCO/+/g (REC/RES) benchmarks demonstrate the effectiveness of PropVG. The codes and models are available at https://github.com/Dmmm1997/PropVG.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2509.04833")
get_code_for_paper("2509.04833")
have("2509.04833")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2509.04833.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2509.04833.svg)](https://syntology.ai/paper/2509.04833)

Connect an agent — have() is free.