NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A New Spin on Optimal Portfolios and Ecological Equilibria

Jérôme Garnier-Brun, Michael Benzaquen, Stefano Ciliberti, Jean‐Philippe BouchaudSSRN 2021

TL;DR

This paper explores the surprising mathematical similarities between constructing "long-only" investment portfolios and modeling ecological equilibria. By applying techniques from statistical physics, specifically spin-glass theory, the authors reveal that both problems exhibit a vast number of nearly degenerate solutions, leading to "disorder chaos" – extreme sensitivity to small changes in underlying parameters. This has profound implications for decision-making under uncertainty in both finance and ecology.

What Problem Does This Paper Address?

The paper tackles the challenge of finding optimal solutions in systems with a "non-negativity" constraint. This constraint appears in two seemingly disparate fields:

  1. Optimal Portfolio Construction: Investors often face the "long-only" constraint, meaning they can only buy assets (positive weights) and cannot sell them short (negative weights). This is a practical limitation in many investment mandates. The goal is to construct a portfolio that maximizes returns for a given level of risk.
  2. Ecological Equilibria: In population dynamics, the number of individuals in a species cannot be negative. The paper models this using Lotka-Volterra equations, where species interact through competition or predation. The goal is to find stable equilibrium populations.

The core problem is that when the number of assets (N) or species (N) becomes large, the search space for valid solutions explodes. Traditional optimization methods struggle with this complexity, and the authors aim to understand the nature and implications of this vast solution landscape.

Methods

The authors leverage tools from statistical physics, particularly the cavity and replica methods commonly used to study spin-glasses. Key techniques include:

  • Mapping to Spin-Glasses: The non-negativity constraint is translated into a "spin" variable (0 or 1) indicating whether an asset/species is included in the solution. The problem then becomes counting the number of valid spin configurations.
  • Self-Consistent Equations: They derive a central self-consistent equation for a threshold parameter (β+) that determines which assets/species are included in a valid solution. This equation is solved analytically for different distributions of the underlying parameters (asset correlations or species interaction strengths).
  • Numerical Simulations: Exact enumeration of solutions for small N, and simulations for larger N, are used to validate analytical predictions and explore the solution space.
  • Analysis of Solution Landscape: They investigate quantities like maximum sparsity (fraction of non-zero elements) and overlap between solutions to characterize the "disorder chaos."

Datasets

  • Financial Data: The paper uses empirical data for asset correlations (β values) derived from US stock returns over a two-year period (up to November 2020). This data is used to inform the distributions of β (Gaussian, uniform, and generalized normal).
  • Ecological Data: The paper notes that direct empirical data for ecological interaction matrices is not readily available, so the models are primarily informed by the financial data's statistical properties.

Key Insights and Ideas

  • Surprising Equivalence: The mathematical structure of "long-only" portfolio optimization and ecological equilibria (under specific conditions) is remarkably similar, allowing for a unified analytical approach.
  • Vast Solution Space: For large N, both problems exhibit an exponential number of valid solutions, many of which are "quasi-degenerate" – meaning they offer very similar performance (risk/return or population stability) despite having very different compositions.
  • Disorder Chaos: Small changes in the underlying parameters (asset correlations or species interactions) can lead to a dramatic and unpredictable reshuffling of the optimal solution. This is analogous to "static chaos" in spin-glasses.
  • Typical vs. Average Behavior: The average number of solutions can be vastly different from the "typical" or most likely number of solutions, which is often much smaller and related to the sparsity of the solutions. This highlights the importance of understanding the distribution of solutions, not just their average count.
  • Implications for Rationality: The existence of numerous "satisficing" solutions challenges the notion of a single, perfectly rational decision, introducing irreducible uncertainty.

Key Results

  • The logarithm of the average number of solutions grows as N^α, where α ≤ 2/3, depending on the distribution of parameters.
  • The authors derive analytical expressions for the maximum sparsity and the average number of solutions for Gaussian and uniform distributions of asset correlations/interaction strengths.
  • Numerical results show that disorder chaos is stronger for uniformly distributed parameters, consistent with a larger number of solutions.
  • The solution landscape is characterized by a large density of solutions with small overlap with the "optimal" solution, yet these solutions can have very similar objective function values (e.g., portfolio variance).

Limitations and Future Work

  • Unit Rank Interaction Matrix: The study is limited to the special case where the interaction matrix is of unit rank. Extending the analysis to more general random matrix models is suggested.
  • Empirical Data for Ecology: The lack of direct empirical data for ecological interaction matrices means that the ecological interpretations are based on analogies with financial data.
  • Typical vs. Average Solutions: While the paper computes the average number of solutions, it conjectures that the typical number is related to sparsity and suggests that a replica calculation would be needed to compute this quenched complexity.
  • Heterogeneous Returns/Growth Rates: While Appendix F briefly discusses heterogeneous returns (μi), a more in-depth analysis could be explored.
  • Transaction Costs and Other Factors: For asset management, the paper notes that transaction costs and the presence of quasi-degenerate solutions suggest that a mix of solutions might be more practical than a single "optimal" one. Further investigation into these practical considerations is warranted.

Summary updated

BibTeX
@misc{garnierbrun2021new,
  author = {Jérôme Garnier-Brun and Michael Benzaquen and Stefano Ciliberti and Jean‐Philippe Bouchaud},
  title = {{A New Spin on Optimal Portfolios and Ecological Equilibria}},
  year = {2021},
  doi = {10.2139/ssrn.3817718},
  howpublished = {SSRN},
}
Figure