Skip to main content
Blog home
Newsletter
News
Video
Podcast
Reading list
Wright Brief
Sign In

What is Hierarchical Risk Parity (HRP)?

A plain-language explanation of Hierarchical Risk Parity (HRP), with a worked example, common pitfalls and the questions people ask most.

Listen to this article
Audio · ~2 min
Add as a preferred source on Google

Hierarchical risk parity, or HRP, is a portfolio construction method proposed by Marcos Lopez de Prado in 2016. It groups similar assets using clustering and allocates risk down the resulting tree, which avoids inverting the covariance matrix and tends to give more stable weights than classic optimization.

The three steps

  1. Cluster. Group assets by how similar their returns are, using a distance based on correlation, producing a tree.
  2. Quasi-diagonalise. Reorder assets so that similar ones sit next to each other in the covariance matrix.
  3. Recursive bisection. Split the ordered list in two, give each half a share of capital in inverse proportion to its risk, then repeat inside each half.

An illustrative example

Take four assets: two large banks and two software companies. Clustering pairs the banks together and the software companies together. At the top split, if the bank group has twice the risk of the software group, it receives one-third of the capital and software two-thirds. Inside each group, the two stocks are split by inverse variance. The numbers are made up.

Why it is used

  • It does not need expected returns or an inverted covariance matrix, which avoids the instability of mean-variance optimization when assets are highly correlated.
  • Weights are diversified across clusters, and never extreme.
  • In Lopez de Prado's simulations, it had lower out-of-sample variance than the quadratic optimizers tested.

Limits

  • It is a heuristic with no guarantee of optimality for a given objective.
  • Results depend on the clustering method and distance used.
  • It ignores expected returns entirely, so it is a risk-allocation method, not a return-seeking one.
  • Correlations still need estimating. See covariance matrix.

See also risk parity and portfolio optimization.

Frequently asked questions

What is hierarchical risk parity?

It is a portfolio method that clusters assets by similarity and splits risk down the tree, giving diversified weights without inverting the covariance matrix.

How is HRP different from risk parity?

Classic risk parity equalises each asset's risk contribution using the covariance matrix. HRP uses clustering and inverse-variance splitting down a hierarchy.

Does HRP use expected returns?

No. It only uses the risk structure of the assets.

Why can HRP be more stable than mean-variance optimization?

Because it avoids matrix inversion, which amplifies estimation errors when assets are highly correlated.

Further reading

  1. Lopez de Prado, M. (2016). Building diversified portfolios that outperform out of sample. Journal of Portfolio Management 42(4).
Browse the full Quant Glossary →

Disclaimer: Investment in securities market are subject to market risks. Read all the related documents carefully before investing. Registration granted by SEBI, membership of a SEBI recognized supervisory body (if any) and certification from NISM in no way guarantee performance of the intermediary or provide any assurance of returns to investors.

The content in these posts/articles is for informational and educational purposes only and should not be construed as professional financial advice and nor to be construed as an offer to buy/sell or the solicitation of an offer to buy/sell any security or financial products. Users must make their own investment decisions based on their specific investment objective and financial position and using such independent advisors as they believe necessary.

Wryght Research & Capital Pvt (Brand name: Wright Research) is a SEBI Registered Portfolio Manager Reg No: INP000007979 (Validity: Apr 03, 2023 – Perpetual) and a SEBI Registered Research Analyst No: INH000017295 (Validity: Jul 03, 2024 – Perpetual), with its registered office at 103, Shagun Vatika Prag Narayan Road, Lucknow, UP, 226001 India and CIN: U67100UP2019PTC123244. Past performance may or may not be sustained in future. Performance provided there in is not verified by SEBI. Investment in securities is subject to market and other risks, and there is no assurance or guarantee that the objectives of any of the strategies of the Portfolio Management Services will be achieved. Registration granted by SEBI, enlistment as RA with Exchange and certification from National Institute of Securities Markets (NISM) in no way guarantee performance of the intermediary or provide any assurance of returns to investors. Please read the Disclosure document carefully before investing. Securities quoted are for illustration only and are not recommendatory. Charts shown are for illustration only. For more information and disclosures, visit our disclosures page here.

Found this useful? Share it.
Wright PMS · Portfolio Management Service

Put this research to work

The same 300+ factor research engine behind this article — applied to a professionally managed portfolio, end to end.

300+
Factors tracked
2L+
Investors
₹1,200+ Cr
Invested
SEBI
Registered PMS