SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.13952 · NeurIPS · 2023

VidChapters-7M: Video Chapters at Scale

Cordelia Schmid, Arsha Nagrani, Ivan Laptev, Antoine Yang, Josef Sivic

arXiv · PDF · Open in the Atlas

Code that ran

6 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; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 3 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.13952.json · badge: /api/ran/2309.13952.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
antoyang/VidChapters community (classifier label)
classifier basis not recorded on the link
6 ran · 3 no recorded run
FunctionStatusWhere it lives
custom_collate_fn Ran
ran on a synthesized input
antoyang/VidChapters/zs_speechvcg.py
code served (permissive licence) · get_code("c057f6996d2a67d6")
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
import numpy as np

torch.manual_seed(0)

# The function expects a batch parameter which is a list of dicts
# Each dict should have 'video_id' and 'sub' keys
batch = [
    {
        'video_id': 'vid_001',
        'sub': 'subtitle text 1'
    },
    {
        'video_id': 'vid_002',
        'sub': 'subtitle text 2'
    }
]

ARGS = {
    'batch': batch
}
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 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
custom_collate_fn Ran
ran on a synthesized input
antoyang/VidChapters/zs_visualvcg.py
code served (permissive licence) · get_code("3729c17b4ed1c6a4")
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

torch.manual_seed(0)

# The function expects a batch which is a list of dicts
# Each dict must have 'video_id', 'video_path', and 'duration' keys
batch = [
    {
        'video_id': 'vid_001',
        'video_path': '/path/to/video1.mp4',
        'duration': 120.5
    },
    {
        'video_id': 'vid_002',
        'video_path': '/path/to/video2.mp4',
        'duration': 85.3
    }
]

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 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
evaluate_detection Ran
ran on a synthesized input
antoyang/VidChapters/zs_vcgr.py
code served (permissive licence) · get_code("981f35dd0fe6edf3")
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 float, ndim 0, dtype family float, 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

torch.manual_seed(0)

# Build results dict with the structure expected by evaluate_detection
# The function iterates over results.items() and accesses cur['pred'] and cur['gt']
# Each pred and gt should be an interval (2-tuple of numbers)
results = {
    'video_1': {
        'pred': [
            (0.0, 2.0),
            (3.0, 5.0),
            (6.0, 8.0),
        ],
        'gt': [
            (0.5, 2.5),
            (3.2, 5.1),
            (5.9, 8.2),
        ]
    },
    'video_2': {
        'pred': [
            (1.0, 3.0),
            (4.0, 6.0),
        ],
        'gt': [
            (1.1, 3.2),
            (4.2, 6.1),
        ]
    }
}

# tiou is a threshold for IoU comparison
tiou = 0.5

ARGS = {
    'results': results,
    'tiou': tiou
}
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 float, ndim 0, dtype family float, 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
evaluate_navigation Ran
ran on a synthesized input
antoyang/VidChapters/zs_vcgr.py
code served (permissive licence) · get_code("3c58dab2a68d13df")
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 float, ndim 0, dtype family float, 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

torch.manual_seed(0)

# Construct valid arguments for evaluate_navigation
# The function expects:
# - results: dict mapping vid_id to dict with 'pred' and 'gt' keys
#   - 'pred': list of predictions, each with at least [0] index
#   - 'gt': list of ground truth, each with at least [0] index
# - tiou: threshold value for comparison

results = {
    'video_1': {
        'pred': [
            [0.5, 1.0, 2.0],
            [1.2, 3.0, 4.5],
        ],
        'gt': [
            [0.6, 1.1, 2.1],
            [1.1, 3.1, 4.6],
        ]
    },
    'video_2': {
        'pred': [
            [2.5, 5.0, 6.0],
        ],
        'gt': [
            [2.7, 5.2, 6.1],
        ]
    }
}

tiou = 0.3

ARGS = {
    'results': results,
    'tiou': tiou,
}
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 float, ndim 0, dtype family float, 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
extract_boundaries_from_ffprobe_output Ran
ran on a synthesized input
antoyang/VidChapters/zs_visualvcg.py
code served (permissive licence) · get_code("7a6ba965c7ce56ef")
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 2, 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
import numpy as np

