SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.16284 · ICLR · 2025

MolSpectra: Pre-training 3D Molecular Representation with Multi-modal Energy Spectra

Qiang Liu, Liang Wang, Yu Rong, Shu Wu, Deli Zhao, Shaozhen Liu

arXiv · PDF · Open in the Atlas

Code that ran

6 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 3 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/2502.16284.json · badge: /api/ran/2502.16284.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
azureleon1/molspectra canonical (classifier label)
classifier basis: classifier_2025
6 ran · 6 no recorded run
FunctionStatusWhere it lives
Flatten_Head Ran
ran on a synthesized input · constructed an object; no result was computed
azureleon1/molspectra/torchmdnet/models/Sp.py
pointer only (licence: NONE) · get_code("246f52c6484b0599")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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.

_MultiheadAttention Ran
ran on a synthesized input · constructed an object; no result was computed
azureleon1/molspectra/torchmdnet/models/Sp.py
pointer only (licence: NONE) · get_code("441db23d80d94d29")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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.

_ScaledDotProductAttention Ran
ran on a synthesized input · constructed an object; no result was computed
azureleon1/molspectra/torchmdnet/models/Sp.py
pointer only (licence: NONE) · get_code("3b5743df00e17831")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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.

compute_reconstruct_loss Ran
ran, honoured the contract we drafted
azureleon1/molspectra/torchmdnet/models/Sp.py
pointer only (licence: NONE) · get_code("46bcc4c6885ef0d1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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_activation_fn Ran
ran; our contract draft was wrong, not the code
azureleon1/molspectra/torchmdnet/models/SpecFormer_layers.py
pointer only (licence: NONE) · get_code("2d15324019001de4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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.

random_masking Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
azureleon1/molspectra/torchmdnet/models/Sp.py
pointer only (licence: NONE) · get_code("537d3f04688b32dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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.

Coord2dPosEncoding Not yet run
unverified (harvested, no recorded run)
azureleon1/molspectra/torchmdnet/models/SpecFormer_layers.py
pointer only (licence: NONE) · get_code("a82b47c227d5b5bc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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. No invocation recorded.

PositionalEncoding Not yet run
unverified (harvested, no recorded run)
azureleon1/molspectra/torchmdnet/models/SpecFormer_layers.py
pointer only (licence: NONE) · get_code("9ec0fb6fafc3df1e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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. No invocation recorded.

SpecFormer Not yet run
unverified (harvested, no recorded run)
azureleon1/molspectra/torchmdnet/models/Sp.py
pointer only (licence: NONE) · get_code("470bf121dcb9ca04")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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. No invocation recorded.

TSTEncoder Not yet run
unverified (harvested, no recorded run)
azureleon1/molspectra/torchmdnet/models/Sp.py
pointer only (licence: NONE) · get_code("ed3a26c1277d6c6c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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. No invocation recorded.

TSTEncoderLayer Not yet run
unverified (harvested, no recorded run)
azureleon1/molspectra/torchmdnet/models/Sp.py
pointer only (licence: NONE) · get_code("78bc84c5375b0dae")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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. No invocation recorded.

TSTiEncoder Not yet run
unverified (harvested, no recorded run)
azureleon1/molspectra/torchmdnet/models/Sp.py
pointer only (licence: NONE) · get_code("debd2763d8945222")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, azureleon1/molspectra 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. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 4 later) and 8 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
PositionalEncoding 16 other papers
8 dated earlier, 8 later
2308.04791 (2023-08)
PETformer: Long-term Time Series Forecasting via Placeholder-enhanced Transformer
2310.00655 (2023-10)
PatchMixer: A Patch-Mixing Architecture for Long-Term Time Series Forecasting
2310.06625 (2023-10)
iTransformer: Inverted Transformers Are Effective for Time Series Forecasting
and 13 more not named here
Coord2dPosEncoding 15 other papers
9 dated earlier, 6 later
2308.04791 (2023-08)
PETformer: Long-term Time Series Forecasting via Placeholder-enhanced Transformer
2310.00655 (2023-10)
PatchMixer: A Patch-Mixing Architecture for Long-Term Time Series Forecasting
2310.06625 (2023-10)
iTransformer: Inverted Transformers Are Effective for Time Series Forecasting
and 12 more not named here
get_activation_fn 15 other papers
10 dated earlier, 5 later
2308.04791 (2023-08)
PETformer: Long-term Time Series Forecasting via Placeholder-enhanced Transformer
2310.00655 (2023-10)
PatchMixer: A Patch-Mixing Architecture for Long-Term Time Series Forecasting
2310.06625 (2023-10)
iTransformer: Inverted Transformers Are Effective for Time Series Forecasting
and 12 more not named here
_ScaledDotProductAttention
brick of this paper's assembly: model
4 other papers
1 dated earlier, 3 later · 2 only as an assembly brick
2211.14730 (2022-11)
A Time Series is Worth 64 Words: Long-term Forecasting with Transformers
2602.00596 (2026-02)
Kernelized Edge Attention: Addressing Semantic Attention Blurring in Temporal Graph Neural Networks
2602.01585 (2026-02)
A Lightweight Sparse Interaction Network for Time Series Forecasting
and 1 more not named here

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

Establishing the relationship between 3D structures and the energy states of molecular systems has proven to be a promising approach for learning 3D molecular representations. However, existing methods are limited to modeling the molecular energy states from classical mechanics. This limitation results in a significant oversight of quantum mechanical effects, such as quantized (discrete) energy level structures, which offer a more accurate estimation of molecular energy and can be experimentally measured through energy spectra. In this paper, we propose to utilize the energy spectra to enhance the pre-training of 3D molecular representations (MolSpectra), thereby infusing the knowledge of quantum mechanics into the molecular representations. Specifically, we propose SpecFormer, a multispectrum encoder for encoding molecular spectra via masked patch reconstruction. By further aligning outputs from the 3D encoder and spectrum encoder using a contrastive objective, we enhance the 3D encoder's understanding of molecules. Evaluations on public benchmarks reveal that our pre-trained representations surpass existing methods in predicting molecular properties and modeling dynamics.

For agents

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

get_harvested_code_for_paper("2502.16284")
get_code_for_paper("2502.16284")
have("2502.16284")

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

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

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

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

Connect an agent — have() is free.