SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.05025 · ICLR · 2025

ProtComposer: Compositional Protein Structure Generation with 3D Ellipsoids

Tommi Jaakkola, Bowen Jing, Arash Vahdat, Tomas Geffner, Karsten Kreis, Jason Yim, Hannes Stark

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 7 failures of our instrument; 0 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/2503.05025.json · badge: /api/ran/2503.05025.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
jasonkyuyim/multiflow canonical (classifier label)
classifier basis not recorded on the link
6 ran · 0 no recorded run
nvlabs/protcomposer community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
blobify Ran
ran; our contract draft was wrong, not the code
nvlabs/protcomposer/proteinblobs/blobs.py
code served (permissive licence) · get_code("ebc6ec767813ed53")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import networkx as nx

# Set random seed for reproducibility
np.random.seed(0)

# Create small sample data
# pos: array of 3D coordinates for residues
pos = np.array([
    [0.0, 0.0, 0.0],
    [1.0, 1.0, 1.0],
    [2.0, 2.0, 2.0],
    [3.0, 3.0, 3.0],
    [4.0, 4.0, 4.0],
    [10.0, 10.0, 10.0],
    [11.0, 11.0, 11.0],
], dtype=np.float32)

# dssp: secondary structure assignment (0=coil, 1=helix, 2=sheet, etc.)
# Using 0 for some residues to test the filtering logic
dssp = np.array([0, 1, 1, 1, 1, 2, 2], dtype=np.int32)

# radius_thresh: distance threshold for considering residues as neighbors
radius_thresh = 5

# size_thresh: minimum number of residues in a blob
size_thresh = 5

