Papers › Context-Guided Spatio-Temporal Video Grounding

Context-Guided Spatio-Temporal Video Grounding

3 Jan 2024CVPR 2024 1arXiv:2401.01578archive 2025-07-28

Xin Gu, Heng Fan, Yan Huang, Tiejian Luo, Libo Zhang

Spatio-temporal video grounding (or STVG) task aims at locating a spatio-temporal tube for a specific instance given a text query. Despite advancements, current methods easily suffer the distractors or heavy object appearance variations in videos due to insufficient object information from the text, leading to degradation. Addressing this, we propose a novel framework, context-guided STVG (CG-STVG), which mines discriminative instance context for object in videos and applies it as a supplementary guidance for target localization. The key of CG-STVG lies in two specially designed modules, including instance context generation (ICG), which focuses on discovering visual context information (in both appearance and motion) of the instance, and instance context refinement (ICR), which aims to improve the instance context from ICG by eliminating irrelevant or even harmful information from the context. During grounding, ICG, together with ICR, are deployed at each decoding stage of a Transformer architecture for instance context learning. Particularly, instance context learned from one decoding stage is fed to the next stage, and leveraged as a guidance containing rich and discriminative object feature to enhance the target-awareness in decoding feature, which conversely benefits generating better new instance context for improving localization finally. Compared to existing methods, CG-STVG enjoys object information in text query and guidance from mined instance visual context for more accurate target localization. In our experiments on three benchmarks, including HCSTVG-v1/-v2 and VidSTG, CG-STVG sets new state-of-the-arts in m_tIoU and m_vIoU on all of them, showing its efficacy. The code will be released at https://github.com/HengLan/CGSTVG.

PaperPDFConference PDFCodeCode 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="2401.01578")

Code

Syntology Ran 21 of 34 code samples harvested from 2 repositories linked to this paper; 13 have no recorded run. Of those that ran: 1 ran · violated contract; 3 ran · our draft was wrong; 2 ran · fixture could not drive it; 15 ran with no contract checked.

By repository: official repository: 27 samples from 1 repository, 14 ran; community (archive-listed): 7 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

henglan/cgstvg officialmentioned in papermentioned on GitHubpytorch report
shaohuadong2021/dplnet mentioned 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

34 samples harvested; 21 ran; 0 honoured the contract we drafted; 13 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.

1ran · violated contract
3ran · our draft was wrong
2ran · fixture could not drive it
15ran
13unverified

Licence: 34 of the 34 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

