SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · ijcai2024_0675 · IJCAI · 2024

An Image-enhanced Molecular Graph Representation Learning Framework

Jianmin Wang, Shuting Jin, Xiangxiang Zeng, Jun Xia, Man Zhou, Hongxin Xiang, Li Zeng

Open in the Atlas

Code that ran

7 of 11 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 6 have no contract verdict; 1 failure 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/ijcai2024_0675.json · badge: /api/ran/ijcai2024_0675.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
HongxinXiang/IEM canonical (classifier label)
classifier basis: census
7 ran · 4 no recorded run
FunctionStatusWhere it lives
cal_downstream_loss Ran
ran on a synthesized input
HongxinXiang/IEM/distillation/train_utils.py
code served (permissive licence) · get_code("3c97d246ef9a0934")
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 0, dtype family float, shape () 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

torch.manual_seed(0)

# For classification task
batch_size = 2
num_classes = 4

y_logit_classification = torch.randn(batch_size, num_classes)
labels_classification = torch.tensor([0, 1], dtype=torch.long)
criterion_classification = nn.CrossEntropyLoss(reduction='none')
task_type_classification = 'classification'

ARGS = {
    'y_logit': y_logit_classification,
    'labels': labels_classification,
    'criterion': criterion_classification,
    'task_type': task_type_classification
}
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 0, dtype family float, shape () — shape () 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_classifier Ran
ran; our contract draft was wrong, not the code
HongxinXiang/IEM/model/model_utils.py
code served (permissive licence) · get_code("593f351c6adc0616")
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 Sequential. 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
from collections import OrderedDict

torch.manual_seed(0)

# Define arguments for get_classifier function
arch = 'arch1'  # Can be 'arch1', 'arch2', or 'arch3'
in_features = 16
num_tasks = 5

