Home
Celestice
CELESTICE™
Beyond Alpha Matrix
    • Celestice Overview

      Discover AI native wealth management

    • Features

      Learn about our agentic product innovations

    • Technology

      Deep dive into state-of-the-art product design

    What's New

    What's New
    • Family offices, HNW Investors

      Wealth Management

    • Advisors/Planners

      Investment Advisors (RIA/CFP)

    • Asset Management

      Sovereign wealth funds, ETF, Pension & Insurance funds

    • Banks, Institutional

      Embedded wealth management

  • Blog
  • Pricing
  • Contact
Home
Celestice

Menu

    • About Us
    • Features
    • Technology
    • Integrations
    • Security
    • Family Offices
    • Advisors/Planners
    • Asset Management
    • Institutions
    • Use Cases
    • Case Studies
    • Testimonials
    • Blog
    • Whitepapers
    • FAQ
    • Glossary
    • Pricing
    • Contact
    • Privacy Policy
    • Terms & Conditions
    • GDPR
    • Legal

Portfolio Optimization, Part 5: Hierarchical and Clustering Methods

Celestice Research avatar

Celestice Research

May 11, 2026 • 4 min read
Portfolio Optimization, Part 5: Hierarchical and Clustering Methods
CELESTICE
Photo by Konevi on Pexels

The matrix-inversion problem

Classical mean-variance optimization has a quiet structural flaw: it inverts the full covariance matrix. That matrix is estimated from noisy data, it is often nearly singular when assets are correlated, and inverting it amplifies the noise. The result is the infamous instability of mean-variance weights — tiny changes in inputs produce wildly different, often absurdly concentrated portfolios. It is the "error maximizer" we met in Part 1, seen from the linear-algebra side.

Hierarchical methods, pioneered by Marcos López de Prado, sidestep the inversion entirely. Instead of treating all assets as one undifferentiated block, they first discover the structure of the market — which assets cluster together — and then allocate down through that structure. The outcome is more stable, more intuitive portfolios that survive out-of-sample noticeably better. As ever, output is reviewed research behind the gallery's gates.

HRP: hierarchical risk parity

Hierarchical Risk Parity (HRP) is the anchor of the family and proceeds in three moves:

  1. Cluster. Build a tree (dendrogram) that groups assets by how they co-move, using the correlation structure as a distance.
  2. Quasi-diagonalize. Reorder the covariance matrix so similar assets sit next to each other, revealing the block structure.
  3. Recursive bisection. Split the tree top-down, allocating risk between each pair of branches by their relative riskiness, all the way to individual assets.

No matrix inversion, no expected-return forecast. HRP tends to spread risk sensibly across genuinely distinct groups instead of piling into whatever pair of assets happened to look most efficient in a noisy sample.

HERC, Nested Clusters, and Schur

The family extends HRP in three useful directions:

  • HERC (Hierarchical Equal Risk Contribution) marries the clustering tree with equal-risk-contribution allocation: it equalizes risk across clusters and within them, combining the stability of hierarchy with the discipline of risk parity. It also lets you swap in tail or drawdown risk measures (HERC on CVaR, on CDaR) rather than only variance — the same idea we met when budgeting on CVaR in Part 4.
  • Nested Clusters Optimization (NCO) optimizes within each cluster and then across clusters as a second stage. By solving small, well-conditioned sub-problems instead of one giant ill-conditioned one, NCO contains the instability and lets you use a conventional optimizer safely inside each cluster.
  • Schur Complementary Allocation is the newest idea: it uses the Schur complement of the covariance matrix to separate common from residual risk structure, preserving more of the full covariance information than HRP discards while keeping the stability benefits. Think of it as a bridge between hierarchical robustness and full-covariance optimality.

Reading the dendrogram

The signature artifact of this family is the dendrogram — the cluster tree — and reviewing it is how you sanity-check the whole result. Look at:

  • The cluster structure. Do the groupings make economic sense? If two assets you know are closely related sit in distant branches, the correlation estimate may be off.
  • The linkage method. How clusters are merged (single, complete, average, Ward linkage) changes the tree shape and therefore the weights; the gallery exposes it as a parameter.
  • Cluster-level concentration. Hierarchy spreads risk across clusters, but a single cluster can still dominate if it contains many assets — check the cluster-level risk contributions, not just the asset-level ones.

“Hierarchical methods replace fragile matrix inversion with structure discovery: instead of treating all assets as one undifferentiated block, they first discover the structure of the market, then allocate down through it.”

Celestice Research

When hierarchy wins

