Materials & chemistry

Molecular Pretraining Transfer

Pretrain molecular encoders that transfer across property prediction tasks.

Task & evaluation

Objective
Learn molecular features that help predict many different properties.
Input
Atom identities and three-dimensional molecular shapes.
Output
A shared encoder adapted to each property with the same short training recipe.
Data
About 126 million molecular records; 24 downstream prediction tasks.
Evaluation
Relative errors and ranking quality in four scientific task groups.
Research challenge
Transfer knowledge of geometry to quantum chemistry and biological assays.

Understanding the task

Explore which lessons about molecular shape can be reused when labels are scarce and scientific targets differ.

Can learning molecular structure help many predictions?

A molecule’s shape affects how its electrons behave and how it interacts with its surroundings. But predicting a quantum property is different from predicting solubility or how quickly a biological assay removes a compound. This task asks whether one learned representation can help across these different scientific settings.

The model first learns from molecular structures without the downstream property labels. It is then adapted to each prediction task using the same limited training recipe. This makes the comparison about reusable knowledge, rather than giving each endpoint an independently optimized model.

What should change when a molecule moves?

Rotate the whole structure, then twist its terminal bond. Pair distances ignore orientation but detect a different conformer. These are synthetic coordinates, not a trained encoder or a property prediction.

1 · Geometry → pair features

Four-carbon chain; hydrogens omittedRotate: distances stay fixed.Twist: nonbonded distances change.
C1–C4 is a nonbonded distance. The amber arrow is the C2→C3 vector: it rotates with the molecule (equivariance), while its length stays fixed (invariance). This illustrates geometry, not a required encoder architecture.

2 · One encoder → many targets

One pretrained molecular encoder24 fine-tunes → 26 scalar propertiesFixed recipe: 15 epochs per task
Colored cells represent geometric inputs, not learned activations. Each outlined target row adapts the same starting encoder to a different property. No transfer score is simulated.

Each task gets the same short adaptation with at most 5,000 labeled training molecules. Errors are reported separately for the four groups, so improvement in one cannot hide deterioration in another.

Sources: Evaluation method · pretraining task.

A real molecule record: what the targets look like

ExpansionRx E-0001321 · a public training example. This illustrates an actual source record; the track subsequently makes its own validation split. It is not a prediction or an example from the permitted pretraining corpus.

Inspect the source SMILESCN1CCC[C@H]1COc1ccc(-c2nc3cc(-c4ccc5[nH]c(-c6ccc(O)cc6)nc5c4)ccc3[nH]2)cc1
Human liver microsomal clearance56.4 → 1.7589

Source HLM CLint → log10(56.4 + 1), the scoring-space target.

Mouse liver microsomal clearance182.3 → 2.2632

Source MLM CLint → log10(182.3 + 1). Same molecule, a different assay endpoint.

Missing assay measurements7 of 9 endpoints blank

Blank LogD, KSOL and other cells are missing labels, not zeros. Endpoint-specific training sets therefore have different sizes.

Clearance describes how quickly compounds are removed in the assay system. A geometry representation can help encode chemistry, but geometry alone does not specify every biological process. Values above reproduce the source CSV; raw assay units are not stated in its header and are not inferred here.

Source: OpenADMET / ExpansionRx training CSV · CC BY 4.0 · Example data. No held-out test labels are displayed.

Inside the reference learning pipeline

Conceptual information flow for Uni-Mol2. Boxes show the roles of its atom and pair representations; they do not claim an undocumented layer count or tensor width.

Researchers can change how the encoder learns, while every model receives the same downstream adaptation. Released pretrained weights provide a comparison, but cannot initialize a submission.

Scoring lab: error and ranking answer different questions

Synthetic four-molecule example, already in scoring-space units. Targets are [1, 2, 3, 4]. Their mean is 2.5 and their mean absolute deviation is 1. Change a prediction pattern and see the normalized error.

Predictions [1.5, 2.5, 3.5, 4.5] → MAE 0.50 / target deviation 1 = RAE 0.50. Spearman 1.00.

RAE = 1 matches the constant test-mean predictor’s absolute error. RAE can exceed 1. Correlation ignores an additive bias: a perfect ranking can still be poorly calibrated. In a group, average task RAEs equally; do not pool raw errors with incompatible units.

Shapes, chemistry and biological measurements

The permitted pretraining corpus contains about 126 million molecular records, each with atom identities and a three-dimensional arrangement. Exact molecular connectivity matches to evaluation molecules are removed. Similar chemical scaffolds can still occur, so the boundary does not guarantee wholly unfamiliar chemistry.

The evaluation covers 24 tasks and 26 scalar properties. QM9 and COMPAS concern quantum chemistry, including orbital energies and dipole moments. ExpansionRx and ASAP concern properties such as solubility, permeability and clearance—the rate of removal in an assay system.

Geometry inputs also differ. Quantum examples use calculated structures; biological endpoints use generated conformers, or different arrangements of the same molecule. Missing assay measurements are absent labels, not zero-valued properties.

Technical details
Fixed downstream evaluation groups
Group / propertiesFine-tunesTrain / validation / testSplit and scientific target
QM9 · 8 properties65,000 / 1,000 / 13,378Scaffold similarity; orbital energies, dipole, polarizability and thermodynamic properties
COMPAS-1D · 4 properties45,000 / 870 / 862Scaffold similarity; aromatic-system electron affinity, ionization, dispersion and dipole
ExpansionRx · 9 endpoints9200–4,615 / 22–513 / 209–2,270Official time split; solubility, lipophilicity, clearance, permeability and binding
ASAP · 5 endpoints5271–383 / 30–42 / 106–126Official split; antiviral ADMET. Small labels make adaptation variance important