ARGS = {
    'arch': arch,
    'in_features': in_features,
    'num_tasks': num_tasks
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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_label_from_align_data Ran
ran on a synthesized input
HongxinXiang/IEM/dataloader/finetune_data_utils.py
code served (permissive licence) · get_code("e5130551bc54412a")
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 int, shape (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 numpy as np
import pandas as pd

# Create a mock pandas Series with label data
# The function expects label_series to contain space-separated values
label_data_classification = pd.Series(['1 0 1', '0 1 0', '1 1 0'])
label_data_regression = pd.Series(['1.5 2.3 0.8', '0.1 3.2 1.9', '2.5 0.5 1.1'])

ARGS = {
    'label_series': label_data_classification,
    'task_type': 'classification'
}
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 ndarray, ndim 2, dtype family int, shape (3, 3) — shape (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
get_predictor Ran
ran on a synthesized input
HongxinXiang/IEM/model/base/base_utils.py
code served (permissive licence) · get_code("85ba691b5052ea34")
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 Sequential. 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
from collections import OrderedDict

torch.manual_seed(0)

ARGS = {
    'arch': 'arch1',
    'in_features': 64,
    'num_tasks': 8,
    'inner_dim': 32,
    'dropout': 0.2,
    'activation_fn': 'gelu'
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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_dual_data_files Ran
ran on a synthesized input
HongxinXiang/IEM/dataloader/finetune_data_utils.py
code served (permissive licence) · get_code("79cee8aa7920fa3e")
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 tempfile
import os

# Create a temporary directory structure to simulate the expected paths
tmpdir = tempfile.mkdtemp()
dataset_name = "test_dataset"
dataset_dir = os.path.join(tmpdir, dataset_name)
processed_dir = os.path.join(dataset_dir, "processed")
os.makedirs(processed_dir, exist_ok=True)

# Create the expected files/folders
img_folder_name = "images"
img_folder_path = os.path.join(processed_dir, img_folder_name)
os.makedirs(img_folder_path, exist_ok=True)

# Create placeholder files
graph_file = os.path.join(processed_dir, "geometric_data_processed.pt")
torch.save({"dummy": "data"}, graph_file)

align_file = os.path.join(processed_dir, f"{dataset_name}_processed_ac.csv")
with open(align_file, "w") as f:
    f.write("col1,col2\n1,2\n")

ARGS = {
    "dataroot": tmpdir,
    "dataset": dataset_name,
    "img_folder_name": img_folder_name,
}
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, 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
transforms_for_eval Ran
ran on a synthesized input
HongxinXiang/IEM/dataloader/data_utils.py
code served (permissive licence) · get_code("2b1689bc7e3be7c8")
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 Compose. 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
from torchvision import transforms
from timm.data.constants import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD

torch.manual_seed(0)

# Define ARGS dict with all parameters for transforms_for_eval
ARGS = {
    "resize": (224, 224),
    "img_size": (224, 224),
    "mean_std": None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, timm, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Compose — a Compose output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Compose 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
transforms_for_train_aug Ran
ran on a synthesized input
HongxinXiang/IEM/dataloader/data_utils.py
code served (permissive licence) · get_code("720db0dc1a7fdd0a")
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 Compose. 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
from torchvision import transforms
from timm.data.constants import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD

torch.manual_seed(0)

ARGS = {
    "resize": 224,
    "mean_std": None,
    "p": 0.2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, timm, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Compose — a Compose output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Compose 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
check_processed_dataset Not yet run
unverified (harvested, no recorded run)
HongxinXiang/IEM/dataloader/finetune_data_utils.py
code served (permissive licence) · get_code("2e77d52ff0ecfb28")
How it ran

no invocation recorded.

load_checkpoint Not yet run
unverified (harvested, no recorded run)
HongxinXiang/IEM/model/model_utils.py
code served (permissive licence) · get_code("018c2d1250a66c1f")
How it ran

no invocation recorded.

train_one_epoch Not yet run
unverified (harvested, no recorded run)
HongxinXiang/IEM/distillation/train_utils.py
code served (permissive licence) · get_code("987ebb4b147dd5d5")
How it ran

no invocation recorded.

transforms_for_train Not yet run
unverified (harvested, no recorded run)
HongxinXiang/IEM/dataloader/data_utils.py
code served (permissive licence) · get_code("a1b46dde11633294")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 10 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
get_classifier 1 other paper
1 later
ijcai2025_0872 (2025 (year only))
Electron Density-enhanced Molecular Geometry Learning

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

Extracting rich molecular representation is a crucial prerequisite for accurate drug discovery. Recent molecular representation learning methods achieve impressive progress, but the paradigm of learning from a single modality gradually encounters the bottleneck of limited representation capabilities. In this work, we fully consider the rich visual information contained in 3D conformation molecular images (i.e., texture, shadow, color and planar spatial information) and distill graph-based models for more discriminative drug discovery. Specifically, we propose an image-enhanced molecular graph representation learning framework (called IEM) that leverages multi-view molecular images rendered from 3D conformations to boost molecular graph representations. To extract useful auxiliary knowledge from multi-view images, we design a teacher, which is pre-trained on 2 million molecules with conformations through five meticulously designed pretraining tasks. To transfer knowledge from teacher to graph-based students, we pose an efficient crossmodal knowledge distillation strategy with knowledge enhancer and task enhancer. It is worth noting that the distillation architecture of IEM can be directly integrated into existing graph-based models, and significantly improves the capabilities of these models (e.g. GIN, EdgePred, GraphMVP, Mole-BERT) for molecular representation learning. In particular, GraphMVP and MoleBERT equipped with IEM achieve new state-of-the-art performance on MoleculeNet benchmark, achieving average 73.89% and 73.81% ROC-AUC, respectively. Code is available at https://github.com/HongxinXiang/IEM.

For agents

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

get_harvested_code_for_paper("ijcai2024_0675")
get_code_for_paper("ijcai2024_0675")
have("ijcai2024_0675")

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

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

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

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

Connect an agent — have() is free.