SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.01327 · 2023

Can I Trust Your Answer? Visually Grounded Video Question Answering

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2309.01327.json · badge: /api/ran/2309.01327.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
doc-doc/next-gqa canonical (classifier label)
classifier basis: census
5 ran · 2 no recorded run
FunctionStatusWhere it lives
build_relative_position Ran
ran, honoured the contract we drafted
doc-doc/next-gqa/code/FrozenGQA/model/deberta.py
code served (permissive licence) · get_code("0464dc8467b456dc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family int, shape (1, 5, 7) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch

torch.manual_seed(0)

ARGS = {
    "query_size": 5,
    "key_size": 7,
    "bucket_size": 32,
    "max_position": 128,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family int, shape (1, 5, 7) — shape (1, 5, 7) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
duplicate_interleave Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
doc-doc/next-gqa/code/FrozenGQA/model/gptj.py
pointer only (licence: MIT); the stored copy get_code serves, from Cranial-XIX/longhorn, is pointer only (licence: NONE) · get_code("03e99c761c545617")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from Cranial-XIX/longhorn, and GitHub detected no licence in that repository 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.

fixed_pos_embedding Ran
ran; our contract draft was wrong, not the code
doc-doc/next-gqa/code/FrozenGQA/model/gptj.py
code served (permissive licence) · get_code("7ea21b9da7ef5be6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor with shape (batch=2, seq_len=3, dim=4)
# The function uses x.shape[-1] for dim and x.shape[seq_dim] for seq_len
x = torch.randn(2, 3, 4)

# seq_dim parameter - which dimension contains the sequence
seq_dim = 1

# seq_len parameter - can be None (will use x.shape[seq_dim]) or explicitly set
seq_len = None

ARGS = {
    "x": x,
    "seq_dim": seq_dim,
    "seq_len": seq_len,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 3, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_log_bucket_position Ran
ran, violated the contract we drafted
doc-doc/next-gqa/code/FrozenGQA/model/deberta.py
code served (permissive licence) · get_code("567c8b010f8e20d2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family int, shape (8,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct arguments for make_log_bucket_position
# The function takes:
# - relative_pos: array of relative positions
# - bucket_size: integer size of buckets
# - max_position: integer maximum position value

# Create a small array of relative positions
relative_pos = np.array([-10, -5, -2, 0, 2, 5, 10, 15], dtype=np.int32)

# Set bucket_size to a reasonable value
bucket_size = 8

# Set max_position larger than the max absolute value in relative_pos
max_position = 32

ARGS = {
    "relative_pos": relative_pos,
    "bucket_size": bucket_size,
    "max_position": max_position,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family int, shape (8,) — shape (8,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rotate_every_two Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
doc-doc/next-gqa/code/FrozenGQA/model/gptj.py
code served (permissive licence) · get_code("c66149010337c505")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 3, 4, 6) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function rotate_every_two takes a single parameter 'x' which is a tensor
# It performs slicing operations on dimensions 0, 1, 2, and 3
# So x needs to be a 4D tensor
# Using distinct sizes: batch=2, dim1=3, dim2=4, dim3=6 (even number needed for ::2 slicing)

x = torch.randn(2, 3, 4, 6)

ARGS = {
    "x": x
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 3, 4, 6) — shape (2, 3, 4, 6) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_mask Not yet run
unverified (harvested, no recorded run)
doc-doc/next-gqa/code/FrozenGQA/model/deberta.py
code served (permissive licence) · get_code("05732f1a5126672d")
How it ran

no invocation recorded.

load_tf_weights_in_gpt_neo Not yet run
unverified (harvested, no recorded run)
doc-doc/next-gqa/code/FrozenGQA/model/gptneo.py
code served (permissive licence) · get_code("d8f309037de819b0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 3 later) and 1 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
get_mask 10 other papers
8 dated earlier, 2 same year, order not determinable
1906.03158 (2019-06)
Matching the Blanks: Distributional Similarity for Relation Learning
2110.00976 (2021-10)
LexGLUE: A Benchmark Dataset for Legal Language Understanding in English
2206.08155 (2022-06)
Zero-Shot Video Question Answering via Frozen Bidirectional Language Models
and 7 more not named here
build_relative_position 7 other papers
5 dated earlier, 2 same year, order not determinable
2206.08155 (2022-06)
Zero-Shot Video Question Answering via Frozen Bidirectional Language Models
2207.07087 (2022-07)
Parameter-Efficient Prompt Tuning Makes Generalized and Calibrated Neural Text Retrievers
2210.12360 (2022-10)
Prompt-Tuning Can Be Much Better Than Fine-Tuning on Cross-lingual Understanding With Multilingual Language Models
and 4 more not named here
duplicate_interleave 7 other papers
4 dated earlier, 3 later
2206.13517 (2022-06)
ProGen2: Exploring the Boundaries of Protein Language Models
2307.04349 (2023-07)
RLTF: Reinforcement Learning from Unit Test Feedback
2307.08621 (2023-07)
Retentive Network: A Successor to Transformer for Large Language Models
and 4 more not named here
rotate_every_two 4 other papers
3 dated earlier, 1 later
2203.13474 (2022-03)
CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesis
2206.06888 (2022-06)
CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generation
2206.13517 (2022-06)
ProGen2: Exploring the Boundaries of Protein Language Models
and 1 more not named here
fixed_pos_embedding 3 other papers
2 dated earlier, 1 later
2206.13517 (2022-06)
ProGen2: Exploring the Boundaries of Protein Language Models
2307.04349 (2023-07)
RLTF: Reinforcement Learning from Unit Test Feedback
2405.00218 (2024-05)
Constrained Decoding for Secure Code Generation
make_log_bucket_position 1 other paper
1 dated earlier
2206.08155 (2022-06)
Zero-Shot Video Question Answering via Frozen Bidirectional Language Models

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

Repositories linked to this paper

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

Abstract

We study visually grounded VideoQA in response to the emerging trends of utilizing pretraining techniques for video-language understanding. Specifically, by forcing vision-language models (VLMs) to answer questions and simultaneously provide visual evidence, we seek to ascertain the extent to which the predictions of such techniques are genuinely anchored in relevant video content, versus spurious correlations from language or irrelevant visual context. Towards this, we construct NExT-GQA -- an extension of NExT-QA with 10.5$K$ temporal grounding (or location) labels tied to the original QA pairs. With NExT-GQA, we scrutinize a series of state-of-the-art VLMs. Through post-hoc attention analysis, we find that these models are extremely weak in substantiating the answers despite their strong QA performance. This exposes the limitation of current VLMs in making reliable predictions. As a remedy, we further explore and propose a grounded-QA method via Gaussian mask optimization and cross-modal learning. Experiments with different backbones demonstrate that this grounding mechanism improves both grounding and QA. With these efforts, we aim to push towards trustworthy VLMs in VQA systems. Our dataset and code are available at https://github.com/doc-doc/NExT-GQA.

For agents

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

get_harvested_code_for_paper("2309.01327")
get_code_for_paper("2309.01327")
have("2309.01327")

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

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

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

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

Connect an agent — have() is free.