Papers › Text-Visual Prompting for Efficient 2D Temporal Video Grounding

Text-Visual Prompting for Efficient 2D Temporal Video Grounding

9 Mar 2023CVPR 2023 1arXiv:2303.04995archive 2025-07-28

Yimeng Zhang, Xin Chen, Jinghan Jia, Sijia Liu, Ke Ding

In this paper, we study the problem of temporal video grounding (TVG), which aims to predict the starting/ending time points of moments described by a text sentence within a long untrimmed video. Benefiting from fine-grained 3D visual features, the TVG techniques have achieved remarkable progress in recent years. However, the high complexity of 3D convolutional neural networks (CNNs) makes extracting dense 3D visual features time-consuming, which calls for intensive memory and computing resources. Towards efficient TVG, we propose a novel text-visual prompting (TVP) framework, which incorporates optimized perturbation patterns (that we call 'prompts') into both visual inputs and textual features of a TVG model. In sharp contrast to 3D CNNs, we show that TVP allows us to effectively co-train vision encoder and language encoder in a 2D TVG model and improves the performance of crossmodal feature fusion using only low-complexity sparse 2D visual features. Further, we propose a Temporal-Distance IoU (TDIoU) loss for efficient learning of TVG. Experiments on two benchmark datasets, Charades-STA and ActivityNet Captions datasets, empirically show that the proposed TVP significantly boosts the performance of 2D TVG (e.g., 9.79% improvement on Charades-STA and 30.77% improvement on ActivityNet Captions) and achieves 5x inference acceleration over TVG using 3D visual features. Codes are available at Open.Intel.

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="2303.04995")

Code

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

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

intel/TVP officialmentioned in paperpytorchApache-2.0 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

16 samples harvested; 5 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.

2ran · our draft was wrong
3ran
11unverified

Licence: 0 of the 16 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 intel/TVP. “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.

get_padding intel/TVP/src/datasets/data_utils.py official repository ran Apache-2.0 (permissive) · 0cf387da46369b1a · report
image_to_tensor intel/TVP/src/datasets/data_utils.py official repository ran Apache-2.0 (permissive) · e9242c50098a6ea2 · report
mask_batch_text_tokens intel/TVP/src/datasets/data_utils.py official repository ran · our draft was wrong Apache-2.0 (permissive) · f828f173e6c2fea2 · report
mish intel/TVP/src/modeling/transformers.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 060527bb34794b59 · report
move_to_cuda intel/TVP/src/datasets/dataloader.py official repository ran Apache-2.0 (permissive) · b68769dd52ad6c44 · report
conv3x3 intel/TVP/src/modeling/grid_feat.py official repository unverified Apache-2.0 (permissive) · 17e89eef72e37efe · report
dis_iou_loss intel/TVP/src/modeling/modeling.py official repository unverified Apache-2.0 (permissive) · 9397957c09ba96d3 · report
get_random_sample_indices intel/TVP/src/modeling/modeling.py official repository unverified Apache-2.0 (permissive) · f31be4ddaa3ec6c2 · report
get_start_end_idx intel/TVP/src/datasets/decoder.py official repository unverified Apache-2.0 (permissive) · 707f6cd75833c65d · report
get_video_decoding_kwargs intel/TVP/src/datasets/dataset_base.py official repository unverified Apache-2.0 (permissive) · b6331823c359e9d8 · report
instance_bce_with_logits intel/TVP/src/modeling/modeling.py official repository unverified Apache-2.0 (permissive) · 5a4d93d8be97ccd9 · report
load_decompress_img_from_lmdb_value intel/TVP/src/datasets/dataset_base.py official repository unverified Apache-2.0 (permissive) · daa2b8808499576a · report
load_tf_weights_in_bert intel/TVP/src/modeling/transformers.py official repository unverified Apache-2.0 (permissive) · 0766f48ad6e01b56 · report
parse_with_config intel/TVP/src/configs/config.py official repository unverified Apache-2.0 (permissive) · 3e81145412a40e36 · report
pyav_decode_stream intel/TVP/src/datasets/decoder.py official repository unverified Apache-2.0 (permissive) · b28b46ef7776c434 · report
temporal_sampling intel/TVP/src/datasets/decoder.py official repository unverified Apache-2.0 (permissive) · f307b4793e8204b7 · report

Tasks

SentenceVideo GroundingVisual Prompting

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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