SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.24376 · 2025

Exploring the Effect of Reinforcement Learning on Video Understanding: Insights from SEED-Bench-R1

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 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; 3 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 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/2503.24376.json · badge: /api/ran/2503.24376.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
tencentarc/seed-bench-r1 canonical (classifier label)
classifier basis not recorded on the link
7 ran · 2 no recorded run
FunctionStatusWhere it lives
ceil_by_factor Ran
ran, honoured the contract we drafted
tencentarc/seed-bench-r1/qwen-vl-utils/src/qwen_vl_utils/vision_process_egoplan.py
code served (permissive licence) · get_code("6e45201fa27cb24a")
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 int, ndim 0, dtype family int, shape () 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 math

def ceil_by_factor(number: int, factor: int) -> int:
    """Returns the smallest integer greater than or equal to 'number' that is divisible by 'factor'."""
    return math.ceil(number / factor) * factor

ARGS = {
    "number": 10,
    "factor": 3
}
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 int, ndim 0, dtype family int, shape () — shape () 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
convert_example Ran
ran on a synthesized input
tencentarc/seed-bench-r1/src/open_r1_egoplan/sft.py
code served (permissive licence) · get_code("06c3869c64af2266")
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 torch

ARGS = {
    'example': {
        'prompt': [
            {'role': 'user', 'content': [{'type': 'text', 'text': 'Hello, how are you?'}]},
            {'role': 'assistant', 'content': [{'type': 'text', 'text': 'I am doing well.'}]}
        ],
        'response': 'This is the assistant response.'
    }
}
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 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
floor_by_factor Ran
ran, honoured the contract we drafted
tencentarc/seed-bench-r1/qwen-vl-utils/src/qwen_vl_utils/vision_process_egoplan.py
code served (permissive licence) · get_code("8155263d7ff19bb3")
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 int, ndim 0, dtype family int, shape () 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 math

ARGS = {
    "number": 17,
    "factor": 5,
}
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 int, ndim 0, dtype family int, shape () — shape () 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
format_reward Ran
ran on a synthesized input
tencentarc/seed-bench-r1/src/open_r1_egoplan/grpo.py
code served (permissive licence) · get_code("1fd4dec0e26848af")
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, ndim 1, 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 re

def format_reward(completions, **kwargs):
    """Reward function that checks if the completion has a specific format."""
    pattern = '<think>.*?</think>\\s*<answer>.*?</answer>'
    completion_contents = [completion[0]['content'] for completion in completions]
    matches = [re.match(pattern, content, re.DOTALL) for content in completion_contents]
    return [1.0 if match else 0.0 for match in matches]


# Construct valid arguments
# completions should be a list of lists, where each inner list contains dicts with 'content' key
# The function accesses completion[0]['content'] for each completion

completions = [
    [{'content': '<think>reasoning here</think>\n<answer>final answer</answer>'}],
    [{'content': '<think>some thinking</think>   <answer>some answer</answer>'}],
    [{'content': 'no proper format here'}],
    [{'content': '<think></think><answer></answer>'}],
]

ARGS = {
    'completions': completions,
}
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 list, ndim 1, dtype family float — 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
make_conversation_egoplan Ran
ran on a synthesized input
tencentarc/seed-bench-r1/infer.py
code served (permissive licence) · get_code("c1df6681680a10d2")
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

# Create a temporary directory to act as data_root_dir
temp_dir = tempfile.mkdtemp()

# Create the necessary subdirectories
os.makedirs(os.path.join(temp_dir, 'videos', 'source1'), exist_ok=True)
os.makedirs(os.path.join(temp_dir, 'images', 'source1'), exist_ok=True)

# Create dummy video and image files
video_path = os.path.join(temp_dir, 'videos', 'source1', 'video.mp4')
with open(video_path, 'w') as f:
    f.write('dummy video')

image_path = os.path.join(temp_dir, 'images', 'source1', 'image.jpg')
with open(image_path, 'w') as f:
    f.write('dummy image')

# Construct example dict
example = {
    'question': 'What is the next step?',
    'choice_a': 'Option A description',
    'choice_b': 'Option B description',
    'choice_c': 'Option C description',
    'choice_d': 'Option D description',
    'golden_choice_idx': 0,
    'sample_id': 'sample_001',
    'task_progress_metadata': [{'step': 1}, {'step': 2}],  # Non-empty list
    'video_source': 'source1',
    'video_basename': 'video.mp4',
    'current_observation_basename': 'image.jpg'
}

ARGS = {
    'example': example,
    'data_root_dir': temp_dir
}
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 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
make_conversation_longvideobench Ran
ran on a synthesized input
tencentarc/seed-bench-r1/infer.py
code served (permissive licence) · get_code("58ba34587ddd45bf")
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

