SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.15223 · NeurIPS · 2024

iVideoGPT: Interactive VideoGPTs are Scalable World Models

Jianye Hao, Dong Li, Xu He, Mingsheng Long, 𝑎, Jialong Wu, Ningya Feng, Shaofeng Yin

arXiv · PDF · Open in the Atlas

Code that ran

1 of 3 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 0 have no contract verdict; 1 failure 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/2405.15223.json · badge: /api/ran/2405.15223.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
thuml/iVideoGPT canonical (classifier label)
classifier basis: classifier_2025
1 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
0 ran · 1 no recorded run
FunctionStatusWhere it lives
generate_multiple_times Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
thuml/iVideoGPT/train_gpt.py
code served (permissive licence) · get_code("4a383ced1eb8021c")
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 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
import torch.nn as nn
from unittest.mock import MagicMock

torch.manual_seed(0)

# Create a minimal model that has a generate method
class MinimalModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 4)
    
    def generate(self, input_ids, action=None, pad_token_id=None, **kwargs):
        # Return generated tokens and optionally rewards
        batch_size = input_ids.shape[0]
        generated = torch.randint(0, 50256, (batch_size, 8))
        reward = torch.randn(batch_size, 1)
        return (generated, reward)

# Create a minimal accelerator mock
class MinimalAccelerator:
    def __init__(self, model):
        self.model = model
    
    def unwrap_model(self, model):
        return self.model

model = MinimalModel()
accelerator = MinimalAccelerator(model)

# Setup arguments
gen_times = 4
gen_input = torch.randint(0, 50256, (2, 3))  # batch_size=2, seq_len=3
actions = torch.randn(2, 5, 6)  # batch_size=2, action_dim=5, action_seq=6
gen_kwargs = {
    'max_length': 10,
    'num_beams': 1,
}
max_batch_size = 4
verbose = False
reward_prediction = True

ARGS = {
    'gen_times': gen_times,
    'accelerator': accelerator,
    'model': model,
    'gen_input': gen_input,
    'actions': actions,
    'gen_kwargs': gen_kwargs,
    'max_batch_size': max_batch_size,
    'verbose': verbose,
    'reward_prediction': reward_prediction,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch, tqdm — 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
get_dataloaders Not yet run
unverified (harvested, no recorded run)
thuml/iVideoGPT/train_gpt.py
code served (permissive licence) · get_code("e8b08bcb092a8f81")
How it ran

no invocation recorded.

make_agent Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from microsoft/VRL3
pointer only · get_code("f1ba293af9a573fd")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 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, 0 later) and 2 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
make_agent 4 other papers
4 dated earlier
2202.10324 (2022-02)
VRL3: A Data-Driven Framework for Visual Deep Reinforcement Learning
2307.10224 (2023-07)
RL-ViGen: A Reinforcement Learning Benchmark for Visual Generalization
2312.17116 (2023-12)
Generalizable Visual Reinforcement Learning with Segment Anything Model
and 1 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

World models empower model-based agents to interactively explore, reason, and plan within imagined environments for real-world decision-making. However, the high demand for interactivity poses challenges in harnessing recent advancements in video generative models for developing world models at scale. This work introduces Interactive VideoGPT (iVideoGPT), a scalable autoregressive transformer framework that integrates multimodal signals-visual observations, actions, and rewards-into a sequence of tokens, facilitating an interactive experience of agents via next-token prediction. iVideoGPT features a novel compressive tokenization technique that efficiently discretizes high-dimensional visual observations. Leveraging its scalable architecture, we are able to pre-train iVideoGPT on millions of human and robotic manipulation trajectories, establishing a versatile foundation that is adaptable to serve as interactive world models for a wide range of downstream tasks. These include action-conditioned video prediction, visual planning, and modelbased reinforcement learning, where iVideoGPT achieves competitive performance compared with state-of-the-art methods. Our work advances the development of interactive general world models, bridging the gap between generative video models and practical model-based reinforcement learning applications. Code and pre-trained models are available at https://thuml.github.io/iVideoGPT.

For agents

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

get_harvested_code_for_paper("2405.15223")
get_code_for_paper("2405.15223")
have("2405.15223")

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

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

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

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

Connect an agent — have() is free.