The hydrogen-bond acceptor surface and its changing definition
hb_acceptor_mass sums the cavity surface that acts as a hydrogen-bond acceptor. It went through three definitions, and not every fit was redone.
Updated November 28, 2026
hb_acceptor_mass is the amount of cavity surface that the mfsig pipeline classifies as hydrogen-bond acceptor surface. It is the surface analogue of an acceptor count. Its definition changed during the research programme, from a fixed threshold on the screening charge to a relative threshold to a classification by atom role, and fits made before a change were not all redone. That history is the main thing a reader of a kernel using this descriptor needs to know.
A surface instead of a count
The usual acceptor descriptor is a count. RDKit's Lipinski module counts nitrogen and oxygen atoms that match acceptor patterns and returns an integer. A count treats a buried ether oxygen the same as an exposed carbonyl oxygen. A surface measure does not. It sums the area of the cavity segments that sit over acceptor sites, so exposure and the conformer both enter. An acceptor hidden inside a fold contributes little surface. The same idea underlies the hydrogen-bond term in COSMO-RS, where only surface segments with a large enough screening charge are allowed to bond.
The result is a continuous descriptor in area units. In the v0.91.1 files, areas are stored in bohr² even where the name says Ų, and a reader should check the docs page for this field's unit before comparing values across files.
Definition one, a fixed σ threshold
The screening charge density σ on a segment has the opposite sign to the molecular charge underneath it. An acceptor site such as a carbonyl oxygen carries negative molecular charge, so its segments carry positive σ. The first definition counted every segment whose σ exceeded a fixed value as acceptor surface.
A fixed threshold has two weaknesses. It is stated in one unit, and the same number means something different in e/bohr² and in e/Ų. The factor between the two is 3.571, so a threshold that is right in one unit is far off in the other. And it treats every molecule with the same cut, even though the spread of σ differs between a hydrocarbon and a polyol. A strongly polar molecule has many segments above a fixed cut, some of which are not acceptor sites.
Definition two, a relative 1.2σ threshold
The second definition set the cut relative to the molecule's own distribution of screening charge, at 1.2 times its spread. This moves the threshold with the molecule. It is immune to the unit factor, because the ratio of a value to a spread in the same unit does not depend on the unit.
A small example shows the difference. Suppose a molecule's σ values have a standard deviation of 0.00707 e/bohr², which is the square root of a variance of 5 × 10⁻⁵. The relative threshold sits at 1.2 × 0.00707 = 0.00849 e/bohr². In e/Ų the same threshold is 0.00849 × 3.571 = 0.0303. Either way the same segments pass, because the cut and the values scale together. A fixed threshold of 0.00849 e/bohr² applied to a file in e/Ų would instead pass almost every segment.
The relative definition has its own weakness. A molecule with one acceptor and a flat remainder gets a low spread and a low cut, so weak patches pass. A molecule with many acceptors gets a high spread and a high cut, so some true acceptors fail. The descriptor then stops growing with the number of acceptor sites.
Definition three, classification by atom role
The third definition abandons the charge threshold. Each segment is assigned to the atom beneath it, and the atom's role decides whether the segment counts. Oxygen and nitrogen atoms with available lone pairs count as acceptors, in the same spirit as the RDKit patterns, and the segment areas over those atoms are summed. The descriptor becomes a surface-weighted acceptor count. It is independent of the units of σ and of the molecule's polarity distribution. It still depends on the conformer through exposure.
What a changed definition does to a fit
A kernel coefficient is attached to the descriptor as it was at fit time. If a fit was made under definition one and the file is now produced under definition three, the fitted term no longer refers to the same quantity. The held-out figure on the kernel page was measured with the old values and does not transfer to the new ones. The record says fits made before a change were not all redone. A reader should therefore ask three questions of any kernel using hb_acceptor_mass. Which definition produced the training values. Whether the held-out split was rerun under that definition. And whether a file they hold today uses the same one.
The guide on versioning models and publishing corrections describes how to keep a definition version next to a figure. The findings page lists the corrections the site has made so far.
The acceptor descriptor and its broken sibling
hb_donor_mass is the donor counterpart. It has a worse history, and the guide on the donor descriptor defect explains why it is always zero in the production path. The two descriptors were meant to be used together to describe hydrogen-bonding capacity, which is a central term for aqueous solubility and for the Hansen δh parameter. With the donor side missing, the acceptor surface carries that whole burden in any kernel that selects it.
Checking the descriptor in a file
Three sanity checks are cheap. Benzene and alkanes should have an acceptor surface of zero under every definition. Acetone should have a non-zero value that is a modest fraction of its total cavity area. A diol should have more than a mono-ol. A file that fails these tests has the wrong definition, the wrong unit or a broken pipeline. The mfsig guide on validating a σ-profile file lists more checks.
Key points
- hb_acceptor_mass is a surface measure of acceptor capacity, continuous and conformer-dependent.
- Three definitions were used in sequence, fixed σ threshold, relative 1.2σ threshold, atom-role classification.
- Fits made before a change were not all redone, so the definition version matters as much as the coefficient.
- A fixed threshold is unit-dependent. The relative and atom-role definitions are not.
- Check benzene for zero and a diol for more than a mono-ol before trusting a file.
Questions people ask
- What does hb_acceptor_mass measure?
- It is the amount of C-PCM cavity surface classified as hydrogen-bond acceptor surface. Unlike a count of acceptor atoms, it weights each acceptor by the exposed surface around it. A buried ether oxygen contributes less than an exposed carbonyl oxygen.
- How did the definition of hb_acceptor_mass change?
- It went through three definitions during the programme. First a fixed threshold on the screening charge density σ, then a relative 1.2σ threshold, then a classification of segments by the role of the atom underneath. Fits made before a change were not all redone with the new definition.
- Why does a changed descriptor definition matter for a published fit?
- A fitted coefficient belongs to the descriptor as it was computed at fit time. Apply it to a value from a later definition and the prediction is no longer the one that was validated. A reader needs the definition version next to the figure, and the kernel page is where to look.
- Is hb_acceptor_mass the same as an RDKit acceptor count?
- No. RDKit counts acceptor atoms by SMARTS patterns and returns an integer. hb_acceptor_mass is a continuous surface measure that depends on the conformer and, under the σ-threshold definitions, on the electronic structure. The two correlate but are not interchangeable.
Further reading
In practice: The docs page lists the nine descriptors as they are stored, including the bohr² areas under an Ų name and the donor descriptor that the production code returns as zero. The files themselves come from mfsig.
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.