Scaffold Split

A scaffold split groups molecules by their core structure (e.g. Bemis–Murcko scaffold) and keeps each scaffold entirely in one split. It estimates how a model generalizes to chemotypes it has not seen, unlike a random split that scatters close analogs across train and test.

The grouped split constraint is:

Here maps a molecule to its scaffold and maps it to train, validation, or test.

For a scaffold set , a split assigns entire groups:

and each molecule follows its scaffold group:

Practical Checks

  • Compute scaffolds consistently and assign whole scaffold groups to a single split.
  • Expect lower, more honest scores than random splits — that is the point.
  • Watch for tiny test scaffolds that make metrics noisy.
  • Combine with duplicate/near-duplicate removal to avoid hidden leakage.
  • Report the split method explicitly; “test accuracy” is meaningless without it.

What Counts as a Scaffold

ChoiceMeaningRisk
Bemis-Murcko scaffoldring systems and linkerscommon default, but may over-group or under-group
generic scaffoldatom/bond types generalizedstronger chemotype holdout, less specific
scaffold networkhierarchy of coressplit choice becomes a modeling decision
similarity clusterfingerprint or graph similarity clusterthreshold controls novelty strength

The split is only as meaningful as the scaffold definition. Two papers can both say “scaffold split” while testing different shifts.

Split Axis Selection

ClaimBetter split axis
new chemotypes for same assay familyscaffold or similarity cluster split
new protein targetsProtein family split
new target-ligand pairsProtein-ligand split
new assay sourceassay/source split
deployment over timetemporal split

For protein-ligand data, a ligand scaffold split alone does not prove target generalization.

Metric Effects

Scaffold split often changes class balance and target distribution:

Report both example counts and scaffold counts:

SplitExamplesScaffoldsPositivesNegatives
trainto reportto reportto reportto report
validationto reportto reportto reportto report
testto reportto reportto reportto report

Otherwise a metric drop may reflect harder chemistry, class imbalance, smaller test groups, or label-source shift.

What It Proves

A scaffold split does not prove broad chemical generalization by itself. It tests a specific shift:

The result still depends on assay quality, target context, class balance, scaffold group size, and whether molecules were standardized consistently. For target-conditioned molecular tasks, scaffold split should be interpreted together with Protein-ligand split so ligand-side novelty is not confused with target-side generalization.