‚Üê Research

Methodology · Educational note · Reading time ~7 min

Your Portfolio Lives in a Space You Never See

A journey through market states, diversification and the geometry of risk.

Download the note (PDF, 6 pages)  ¬∑  See it applied: the Socrate II case study ‚Üí

Your portfolio can remain completely unchanged from one day to the next. The same securities. The same weights. The same fundamental conviction. And yet, from a risk perspective, it may no longer be the same portfolio at all.

What changed is the geometry of the market around it. When assets begin to move in unison, diversification evaporates without a single trade being executed. A portfolio holding fifty distinct securities can suddenly collapse into just a handful of effective bets.

Core insight

A portfolio does not exist in isolation. It lives inside an evolving market state. If so, how do we rigorously measure the journey from one state to another?

This question leads directly to the geometry of correlation matrices, and to the Eratosthenes Test.

1. A portfolio is more than its weights

Modern portfolio analysis typically starts with the allocation vector:

w = (w1, …, wn)⊤

Weights alone, however, reveal nothing about real-time diversification. Let rt be the vector of asset returns and Σt = Cov(rt) its covariance matrix at time t, decomposed as:

Σt = Dt Ct Dt

where Dt is the diagonal matrix of individual asset volatilities and Ct is the correlation matrix. Portfolio variance is then:

σ²p,t = w⊤ Σt w = w⊤ Dt Ct Dt w

Even if w is fixed, portfolio risk shifts whenever individual volatilities (Dt) or the dependence structure (Ct) change. The matrix Ct captures which assets move together, and therefore how much true diversification remains.

Portfolio at time t = (w, Ct)

2. The market moves when you stand still

Consider a diversified portfolio holding tech equities, government bonds, gold and commodities. In calm markets these assets occupy relatively orthogonal directions. When macro stress strikes, correlations surge: previously uncorrelated assets align under systemic liquidity pressure. Your weights did not change, but the state did:

Ct‚àí1 ‚Üí Ct,    Ct‚àí1 ‚↠Ct

  • A market regime is an ex-post classification: calm, stressed, inflationary, risk-on, risk-off.
  • A market state, in this framework, is the raw dependence structure itself: Ct.

Treating Ct as the state allows us to monitor the structural path continuously:

  • Where is the portfolio living today?
  • Is the dependence structure contracting or expanding?
  • How many effective structural directions remain?
  • Is today’s state historically anomalous relative to its own baseline?

3. Correlation states and the choice of ruler

A valid full-rank correlation matrix is symmetric, positive definite, and has unit diagonal. It therefore belongs to the open elliptope, a constrained subset of SPD(n), the open convex cone of symmetric positive-definite matrices:

SPD(n) = { C ‚àà ‚Ñùn√ón : C = C‚ä§,  x‚ä§Cx > 0  ‚àÄx ‚↠0 }

In this note, SPD(n) is used as a diagnostic space for comparing observed correlation states. Several metrics can be placed on it, flat or curved, and when market dependencies move from A to B, the chosen metric determines the measured length of the trajectory. We compare two of them.

The flat Euclidean (Frobenius) distance:

dF(A, B) = ‖B − A‖F = √( Σi,j (Bij − Aij)² )

The affine-invariant Riemannian metric (AIRM):

dR(A, B) = ‖ log( A−1/2 B A−1/2 ) ‖F = √( Σi=1…n log²(λi) )

where λi are the generalized eigenvalues of the pair (A, B), i.e. the eigenvalues of A−1B.

Two different rulers measuring the exact same market transition can return radically different lengths.

4. Why the ruler matters near systemic stress

The discrepancy is most visible in a simple two-asset system, with a single correlation ρ between the two assets. For a correlation move from ρ1 to ρ2:

Flat distance:  dF = ‚àö2 ¬∑ |œÅ2 ‚àí œÅ1|

Affine-invariant distance:  dR = ‚àö( log¬≤( (1 + œÅ2) / (1 + œÅ1) ) + log¬≤( (1 ‚àí œÅ2) / (1 ‚àí œÅ1) ) )

The stress paradox

A shift from ρ = 0.10 to 0.30 and a shift from ρ = 0.70 to 0.90 are both Δρ = 0.20 on a flat ruler: dF = 0.28 in both cases. On the affine-invariant ruler, the first move measures dR ≈ 0.30; the second measures dR ≈ 1.10, almost four times longer. As ρ → 1, the term (1 − ρ) → 0 and the logarithm blows up.

Moving from moderate to high correlation degrades diversification; moving from high correlation to near-singularity destroys an entire dimension of diversification. A ruler that measures differences in correlation treats both changes as identical; a ruler that measures ratios, on a logarithmic scale, registers the collapse. In this two-asset case the effect comes from that logarithmic scale alone: both states share the same principal directions.

5. Tracking effective dimensionality

The nominal count of positions in a portfolio is rarely its effective dimension. Two complementary measures apply.

Effective positions by weight (a property of the allocation w):

Neff,pos = 1 / Σi wi²

Effective structural directions (a property of the market state Ct, via the entropy of its spectrum):

