SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2025.naacl-long.579 · NAACL · 2025

ProMQA: Question Answering Dataset for Multimodal Procedural Activity Understanding

Zhi-Qi Cheng, Teruko Mitamura, Yuran Wang, Wiradee Imrattanatrai, Ken Fukuda, Masaki Asada, Kimihiro Hasegawa, Susan Holm

Open in the Atlas

Code that ran

10 of 12 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, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2025.naacl-long.579.json · badge: /api/ran/2025.naacl-long.579.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
DAMO-NLP-SG/VideoLLaMA2 canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
build_vision_projector Ran
ran; our contract draft was wrong, not the code
DAMO-NLP-SG/VideoLLaMA2/videollama2/model/projector.py
code served (permissive licence) · get_code("b52010a2b2ad8f78")
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 Linear. The image it ran in was not recorded. If your copy returns the same type 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
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal config class that has the required attributes
class MockConfig:
    def __init__(self):
        self.mm_hidden_size = 4
        self.hidden_size = 8
        self.mm_projector_type = 'linear'

# Create config instance
config = MockConfig()

# Define ARGS with all parameters for build_vision_projector
ARGS = {
    'config': config,
    'delay_load': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
einops, timm, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
chunk_list Ran
ran; our contract draft was wrong, not the code
DAMO-NLP-SG/VideoLLaMA2/videollama2/mm_utils.py
code served (permissive licence) · get_code("a8b8b3e9a82ab02e")
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 list. The image it ran in was not recorded. If your copy returns the same type 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 chunk_list takes an input_list and chunk_size
# It splits input_list into chunks of size chunk_size
# We need to provide a list and a chunk size

input_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
chunk_size = 3

ARGS = {
    "input_list": input_list,
    "chunk_size": chunk_size,
}
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 list — a list output has no array shape of its own; none is stated
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
collate_fn Ran
ran; our contract draft was wrong, not the code
DAMO-NLP-SG/VideoLLaMA2/videollama2/eval/inference_video_oqa_activitynet.py
code served (permissive licence) · get_code("6e032f9afb817132")
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. The image it ran in was not recorded. If your copy returns the same type 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 collate_fn expects a batch parameter which is a list of dicts
# Each dict must have keys: 'video', 'video_name', 'question', 'question_id', 'answer'

batch = [
    {
        'video': torch.randn(4, 3),
        'video_name': 'video_1',
        'question': 'What is happening?',
        'question_id': 1,
        'answer': 'Something'
    },
    {
        'video': torch.randn(4, 3),
        'video_name': 'video_2',
        'question': 'Who is this?',
        'question_id': 2,
        'answer': 'Someone'
    }
]

ARGS = {
    'batch': batch
}
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 — a tuple output has no array shape of its own; none is stated
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
expand2square Ran
ran; our contract draft was wrong, not the code
DAMO-NLP-SG/VideoLLaMA2/videollama2/mm_utils.py
code served (permissive licence) · get_code("592b3c1a88f93d7c")
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 Image. The image it ran in was not recorded. If your copy returns the same type 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.

from PIL import Image

# Create a small test image (non-square)
pil_img = Image.new('RGB', (8, 6), color='red')

# Define background color for padding
background_color = (255, 255, 255)

ARGS = {
    'pil_img': pil_img,
    'background_color': background_color,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not stated
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_chunk Ran
ran; our contract draft was wrong, not the code
DAMO-NLP-SG/VideoLLaMA2/videollama2/eval/inference_video_oqa_activitynet.py
code served (permissive licence) · get_code("42a46570620cd9fa")
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 list, ndim 1, dtype family int; 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 math

def split_list(lst, n):
    """Split a list into n (roughly) equal-sized chunks"""
    chunk_size = math.ceil(len(lst) / n)
    return [lst[i:i + chunk_size] for i in range(0, len(lst), chunk_size)]

def get_chunk(lst, n, k):
    chunks = split_list(lst, n)
    return chunks[k]

# Setup code
lst = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
n = 3
k = 1

ARGS = {
    "lst": lst,
    "n": n,
    "k": k
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list 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
interaction Ran
ran; our contract draft was wrong, not the code
DAMO-NLP-SG/VideoLLaMA2/videollama2/eval/eval_video_oqa_activitynet.py
code served (permissive licence) · get_code("9d61ff5b5f82c591")
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 Mock. The image it ran in was not recorded. If your copy returns the same type 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 os
from unittest.mock import Mock, MagicMock

# Set up environment variable
os.environ['AZURE_OPENAI_DEPLOYNAME'] = 'test-deployment'

# Create a mock client with the required chat.completions.create method
client = Mock()
mock_completion = Mock()
mock_completion.choices = [Mock(message=Mock(content="Test response"))]
client.chat.completions.create = MagicMock(return_value=mock_completion)

# Create message text as a list of message dicts (standard OpenAI format)
message_text = [
    {"role": "user", "content": "Hello, how are you?"}
]

ARGS = {
    "client": client,
    "message_text": message_text
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Mock — a Mock output has no array shape of its own; none is stated
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
load_image_from_base64 Ran
ran, honoured the contract we drafted
DAMO-NLP-SG/VideoLLaMA2/videollama2/mm_utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from tencent/hunyuan3d-2, is pointer only (licence: NOASSERTION) · get_code("0dde2e782959c0bd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from tencent/hunyuan3d-2, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

load_mm_projector Ran
ran; our contract draft was wrong, not the code
DAMO-NLP-SG/VideoLLaMA2/videollama2/model/projector.py
code served (permissive licence) · get_code("d8e25fe3aa75d2ce")
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 dict. The image it ran in was not recorded. If your copy returns the same type 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 os
import tempfile
import torch
from pathlib import Path

torch.manual_seed(0)

# Create a temporary directory to act as a local model path
temp_dir = tempfile.mkdtemp()

# Create mm_projector.bin file with some dummy weights
mm_projector_weights = {
    'layer1.weight': torch.randn(4, 3, dtype=torch.float32),
    'layer1.bias': torch.randn(4, dtype=torch.float32),
    'layer2.weight': torch.randn(2, 4, dtype=torch.float32),
}
torch.save(mm_projector_weights, os.path.join(temp_dir, 'mm_projector.bin'))

ARGS = {
    'model_path': temp_dir,
    'cache_dir': None,
    'token': None,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
huggingface_hub, torch, transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
parse_snapshot_folder Ran
ran; our contract draft was wrong, not the code
DAMO-NLP-SG/VideoLLaMA2/videollama2/model/projector.py
code served (permissive licence) · get_code("04129d1d261c322a")
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 str. The image it ran in was not recorded. If your copy returns the same type 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 os
import tempfile
from transformers import TRANSFORMERS_CACHE

# Create a temporary directory structure to simulate a Hugging Face cache
temp_cache_dir = tempfile.mkdtemp()

# Create the necessary directory structure for the function to work
repo_id = "bert-base/model"
repo_type = "model"
object_id = repo_id.replace('/', '--')
repo_cache = os.path.join(temp_cache_dir, f'{repo_type}s--{object_id}')
refs_dir = os.path.join(repo_cache, 'refs')
snapshots_dir = os.path.join(repo_cache, 'snapshots')
main_snapshot_dir = os.path.join(snapshots_dir, 'main')

os.makedirs(refs_dir, exist_ok=True)
os.makedirs(main_snapshot_dir, exist_ok=True)

# Create a refs/main file with a revision hash
revision_hash = "abc123def456"
with open(os.path.join(refs_dir, 'main'), 'w') as f:
    f.write(revision_hash)

# Create the actual snapshot directory for that revision
revision_snapshot_dir = os.path.join(snapshots_dir, revision_hash)
os.makedirs(revision_snapshot_dir, exist_ok=True)

ARGS = {
    'repo_id': 'bert-base/model',
    'cache_dir': temp_cache_dir,
    'repo_type': 'model'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
transformers — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
split_list Ran
ran; our contract draft was wrong, not the code
DAMO-NLP-SG/VideoLLaMA2/videollama2/eval/inference_video_oqa_activitynet.py
code served (permissive licence) · get_code("076c252c52cbb161")
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 list. The image it ran in was not recorded. If your copy returns the same type 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 math

def split_list(lst, n):
    """Split a list into n (roughly) equal-sized chunks"""
    chunk_size = math.ceil(len(lst) / n)
    return [lst[i:i + chunk_size] for i in range(0, len(lst), chunk_size)]

# Setup code
lst = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
n = 3

ARGS = {
    "lst": lst,
    "n": n
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list output has no array shape of its own; none is stated
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
build_vision_tower Not yet run
unverified (harvested, no recorded run)
DAMO-NLP-SG/VideoLLaMA2/videollama2/model/encoder.py
code served (permissive licence) · get_code("f61dd94ea06b9f92")
How it ran

no invocation recorded.

main Not yet run
unverified (harvested, no recorded run)
DAMO-NLP-SG/VideoLLaMA2/videollama2/eval/eval_video_oqa_activitynet.py
code served (permissive licence) · get_code("4894ebc510428b2a")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 9 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 5 later) and 3 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
split_list 197 other papers
151 dated earlier, 11 later, 34 same year, order not determinable, 1 undated
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 194 more not named here
get_chunk 189 other papers
146 dated earlier, 11 later, 32 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2306.17107 (2023-06)
LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 186 more not named here
load_image_from_base64 85 other papers
71 dated earlier, 5 later, 9 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2308.10253 (2023-08)
StableLLaVA: Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data
2309.07120 (2023-09)
Sight Beyond Text: Multi-Modal Training Enhances LLMs in Truthfulness and Ethics
and 82 more not named here
expand2square 68 other papers
57 dated earlier, 3 later, 8 same year, order not determinable · 1 only as an assembly brick
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2204.03541 (2022-04)
End-to-End Zero-Shot HOI Detection via Vision and Language Knowledge Distillation
2308.10253 (2023-08)
StableLLaVA: Enhanced Visual Instruction Tuning with Synthesized Image-Dialogue Data
and 65 more not named here
chunk_list 2 other papers
1 later, 1 same year, order not determinable
2501.13106 (2025-01)
VideoLLaMA 3: Frontier Multimodal Foundation Models for Image and Video Understanding
2601.09141 (2026-01)
Identity-Robust Language Model Generation via Content Integrity Preservation
load_mm_projector 2 other papers
1 dated earlier, 1 same year, order not determinable
2306.02858 (2023-06)
Video-LLaMA An Instruction-tuned Audio-Visual Language Model for Video Understanding
2501.13106 (2025-01)
VideoLLaMA 3: Frontier Multimodal Foundation Models for Image and Video Understanding
parse_snapshot_folder 2 other papers
1 dated earlier, 1 same year, order not determinable
2306.02858 (2023-06)
Video-LLaMA An Instruction-tuned Audio-Visual Language Model for Video Understanding
2501.13106 (2025-01)
VideoLLaMA 3: Frontier Multimodal Foundation Models for Image and Video Understanding
build_vision_projector 1 other paper
1 dated earlier
2306.02858 (2023-06)
Video-LLaMA An Instruction-tuned Audio-Visual Language Model for Video Understanding
build_vision_tower 1 other paper
1 dated earlier
2306.02858 (2023-06)
Video-LLaMA An Instruction-tuned Audio-Visual Language Model for Video Understanding

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

Repositories linked to this paper

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

Abstract

Multimodal systems have great potential to assist humans in procedural activities, where people follow instructions to achieve their goals. Despite diverse application scenarios, systems are typically evaluated on traditional classification tasks, e.g., action recognition or temporal action segmentation. In this paper, we present a novel evaluation dataset, ProMQA, to measure system advancements in application-oriented scenarios. ProMQA consists of 401 multimodal procedural QA pairs on user recording of procedural activities, i.e., cooking, coupled with their corresponding instructions/recipes. For QA annotation, we take a cost-effective human-LLM collaborative approach, where the existing annotation is augmented with LLMgenerated QA pairs that are later verified by humans. We then provide the benchmark results to set the baseline performance on ProMQA. Our experiment reveals a significant gap between human performance and that of current systems, including competitive proprietary multimodal models. We hope our dataset sheds light on new aspects of models' multimodal understanding capabilities. 1

For agents

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

get_harvested_code_for_paper("2025.naacl-long.579")
get_code_for_paper("2025.naacl-long.579")
have("2025.naacl-long.579")

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

curl https://syntology.ai/api/ran/2025.naacl-long.579.json

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

[![Syntology run record](https://syntology.ai/api/ran/2025.naacl-long.579.svg)](https://syntology.ai/paper/2025.naacl-long.579)

Connect an agent — have() is free.