MolBasis
multicollinearitycorrelationredundancytwo-term-equationsridge5 min read

Descriptor correlations and redundancy in short QSPR equations

Nine descriptors from one calculation are not nine independent facts. How to measure their correlation, why it matters for a two-term fit, and what to report.

Updated November 28, 2026

Nine descriptors from one calculation are not nine independent facts about a molecule. Two of them measure size, two measure polarity, three describe the same charge distribution and two are subsets of its extremes. For a one-term kernel this does not matter. For a two-term kernel it decides whether the second term is a second fact or a restatement of the first. This guide shows how to measure the redundancy, why a small ridge penalty does not remove it and what to report.

Where the correlations come from

The correlations are physical before they are statistical.

cavity_area_aa2 and n_segments are two measures of the same surface. At a fixed tessellation density the segment count is close to proportional to the area. A two-term equation with both has one real size term and one term that soaks up tessellation noise.

g_polar_kcal and dipole_debye are tied by the Onsager model, in which the reaction-field energy scales as μ² / a³. Across a dataset the dipole explains a large share of the variation in the reaction-field energy, and the size explains much of the rest. The polar solvation energy guide derives that relation.

sigma_variance and g_polar_kcal both grow with the amount of exposed polar surface. A molecule with large positive and negative σ patches has a large variance and a strongly negative reaction-field energy. They differ on symmetric molecules, where the dipole cancels and the variance does not, so the correlation is high but not complete.

hb_acceptor_mass under its σ-threshold definitions is the area of the segments with the most positive σ. It is therefore a function of the same distribution the moments summarise. A molecule with a long positive tail has a large acceptor surface and a positive skewness at once.

Measuring it on your own table

Given a table of descriptors for the training molecules, the correlation matrix is one line.

import numpy as np

X = np.loadtxt("descriptors.csv", delimiter=",", skiprows=1)
R = np.corrcoef(X, rowvar=False)
np.set_printoptions(precision=2, suppress=True)
print(R)

The variance inflation factor goes one step further. For descriptor j, regress it on all the others and take VIF_j = 1 / (1 − R_j²). A VIF of 1 means no redundancy. A VIF of 10 means the others explain 90 percent of its variance. The usual rule of thumb flags VIF above 10, but with two-term equations the relevant question is the pairwise correlation of the two chosen terms, and anything above 0.9 should be stated.

A tiny example of what redundancy does to coefficients

Take a target y = x₁ + noise, and two features x₁ and x₂ = x₁ + small noise, with a correlation near 0.99. Fit y on both. The least-squares solution is any pair of coefficients that sums to about 1. One split gives 0.6 and 0.4, the next split 1.3 and −0.3, and the training error barely changes between them. The sum is stable. The parts are not.

That is the behaviour of a two-term kernel on cavity_area_aa2 and n_segments. The fit will be about as good as a one-term fit on either. The two coefficients will have no stable meaning, and their signs may flip between scaffold splits. The guide on one-term versus two-term equations shows how the record tests whether a second term earns its place.

Why a ridge penalty of 1e-3 does not solve it

Ridge regression shrinks coefficients toward zero and stabilises them when features are correlated. The strength of that effect depends on the penalty relative to the scale of the features. The kernels use z-scored features, whose variance is 1, and a penalty of λ = 1e-3. On that scale the penalty is close to nothing, and the solution is close to ordinary least squares. The ridge regression guide works a two-feature example at several penalties.

The ridge solve therefore gives a unique numerical answer, which is its purpose here, but it does not make correlated coefficients interpretable. A reader should treat the two coefficients of a two-term kernel as a pair, not as two separate effects.

Powers of one descriptor are the strongest correlation of all

Each kernel term is a descriptor raised to an exponent from a grid with a step of 0.25. On a typical range, f^0.75, f^1.0 and f^1.25 are monotone transformations of each other with a correlation above 0.99 after standardisation. This has two consequences.

First, the exponent is weakly determined. Several exponents give nearly the same held-out r, and the search picks one by a margin smaller than the noise. The record's plateau count measures how many equations sit within ±0.01 r of the best. The guide on the plateau of equivalent models explains why a single winner is a fiction in that situation.

Second, a two-term equation in two powers of the same descriptor, or in two correlated descriptors with different powers, is a one-term equation with a flexible shape. It should be judged by the feature-addition test, not by the fact that it has two terms.

What to report with a short equation

  • The Pearson correlation of the two chosen terms on the training molecules, after the power and the z-score.
  • The plateau count, so the reader knows how many equivalent equations exist.
  • Whether the second term passed a feature-addition test on the held-out scaffolds.
  • The recipe version, since correlations between descriptors can change when a definition changes, as hb_acceptor_mass did.

Each kernel page states which descriptors it uses, its held-out r and the number of molecules it rests on. It does not publish coefficients, so the reader cannot recompute the correlation of the fitted terms from the page alone. The methodology page describes the plateau count and the feature-addition test.

Key points

  • The nine descriptors fall into correlated groups, size, polarity, charge shape and hydrogen-bonding surface.
  • Correlated features share a coefficient in unstable ways, so two-term coefficients are a pair, not two effects.
  • A ridge penalty of 1e-3 on standardised features is close to ordinary least squares and does not fix this.
  • Powers of one descriptor are correlated above 0.99, which is why exponents sit on a plateau.
  • Report the correlation of the chosen terms, the plateau count and the feature-addition result.

Questions people ask

Which of the nine mfsig descriptors are expected to be correlated?
Cavity area and segment count both measure size and move together at a fixed tessellation density. The reaction-field energy scales with the dipole squared over size, so it is correlated with both. σ variance and reaction-field energy both grow with exposed polarity. The hydrogen-bond surfaces are subsets of the high-σ surface and relate to variance and skewness.
Why does correlation between descriptors matter for a two-term equation?
When two features carry the same information, the fit can split a coefficient between them in many ways with almost the same error. Coefficients become unstable across splits and their individual interpretation fails. Ridge regression tames this only with a sizeable penalty, and a penalty of 1e-3 on standardised features is close to ordinary least squares.
How do I measure descriptor redundancy?
Compute the Pearson correlation matrix of the candidate descriptors on the training set, and the variance inflation factor of each descriptor against the others. A correlation above about 0.9 or a VIF above about 10 means the two carry nearly the same information. Report the matrix next to the chosen equation.
Are different powers of the same descriptor correlated?
Strongly. On a typical range, a descriptor raised to 0.75, 1.0 and 1.25 are correlated above 0.99 with each other after z-scoring. This is why a search over an exponent grid finds a plateau of equivalent equations rather than one winner.

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.