Hierarchical methods are at their best with large, correlated universes where classical optimization is most fragile — broad equity books, multi-asset sleeves, anything where the covariance matrix is big and ill-conditioned. They are also a strong default when you have no return views and want a robust, explainable-by-structure allocation. They are less compelling for tiny universes (where there's little structure to discover) or when you have high-conviction views to express — that's the Bayesian family's job, coming up next.

The takeaway

Hierarchical methods replace fragile matrix inversion with structure discovery: HRP clusters and allocates through the tree, HERC adds equal-risk-contribution discipline, NCO contains instability by optimizing within clusters, and Schur allocation recovers more covariance information while staying robust. Read the dendrogram to trust the result. Next in the series: views and Bayesian methods — Black-Litterman, entropy pooling, and opinion pooling, for expressing genuine conviction without blowing up the portfolio.

PreviousPortfolio Optimization, Part 4: Risk Parity and Budgeting
NextPortfolio Optimization, Part 6: Views, Black-Litterman, and Pooling

Recent Posts

  • AI Risk Intelligence Is an Operating Layer, Not a Report
    Risk & Stress · July 9, 2026AI Risk Intelligence Is an Operating Layer, Not a Report
  • Portfolio Optimization at Scale Is an Operating Problem
    Optimization Engine · July 6, 2026Portfolio Optimization at Scale Is an Operating Problem
  • Governed Autonomy: Scaling AI Without Losing Control
    AI & Autonomy · July 2, 2026Governed Autonomy: Scaling AI Without Losing Control
  • Portfolio Optimization, Part 12: Choosing, Comparing, and Governing
    Optimization Engine · June 29, 2026Portfolio Optimization, Part 12: Choosing, Comparing, and Governing
  • Portfolio Optimization, Part 11: Multi-Period and Execution-Aware
    Optimization Engine · June 22, 2026Portfolio Optimization, Part 11: Multi-Period and Execution-Aware

Categories

    • Portfolio Optimization at Scale Is an Operating Problem
    • Portfolio Optimization, Part 12: Choosing, Comparing, and Governing
    • Portfolio Optimization, Part 11: Multi-Period and Execution-Aware
    • Portfolio Optimization, Part 10: Robust and Stress-Aware Methods
    • Portfolio Optimization, Part 9: Tax-Aware and Long-Short Construction
    • Portfolio Optimization, Part 8: Constrained and Practical Construction
    • Portfolio Optimization, Part 7: Factor Models, Covariance, and the Engine
    • Portfolio Optimization, Part 6: Views, Black-Litterman, and Pooling
    • Portfolio Optimization, Part 5: Hierarchical and Clustering Methods
    • Portfolio Optimization, Part 4: Risk Parity and Budgeting
    • Portfolio Optimization, Part 3: Drawdown — the Risk You Live Through
    • Portfolio Optimization, Part 2: Tail Risk and the Losses That Hurt
    • Portfolio Optimization, Part 1: One Catalog, Many Right Answers
    • Governed Autonomy: Scaling AI Without Losing Control
    • What Is Governed Autonomy in Wealth Management?
    • Proactive Suggestions: Helping You See What Matters Next
    • Durable Execution: Why AI Wealth Work Should Be Resumable, Not Disposable
    • Specialist Agents: Why Attribution Beats an Anonymous Assistant
    • How Multi-Agent AI Collaboration Works in Wealth Management
    • AI Agent Capabilities and Sandboxing: Power on a Need-to-Have Basis
    • AI Agent Memory: Why a Chat Transcript Is Not Financial Memory
    • Deep Research in Chat: More Than a Long Answer
    • Grounded Answers: Why AI in Finance Must Cite Its Sources
    • Connected Accounts and Data Quality: The Foundation of Portfolio Truth
    • From Prospect to Client: How Proposal Generation Should Work
    • Client Reporting: Why Traceable Source State Matters
    • Performance Attribution: Why Did the Portfolio Do That?
    • Investment Policy and Compliance: The Guardrails Behind Every Trade
    • AI Risk Intelligence Is an Operating Layer, Not a Report
    • What-If Scenario Planning: Test the Decision Before You Make It
    • Stress Testing: What Breaks Your Portfolio, and Why
    • Reading Portfolio Risk: VaR, CVaR, Factors, and Drawdown
    • Alpha and Signal Fusion: Turning Many Signals Into One Conviction
    • Fixed Income Analytics: Duration, Convexity, Spread, and Curve Risk
    • How to Analyze a Stock: A Valuation and Quality Framework
    • Monte Carlo Simulation: How to Read a Probability of Success
    • Retirement Planning Is a Program, Not a Number
    • Goals-Based Wealth Planning: Funding What Actually Matters
    • Portfolio Optimization Approaches, Compared
    • Portfolio Rebalancing: Turning Drift Into a Disciplined Decision
    • Model Portfolio Construction: Build Once, Apply at Scale
    • Real Assets: Investing in Real Estate, Infrastructure, and Farmland
    • Private Equity and Venture: MOIC, Vintage, and the Secondary Market
    • Private Markets 101: Capital Calls, the J-Curve, IRR, TVPI, and Fee Drag
    • Estate and Legacy Planning: Transfer, Trusts, and the Liquidity Gap
    • Roth Conversions and Tax-Smart Investing: A Practical Framework
    • Direct Indexing and Tax-Loss Harvesting, Explained
    • Trading and Execution: From Approved Intent to Settled Trade
CELESTICE™Beyond Alpha Matrix

Product

  • Overview
  • Features
  • Technology
  • Pricing

Solutions

  • Investors
  • Advisors/Planners
  • Asset Managers
  • Institutions

Resources

  • Blog
  • Contact
  • Privacy
  • Terms

© 2026 Celestice AI Inc All rights reserved.

All systems operational
  • Privacy
  • Terms