# The function expects ffprobe output as bytes
# It decodes it and parses lines looking for shot boundaries and scores
# Format: lines with pipes (|) separating fields, with boundary in field 4 and score in last field

ffprobe_output = b"""header line 1
header line 2
header line 3
header line 4
header line 5
header line 6
header line 7
header line 8
header line 9
header line 10
header line 11
header line 12
header line 13
header line 14
header line 15
frame=1|pts=0.0|t=0.0|boundary=1.5|score=0.85
frame=2|pts=1.0|t=1.0|boundary=3.2|score=0.92
frame=3|pts=2.0|t=2.0|boundary=5.8|score=0.78
"""

ARGS = {
    "output": ffprobe_output
}
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 list, ndim 2, 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
iou Ran
ran on a synthesized input
antoyang/VidChapters/zs_vcgr.py
code served (permissive licence) · get_code("23951a2f859364ee")
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 float, ndim 0, dtype family float, 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

torch.manual_seed(0)

# The function takes two intervals, each represented as a tuple or list with two elements
# interval_1 and interval_2 should have indices [0] and [1] for start and end positions

interval_1 = [10, 20]
interval_2 = [15, 25]

ARGS = {
    "interval_1": interval_1,
    "interval_2": interval_2
}
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 float, ndim 0, dtype family float, 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
extract_shots_with_ffprobe Not yet run
unverified (harvested, no recorded run)
antoyang/VidChapters/zs_visualvcg.py
code served (permissive licence) · get_code("90aac3e2130f1dba")
How it ran

no invocation recorded.

load_tf_weights_in_t5 Not yet run
unverified (harvested, no recorded run)
antoyang/VidChapters/model/modeling_t5.py
code served (permissive licence) · get_code("bfbc7746415f3426")
How it ran

no invocation recorded.

smooth Not yet run
unverified (harvested, no recorded run)
antoyang/VidChapters/model/texttitling.py
code served (permissive licence) · get_code("fb51a172ea598d60")
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 9 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 8 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
load_tf_weights_in_t5 20 other papers
9 dated earlier, 11 later
2201.05966 (2022-01)
UNIFIEDSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Models
2204.07705 (2022-04)
SUPER-NATURALINSTRUCTIONS: Generalization via Declarative Instructions on 1600+ NLP Tasks
2205.06983 (2022-05)
RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQL
and 17 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

Segmenting long videos into chapters enables users to quickly navigate to the information of their interest. This important topic has been understudied due to the lack of publicly released datasets. To address this issue, we present VidChapters-7M, a dataset of 817K user-chaptered videos including 7M chapters in total. VidChapters-7M is automatically created from videos online in a scalable manner by scraping user-annotated chapters and hence without any additional manual annotation. We introduce the following three tasks based on this data. First, the video chapter generation task consists of temporally segmenting the video and generating a chapter title for each segment. To further dissect the problem, we also define two variants of this task: video chapter generation given ground-truth boundaries, which requires generating a chapter title given an annotated video segment, and video chapter grounding, which requires temporally localizing a chapter given its annotated title. We benchmark both simple baselines and state-of-the-art video-language models for these three tasks. We also show that pretraining on VidChapters-7M transfers well to dense video captioning tasks in both zero-shot and finetuning settings, largely improving the state of the art on the YouCook2 and ViTT benchmarks. Finally, our experiments reveal that downstream performance scales well with the size of the pretraining dataset. Our dataset, code, and models are publicly available at https://antoyang.github.io/vidchapters.html. Intro and new shoes Hiking Low Tatras todays plan Beautifull ascent Low Tatras New shoes, la Sportiva x4 Back to the campervan Outro and many thanks …

For agents

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

get_harvested_code_for_paper("2309.13952")
get_code_for_paper("2309.13952")
have("2309.13952")

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

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

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

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

Connect an agent — have() is free.