ARGS = {
    'pos': pos,
    'dssp': dssp,
    'radius_thresh': radius_thresh,
    'size_thresh': size_thresh,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
networkx, numpy — 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
calc_distogram Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jasonkyuyim/multiflow/multiflow/models/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from bleach366/p2dflow, is pointer only (licence: NONE) · get_code("04218cc837a6fff9")
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 bleach366/p2dflow, 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.

dataset_creation Ran
ran; our contract draft was wrong, not the code
jasonkyuyim/multiflow/multiflow/experiments/utils.py
code served (permissive licence) · get_code("970c12943df8215f")
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 torch
import torch.nn as nn

torch.manual_seed(0)

class StandInDataset:
    def __init__(self, dataset_cfg, task, is_training):
        self.dataset_cfg = dataset_cfg
        self.task = task
        self.is_training = is_training
        self.data = [
            (torch.randn(4), torch.tensor([0])),
            (torch.randn(4), torch.tensor([1]))
        ]
    
    def __len__(self):
        return len(self.data)
    
    def __getitem__(self, idx):
        return self.data[idx]

dataset_class = StandInDataset

cfg = {
    "num_classes": 2,
    "batch_size": 2,
    "learning_rate": 0.001
}

task = "classification"

ARGS = {
    "dataset_class": dataset_class,
    "cfg": cfg,
    "task": task
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — 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
flatten_final_dims Ran
ran; our contract draft was wrong, not the code
jasonkyuyim/multiflow/multiflow/models/ipa_pytorch.py
code served (permissive licence) · get_code("706bd906bbbd5b15")
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 (2, 4, 15) 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)

# Create a tensor with shape that allows flattening final dimensions
# Using distinct sizes: batch=2, dim1=4, dim2=3, dim3=5
t = torch.randn(2, 4, 3, 5)

# no_dims specifies how many final dimensions to flatten
no_dims = 2

ARGS = {
    "t": t,
    "no_dims": no_dims,
}
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 3, dtype family float, shape (2, 4, 15) — shape (2, 4, 15) 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_index_embedding Ran
ran; our contract draft was wrong, not the code
jasonkyuyim/multiflow/multiflow/models/utils.py
pointer only (licence: MIT); the stored copy get_code serves, from bleach366/p2dflow, is pointer only (licence: NONE) · get_code("45bba8bf8e695be0")
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 bleach366/p2dflow, 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.

get_time_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jasonkyuyim/multiflow/multiflow/models/utils.py
code served (permissive licence) · get_code("d64bededcdfc5d77")
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 math

torch.manual_seed(0)

# Create valid arguments for get_time_embedding
timesteps = torch.tensor([0, 1], dtype=torch.int64)  # Shape: (2,)
embedding_dim = 4
max_positions = 2000

ARGS = {
    "timesteps": timesteps,
    "embedding_dim": embedding_dim,
    "max_positions": max_positions,
}
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
permute_final_dims Ran
ran; our contract draft was wrong, not the code
jasonkyuyim/multiflow/multiflow/models/ipa_pytorch.py
code served (permissive licence) · get_code("c653d7a1bb820cd6")
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 4, dtype family float, shape (2, 3, 5, 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 typing import List

torch.manual_seed(0)

# Create a small tensor with distinct dimensions for probing
# Shape: (2, 3, 4, 5) - batch=2, some intermediate dims, final dims that will be permuted
tensor = torch.randn(2, 3, 4, 5)

# Create a permutation of the final dimensions
# If we want to permute the last 2 dimensions [4, 5], we can reverse them
inds = [1, 0]

ARGS = {
    "tensor": tensor,
    "inds": inds,
}
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 4, dtype family float, shape (2, 3, 5, 4) — shape (2, 3, 5, 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

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 3 later) and 1 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
flatten_final_dims 10 other papers
9 dated earlier, 1 later · 1 only as an assembly brick
2305.14749 (2023-05)
gRNAde: Geometric Deep Learning for 3D RNA inverse design
2401.04082 (2024-01)
Improved motif-scaffolding with SE(3) flow matching
2405.20313 (2024-05)
Sequence-Augmented SE(3)-Flow Matching For Conditional Protein Backbone Generation
and 7 more not named here
permute_final_dims 10 other papers
9 dated earlier, 1 later · 1 only as an assembly brick
2305.14749 (2023-05)
gRNAde: Geometric Deep Learning for 3D RNA inverse design
2401.04082 (2024-01)
Improved motif-scaffolding with SE(3) flow matching
2405.20313 (2024-05)
Sequence-Augmented SE(3)-Flow Matching For Conditional Protein Backbone Generation
and 7 more not named here
get_index_embedding 6 other papers
5 dated earlier, 1 later
2401.04082 (2024-01)
Improved motif-scaffolding with SE(3) flow matching
2405.20313 (2024-05)
Sequence-Augmented SE(3)-Flow Matching For Conditional Protein Backbone Generation
2406.00735 (2024-06)
Full-Atom Peptide Design based on Multi-modal Flow Matching
and 3 more not named here
calc_distogram 4 other papers
4 dated earlier
2401.04082 (2024-01)
Improved motif-scaffolding with SE(3) flow matching
2406.00735 (2024-06)
Full-Atom Peptide Design based on Multi-modal Flow Matching
2411.05238 (2024-11)
Generating Highly Designable Proteins with Geometric Algebra Flow Matching
and 1 more not named here
dataset_creation 1 other paper
1 dated earlier
2401.04082 (2024-01)
Improved motif-scaffolding with SE(3) flow matching
get_time_embedding 1 other paper
1 dated earlier
2401.04082 (2024-01)
Improved motif-scaffolding with SE(3) flow matching

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

We develop ProtComposer to generate protein structures conditioned on spatial protein layouts that are specified via a set of 3D ellipsoids capturing substructure shapes and semantics. At inference time, we condition on ellipsoids that are hand-constructed, extracted from existing proteins, or from a statistical model, with each option unlocking new capabilities. Hand-specifying ellipsoids enables users to control the location, size, orientation, secondary structure, and approximate shape of protein substructures. Conditioning on ellipsoids of existing proteins enables redesigning their substructure's connectivity or editing substructure properties. By conditioning on novel and diverse ellipsoid layouts from a simple statistical model, we improve protein generation with expanded Pareto frontiers between designability, novelty, and diversity. Further, this enables sampling designable proteins with a helix-fraction that matches PDB proteins, unlike existing generative models that commonly oversample conceptually simple helix bundles. Code is available at https://github.com/NVlabs/protcomposer.

For agents

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

get_harvested_code_for_paper("2503.05025")
get_code_for_paper("2503.05025")
have("2503.05025")

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

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

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

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

Connect an agent — have() is free.