Compare errors fairly across different properties

Each adaptation uses at most 5,000 training molecules and fifteen passes through that data. Validation selects the model, and the evaluator measures error on the test molecules. Predictions combine the prescribed geometry inputs.

Relative absolute error divides prediction error by the spread of the test targets. In a teaching example, targets 1, 2, 3 and 4 have mean 2.5 and average distance 1 from that mean. Predictions that are each off by 0.5 have relative error 0.5. Predicting the mean for every molecule gives relative error 1.

Errors are averaged within each of the four task groups; there is no official single overall score. Ranking is also measured, because a model can order molecules correctly while systematically overestimating every value.

Learn what stays the same when a molecule moves

Rotating a molecule should not change a scalar property such as its energy. Twisting a bond can change distances and interactions. The interactive chain demonstrates this distinction: pair distances ignore whole-molecule rotation but detect changes in internal shape.

The Uni-Mol2 reference combines an atom representation with a representation of relationships between atom pairs. Training hides some atom identities and perturbs positions. Recovering the missing identities teaches chemical context; restoring coordinates and distances teaches geometric consistency.

After pretraining, each property task receives its own predictor and updates the encoder as well. The same short adaptation procedure is used throughout. This tests transfer with limited labels, not the best result obtainable through unlimited task-specific tuning.

Pretraining helps, but not equally everywhere

The shortened from-scratch training improves all four groups over random initialization. Relative error falls by about 56% on QM9, 75% on COMPAS, 31% on ExpansionRx and 52% on ASAP. The benefit extends beyond quantum chemistry, although its size varies.

Compared with released pretrained weights, the reference is slightly better on QM9 and ASAP but worse on COMPAS and ExpansionRx. The released model is an external comparison, not an allowed starting point. Differences in training history prevent attributing the gap to one ingredient.

Individual endpoints also expose limitations: on one ASAP solubility endpoint, relative error is about 0.78 but rank correlation only 0.14. Reasonable average values need not provide a useful ordering of compounds. Multiple training seeds and experiments isolating the separate learning objectives are not reported.

Test MA-RAE; lower is better
EncoderQM9COMPASExpansionRxASAP
Random initialization0.4130.6621.0781.315
From-scratch pretrained encoder0.1830.1660.7440.636
Released pretrained reference0.1920.1210.6680.644

Compute and resources

Data preparation and checks

Reported measurement

≈45 min
Time
≈45 min
Hardware
208-core build configuration
GPU allocation
Not applicable (CPU stages)

Filtering training data, building the task datasets and checking the release.

Elapsed time by stage

Leakage filtering
16 min
Downstream splits
2 min
Task datasets
16 min
Data views
1 min
Cold-cache verification
10 min

Download time is additional and network-dependent. These CPU timings are separate from the GPU training allocation.

Pretraining and transfer

Reported measurement

≈44.9 GPU-h
Time
5 h 37 min
Hardware
8 × H100
GPU allocation
≈44.9 GPU-h

Pretraining followed by adaptation and evaluation on all 24 tasks.

Elapsed time by stage

Pretraining
306 min
Adaptation and evaluation
31 min

Data construction and other overhead are excluded.

Which geometric lessons transfer?

Removing one learning objective at a time would reveal whether atom recovery and geometry recovery help different endpoints. Varying conformer diversity could test whether flexible molecules benefit most. For small biological datasets, repeated runs are especially useful: a modest gain may reflect adaptation variability rather than better molecular understanding.

References and provenance

Uni-Mol2: Exploring Molecular Pretraining Model at Scale

Describes joint learning of atom and pair representations, the foundation for the molecular transfer model.

OpenADMET / ExpansionRx challenge data

OpenADMET · CC BY 4.0

Supplies the measured molecular properties used in the real example on this page.

Task definition and experimental evidence

Defines the constrained adaptation setting used for these measurements. Results from unrestricted published benchmarks are not directly comparable.

Task description and code

Code links require access to the project’s GitHub repository.

Leaderboard

Simulated

Design preview · leaderboard values and research histories are simulated.

Agent search and reference methods ranked together by Transfer agreement.
#MethodTypeTransfer agreement ↑QM9 MA-RAE ↓ADMET MA-RAE ↓Research timeRun
1Agent search0.73170.54000.698676 h
2Agent search0.72800.54280.702160 h
3Uni-Mol2 (84M, 30k updates)Reference0.72500.54500.7050——
How to read these leaderboard metrics

These leaderboard values and research histories are simulated design examples. The leaderboard is ranked by Transfer agreement. The research curves show relative improvement in this metric over Uni-Mol2 (84M, 30k updates); only accepted new-best results update the retained trajectory. A positive gain means a better result, with the sign adjusted for metrics where lower is better. The task protocol is described in Task & evaluation above. These preview columns and trajectories are not measured benchmark results and must not be compared with the recorded experiments. The leaderboard and search curves below are simulated interface data, not measured experiments. “Transfer agreement” and the combined “ADMET MA-RAE” are preview-only quantities: the actual verifier reports separate QM9, COMPAS-1D, ExpansionRx and ASAP group MA-RAEs, with no official overall score. Use the measured transfer table in the task guide for scientific comparisons.

Transfer agreementPrimary metric · Higher is better
Simulated interface quantity only. The actual task defines no overall transfer-agreement score.
QM9 MA-RAELower is better
Preview values only. In the actual task, average per-task RAE = MAE / mean absolute deviation of test targets about the test mean; lower is better.
ADMET MA-RAELower is better
Preview-only combined quantity. The actual task reports ExpansionRx and ASAP MA-RAE separately.