SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2508.15772 · ICLR · 2025

Visual Autoregressive Modeling for Instruction-Guided Image Editing

Qi Cai, Yingwei Pan, Ting Yao, Tao Mei, Qi Liu, Yehao Li, Mingyue Cheng, Qingyang Mao

arXiv · PDF · Open in the Atlas

Code that ran

10 of 17 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 1 has no contract verdict; 9 failures of our instrument; 7 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/2508.15772.json · badge: /api/ran/2508.15772.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
HiDream-ai/VAREdit canonical (classifier label)
classifier basis: census
10 ran · 7 no recorded run
FunctionStatusWhere it lives
denormalize_pm1_into_01 Ran
ran; our contract draft was wrong, not the code
HiDream-ai/VAREdit/infinity/dataset/build.py
code served (permissive licence) · get_code("741564849ed1a76c")
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)

# The function denormalize_pm1_into_01 takes a tensor x and applies:
# 1. add(1) - adds 1 to the tensor
# 2. mul_(0.5) - in-place multiplication by 0.5
# This converts from [-1, 1] range to [0, 1] range

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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_dropout_layer Ran
ran on a synthesized input
HiDream-ai/VAREdit/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
HiDream-ai/VAREdit/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
HiDream-ai/VAREdit/infinity/models/infinity.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
normalize_01_into_pm1 Ran
ran; our contract draft was wrong, not the code
HiDream-ai/VAREdit/infinity/dataset/build.py
code served (permissive licence) · get_code("eabecb1bb23906fe")
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)

# The function normalize_01_into_pm1 takes a single parameter 'x'
# and performs: x.add(x).add_(-1)
# This means x must be a tensor with .add() method
# The function doubles x and subtracts 1, converting [0,1] range to [-1,1]

x = torch.randn(2, 4)

ARGS = {
    "x": x
}
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
pad_image_to_square Ran
ran; our contract draft was wrong, not the code
HiDream-ai/VAREdit/infinity/dataset/webdataset.py
code served (permissive licence) · get_code("8115343c78f1f050")
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 Image. It ran in syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1) at 2026-09-27T01:20:07Z. 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 PIL.Image as PImage
import numpy as np

# Create a small test image
img_array = np.random.randint(0, 256, (50, 70, 3), dtype=np.uint8)
test_img = PImage.fromarray(img_array, mode='RGB')

ARGS = {
    'img': test_img
}
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 Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int describe that coercion, not the output, and are not stated
Environment
image syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1); 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
HiDream-ai/VAREdit/infinity/models/basic.py
code served (permissive licence) · get_code("c99fb8b2d71c7fd2")
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)

# Construct dynamic_resolution_h_w
# This is a nested dict structure that maps h/w ratios to resolution configs
dynamic_resolution_h_w = {
    1.0: {  # h_div_w ratio
        '1M': {
            'scales': [
                (1, 8, 8),   # (scale_factor, height, width)
                (2, 16, 16),
                (3, 24, 24),
            ]
        },
        '2M': {
            'scales': [
                (1, 8, 8),
                (2, 16, 16),
            ]
        }
    },
    2.0: {  # different h/w ratio
        '1M': {
            'scales': [
                (1, 12, 6),
                (2, 24, 12),
            ]
        }
    }
}

