SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper · ICCV · 2025

Fine-Tuning Visual Autoregressive Models for Subject-Driven Generation

Sangeek Hyun, Jae-Pil Heo, Hyunjun Kim, Minkyu Lee, Jiwoo Chung, Eunseo Koh

Open in the Atlas

Code that ran

12 of 16 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 1 has no contract verdict; 10 failures of our instrument; 4 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/Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper.json · badge: /api/ran/Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper.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
jiwoogit/ARBooth canonical (classifier label)
classifier basis: census
12 ran · 4 no recorded run
FunctionStatusWhere it lives
apply_rotary_emb Ran
ran; our contract draft was wrong, not the code
jiwoogit/ARBooth/infinity/models/basic.py
code served (permissive licence) · get_code("42125baaa5c021b6")
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 5, 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

torch.manual_seed(0)

# Construct tiny tensors for q and k
# Shape: (batch, heads, seq_len, dim)
batch_size = 2
num_heads = 3
seq_len = 4
dim = 8

q = torch.randn(batch_size, num_heads, seq_len, dim)
k = torch.randn(batch_size, num_heads, seq_len, dim)

# scale_schedule: list of tuples, each with 3 elements (used in the function)
# The function computes: start = sum([item[0] * item[1] * item[2] for item in scale_schedule[:scale_ind]])
scale_schedule = ((2, 3, 4), (5, 6, 7))

# rope2d_freqs_grid: dict with string keys mapping to tensors
# Key is str(tuple(scale_schedule))
# Tensor shape should support: rope_cache = rope2d_freqs_grid[key][:, :, :, :, start:start + seq_len]
# So it needs shape (?, ?, ?, ?, large_seq_dim)
# The function reshapes qk from (..., seq_len, dim) to (..., seq_len, -1, 2)
# After rope application, it reshapes back to (..., seq_len, dim)
# rope_cache is indexed as [0] and [1] for cos and sin components
# Shape: (2, batch, heads, ?, total_seq_len) where total_seq_len >= seq_len

rope2d_freqs_grid = {
    str(tuple(scale_schedule)): torch.randn(2, batch_size, num_heads, 1, 20)
}

# pad_to_multiplier: likely an integer or not used in the function body
# Looking at the function, pad_to_multiplier is never referenced
pad_to_multiplier = 8

# rope2d_normalized_by_hw: likely a boolean or not used in the function body
# Looking at the function, rope2d_normalized_by_hw is never referenced
rope2d_normalized_by_hw = True

# scale_ind: integer index into scale_schedule
scale_ind = 0

ARGS = {
    "q": q,
    "k": k,
    "scale_schedule": scale_schedule,
    "rope2d_freqs_grid": rope2d_freqs_grid,
    "pad_to_multiplier": pad_to_multiplier,
    "rope2d_normalized_by_hw": rope2d_normalized_by_hw,
    "scale_ind": scale_ind,
}
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 tuple, ndim 5, 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
fused_ada_layer_norm Ran
ran; our contract draft was wrong, not the code
jiwoogit/ARBooth/infinity/models/fused_op.py
code served (permissive licence) · get_code("012515f16ec5eb72")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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 torch.nn.functional as F

torch.manual_seed(0)

# Construct arguments for fused_ada_layer_norm
C = 4  # Feature dimension
eps = 1e-5  # Small epsilon for layer norm stability

# Create a small batch of input data
# Shape: (batch_size, C) = (2, 4)
x = torch.randn(2, 4)

# Create scale tensor - same shape as C for broadcasting
# Shape: (C,) = (4,)
scale = torch.randn(4)

# Create shift tensor - same shape as C for broadcasting
# Shape: (C,) = (4,)
shift = torch.randn(4)

ARGS = {
    "C": C,
    "eps": eps,
    "x": x,
    "scale": scale,
    "shift": shift,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
fused_ada_rms_norm Ran
ran; our contract draft was wrong, not the code
jiwoogit/ARBooth/infinity/models/fused_op.py
code served (permissive licence) · get_code("be53d2ac9e4a98c6")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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)

# Analyze function usage:
# - C: int, used as a dimension size
# - eps: float, used in .add_(eps)
# - x: torch.Tensor, operations: .float(), .pow(2), .mean(-1, keepdim=True), .add_(eps), .mul(), .add_()
# - scale: torch.Tensor, operations: .add(1), used in .mul()
# - shift: torch.Tensor, used in .add_()

# The function performs RMS normalization with adaptive scale and shift
# x shape should be (batch, ..., features) where last dim is normalized
# scale and shift should broadcast with x

