SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2511.04678 · NeurIPS · 2025

Tracking and Understanding Object Transformations

Bharath Hariharan, Jennifer Sun, Xinyu Yang, Yihong Sun

arXiv · PDF · Open in the Atlas

Code that ran

8 of 10 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; 6 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2511.04678.json · badge: /api/ran/2511.04678.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
YihongSun/TubeletGraph canonical (classifier label)
classifier basis: census
8 ran · 2 no recorded run
FunctionStatusWhere it lives
demo_run_on_image Ran
ran; our contract draft was wrong, not the code
YihongSun/TubeletGraph/TubeletGraph/semantic_sim/compute_sim_fcclip.py
code served (permissive licence) · get_code("7d2429dad9985bcd")
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 torch.nn as nn
import numpy as np

torch.manual_seed(0)

class MockTransform:
    def apply_image(self, image):
        return image

class MockAugmentation:
    def get_transform(self, image):
        return MockTransform()

class MockConfig:
    class MODEL:
        DEVICE = 'cpu'

class MockPredictor(nn.Module):
    def __init__(self):
        super().__init__()
        self.input_format = 'RGB'
        self.aug = MockAugmentation()
        self.cfg = MockConfig()
        self.model = MockModel()

class MockModel(nn.Module):
    def __init__(self):
        super().__init__()
    
    def forward_feature(self, inputs_list):
        batch_predictions = []
        for inputs in inputs_list:
            predictions = {
                'pooled_clip_feature': torch.randn(1, 4),
                'other_feature': torch.randn(2, 3)
            }
            batch_predictions.append(predictions)
        return batch_predictions

class MockDemo:
    def __init__(self):
        self.predictor = MockPredictor()

# Create a valid image: (height=4, width=3, channels=3)
image = np.random.randint(0, 255, size=(4, 3, 3), dtype=np.uint8)

# Create masks
masks = torch.randn(2, 4, 3)

# Create demo instance
demo = MockDemo()

ARGS = {
    'demo': demo,
    'image': image,
    'masks': masks
}
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
encode_image_from_np Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
YihongSun/TubeletGraph/TubeletGraph/vlm/prompt_vlm.py
code served (permissive licence) · get_code("be236f2f1ee8d309")
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 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 numpy as np
import base64
import io

# Create a small valid numpy array in HxWxC format with 3 channels (RGB)
# Using values in range [0, 255] to avoid the multiplication by 255
height, width, channels = 4, 6, 3
image_np = np.random.randint(0, 256, size=(height, width, channels), dtype=np.uint8)