ARGS = {
    'dim': 4,
    'dynamic_resolution_h_w': dynamic_resolution_h_w,
    'rope2d_normalized_by_hw': 2,
    'pad_to_multiplier': 1,
    'max_height': 32,
    'max_width': 32,
    '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)
HiDream-ai/VAREdit/infinity/models/infinity.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)
HiDream-ai/VAREdit/infinity/models/infinity.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
transform Ran
ran; our contract draft was wrong, not the code
HiDream-ai/VAREdit/infinity/dataset/webdataset.py
code served (permissive licence) · get_code("218e5b39b233e615")
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 3, dtype family float, shape (3, 2, 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 torch
import numpy as np
import PIL.Image as Image

torch.manual_seed(0)

# Create a small PIL Image (4x3 RGB image)
pil_img = Image.new('RGB', (4, 3), color=(128, 64, 192))

# Target height and width
tgt_h = 2
tgt_w = 3

ARGS = {
    'pil_img': pil_img,
    'tgt_h': tgt_h,
    'tgt_w': tgt_w
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — 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 float, shape (3, 2, 3) — shape (3, 2, 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
apply_rotary_emb Not yet run
unverified (harvested, no recorded run)
HiDream-ai/VAREdit/infinity/models/basic.py
code served (permissive licence) · get_code("ae628f6f7137682b")
How it ran

no invocation recorded.

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

no invocation recorded.

fused_ada_layer_norm Not yet run
unverified (harvested, no recorded run)
HiDream-ai/VAREdit/infinity/models/fused_op.py
code served (permissive licence) · get_code("2c95f490aca10ca4")
How it ran

no invocation recorded.

fused_ada_rms_norm Not yet run
unverified (harvested, no recorded run)
HiDream-ai/VAREdit/infinity/models/fused_op.py
code served (permissive licence) · get_code("2799799371543095")
How it ran

no invocation recorded.

fused_rms_norm Not yet run
unverified (harvested, no recorded run)
HiDream-ai/VAREdit/infinity/models/fused_op.py
code served (permissive licence) · get_code("6c1bfd60f7bf3664")
How it ran

no invocation recorded.

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

no invocation recorded.

transform Not yet run
unverified (harvested, no recorded run)
HiDream-ai/VAREdit/infer.py
code served (permissive licence) · get_code("2ee529509f3e71b8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 11 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 11 later) and 6 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
3 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
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
and 1 more not named here
normalize_01_into_pm1 4 other papers
3 dated earlier, 1 later
2411.10433 (2024-11)
M-VAR: Decoupled Scale-wise Autoregressive Modeling for High-Quality Image Generation
2412.04431 (2024-12)
Infinity: Scaling Bitwise AutoRegressive Modeling for High-Resolution Image Synthesis
2507.11441 (2025-07)
Implementing Adaptations for Vision AutoRegressive Model
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
and 1 more not named here
features2image 3 other papers
1 dated earlier, 1 later, 1 same year, order not determinable
Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper (2025 (year only))
Fine-Tuning Visual Autoregressive Models for Subject-Driven Generation
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_dropout_layer 3 other papers
1 dated earlier, 1 later, 1 same year, order not determinable
Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper (2025 (year only))
Fine-Tuning Visual Autoregressive Models for Subject-Driven Generation
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
labels2image 3 other papers
1 dated earlier, 1 later, 1 same year, order not determinable
Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper (2025 (year only))
Fine-Tuning Visual Autoregressive Models for Subject-Driven Generation
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
Chung_Fine-Tuning_Visual_Autogressive_Models_for_Subject-Driven_Generation_ICCV_2025_paper (2025 (year only))
Fine-Tuning Visual Autoregressive Models for Subject-Driven Generation
2604.21450 (2026-04)
VARestorer: One-Step VAR Distillation for Real-World Image Super-Resolution
fused_ada_layer_norm 1 other paper
1 later
2604.21450 (2026-04)
VARestorer: One-Step VAR Distillation for Real-World Image Super-Resolution
fused_ada_rms_norm 1 other paper
1 later
2604.21450 (2026-04)
VARestorer: One-Step VAR Distillation for Real-World Image Super-Resolution
fused_rms_norm 1 other paper
1 later
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 diffusion models have brought remarkable visual fidelity to instruction-guided image editing. However, their global denoising process inherently entangles the edited region with the entire image context, leading to unintended spurious modifications and compromised adherence to editing instructions. In contrast, autoregressive models offer a distinct paradigm by formulating image synthesis as a sequential process over discrete visual tokens. Their causal and compositional mechanism naturally circumvents the adherence challenges of diffusion-based methods. In this paper, we present VAREdit, a visual autoregressive (VAR) framework that reframes image editing as a next-scale prediction problem. Conditioned on source image features and text instructions, VAREdit generates multi-scale target features to achieve precise edits. A core challenge in this paradigm is how to effectively condition the source image tokens. We observe that finest-scale source features cannot effectively guide the prediction of coarser target features. To bridge this gap, we introduce a Scale-Aligned Reference (SAR) module, which injects scale-matched conditioning information into the first selfattention layer. VAREdit demonstrates significant advancements in both editing adherence and efficiency. On EMU-Edit and PIE-Bench benchmarks, VAREdit outperforms leading diffusion-based methods by a substantial margin in terms of both CLIP and GPT scores. Moreover, VAREdit completes a 512×512 editing in 1.2 seconds, making it 2.2× faster than the similarly sized UltraEdit. Code is available at: https://github.com/HiDream-ai/VAREdit.

For agents

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

get_harvested_code_for_paper("2508.15772")
get_code_for_paper("2508.15772")
have("2508.15772")

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

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

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

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

Connect an agent — have() is free.