C = 4  # feature dimension
eps = 1e-6

# Create x with shape (batch=2, features=4)
x = torch.randn(2, C)

# scale should have shape compatible with x for broadcasting
# After x.mul(scale.add(1)), they should be broadcastable
scale = torch.randn(C)

# shift should have shape compatible with x for broadcasting
shift = torch.randn(C)

ARGS = {
    "C": C,
    "eps": eps,
    "x": x,
    "scale": scale,
    "shift": shift,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
fused_rms_norm Ran
ran; our contract draft was wrong, not the code
jiwoogit/ARBooth/infinity/models/fused_op.py
code served (permissive licence) · get_code("40fef42d6297a09a")
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 Tensor, ndim 2, dtype family float, shape (2, 4) 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
from torch import nn

torch.manual_seed(0)

# Create input tensor: (batch=2, dim=4)
x = torch.randn(2, 4)

# Create weight parameter: should match the last dimension of x
weight = nn.Parameter(torch.randn(4))

# Set epsilon value
eps = 1e-6

ARGS = {
    "x": x,
    "weight": weight,
    "eps": eps,
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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_clip_token_for_string Ran
ran, honoured the contract we drafted
jiwoogit/ARBooth/booth_evaluation/personalized.py
code served (permissive licence) · get_code("754114d5af38fb37")
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 Tensor, ndim 2, dtype family int, shape (2, 77) 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)

class MockTokenizer:
    def __call__(self, string, truncation=True, max_length=77, return_length=True, 
                 return_overflowing_tokens=False, padding='max_length', return_tensors='pt'):
        # Simulate a tokenizer that returns input_ids
        # Create a simple token sequence
        tokens = torch.randint(0, 100, (2, 77))
        return {
            'input_ids': tokens,
            'length': torch.tensor([77, 77])
        }

tokenizer = MockTokenizer()
string = "a photo of a cat"

ARGS = {
    'tokenizer': tokenizer,
    'string': 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 Tensor, ndim 2, dtype family int, shape (2, 77) — shape (2, 77) 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_dropout_layer Ran
ran on a synthesized input
jiwoogit/ARBooth/infinity/models/basic.py
code served (permissive licence) · get_code("b4a8295838aac5c1")
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 Dropout. 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)

# The function takes a single parameter 'p' which is a dropout probability
# It should be a float between 0 and 1
# We'll test with a value > 0 to trigger the Dropout case

ARGS = {
    "p": 0.5
}
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 Dropout — a Dropout output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Dropout 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_ema_model Ran
ran; our contract draft was wrong, not the code
jiwoogit/ARBooth/infinity/models/ema.py
code served (permissive licence) · get_code("2d0f2338dbaba23b")
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 SimpleModel. 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 copy

torch.manual_seed(0)

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
        self.bn = nn.BatchNorm1d(3)
    
    def forward(self, x):
        x = self.linear(x)
        x = self.bn(x)
        return x

model = SimpleModel()

ARGS = {
    "model": model
}
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 SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel 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_params_num Ran
ran; our contract draft was wrong, not the code
jiwoogit/ARBooth/infinity/models/infinity_final.py
code served (permissive licence) · get_code("6a19741de3a68058")
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 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 torch
import numpy as np

torch.manual_seed(0)

# Analyzing the function:
# - d: appears to be an integer (used in multiplication: d * (w ** 2 * 8 + w * m * 2))
# - w: appears to be an integer (used in arithmetic operations)
# - mlp: appears to be an integer or float (used in: round(mlp * w / 256) * 256)
# All parameters are numeric values used in mathematical calculations

ARGS = {
    "d": 12,
    "w": 768,
    "mlp": 3072
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — 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
precompute_rope2d_freqs_grid Ran
ran; our contract draft was wrong, not the code
jiwoogit/ARBooth/infinity/models/basic.py
code served (permissive licence) · get_code("94b02b98b65ce1b4")
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

torch.manual_seed(0)

# Build dynamic_resolution_h_w structure
# This mimics the nested dict structure expected by the function
dynamic_resolution_h_w = {
    "1:1": {
        "1M": {
            "scales": [
                (0, 16, 16),
                (1, 32, 32),
            ]
        },
        "2M": {
            "scales": [
                (0, 24, 24),
                (1, 48, 48),
            ]
        }
    },
    "2:1": {
        "1M": {
            "scales": [
                (0, 16, 32),
                (1, 32, 64),
            ]
        },
        "2M": {
            "scales": [
                (0, 24, 48),
                (1, 48, 96),
            ]
        }
    }
}

ARGS = {
    "dim": 4,
    "dynamic_resolution_h_w": dynamic_resolution_h_w,
    "rope2d_normalized_by_hw": 0,
    "pad_to_multiplier": 1,
    "max_height": 128,
    "max_width": 128,
    "base": 10000.0,
    "device": None,
    "scaling_factor": 1.0,
}
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
sample_with_top_k_top_p_also_inplace_modifying_logits_ Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiwoogit/ARBooth/infinity/models/infinity_final.py
code served (permissive licence) · get_code("9526ce09c7148703")
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 Tensor, ndim 3, dtype family int, shape (2, 3, 1) 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)

# Construct logits tensor with shape (B, l, V)
# B=2 (batch), l=3 (sequence length), V=4 (vocabulary size)
logits_BlV = torch.randn(2, 3, 4)

# top_k parameter: number of top tokens to keep
top_k = 2

# top_p parameter: nucleus sampling threshold
top_p = 0.9

# rng parameter: random number generator
rng = torch.Generator()
rng.manual_seed(42)

# num_samples parameter: number of samples to draw
num_samples = 1

ARGS = {
    "logits_BlV": logits_BlV,
    "top_k": top_k,
    "top_p": top_p,
    "rng": rng,
    "num_samples": num_samples,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family int, shape (2, 3, 1) — shape (2, 3, 1) 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
sampling_with_top_k_top_p_also_inplace_modifying_probs_ Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jiwoogit/ARBooth/infinity/models/infinity_final.py
code served (permissive licence) · get_code("5451c3f14c7e520c")
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 Tensor, ndim 3, dtype family int, shape (2, 3, 1) 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)

# Construct a small probability tensor with shape (B, l, V)
# B=2 (batch), l=3 (sequence length), V=4 (vocabulary size)
probs_BlV = torch.rand(2, 3, 4)
probs_BlV = probs_BlV / probs_BlV.sum(dim=-1, keepdim=True)  # normalize to valid probabilities

# Create a random number generator
rng = torch.Generator()
rng.manual_seed(42)

ARGS = {
    "probs_BlV": probs_BlV,
    "top_k": 2,
    "top_p": 0.9,
    "rng": rng,
    "num_samples": 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family int, shape (2, 3, 1) — shape (2, 3, 1) 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
tokenize_prompt Ran
ran; our contract draft was wrong, not the code
jiwoogit/ARBooth/booth_train_final.py
code served (permissive licence) · get_code("79a21725b79678b0")
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
from unittest.mock import Mock

torch.manual_seed(0)

# Create a mock tokenizer that implements the minimal interface needed
class MockTokenizer:
    def __call__(self, text, truncation=None, padding=None, max_length=None, return_tensors=None):
        # Simulate tokenizer output with input_ids and attention_mask
        batch_size = 2
        seq_length = max_length if max_length else 512
        
        return {
            'input_ids': torch.randint(0, 1000, (batch_size, seq_length)),
            'attention_mask': torch.ones(batch_size, seq_length, dtype=torch.long)
        }

tokenizer = MockTokenizer()
prompt = "A sample prompt for tokenization"

ARGS = {
    'tokenizer': tokenizer,
    'prompt': prompt,
    'tokenizer_max_length': None
}
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
collate_fn Not yet run
unverified (harvested, no recorded run)
jiwoogit/ARBooth/booth_train_final.py
code served (permissive licence) · get_code("1f2f5def72e7894d")
How it ran

no invocation recorded.

encode_prompt Not yet run
unverified (harvested, no recorded run)
jiwoogit/ARBooth/booth_train_final.py
code served (permissive licence) · get_code("13d25dba33e24ca1")
How it ran

no invocation recorded.

features2image Not yet run
unverified (harvested, no recorded run)
jiwoogit/ARBooth/infinity/models/bitwise_self_correction.py
code served (permissive licence) · get_code("0a9d5c3882889998")
How it ran

no invocation recorded.

labels2image Not yet run
unverified (harvested, no recorded run)
jiwoogit/ARBooth/infinity/models/bitwise_self_correction.py
code served (permissive licence) · get_code("9ba6c0e0e8e4e50e")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 9 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 9 later) and 7 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
sample_with_top_k_top_p_also_inplace_modifying_logits_ 5 other papers
2 dated earlier, 1 later, 2 same year, order not determinable
2404.02905 (2024-04)
Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction
2412.04431 (2024-12)
Infinity: Scaling Bitwise AutoRegressive Modeling for High-Resolution Image Synthesis
2507.18537 (2025-07)
TTS-VAR: A Test-Time Scaling Framework for Visual Auto-Regressive Generation
and 2 more not named here
get_params_num 4 other papers
2 dated earlier, 1 later, 1 same year, order not determinable
2404.02905 (2024-04)
Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction
2412.04431 (2024-12)
Infinity: Scaling Bitwise AutoRegressive Modeling for High-Resolution Image Synthesis
2508.15772 (2025-08)
Visual Autoregressive Modeling for Instruction-Guided Image Editing
and 1 more not named here
sampling_with_top_k_top_p_also_inplace_modifying_probs_ 4 other papers
2 dated earlier, 1 later, 1 same year, order not determinable
2404.02905 (2024-04)
Visual Autoregressive Modeling: Scalable Image Generation via Next-Scale Prediction
2412.04431 (2024-12)
Infinity: Scaling Bitwise AutoRegressive Modeling for High-Resolution Image Synthesis
2508.15772 (2025-08)
Visual Autoregressive Modeling for Instruction-Guided Image Editing
and 1 more not named here
features2image 3 other papers
1 later, 2 same year, order not determinable
2503.23367 (2025-03)
FastVAR: Linear Visual Autoregressive Modeling via Cached Token Pruning
2508.15772 (2025-08)
Visual Autoregressive Modeling for Instruction-Guided Image Editing
2604.21450 (2026-04)
VARestorer: One-Step VAR Distillation for Real-World Image Super-Resolution
get_dropout_layer 3 other papers
1 later, 2 same year, order not determinable
2503.23367 (2025-03)
FastVAR: Linear Visual Autoregressive Modeling via Cached Token Pruning
2508.15772 (2025-08)
Visual Autoregressive Modeling for Instruction-Guided Image Editing
2604.21450 (2026-04)
VARestorer: One-Step VAR Distillation for Real-World Image Super-Resolution
labels2image 3 other papers
1 later, 2 same year, order not determinable
2503.23367 (2025-03)
FastVAR: Linear Visual Autoregressive Modeling via Cached Token Pruning
2508.15772 (2025-08)
Visual Autoregressive Modeling for Instruction-Guided Image Editing
2604.21450 (2026-04)
VARestorer: One-Step VAR Distillation for Real-World Image Super-Resolution
apply_rotary_emb 2 other papers
1 later, 1 same year, order not determinable
2503.23367 (2025-03)
FastVAR: Linear Visual Autoregressive Modeling via Cached Token Pruning
2604.21450 (2026-04)
VARestorer: One-Step VAR Distillation for Real-World Image Super-Resolution
get_ema_model 2 other papers
1 later, 1 same year, order not determinable
2508.15772 (2025-08)
Visual Autoregressive Modeling for Instruction-Guided Image Editing
2604.21450 (2026-04)
VARestorer: One-Step VAR Distillation for Real-World Image Super-Resolution
precompute_rope2d_freqs_grid 2 other papers
1 later, 1 same year, order not determinable
2503.23367 (2025-03)
FastVAR: Linear Visual Autoregressive Modeling via Cached Token Pruning
2604.21450 (2026-04)
VARestorer: One-Step VAR Distillation for Real-World Image Super-Resolution

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

Recent advances in text-to-image generative models have enabled numerous practical applications, including subject-driven generation, which fine-tunes pretrained models to capture subject semantics from only a few examples. While diffusion-based models produce high-quality images, their extensive denoising steps result in significant computational overhead, limiting real-world applicability. Visual autoregressive (VAR) models, which predict nextscale tokens rather than spatially adjacent ones, offer significantly faster inference suitable for practical deployment. In this paper, we propose the first VAR-based approach for subject-driven generation. However, naïve fine-tuning VAR leads to computational overhead, language drift, and reduced diversity. To address these challenges, we introduce selective layer tuning to reduce complexity and prior distillation to mitigate language drift. Additionally, we found that the early stages have a greater influence on the generation of subject than the latter stages, which merely synthesize minor details. Based on this finding, we propose * Corresponding author scale-wise weighted tuning, which prioritizes coarser resolutions for promoting the model to focus on the subjectrelevant information instead of local details. Extensive experiments validate that our method significantly outperforms diffusion-based baselines across various metrics and demonstrates its practical usage. Codes are available at github.com/jiwoogit/ARBooth.

For agents

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

get_harvested_code_for_paper("Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper")
get_code_for_paper("Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper")
have("Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper")

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

curl https://syntology.ai/api/ran/Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper.json

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

[![Syntology run record](https://syntology.ai/api/ran/Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper.svg)](https://syntology.ai/paper/Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper)

Connect an agent — have() is free.