How a descriptor defect inflated a melting-point correlation
A hydrogen-bond donor surface descriptor that counted aromatic surface as donor surface fed a melting-point fit a signal it was never meant to carry.
Updated November 28, 2026
A descriptor defect inflated a melting-point correlation on MolBasis because the column that was supposed to measure hydrogen-bond donor surface measured something else. The search that chooses descriptors for a kernel does not read names, it reads numbers, and the numbers correlated with melting point for a reason that had nothing to do with hydrogen bonding. The findings page records the correction, and this guide explains how such a thing happens and how it is found.
What the descriptor was supposed to measure
Among the nine mfsig descriptors is hb_donor_mass, the area of molecular surface attributed to hydrogen-bond donors. The idea is sound. Surface near a polar hydrogen carries a strong positive screening charge, and the amount of such surface should track how much a molecule can donate hydrogen bonds to a solvent or to its neighbours in a crystal. Melting point, solubility and hydration free energy all have reason to depend on it. The guide on the nine mfsig descriptors lists the full set.
The record reports the descriptor broken twice. In version 1 the classification counted aromatic π surface as donor surface. Benzene has no hydrogen-bond donor, yet under that rule its ring faces contributed to the donor column. Later, in the production code path, the function that computes the descriptor is called without the SMILES it needs, and it returns zero for every molecule. The guide on the hydrogen-bond donor descriptor defect describes both failures in the language of the code.
How a wrong column can raise r
A search over descriptors is indifferent to labels. For each candidate column and each exponent on the grid it standardises the values, fits a coefficient and scores the fit. If a column named donor surface in fact measures aromatic surface, the search sees a column that measures aromatic surface and will use it if it helps.
Aromatic surface helps with melting point. Flat, rigid rings pack well and lose little entropy on freezing, so aromatic molecules melt higher than aliphatic molecules of similar size. A column that grows with aromatic surface therefore carries a real melting-point signal. The fit is not fraudulent and the correlation is not an artefact of chance. It is simply attached to the wrong name, and a reader who takes the name at face value concludes that hydrogen bonding drives melting point in that dataset when the evidence says nothing of the sort.
The inflation comes when the corrected descriptor replaces the defective one. The true donor surface correlates with melting point too, but differently and for other molecules. The equation that was chosen on the defective column no longer fits as well, and the held-out figure drops. The old figure was never a measurement of what the kernel page said it measured.
Why the production path made it worse
The second defect is the opposite kind. A column that is always zero has no variance. Standardising it divides by zero or produces a column of zeros, and a ridge solve assigns it a coefficient that means nothing. A search that finds the column useless simply ignores it, so a kernel fitted on production files could never select donor surface at all. That is not inflation, it is a silent loss of one of nine descriptors.
The two defects combine into a sequence that is hard to notice. An early fit on version 1 files selects donor surface and reports a high figure. A later pipeline produces files in which the column is zero, the search can no longer select it, and nobody compares the two sets of files because the column names did not change. The guide on the hydrogen-bond acceptor surface descriptor shows the same problem from a different angle, since that descriptor's definition changed three times and not all fits were redone.
How to catch a descriptor that lies
Three checks catch most defects of this kind, and none of them needs the fit.
- Test a molecule whose answer is known. A donor surface for benzene must be zero. A donor surface for methanol must not be. If the file disagrees, the column is wrong whatever the fit says.
- Look at the distribution. A column with zero variance, a column that is always positive when some molecules should be zero, or a column whose range jumps between software versions is suspect.
- Cross-check with an independent count. RDKit's donor count is a crude surrogate for a surface measure, but a surface that is non-zero where the count is zero is wrong.
from rdkit import Chem
from rdkit.Chem import Lipinski
for smi, hb_donor_mass in [("c1ccccc1", 4.2), ("CO", 7.9)]:
mol = Chem.MolFromSmiles(smi)
n_donor = Lipinski.NumHDonors(mol)
if n_donor == 0 and hb_donor_mass > 0:
print(smi, "donor surface reported where no donor exists")The values in the snippet are placeholders. The point is the comparison, which should run over every molecule in a dataset before any fit. The mfsig guide on validating a σ-profile file lists more checks of the same kind, and the guide on auditing a research record places descriptor checks in the order an audit should follow.
What the correction changed and what it did not
The findings page records that the earlier melting-point figure was inflated and shows the corrected result. The melting-point kernel page at /kernels/bradley-tm states the current held-out r and the number of molecules it rests on. This guide quotes neither number, because numbers belong on the pages that own them and can be corrected there.
The correction did not change the protocol. The scaffold-blind split, the baseline and the gate are the same. What changed is the input, and the lesson is that a validation protocol, however careful, tests the model against the descriptors it was given. It cannot tell whether a descriptor means what its name says. Only a check against chemistry can do that.
Key points
- A descriptor column that measures something other than its name says can still raise r, because the search reads numbers, not names.
- Aromatic surface counted as donor surface carried a real melting-point signal under a wrong label.
- A column that is always zero is silently dropped by any search and removes a descriptor without warning.
- Check descriptors against molecules with known answers and across software versions before fitting.
- The findings page and the kernel page hold the corrected figures, and the protocol itself was not at fault.
Questions people ask
- What was wrong with the hydrogen-bond donor descriptor?
- Two things, as recorded. Version 1 counted aromatic π surface as donor surface, so molecules with no donor hydrogens received a non-zero value. In the production code path the function is called without the SMILES and always returns zero, so the column carries no information at all.
- How can a wrong descriptor improve a correlation?
- By carrying a different signal than its name says. A column that in fact measures aromatic surface correlates with rigidity and planarity, which correlate with melting point. The search picks the column, the fit is real, and the interpretation is wrong.
- How is such a defect caught?
- By checking a descriptor against a molecule whose answer is known, such as a donor surface for benzene that must be zero, by looking for columns with zero variance, and by comparing descriptor files across software versions. Fits made on different versions should be rerun.
- What did MolBasis do about it?
- The findings page records that a melting-point figure was inflated by a descriptor defect and shows the corrected result, and the melting-point kernel page states its current held-out r and the number of molecules it rests on. The numbers are on those pages, not here.
Further reading
In practice: The findings page lists every correction made to the record so far, with its cause. Figures on this site are reported from the record, not recomputed, and the site says so wherever it matters.
See the kernels themselves
Every kernel is shown with its held-out result, the number of molecules it rests on and what it cannot be trusted for.