MolBasis
geometryforce-fielduffmmff94sconformerdft5 min read

Force-field geometry versus DFT geometry in quantum descriptors

The kernel descriptors come from a UFF-relaxed RDKit conformer, not a DFT geometry. Which of the nine descriptors move, by what mechanism, and why it matters.

Updated November 28, 2026

The nine kernel descriptors are computed by DFT, but on a geometry that DFT never touched. The mfsig v0.91.1 recipe builds one RDKit conformer and relaxes it with the UFF force field, then runs a single-point ωB97M-V / def2-SVP / C-PCM calculation on that geometry. The current recipe uses MMFF94s instead of UFF. Neither is a quantum-chemical geometry. This guide explains what a DFT optimisation would change, which descriptors move most, and why the choice of conformer matters more than the choice of force field.

What the pipeline does and does not optimise

RDKit's ETKDG method embeds the SMILES into three dimensions using distance geometry with torsion preferences taken from crystal structures. The force field then relaxes bond lengths, angles and torsions to a local minimum near that starting point. MMFF94s is parametrised more carefully than UFF for organic molecules and gives geometries closer to experiment for them. The mfsig guide on geometry from SMILES with ETKDG and MMFF explains the steps.

A DFT geometry optimisation would take that structure and minimise the quantum-chemical energy, ideally inside the same continuum. The record states that this step is not performed. The findings page lists force-field geometries among the limits of the kernel descriptors.

What a DFT optimisation would change

Three kinds of change, in increasing order of size.

Bond lengths and angles move by small amounts. A force field places a C-O bond within a few hundredths of an ångström of the DFT value. This changes the cavity area and the segment count by a fraction of a percent.

Torsions can move more. A force field and DFT may disagree on the preferred rotamer of an ester, an amide or a biaryl, and a torsion change of tens of degrees is common. This changes the dipole and the exposure of polar groups.

Intramolecular hydrogen bonds and conjugation are where the two disagree most. DFT in a continuum may or may not keep an intramolecular hydrogen bond that a force field forms in vacuum. Breaking such a bond exposes two polar groups to the solvent at once, which moves the reaction-field energy, the σ moments and both hydrogen-bond surfaces together.

Descriptor by descriptor

  • cavity_area_aa2 and n_segments move least. Area follows the overall shape, and bond lengths and angles are similar across methods. A torsion that folds or stretches the molecule moves them by a visible but small amount.
  • dipole_debye moves most. The dipole is a vector sum of local dipoles, and a torsion decides whether they add or cancel. The dipole moment guide gives the 1,2-dichloroethane example, where the anti conformer has zero dipole and the gauche conformer does not.
  • g_polar_kcal follows the exposed partial charges. Onsager's model makes it scale with the square of the dipole, so a torsion that changes the dipole changes this descriptor as well. An intramolecular hydrogen bond that hides a hydroxyl reduces it.
  • sigma_variance is moderately sensitive. The set of segment charges changes when a polar group turns toward or away from the surface, but the variance is a sum over the whole surface and averages some of it out. sigma_skewness and sigma_kurtosis are more sensitive because they weight the extreme segments.
  • hb_acceptor_mass under the σ-threshold definitions follows the extreme segments and is therefore sensitive. Under the atom-role definition it follows exposure only, and is less so.

The conformer matters more than the force field

A flexible molecule has many local minima. ETKDG lands on one, chosen by the random seed and the distance-geometry solution. The force field then relaxes within that basin. Two conformers of the same molecule can differ in dipole by several debye, while UFF and MMFF94s relaxations of the same conformer differ by a fraction of that. Replacing UFF with MMFF94s improves the geometry within the basin. It does not solve the question of which basin.

That is why the step from v0.91.1 to v1.0.0 is a recipe change rather than a fix. The descriptors from the two recipes are both internally consistent, and neither is the Boltzmann average that an experiment measures. The guide on one DFT calculation versus a conformer ensemble weighs what an ensemble would cost and what it would buy.

A worked example on ethylene glycol

Ethylene glycol, OCCO, has two hydroxyls. In the gauche conformer with an intramolecular hydrogen bond, one hydroxyl hydrogen points at the other oxygen. That hydrogen is partly hidden from the cavity surface, so the negative σ patch above it is small. The acceptor oxygen is partly occupied, so its positive patch is small as well. The dipole is moderate. Rotate to the anti conformer and both hydroxyls face outward. Two full donor patches and two full acceptor patches appear, the σ variance rises, the reaction-field energy becomes more negative and the dipole falls toward zero by symmetry.

A force field and a DFT optimisation may land on different members of this pair, and a continuum at ε = 80 favours the exposed conformer more than a vacuum calculation does. Every descriptor except the area moves. This is a qualitative mechanism, not a figure from the record.

What this means for a fit and for its reader

For the fit, consistency is what matters. Every molecule in the training set went through the same recipe, so the descriptors are comparable with each other. The scaffold-blind held-out figure on each kernel page was measured on descriptors from the same recipe, so it is an honest measure of that recipe's kernel.

For the reader, two limits follow. A kernel fitted on UFF geometries cannot be applied to MMFF94s descriptors without checking that the values are in the same range, and the unit change between the recipes compounds the problem. And the interpretation of any term is an interpretation of one force-field conformer, not of the molecule. The guide on the applicability domain for short equations treats the first limit, and the guide on the interpretability of short equations treats the second.

Key points

  • The DFT calculation runs on a force-field geometry, UFF in the kernel files and MMFF94s in the current recipe. DFT never optimises the structure.
  • Area and segment count barely move with geometry. Dipole, reaction-field energy and the σ shape moments move most.
  • Which conformer ETKDG lands on matters more than which force field relaxes it.
  • Intramolecular hydrogen bonds are where force fields and DFT disagree most and where every polar descriptor moves at once.
  • A fit is consistent within one recipe and must not be applied across recipes without checks.

Questions people ask

What geometry do the mfsig descriptors use?
One conformer built by RDKit from the SMILES and relaxed with a force field. The v0.91.1 files the kernels used relaxed with UFF. The current mfsig recipe v1.0.0 uses MMFF94s. In neither case is the geometry optimised with DFT, and the single-point DFT calculation runs on the force-field geometry.
Which descriptors are most sensitive to the geometry?
The dipole moment, because torsions align or cancel bond dipoles, then the reaction-field energy and the σ moments, which follow the exposure of polar groups. Cavity area and segment count move least, because bond lengths and angles differ little between a force field and DFT.
Is a force-field geometry a defect in the method?
It is a documented limit, not a hidden error. A fit is internally consistent as long as every molecule uses the same recipe. The limit is that the descriptors describe one force-field conformer rather than the molecule's true geometry or its conformer population, and that a fit cannot be applied to files from a different recipe.

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.