# Create a temporary directory to serve as data_root_dir
temp_dir = tempfile.mkdtemp()
videos_dir = os.path.join(temp_dir, 'videos')
os.makedirs(videos_dir, exist_ok=True)

# Create a dummy video file
dummy_video_path = os.path.join(videos_dir, 'test_video.mp4')
with open(dummy_video_path, 'w') as f:
    f.write('dummy video content')

# Construct the example dict with all required fields
example = {
    'candidates': ['Option A', 'Option B', 'Option C', 'Option D'],
    'correct_choice': 1,
    'question': 'What is the main theme of this video?',
    'sample_id': 'sample_001',
    'video_path': 'test_video.mp4'
}

ARGS = {
    'example': example,
    'data_root_dir': temp_dir
}
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 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
round_by_factor Ran
ran, honoured the contract we drafted
tencentarc/seed-bench-r1/qwen-vl-utils/src/qwen_vl_utils/vision_process_egoplan.py
code served (permissive licence) · get_code("e252767324188623")
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 int, ndim 0, dtype family int, shape () 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
import numpy as np

# Analyze the function:
# round_by_factor(number: int, factor: int) -> int
# The function takes two integers and returns an integer.
# It divides number by factor, rounds to nearest integer, then multiplies by factor.

# Set up arguments
number_arg = 17
factor_arg = 5

ARGS = {
    "number": number_arg,
    "factor": factor_arg,
}
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 int, ndim 0, dtype family int, shape () — shape () 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
create_dataset_from_jsonl_simple Not yet run
unverified (harvested, no recorded run)
tencentarc/seed-bench-r1/src/open_r1_egoplan/grpo.py
code served (permissive licence) · get_code("196b59b21bda8cbe")
How it ran

no invocation recorded.

create_dataset_from_jsonl_simple Not yet run
unverified (harvested, no recorded run)
tencentarc/seed-bench-r1/src/open_r1_egoplan/sft.py
code served (permissive licence) · get_code("b239a84dd5aac76c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 3 the same month, 3 later) and 5 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
round_by_factor 25 other papers
4 dated earlier, 2 the same month, 16 later, 2 same year, order not determinable, 1 undated
2409.12191 (2024-09)
Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution
2410.11623 (2024-10)
VidEgoThink: Assessing Egocentric Video Understanding Capabilities for Embodied AI
2412.01720 (2024-12)
LamRA: Large Multimodal Model as Your Advanced Retrieval Assistant
and 22 more not named here
ceil_by_factor 23 other papers
4 dated earlier, 2 the same month, 14 later, 2 same year, order not determinable, 1 undated
2409.12191 (2024-09)
Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution
2410.11623 (2024-10)
VidEgoThink: Assessing Egocentric Video Understanding Capabilities for Embodied AI
2412.01720 (2024-12)
LamRA: Large Multimodal Model as Your Advanced Retrieval Assistant
and 20 more not named here
floor_by_factor 23 other papers
4 dated earlier, 2 the same month, 14 later, 2 same year, order not determinable, 1 undated
2409.12191 (2024-09)
Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution
2410.11623 (2024-10)
VidEgoThink: Assessing Egocentric Video Understanding Capabilities for Embodied AI
2412.01720 (2024-12)
LamRA: Large Multimodal Model as Your Advanced Retrieval Assistant
and 20 more not named here

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

Recent advancements in Chain of Thought (COT) generation have significantly improved the reasoning capabilities of Large Language Models (LLMs), with reinforcement learning (RL) emerging as an effective post-training approach. Multimodal Large Language Models (MLLMs) inherit this reasoning potential but remain underexplored in tasks requiring both perception and logical reasoning. To address this, we introduce SEED-Bench-R1, a benchmark designed to systematically evaluate post-training methods for MLLMs in video understanding. It includes intricate real-world videos and complex everyday planning tasks in the format of multiple-choice questions, requiring sophisticated perception and reasoning. SEED-Bench-R1 assesses generalization through a three-level hierarchy: in-distribution, cross-environment, and cross-environment-task scenarios, equipped with a large-scale training dataset with easily verifiable ground-truth answers. Using Qwen2-VL-Instruct-7B as a base model, we compare RL with supervised fine-tuning (SFT), demonstrating RL's data efficiency and superior performance on both in-distribution and out-of-distribution tasks, even outperforming SFT on general video understanding benchmarks like LongVideoBench. Our detailed analysis reveals that RL enhances visual perception but often produces less logically coherent reasoning chains. We identify key limitations such as inconsistent reasoning and overlooked visual cues, and suggest future improvements in base model reasoning, reward modeling, and RL robustness against noisy signals.

For agents

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

get_harvested_code_for_paper("2503.24376")
get_code_for_paper("2503.24376")
have("2503.24376")

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

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

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

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

Connect an agent — have() is free.