Papers › Video Graph Transformer for Video Question Answering

Video Graph Transformer for Video Question Answering

12 Jul 2022arXiv:2207.05342archive 2025-07-28

Junbin Xiao, Pan Zhou, Tat-Seng Chua, Shuicheng Yan

This paper proposes a Video Graph Transformer (VGT) model for Video Quetion Answering (VideoQA). VGT's uniqueness are two-fold: 1) it designs a dynamic graph transformer module which encodes video by explicitly capturing the visual objects, their relations, and dynamics for complex spatio-temporal reasoning; and 2) it exploits disentangled video and text Transformers for relevance comparison between the video and text to perform QA, instead of entangled cross-modal Transformer for answer classification. Vision-text communication is done by additional cross-modal interaction modules. With more reasonable video encoding and QA solution, we show that VGT can achieve much better performances on VideoQA tasks that challenge dynamic relation reasoning than prior arts in the pretraining-free scenario. Its performances even surpass those models that are pretrained with millions of external data. We further show that VGT can also benefit a lot from self-supervised cross-modal pretraining, yet with orders of magnitude smaller data. These results clearly demonstrate the effectiveness and superiority of VGT, and reveal its potential for more data-efficient pretraining. With comprehensive analyses and some heuristic observations, we hope that VGT can promote VQA research beyond coarse recognition/description towards fine-grained relation reasoning in realistic videos. Our code is available at https://github.com/sail-sg/VGT.

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

Code

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

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

sail-sg/vgt officialmentioned in papermentioned on GitHubpytorchApache-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

14 samples harvested; 9 ran; 0 honoured the contract we drafted; 5 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 · our draft was wrong
8ran
5unverified

Licence: 0 of the 14 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 sail-sg/VGT. “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.

CMAtten sail-sg/VGT/model/vqa_model.py official repository ran Apache-2.0 (permissive) · f3ff51937dd98c21 · report
Embeddings sail-sg/VGT/model/vqa_model.py official repository ran Apache-2.0 (permissive) · 5a6a727d5b0f9c6b · report
EncoderVid sail-sg/VGT/model/vqa_model.py official repository ran Apache-2.0 (permissive) · 66dcb62d12860979 · report
FFN sail-sg/VGT/model/vqa_model.py official repository ran fingerprinted Apache-2.0 (permissive) · fad49f16c43d52df · report
Graph sail-sg/VGT/model/vqa_model.py official repository ran Apache-2.0 (permissive) · c7325ef7876ef60e · report
GraphConvolution sail-sg/VGT/model/vqa_model.py official repository ran Apache-2.0 (permissive) · 889a03d6a437ba1c · report
MultiHeadSelfAttention sail-sg/VGT/model/vqa_model.py official repository ran Apache-2.0 (permissive) · b091b2a22b3049e3 · report
TransformerBlock sail-sg/VGT/model/vqa_model.py official repository ran fingerprinted Apache-2.0 (permissive) · b294b4902336fb78 · report
get_mask sail-sg/VGT/model/vqa_model.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 4b0473dade9942bc · report
AModel sail-sg/VGT/model/vqa_model.py official repository unverified Apache-2.0 (permissive) · 2f0df7b215389abb · report
Bert sail-sg/VGT/model/vqa_model.py official repository unverified Apache-2.0 (permissive) · f64528547183d480 · report
Transformer sail-sg/VGT/model/vqa_model.py official repository unverified Apache-2.0 (permissive) · 9d80cb2ca7b058a1 · report
VGT sail-sg/VGT/model/vqa_model.py official repository unverified Apache-2.0 (permissive) · cdedc918d8a5dc8b · report
create_sinusoidal_embeddings sail-sg/VGT/model/vqa_model.py official repository unverified Apache-2.0 (permissive) · 741ba8df50c491fc · report

Tasks

Question AnsweringVideo Question AnsweringVisual Question Answering (VQA)

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Video Question Answering IntentQA VGT Accuarcy 51.3 #5 of 6 Archive leaderboard report
Video Question Answering IntentQA VGT CH 56.0 #5 of 6 Archive leaderboard report
Video Question Answering IntentQA VGT CW 51.4 #5 of 6 Archive leaderboard report
Video Question Answering IntentQA VGT TP&TN 47.6 #5 of 6 Archive leaderboard report
Video Question Answering NExT-QA VGT(PT) Accuracy 56.9 #42 of 47 Archive leaderboard report
Video Question Answering NExT-QA VGT Accuracy 55.0 #44 of 47 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 ConnectionsDropoutGraph TransformerLabel SmoothingLapEigenLaplacian PELayer 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