ARGS = {
    "image_np": image_np,
    "is_rgb": True,
    "resize": 1.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, 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
generate_rand_colors Ran
ran, honoured the contract we drafted
YihongSun/TubeletGraph/utils.py
code served (permissive licence) · get_code("c1bc49141b18d0ca")
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 2, dtype family float, shape (5, 3) 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

ARGS = {
    "num_colors": 5,
    "seed": 0,
    "lightness": 1,
    "saturation": 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, imageio, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (5, 3) — shape (5, 3) 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_image_payload Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
YihongSun/TubeletGraph/TubeletGraph/vlm/prompt_vlm.py
code served (permissive licence) · get_code("340c8b86253b5706")
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 numpy as np

# Create a small test image as numpy array (HxWxC format)
# Using shape (32, 48, 3) for RGB image with distinct dimensions
image_np = np.random.randint(0, 256, size=(32, 48, 3), dtype=np.uint8)

ARGS = {
    'image': image_np,
    'detail': 'low'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy — 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
get_text_payload Ran
ran; our contract draft was wrong, not the code
YihongSun/TubeletGraph/TubeletGraph/vlm/prompt_vlm.py
code served (permissive licence) · get_code("ae8c47ab0126353a")
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)

ARGS = {
    'text': 'Hello, this is a test string.'
}
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
make_config Ran
ran; our contract draft was wrong, not the code
YihongSun/TubeletGraph/TubeletGraph/tubelet/compute_tubelets_sam.py
code served (permissive licence) · get_code("889ce0fcee2816b2")
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 SimpleNamespace. 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.path as osp
from types import SimpleNamespace

torch_imported = False
try:
    import torch
    torch_imported = True
except ImportError:
    pass

class MockDatasetConfig:
    def __init__(self):
        self.name = "test_dataset"
        self.split = "train"

class MockPathsConfig:
    def __init__(self):
        self.intermdir = "/tmp/intermediate"
        self.root = "/tmp/root"

class MockDatasetsConfig:
    def __init__(self):
        self.test_dataset = MockDatasetConfig()
        self.other_dataset = MockDatasetConfig()

class MockTubeletConfig:
    def __init__(self):
        self.tracker = "default_tracker"
        self.init_entity_thrd = 0.5
        self.fill_entity_thrd = 0.3
        self.fill_coverage_thrd = 0.7
        self.rm_init_entity_thrd = 0.1
        self.collect_spacing = 2.5
        self.prox_tracker = "proximity"
        self.entity_method = "method_v1"

class MockConfig:
    def __init__(self):
        self.tubelet = MockTubeletConfig()
        self.paths = MockPathsConfig()
        self.datasets = MockDatasetsConfig()

class MockArgs:
    def __init__(self):
        self.dataset = "test_dataset"
        self.model_name = "default_model"
        self.batch_size = 32
        self.learning_rate = 0.001

args = MockArgs()
cfg = MockConfig()

ARGS = {
    "args": args,
    "cfg": cfg,
    "verbose": True
}
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 SimpleNamespace — a SimpleNamespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleNamespace 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
run_command Ran
ran, violated the contract we drafted
YihongSun/TubeletGraph/quick_run.py
code served (permissive licence) · get_code("019bd91fa532e60a")
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 bool, 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 sys
import subprocess

torch_available = False
try:
    import torch
except ImportError:
    torch_available = False

# Construct valid arguments for run_command
cmd = ["echo", "Hello, World!"]
description = "Test echo command"
check = True

ARGS = {
    "cmd": cmd,
    "description": description,
    "check": check,
}
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 bool, 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
setup Ran
ran; our contract draft was wrong, not the code
YihongSun/TubeletGraph/TubeletGraph/tubelet/compute_tubelets_sam.py
code served (permissive licence) · get_code("3c3e1d4b4672b2c7")
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 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 json
import os
import tempfile
import torch
import torch.nn as nn

# Create a temporary directory structure for files
temp_dir = tempfile.mkdtemp()
entity_dir = os.path.join(temp_dir, 'entities')
vid_dir = os.path.join(temp_dir, 'videos')
os.makedirs(entity_dir, exist_ok=True)
os.makedirs(vid_dir, exist_ok=True)

# Create a minimal SAM2 mock that has the required interface
class MockSAM2:
    def __init__(self):
        self.inference_state = None
    
    def initialize(self, video_dir):
        # Simulate initialization with a known number of frames
        self.inference_state = {'num_frames': 5}

# Create a test instance name
instance_name = 'test_instance'

# Create entity JSON file with matching number of frames
entity_data = {
    '0': {'id': 0},
    '1': {'id': 1},
    '2': {'id': 2},
    '3': {'id': 3},
    '4': {'id': 4},
}
entity_path = os.path.join(entity_dir, instance_name + '.json')
with open(entity_path, 'w') as f:
    json.dump(entity_data, f)

# Create video directory for the instance
instance_vid_dir = os.path.join(vid_dir, instance_name)
os.makedirs(instance_vid_dir, exist_ok=True)

# Create SAM2 instance
sam2 = MockSAM2()

ARGS = {
    'sam2': sam2,
    'instance_name': instance_name,
    'vid_dir': vid_dir,
    'entity_dir': entity_dir,
}
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 1, 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_config Not yet run
unverified (harvested, no recorded run)
YihongSun/TubeletGraph/TubeletGraph/get_prediction.py
code served (permissive licence) · get_code("c3316d59d103f658")
How it ran

no invocation recorded.

setup_cfg Not yet run
unverified (harvested, no recorded run)
YihongSun/TubeletGraph/TubeletGraph/entity_segmentation/cropformer.py
code served (permissive licence) · get_code("ee7ac82588ca6632")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 10 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.

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

Real-world objects frequently undergo state transformations. From an apple being cut into pieces to a butterfly emerging from its cocoon, tracking through these changes is important for understanding real-world objects and dynamics. However, existing methods often lose track of the target object after transformation, due to significant changes in object appearance. To address this limitation, we introduce the task of Track Any State: tracking objects through transformations while detecting and describing state changes, accompanied by a new benchmark dataset, VOST-TAS. To tackle this problem, we present TubeletGraph, a zero-shot system that recovers missing objects after transformation and maps out how object states are evolving over time. TubeletGraph first identifies potentially overlooked tracks, and determines whether they should be integrated based on semantic and proximity priors. Then, it reasons about the added tracks and generates a state graph describing each observed transformation. TubeletGraph achieves state-of-the-art tracking performance under transformations, while demonstrating deeper understanding of object transformations and promising capabilities in temporal grounding and semantic reasoning for complex object transformations. Code, additional results, and the benchmark dataset are available at https://tubelet-graph.github.io. 39th Conference on Neural Information Processing Systems (NeurIPS 2025).

For agents

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

get_harvested_code_for_paper("2511.04678")
get_code_for_paper("2511.04678")
have("2511.04678")

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

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

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

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

Connect an agent — have() is free.