SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.31009 · 2026

Language-Informed Flow Matching for Trend-Guided Structure-Based 3D Molecular Generation

Zhe Zhao, Tianyu Gao, Fei Zhang, Wenjun Gao, Jiashu Li, Ye Wei, Zhikai Su, Zichuan Ying

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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; 5 failures of our instrument; 0 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2608.31009.json · badge: /api/ran/2608.31009.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
kasurl/LiFT canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
aggregate_metrics Ran
ran; our contract draft was wrong, not the code
kasurl/LiFT/src/generate.py
code served (permissive licence) · get_code("77ddb1afea6e25ff")
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 DataFrame. 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 pandas as pd
import numpy as np

# Create a small dataframe with the columns the function expects
data = {
    'posebusters_metric1': [0.8, 0.9, 0.7],
    'posebusters_metric2': [0.85, 0.95, 0.75],
    'posebusters_metric3': [0.9, 0.88, 0.82],
    'reos_metric1': [0.6, 0.7, 0.5],
    'reos_metric2': [0.65, 0.75, 0.55],
    'chembl_ring_systems_metric1': [0.4, 0.5, 0.3],
    'chembl_ring_systems_metric2': [0.45, 0.55, 0.35],
    'chembl_ring_systems_smi': ['CCO', 'CC', 'C'],
    'other_column': [1, 2, 3]
}

table = pd.DataFrame(data)

ARGS = {
    'table': table
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
combine Ran
ran; our contract draft was wrong, not the code
kasurl/LiFT/src/sample_and_evaluate.py
code served (permissive licence) · get_code("5ce65a91a0f78c2c")
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 Namespace. 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.

from argparse import Namespace

# Create base_args as a Namespace with some initial parameters
base_args = Namespace(
    model_name="bert",
    learning_rate=1e-4,
    batch_size=32,
    epochs=10,
    config=None,
    nested_config=Namespace(hidden_size=768, num_layers=12)
)

# Create override_args as a Namespace with some parameters to override/add
override_args = Namespace(
    learning_rate=5e-5,
    new_param="added_value",
    epochs=None,  # None values won't override
    nested_config=Namespace(hidden_size=512, attention_heads=8)
)

ARGS = {
    "base_args": base_args,
    "override_args": override_args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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_sample_resume_state Ran
ran; our contract draft was wrong, not the code
kasurl/LiFT/src/sample_and_evaluate.py
code served (permissive licence) · get_code("f6be95fd4fc7ba57")
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 tempfile
from pathlib import Path

# Create a temporary directory structure for testing
temp_dir = tempfile.mkdtemp()
samples_dir = Path(temp_dir)

# Create some sample directories and files to simulate existing state
ligand_names = ["compound_1.sdf", "compound_2.sdf", "compound_3.sdf"]

# Set up compound_1 with some existing samples
compound_1_dir = samples_dir / "compound_1"
compound_1_dir.mkdir(exist_ok=True)
(compound_1_dir / "0_ligand.sdf").touch()
(compound_1_dir / "1_ligand.sdf").touch()
(compound_1_dir / "2_ligand.sdf").touch()

# Set up compound_2 with one existing sample
compound_2_dir = samples_dir / "compound_2"
compound_2_dir.mkdir(exist_ok=True)
(compound_2_dir / "5_ligand.sdf").touch()

# compound_3 doesn't exist yet - should show all as missing

target_count = 10

ARGS = {
    "samples_dir": samples_dir,
    "ligand_names": ligand_names,
    "target_count": target_count,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
path_to_str Ran
ran; our contract draft was wrong, not the code
kasurl/LiFT/src/sample_and_evaluate.py
code served (permissive licence) · get_code("a9b68cec61c96e07")
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.

from pathlib import Path

ARGS = {
    "input_dict": {
        "path_key": Path("/home/user/file.txt"),
        "string_key": "already_a_string",
        "int_key": 42,
        "nested_dict": {
            "nested_path": Path("/var/log/output.log"),
            "nested_value": "test"
        },
        "list_key": [1, 2, 3],
        "float_key": 3.14
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
reverse_tensor Ran
ran; our contract draft was wrong, not the code
kasurl/LiFT/src/utils.py
code served (permissive licence) · get_code("f69f2334c7ce9784")
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 takes a tensor x and reverses it along dimension 0
# It uses x.size(0) to get the batch size and x[...] for indexing
# We need a simple 2D tensor with batch size 2

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

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 4 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
reverse_tensor 2 other papers
2 dated earlier
2210.13695 (2022-10)
Structure-based Drug Design with Equivariant Diffusion Models
2302.04313 (2023-02)
Geometry-Complete Diffusion for 3D Molecule Generation and Optimization

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

Structure-based drug design (SBDD) requires ligands that satisfy both 3D target affinity and 1D chemical validity. Existing controllable generation methods often rely on task-specific fine-tuning or externally imposed sampling-time guidance, adding cost and potentially conflicting with evolving 3D geometric constraints. We propose LiFT, a language-informed cross-modal framework built on Flow Matching for trend-guided 3D molecular generation across both de novo design and scaffold hopping. LiFT uses a "Sense-Evolve-Assemble" agent to generate target-aware SMILES as intermediate chemical conditions, from which a pre-trained chemical foundation model extracts continuous semantic priors. These priors are integrated into geometric generation through a lightweight semantic projector with zero-initialized adaptive normalization for stable cross-modal conditioning. We further introduce a Self-Conditioned Decoupled Router (SCDR), which modulates the velocity field according to intermediate structural states during ODE integration. Experiments on Cross-Docked2020 show that LiFT achieves competitive distribution matching while improving medicinal chemistry metrics and maintaining competitive structural validity under task-steering settings without additional generator fine-tuning. Our results suggest that language-derived chemical priors provide effective trend-level guidance for 3D molecular generation. Code and released artifacts are available at https://github.com/kasurl/LiFT.

For agents

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

get_harvested_code_for_paper("2608.31009")
get_code_for_paper("2608.31009")
have("2608.31009")

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

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

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

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

Connect an agent — have() is free.