optimizer
Hierarchical Equal Risk Contribution (HERC)
An evolution of HRP that targets equal risk contribution from each cluster of similar assets.
Hierarchical Equal Risk Contribution (HERC) groups assets into a tree of clusters by how similarly they move, then splits capital down that tree with the aim of balancing risk across the branches. Thomas Raffinot introduced it in 2018 as an extension of Hierarchical Risk Parity (HRP). Because it never inverts the full covariance matrix, it is less exposed to noise in that matrix than methods that do.
Step one turns correlations into distances, so highly correlated assets sit close together; a common choice is the square root of half of (1 minus the correlation), which is 0 for perfectly correlated assets and 1 for perfectly opposite ones. Step two builds a cluster tree from those distances; GNG uses Ward linkage, which merges groups in a way that keeps each cluster tight. Step three walks the tree from the top and, at each split, divides capital between the two branches according to how risky each branch is, repeating inside each branch until every asset has a weight.
Compared with HRP, HERC follows the actual shape of the tree instead of cutting a reordered asset list in halves. Compared with mean-variance methods, it ignores expected returns and is less prone to piling into a few names. It still depends on the correlations in the lookback window, and the split rule matters: dividing capital in inverse proportion to each branch's variance is not the same as an exact equal-risk split, because it leans further toward the steadier branch.
Example with illustrative numbers: the tree's top split separates a bank cluster with 30% volatility (a variance of 0.09) from a utility cluster with 15% volatility (a variance of 0.0225). Splitting by inverse variance gives banks 20% and utilities 80%. If the two clusters are uncorrelated, those weights leave banks with 20% of the combined risk and utilities with 80%; an exact equal-risk split would need about 33% and 67%.
On GNG, the Portfolio Optimizer's Hierarchical Equal Risk engine (HERC) uses Ward-linkage clustering on the correlation distance between your holdings' daily returns, then splits capital at each level of the tree by inverse variance, the same split rule HRP uses, measuring each branch's variance with inverse-variance weights inside it. Your single-name cap and minimum position size are applied after the tree allocation, and the engine does not apply sector limits or a yield floor.
Hierarchical Risk Parity (HRP) is the method it extends, and Equal Risk Contribution (ERC) shows what an exact equal-risk split looks like without clustering.
More optimizer terms
Get full access to GNG Research
Create a free account to access portfolio tracking, advanced tools, and more.