PatchEmbed3D HengLan/CGSTVG/models/pipeline.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 98f9b32392664051 · report
PatchMerging HengLan/CGSTVG/models/pipeline.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 4b91ef1761c7be10 · report
WindowAttention3D HengLan/CGSTVG/models/pipeline.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 551c9216af378530 · report
build_position_encoding HengLan/CGSTVG/models/pipeline.py official repository ran · our draft was wrong no licence file found · pointer only · e936bfbe7328d661 · report
crop_for_2d_map henglan/cgstvg/datasets/data_utils.py official repository ran no licence file found · pointer only · 6569506027b47b2e · report
draw_umich_gaussian henglan/cgstvg/datasets/gaussion_hm.py official repository ran no licence file found · pointer only · fd3666d3bd51e693 · report
gaussian_radius henglan/cgstvg/datasets/gaussion_hm.py official repository ran no licence file found · pointer only · f2a33236566ea043 · report
gen_sineembed_for_position henglan/cgstvg/models/net_utils.py official repository ran fingerprinted no licence file found · pointer only · f8e81a3d4e4e2319 · report
greater_than_indices henglan/cgstvg/models/net_utils.py official repository ran no licence file found · pointer only · 4ce8a8fe24e42467 · report
inverse_sigmoid henglan/cgstvg/models/net_utils.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 6897880b6ce14c94 · report
make_data_sampler henglan/cgstvg/datasets/build.py official repository ran no licence file found · pointer only · 2cc9f34255b37484 · report
make_vidstg_input_clip henglan/cgstvg/datasets/data_utils.py official repository ran no licence file found · pointer only · 4bd04ee80277255a · report
mask2weight henglan/cgstvg/models/map2d_head.py official repository ran no licence file found · pointer only · 2b8f5bd784309076 · report
strip_prefix_if_present henglan/cgstvg/utils/model_serialization.py official repository ran · our draft was wrong no licence file found · pointer only · 5a951495ac113177 · report
BasicLayer HengLan/CGSTVG/models/pipeline.py official repository unverified no licence file found · pointer only · 07beb481a5933f84 · report
CGSTVG HengLan/CGSTVG/models/pipeline.py official repository unverified no licence file found · pointer only · 920e729ec0d06d08 · report
GroupNormBackbone HengLan/CGSTVG/models/pipeline.py official repository unverified no licence file found · pointer only · baeaa2f24f3f1e52 · report
SwinTransformer3D HengLan/CGSTVG/models/pipeline.py official repository unverified no licence file found · pointer only · 14110c8c23703024 · report
SwinTransformerBlock3D HengLan/CGSTVG/models/pipeline.py official repository unverified no licence file found · pointer only · be780796be37f0ec · report
VideoSwinTransformerBackbone HengLan/CGSTVG/models/pipeline.py official repository unverified no licence file found · pointer only · f1e820077ec2e15c · report
build_dataset henglan/cgstvg/datasets/build.py official repository unverified no licence file found · pointer only · ea91f100bf0515a9 · report
build_text_encoder HengLan/CGSTVG/models/pipeline.py official repository unverified no licence file found · pointer only · f804bc70b1f80bc9 · report
build_transforms henglan/cgstvg/datasets/build.py official repository unverified no licence file found · pointer only · cc80b84c98a69a35 · report
build_vis_encoder HengLan/CGSTVG/models/pipeline.py official repository unverified no licence file found · pointer only · e15f821e89f9771e · report
gaussian2D henglan/cgstvg/datasets/gaussion_hm.py official repository unverified no licence file found · pointer only · 86282b7f90be63f2 · report
make_hcstvg_input_clip henglan/cgstvg/datasets/data_utils.py official repository unverified no licence file found · pointer only · 13bb00466df8b6d2 · report
vidswin_model HengLan/CGSTVG/models/pipeline.py official repository unverified no licence file found · pointer only · 8f19339192049aaf · report
class_to_RGB shaohuadong2021/dplnet/RGBD/toolbox/utils.py community (archive-listed) ran no licence file found · pointer only · 078b780969639508 · report
color_map shaohuadong2021/dplnet/RGBD/toolbox/utils.py community (archive-listed) ran no licence file found · pointer only · 25c8bd3670262bfe · report
get_logger shaohuadong2021/dplnet/RGBD/toolbox/log.py community (archive-listed) ran no licence file found · pointer only · 229c212d6572dfe1 · report
iou shaohuadong2021/dplnet/RGBD/toolbox/lavaszSoftmax.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · d94639b28b2134ff · report
iou_binary shaohuadong2021/dplnet/RGBD/toolbox/lavaszSoftmax.py community (archive-listed) ran · fixture could not drive it fingerprinted no licence file found · pointer only · 1211530cd527bd0b · report
lovasz_grad shaohuadong2021/dplnet/RGBD/toolbox/lavaszSoftmax.py community (archive-listed) ran · violated contract fingerprinted no licence file found · pointer only · e85b5d21dc5b8382 · report
tensor_classes_to_RGBs shaohuadong2021/dplnet/RGBD/toolbox/utils.py community (archive-listed) ran no licence file found · pointer only · c1c90f48975d4b3e · report

Tasks

ObjectSpatio-Temporal Video GroundingVideo Grounding

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Spatio-Temporal Video Grounding HC-STVG1 CG-STVG m_vIoU 38.4 #2 of 3 Archive leaderboard report
Spatio-Temporal Video Grounding HC-STVG1 CG-STVG vIoU@0.3 61.5 #2 of 3 Archive leaderboard report
Spatio-Temporal Video Grounding HC-STVG1 CG-STVG vIoU@0.5 36.3 #2 of 3 Archive leaderboard report
Spatio-Temporal Video Grounding HC-STVG2 CG-STVG Val m_vIoU 39.5 #2 of 4 Archive leaderboard report
Spatio-Temporal Video Grounding HC-STVG2 CG-STVG Val vIoU@0.3 64.5 #2 of 4 Archive leaderboard report
Spatio-Temporal Video Grounding HC-STVG2 CG-STVG Val vIoU@0.5 36.3 #2 of 4 Archive leaderboard report
Spatio-Temporal Video Grounding VidSTG CG-STVG Declarative m_vIoU 34.0 #2 of 3 Archive leaderboard report
Spatio-Temporal Video Grounding VidSTG CG-STVG Declarative vIoU@0.3 47.7 #2 of 3 Archive leaderboard report
Spatio-Temporal Video Grounding VidSTG CG-STVG Declarative vIoU@0.5 33.1 #2 of 3 Archive leaderboard report
Spatio-Temporal Video Grounding VidSTG CG-STVG Interrogative m_vIoU 29.0 #2 of 3 Archive leaderboard report
Spatio-Temporal Video Grounding VidSTG CG-STVG Interrogative vIoU@0.3 40.5 #2 of 3 Archive leaderboard report
Spatio-Temporal Video Grounding VidSTG CG-STVG Interrogative vIoU@0.5 27.5 #2 of 3 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

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