Papers › Dense-Caption Matching and Frame-Selection Gating for Temporal Localization in VideoQA

Dense-Caption Matching and Frame-Selection Gating for Temporal Localization in VideoQA

13 May 2020ACL 2020 6arXiv:2005.06409archive 2025-07-28

Hyounghun Kim, Zineng Tang, Mohit Bansal

Videos convey rich information. Dynamic spatio-temporal relationships between people/objects, and diverse multimodal events are present in a video clip. Hence, it is important to develop automated models that can accurately extract such information from videos. Answering questions on videos is one of the tasks which can evaluate such AI abilities. In this paper, we propose a video question answering model which effectively integrates multi-modal input sources and finds the temporally relevant information to answer questions. Specifically, we first employ dense image captions to help identify objects and their detailed salient regions and actions, and hence give the model useful extra information (in explicit textual format to allow easier matching) for answering questions. Moreover, our model is also comprised of dual-level attention (word/object and frame level), multi-head self/cross-integration for different sources (video and dense captions), and gates which pass more relevant information to the classifier. Finally, we also cast the frame selection problem as a multi-label classification task and introduce two loss functions, In-andOut Frame Score Margin (IOFSM) and Balanced Binary Cross-Entropy (BBCE), to better supervise the model with human importance annotations. We evaluate our model on the challenging TVQA dataset, where each of our model components provides significant gains, and our overall model outperforms the state-of-the-art by a large margin (74.09% versus 70.52%). We also present several word, object, and frame level visualization studies. Our code is publicly available at: https://github.com/hyounghk/VideoQADenseCapFrameGate-ACL2020

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

Code

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

By repository: official repository: 11 samples from 1 repository, 8 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hyounghk/VideoQADenseCapFrameGate-ACL2020 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

12 samples harvested; 9 ran; 2 honoured the contract we drafted; 3 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 · honoured contract
1ran · our draft was wrong
6ran
3unverified

Licence: 1 of the 12 samples is 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 hyounghk/VideoQADenseCapFrameGate-ACL2020. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

DepthwiseSeparableConv hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository ran MIT (permissive) · eabc5a84173598c5 · report
LinearWrapper hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository ran fingerprinted MIT (permissive) · 92c3decd59ca89ec · report
MultiHeadedAttention hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository ran MIT (permissive) · 27eddc30c65e3b95 · report
PositionEncoding hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository ran MIT (permissive) · b9683b87afb37df5 · report
StructuredAttention_bi hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository ran MIT (permissive) · d606630a26a361c2 · report
StructuredAttention_frame hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository ran MIT (permissive) · ca5ccdc1e66312e7 · report
clones hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository ran · our draft was wrong MIT (permissive) · 792073de4c443fa8 · report
mask_logits_sum hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository ran · honoured contract fingerprinted MIT (permissive) · ef908c1d80306f2d · report
EncoderBlock hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository unverified MIT (permissive) · 141e2be2575e53f1 · report
StackedEncoder hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository unverified MIT (permissive) · 7bbe54b9dd2d671a · report
TVQANet hyounghk/VideoQADenseCapFrameGate-ACL2020/qanet/tvqanet.py official repository unverified MIT (permissive) · 5a91cb89645d7259 · report
mask_logits identical code first harvested elsewhere ran · honoured contract fingerprinted licence of this copy not recorded · 1c17153fb5488283 · report

Tasks

Image CaptioningMUlTI-LABEL-ClASSIFICATIONMulti-Label ClassificationQuestion AnsweringTemporal LocalizationVideo Question Answering

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