SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2304.08682 · CVPR · 2023

Learning Situation Hyper-Graphs for Video Question Answering

Chuang Gan, Mit-Ibm Watson, A Lab, Mubarak Shah, Hilde Kuehne, Bo Wu, Florida, Aisha Khan, Walid Bousselham, Niels Lobo, Kim Chheu

arXiv · PDF · Open in the Atlas

Code that ran

8 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 8 have no contract verdict; 0 failures of our instrument; 7 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2304.08682.json · badge: /api/ran/2304.08682.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
aurooj/SHG-VQA community
Papers with Code archive
8 ran · 7 no recorded run
FunctionStatusWhere it lives
BertAttention Ran
ran on a synthesized input
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("5294ad4cfb6fd592")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BertCrossattLayer Ran
ran on a synthesized input · constructed an object; no result was computed
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("602576fb49da0fad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BertIntermediate Ran
ran on a synthesized input · constructed an object; no result was computed
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("07fe34e1f674c0cc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BertSelfattLayer Ran
ran on a synthesized input
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("454867610f1f0d75")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

FixedPositionalEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("55bcd1b73de582b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

LearnedPositionalEncoding Ran
ran on a synthesized input
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("bb8b49b7ee5ab76f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PrimaryCaps Ran
ran on a synthesized input · constructed an object; no result was computed
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("6948edf5bd10ffdd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

VisualConfig Ran
ran on a synthesized input · constructed an object; no result was computed
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("51ace9dd870b213e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BertLayer Not yet run
unverified (harvested, no recorded run)
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("35c89d3fc6a77009")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ConvCaps Not yet run
unverified (harvested, no recorded run)
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("c492a4693f826a30")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

CrossAndSelfLayer Not yet run
unverified (harvested, no recorded run)
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("304514e4ec620c8e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

CrossLayer Not yet run
unverified (harvested, no recorded run)
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("2e5ef0dbcca6c565")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

LXRTCapsulesEncoder Not yet run
unverified (harvested, no recorded run)
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("a68f475e70b1e9e5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

SelfCrossLayer Not yet run
unverified (harvested, no recorded run)
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("5c2a6eaf5ca58e25")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

VisualFeatEncoder Not yet run
unverified (harvested, no recorded run)
aurooj/SHG-VQA/AGQA/src/lxrt/modeling_capsbert.py
pointer only (licence: NONE) · get_code("e7159315c7bda9ac")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, aurooj/SHG-VQA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 13 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
LearnedPositionalEncoding
brick of this paper's assembly: helper
2 other papers
2 dated earlier
2110.13214 (2021-10)
IconQA: A New Benchmark for Abstract Diagram Understanding and Visual Language Reasoning
2207.07059 (2022-07)
Semi-Supervised Temporal Action Detection with Proposal-Free Masking
FixedPositionalEncoding
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2110.13214 (2021-10)
IconQA: A New Benchmark for Abstract Diagram Understanding and Visual Language Reasoning

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-22.

Repositories linked to this paper

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

Abstract

Answering questions about complex situations in videos requires not only capturing the presence of actors, objects, and their relations but also the evolution of these relationships over time. A situation hyper-graph is a representation that describes situations as scene sub-graphs for video frames and hyper-edges for connected sub-graphs and has been proposed to capture all such information in a compact structured form. In this work, we propose an architecture for Video Question Answering (VQA) that enables answering questions related to video content by predicting situation hyper-graphs, coined Situation Hyper-Graph based Video Question Answering (SHG-VQA). To this end, we train a situation hyper-graph decoder to implicitly identify graph representations with actions and object/human-object relationships from the input video clip. and to use cross-attention between the predicted situation hyper-graphs and the question embedding to predict the correct answer. The proposed method is trained in an end-to-end manner and optimized by a VQA loss with the cross-entropy function and a Hungarian matching loss for the situation graph prediction. The effectiveness of the proposed architecture is extensively evaluated on two challenging benchmarks: AGQA and STAR. Our results show that learning the underlying situation hypergraphs helps the system to significantly improve its performance for novel challenges of video question-answering tasks 1 .

For agents

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

get_harvested_code_for_paper("2304.08682")
get_code_for_paper("2304.08682")
have("2304.08682")

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

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

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

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

Connect an agent — have() is free.