Neff,dir = exp( − Σi λ̃i log λ̃i )

where λ̃i = λi / Σj λj is the normalised eigenspectrum of Ct.

A portfolio holding 50 securities may show 35 effective positions by weight, while the universe it invests in offers only 10 to 12 effective market directions under stress. Monitoring Neff,dir reveals silent structural crowding that nominal position counts may obscure.

6. The Eratosthenes Test: measuring ruler disagreement

The Eratosthenes Test quantifies the relative gap between the flat Euclidean measurement and the affine-invariant Riemannian distance of an observed transition A ‚Üí B:

κ = ( dR(A, B) − dF(A, B) ) / dF(A, B)

Over an observed sequence of states, the cumulative geometry gap is:

U = 1 − Σt dF(Ct−1, Ct) / Σt dR(Ct−1, Ct)

κ reads as “how much longer the affine-invariant measurement is than the flat one” for a single transition; U reads as the share of the total affine-invariant length on which the two rulers disagree over a whole period.

What the Eratosthenes gap (κ, U) isWhat it is not
A measure of how much two rulers disagreeNot a VaR correction factor
An indicator of metric sensitivity under stressNot an expected-loss calculation
A model-risk test for stress scenariosNot a directional market-timing signal

7. Distance vs. direction: detecting structural contraction

Because distance is symmetric (d(A, B) = d(B, A)), length alone cannot tell whether dependence contracted or expanded. Direction is recovered from the logarithm of the step, taken in the frame of the starting state:

V = log( A‚àí1/2 B A‚àí1/2 )

Its trace reveals the global volumetric change of the dependence ellipsoid:

tr(V) = log det(B) ‚àí log det(A)

  • tr(V) < 0: contraction of the dependence space (diversification collapsing).
  • tr(V) > 0: re-expansion of effective structural directions.

8. Empirical evidence across regimes

Calibration on a demonstration universe of 54 US-listed exchange-traded funds spanning US and world sectors, developed- and emerging-market countries, government bonds, credit, gold and commodities, daily data from 2020-01-03 to 2026-09-14, with regimes labelled by quartiles of the equal-weight book’s own realised volatility (calm = lowest quartile, stressed = highest), gives the following medians of Œ∫:

Market regime21-session state window (median κ)63-session control window (median κ)
Calm41%23%
Normal46%25%
Stressed55%44%

Absolute values of κ depend on the estimation window and on matrix conditioning, but the ordering is invariant across calibrations:

κcalm < κnormal < κstressed

Across both calibrations, the disagreement between the flat and the affine-invariant rulers is larger in stressed states than in calm states, indicating greater metric sensitivity precisely when dependence structures are more compressed.

9. Scenario admissibility and model risk

When risk teams construct hypothetical stress tests, linear shocks are standard:

Cflat(t) = A + t (B ‚àí A)

Positive definiteness is preserved for interpolation (0 ‚â§ t ‚â§ 1), but extrapolating beyond recent experience (t > 1) frequently produces matrices with negative eigenvalues, which are not valid correlation matrices.

Conversely, an unconstrained Riemannian geodesic on SPD(n) preserves positive definiteness but lets the diagonal entries drift away from 1, leaving the manifold of valid correlation matrices (the open elliptope). Geometries built directly on that manifold (Thanwerdas & Pennec, 2022) are the rigorous answer.

Model-risk takeaway

Before debating the loss generated by an extreme scenario, risk committees should ask a prior question: is the underlying correlation state geometrically admissible?

Diagnostic summary: seeing the state you live in

Traditional risk focusMarket-state intelligence layer
What are our nominal exposures?What market state does the portfolio occupy today?
What is our parametric or historical VaR?Is the underlying dependence structure contracting?
How did the portfolio perform in 2008 / 2020?How many effective risk directions actually remain?
Linear factor stress testingAre scenario correlation matrices admissible and positive definite?

Portfolio case study

See the methodology applied to a fund.

Socrate II is a demonstration fund: ten mandates, 54 securities, one consolidated book. Its Market-State Review shows every measure of this note on a complete document — effective directions, the market-state journey, the Eratosthenes diagnostic and the admissibility of four stress scenarios.

Read the Socrate II case study ‚Üí

Selected references

  • M√ºnnix, M. C. et al. (2012). Identifying States of a Financial Market, Scientific Reports 2, 644.
  • Thanwerdas, Y. & Pennec, X. (2022). Theoretically and computationally convenient geometries on full-rank correlation matrices, SIAM Journal on Matrix Analysis and Applications 43(4).
  • Bhatia, R. (2007). Positive Definite Matrices, Princeton University Press.
  • Higham, N. J. (2002). Computing the nearest correlation matrix ‚Äî a problem from finance, IMA Journal of Numerical Analysis 22(3), 329‚Äì343.

This note is for educational purposes only and does not constitute investment advice.

Request an Eratosthenes Market-State Review

The Eratosthenes diagnostic can benchmark the market state of an investment universe without ingesting internal positions. For a portfolio-specific review, controlled portfolio weights can be incorporated to quantify allocation and structural diversification measures.

See what the review looks like: Socrate II ‚Üí