SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2305.15393 · NeurIPS · 2023

LayoutGPT: Compositional Visual Planning and Generation with Large Language Models

Varun Jampani, Weixi Feng, Wanrong Zhu, Xuehai He, Tsu-Jui Fu, Sugato Basu, Arjun Reddy Akula, X. Wang, William Yang Wang

arXiv · PDF · Open in the Atlas

Code that ran

13 of 19 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 10 have no contract verdict; 2 failures of our instrument; 6 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/2305.15393.json · badge: /api/ran/2305.15393.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
weixi-feng/layoutgpt canonical (classifier label)
classifier basis: census
13 ran · 6 no recorded run
FunctionStatusWhere it lives
all_gather Ran
ran on a synthesized input
weixi-feng/layoutgpt/gligen/distributed.py
code served (permissive licence) · get_code("ed03ba54397adbe4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 pickle

torch.manual_seed(0)

# The function all_gather takes one parameter: data
# It should be something that can be pickled and unpickled
# We'll use a simple dictionary containing a tensor and some other data

data = {
    'tensor': torch.randn(2, 4),
    'value': 42,
    'string': 'test'
}

ARGS = {
    'data': data
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
alpha_generator Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
weixi-feng/layoutgpt/gligen/gligen_inference.py
pointer only (licence: MIT); the stored copy get_code serves, from YangLing0818/RealCompo, is pointer only (licence: NONE) · get_code("b3e1f7172e4955ae")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from YangLing0818/RealCompo, and GitHub detected no licence in that repository when it was checked. 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. A run is recorded.

bb_relative_position Ran
ran on a synthesized input
weixi-feng/layoutgpt/utils.py
code served (permissive licence) · get_code("0bf7957edd5ec68b")
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

# boxA and boxB are bounding boxes represented as [x1, y1, x2, y2]
# where (x1, y1) is top-left and (x2, y2) is bottom-right

boxA = np.array([10.0, 20.0, 50.0, 60.0])
boxB = np.array([100.0, 150.0, 200.0, 250.0])

ARGS = {
    "boxA": boxA,
    "boxB": boxB
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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
create_exemplar_prompt Ran
ran on a synthesized input
weixi-feng/layoutgpt/run_layoutgpt_2d.py
code served (permissive licence) · get_code("79259da2a67a2e86")
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 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

torch.manual_seed(0)

ARGS = {
    'caption': 'A living room with furniture arranged nicely',
    'object_list': [
        ('sofa', [0.1, 0.2, 0.3, 0.4]),
        ('table', [0.5, 0.3, 0.2, 0.15]),
        ('lamp', [0.8, 0.1, 0.1, 0.25])
    ],
    'canvas_size': 512,
    'is_chat': False
}
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 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
list_grid Ran
ran on a synthesized input
weixi-feng/layoutgpt/eval_models/GLIP/eval_counting.py
code served (permissive licence) · get_code("09501d1255cf3995")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Construct arguments for list_grid(list1, list2)
# The function creates a cartesian product of two lists

list1 = [1, 2, 3]
list2 = ['a', 'b']

ARGS = {
    'list1': list1,
    'list2': list2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 2, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load Ran
ran on a synthesized input
weixi-feng/layoutgpt/eval_models/GLIP/eval_counting.py
code served (permissive licence) · get_code("6920fbdb489405ed")
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 3, dtype family int, shape (4, 3, 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 tempfile
import os
from PIL import Image
import numpy as np

# Create a temporary directory and a small test image
temp_dir = tempfile.mkdtemp()
test_image_path = os.path.join(temp_dir, "test_image.png")

# Create a small RGB image (4x3 pixels)
test_image_array = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)
test_image = Image.fromarray(test_image_array, 'RGB')
test_image.save(test_image_path)

ARGS = {
    "dir": test_image_path
}
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 ndarray, ndim 3, dtype family int, shape (4, 3, 3) — shape (4, 3, 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
load_features Ran
ran on a synthesized input
weixi-feng/layoutgpt/run_layoutgpt_3d.py
code served (permissive licence) · get_code("3af0b42145b07f7f")
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
from PIL import Image

# Create sample metadata with two entries
meta_data = {
    'room_1': {
        'room_layout': np.random.randint(0, 256, (1, 64, 64), dtype=np.uint8),
        'floor_plan_vertices': np.array([
            [0.0, 0.0, 0.0],
            [10.0, 0.0, 0.0],
            [10.0, 0.0, 8.0],
            [0.0, 0.0, 8.0]
        ])
    },
    'room_2': {
        'room_layout': np.random.randint(0, 256, (1, 48, 48), dtype=np.uint8),
        'floor_plan_vertices': np.array([
            [0.0, 0.0, 0.0],
            [5.0, 0.0, 0.0],
            [5.0, 0.0, 6.0],
            [0.0, 0.0, 6.0]
        ])
    }
}

ARGS = {
    'meta_data': meta_data,
    'floor_plan': True
}
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
load_room_boxes Ran
ran on a synthesized input
weixi-feng/layoutgpt/eval_scene_layout.py
code served (permissive licence) · get_code("d7f3fdf20a8bcf2e")
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. 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
import tempfile
import numpy as np

# Create a temporary directory structure for the test
tmpdir = tempfile.mkdtemp()
test_id = "test_room_001"
room_dir = os.path.join(tmpdir, test_id)
os.makedirs(room_dir, exist_ok=True)

# Create a minimal valid .npz file with required keys
floor_plan_vertices = np.array([
    [0.0, 0.0, 0.0],
    [10.0, 0.0, 0.0],
    [10.0, 0.0, 8.0],
    [0.0, 0.0, 8.0],
], dtype=np.float32)

floor_plan_centroid = np.array([5.0, 0.0, 4.0], dtype=np.float32)

# Create 2 objects with one-hot encoded labels
class_labels = np.array([
    [1, 0, 0, 0],  # object 0: class 0
    [0, 1, 0, 0],  # object 1: class 1
], dtype=np.float32)

sizes = np.array([
    [1.0, 2.0, 0.5],
    [0.8, 1.5, 0.6],
], dtype=np.float32)

angles = np.array([
    [0.0],
    [1.5707963],
], dtype=np.float32)

translations = np.array([
    [2.0, 0.0, 1.0],
    [7.0, 0.0, 6.0],
], dtype=np.float32)

# Save the .npz file
npz_path = os.path.join(room_dir, 'boxes.npz')
np.savez(
    npz_path,
    floor_plan_vertices=floor_plan_vertices,
    floor_plan_centroid=floor_plan_centroid,
    class_labels=class_labels,
    sizes=sizes,
    angles=angles,
    translations=translations,
)

# Create stats dict
stats = {
    'object_types': ['chair', 'table', 'sofa', 'bed'],
}

ARGS = {
    'prefix': tmpdir,
    'id': test_id,
    'stats': stats,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — 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
parse_3D_layout Ran
ran on a synthesized input
weixi-feng/layoutgpt/parse_llm_output.py
code served (permissive licence) · get_code("45aff54102d0117c")
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 torch
import numpy as np
from string import digits

torch.manual_seed(0)

ARGS = {
    'string': 'table1 { height: 0.8m; width: 1.2m; length: 2.0m; orientation: 45degrees; left: 0.5m; top: 1.0m; depth: 0.3m; }',
    'unit': 'm'
}
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 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
project Ran
ran; our contract draft was wrong, not the code
weixi-feng/layoutgpt/gligen/gligen_inference.py
code served (permissive licence) · get_code("e49923c3510ee0bc")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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)

# x should be Batch*768, but we'll use smaller dimensions for testing
# Let's use batch=2 and feature_dim=4 instead of 768
batch_size = 2
feature_dim = 4

x = torch.randn(batch_size, feature_dim)

# projection_matrix should be 768*768, but we'll use 4*4
# According to the comment, this is weight.data of Linear layer defined as (out_dim, in_dim)
# So the shape should be (out_dim, in_dim) = (4, 4) in our case
projection_matrix = torch.randn(feature_dim, feature_dim)

ARGS = {
    'x': x,
    'projection_matrix': projection_matrix
}
Setup block drafted by
a language model, Claude Sonnet 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 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
reduce_loss_dict Ran
ran on a synthesized input
weixi-feng/layoutgpt/gligen/distributed.py
code served (permissive licence) · get_code("5144ad456049f8ce")
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 torch import distributed as dist

torch.manual_seed(0)

# Create a sample loss_dict with tensor values
# The function iterates over keys, stacks values, and performs distributed operations
loss_dict = {
    'loss_classifier': torch.tensor(0.5),
    'loss_box_reg': torch.tensor(0.3),
    'loss_objectness': torch.tensor(0.2),
}

ARGS = {
    'loss_dict': loss_dict,
}
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
reduce_sum Ran
ran, honoured the contract we drafted
weixi-feng/layoutgpt/gligen/distributed.py
code served (permissive licence) · get_code("3f0a1105ef251d78")
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 as nn
from torch import distributed as dist

torch.manual_seed(0)

# The function takes a single parameter: tensor
# It calls .clone() on it and passes it to dist.all_reduce()
# So we need a torch.Tensor

tensor = torch.randn(2, 4)

ARGS = {
    "tensor": tensor
}
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
roty Ran
ran on a synthesized input
weixi-feng/layoutgpt/eval_scene_layout.py
code served (permissive licence) · get_code("dae708ee6dab2577")
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 (2, 2) 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

# The function roty takes a single parameter 't' which is a rotation angle
# It computes cos(t) and sin(t), so 't' should be a numeric value (int or float)
# The function returns a 2x2 rotation matrix

ARGS = {
    "t": 0.5  # A rotation angle in radians
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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 (2, 2) — shape (2, 2) 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
eval_image Not yet run
unverified (harvested, no recorded run)
weixi-feng/layoutgpt/eval_models/GLIP/eval_spatial.py
code served (permissive licence) · get_code("578380ce31db339e")
How it ran

no invocation recorded.

eval_spatial_relation Not yet run
unverified (harvested, no recorded run)
weixi-feng/layoutgpt/utils.py
code served (permissive licence) · get_code("3855ecf0a0c564a2")
How it ran

no invocation recorded.

load_features Not yet run
unverified (harvested, no recorded run)
weixi-feng/layoutgpt/run_layoutgpt_2d.py
code served (permissive licence) · get_code("c0b66d7eb2f18c94")
How it ran

no invocation recorded.

load_json Not yet run
unverified (harvested, no recorded run)
weixi-feng/layoutgpt/utils.py
code served (permissive licence) · get_code("a0d7fd544bf9313b")
How it ran

no invocation recorded.

load_room_boxes Not yet run
unverified (harvested, no recorded run)
weixi-feng/layoutgpt/run_layoutgpt_3d.py
code served (permissive licence) · get_code("5785462f2abe4ca4")
How it ran

no invocation recorded.

load_set Not yet run
unverified (harvested, no recorded run)
weixi-feng/layoutgpt/run_layoutgpt_3d.py
code served (permissive licence) · get_code("32f48bb8094ef7c8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 19 samples lifted from this paper's linked repositories, 19 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 3 the same month, 3 later) and 14 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
reduce_sum 14 other papers
12 dated earlier, 1 the same month, 1 later
1910.05852 (2019-10)
Implicit competitive regularization in GANs
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2007.06600 (2020-07)
Closed-Form Factorization of Latent Semantics in GANs
and 11 more not named here
all_gather 13 other papers
12 dated earlier, 1 the same month
1910.05852 (2019-10)
Implicit competitive regularization in GANs
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2007.06600 (2020-07)
Closed-Form Factorization of Latent Semantics in GANs
and 10 more not named here
reduce_loss_dict 13 other papers
12 dated earlier, 1 the same month
1910.05852 (2019-10)
Implicit competitive regularization in GANs
1912.04958 (2019-12)
Analyzing and Improving the Image Quality of StyleGAN
2007.06600 (2020-07)
Closed-Form Factorization of Latent Semantics in GANs
and 10 more not named here
alpha_generator 4 other papers
4 later
2308.05095 (2023-08)
LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generation
2310.01107 (2023-10)
Ground-A-Video: Zero-shot Grounded Video Editing using Text-to-image Diffusion Models
2311.00571 (2023-11)
LLaVA-Interactive: An All-in-One Demo for Image Chat, Segmentation, Generation and Editing
and 1 more not named here
project 3 other papers
3 later
2308.05095 (2023-08)
LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generation
2310.01107 (2023-10)
Ground-A-Video: Zero-shot Grounded Video Editing using Text-to-image Diffusion Models
2311.00571 (2023-11)
LLaVA-Interactive: An All-in-One Demo for Image Chat, Segmentation, Generation and Editing

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

Attaining a high degree of user controllability in visual generation often requires intricate, fine-grained inputs like layouts. However, such inputs impose a substantial burden on users when compared to simple text inputs. To address the issue, we study how Large Language Models (LLMs) can serve as visual planners by generating layouts from text conditions, and thus collaborate with visual generative models. We propose LayoutGPT, a method to compose in-context visual demonstrations in style sheet language to enhance the visual planning skills of LLMs. LayoutGPT can generate plausible layouts in multiple domains, ranging from 2D images to 3D indoor scenes. LayoutGPT also shows superior performance in converting challenging language concepts like numerical and spatial relations to layout arrangements for faithful text-to-image generation. When combined with a downstream image generation model, LayoutGPT outperforms text-to-image models/systems by 20-40% and achieves comparable performance as human users in designing visual layouts for numerical and spatial correctness. Lastly, Layout-GPT achieves comparable performance to supervised methods in 3D indoor scene synthesis, demonstrating its effectiveness and potential in multiple visual domains.

For agents

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

get_harvested_code_for_paper("2305.15393")
get_code_for_paper("2305.15393")
have("2305.15393")

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

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

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

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

Connect an agent — have() is free.