AI-TechScienceGovernmentBusinessSportsEntertainment
Business

Uneven asset-specific risk can make sparse portfolio selection computationally hard.

Varying private volatility across stocks dismantles the simple ranking rules of index tracking, turning single factor basket selection into an intractable puzzle.

31 statements added by Davit Gondauri · 2 Dec see what was added
Uneven asset-specific risk can make sparse portfolio selection computationally hard.
Source: Primary generated image. © 2026
Published2 Dec 2026, 22:25 Last updated2 Dec 2026, 22:25 Sources
Source mode Marks each sentence drawn from a source or a contributor

When an investor sets out to build a calm investment portfolio, the most direct strategy often seems to be finding a handful of stocks that barely move when the broader market swings. Managing hundreds of separate holdings generates burdensome trading fees, complex accounting paperwork, and administrative drag. Limiting the basket to a strict number of companies, such as 10 or 20 stocks held in equal proportions, offers an appealing compromise between diversification and simplicity. In financial theory, the simplest model of market risk assumes that every individual stock responds to one single common pulse, like the overall economy, while carrying some private fluctuation of its own.12 If all assets have identical idiosyncratic variances and nonnegative factor loadings, the minimum-variance basket can be found efficiently by sorting the assets according to their factor loadings and selecting the required number with the smallest values. An investor lists all available stocks, measures how strongly each one reacts to the broader market, and selects the quietest candidates at the top of the list.1

That neat mathematical shortcut falls apart the moment the real world enters the equation. In actual financial markets, corporate vulnerability is never uniform across companies. A mature utility firm and a speculative biotechnology venture might share a muted reaction to daily swings in central bank interest rates, yet their internal corporate risks look entirely different. The utility company faces predictable regulatory reviews, whereas the biotechnology venture hinges on unpredictable clinical trial outcomes. Once an investor must account for these uneven, asset-specific risks alongside general market sensitivity, the task of picking the safest small group of stocks loses its mechanical simplicity. A choice that appears tranquil under general market pressure can introduce high private volatility, while a stock with higher market sensitivity might be calm enough internally to stabilize the overall mix.

Understanding why this balancing act becomes computationally intractable requires tracing how individual risks combine in a portfolio. To calculate the total variance of an equally weighted basket of assets, an analyst must sum two distinct components.1 The first component is the collective exposure of the chosen assets to the common market factor.1 Because all selected assets move together in response to this single force, their individual sensitivities add together before being squared to measure total market risk.1 The second component is the idiosyncratic variance, which represents the private, independent noise of each selected company.1 Because these private fluctuations are assumed to be uncorrelated, their risks do not amplify each other through cross-multiplication; instead, they simply add together into a single sum.1 A portfolio manager seeking the minimum possible total variance must balance these two competing terms: keeping the sum of market sensitivities as close to zero or as small as possible, while simultaneously keeping the sum of private variances as low as possible.

When private risk is identical across all assets, the second term is completely fixed by the chosen number of stocks, meaning that minimizing total variance requires only minimizing the sum of market sensitivities.1 However, when private risk varies from company to company, any attempt to reduce the squared market factor can force the selection of assets with heavier private volatility. The trade-off between the squared sum of sensitivities and the direct sum of idiosyncratic variances creates a vast combinatorial puzzle. Rather than scanning down an ordered list, an algorithm must search across millions of alternative combinations to verify whether an exchange of one asset for another lowers one term without causing the other to spike.

In a preprint paper posted to the arXiv repository on September 17, 2026, Davit Gondauri, a professor at the Business and Technology University in Tbilisi, Georgia, mapped the exact computational boundaries of this problem.1 The investigation analyzed exact-cardinality, equally weighted, minimum-variance portfolio selection under a one-factor covariance structure.1 The paper proved that while the problem is solvable in fast polynomial time when private variances are equal and sensitivities are nonnegative, introducing strictly positive, asset-specific private variances causes the decision problem to become NP-complete.1 NP-completeness is the formal classification for problems where a proposed solution can be verified quickly, yet no known algorithm can find an exact guaranteed solution in polynomial time for every instance. As a direct consequence of this proof, Gondauri demonstrated that discovering a general polynomial-time algorithm for this single-factor portfolio problem would prove that P equals NP, resolving the most famous open question in theoretical computer science.1

Why does asset specific risk turn portfolio selection into an intractable puzzle?

Varying private risk transforms portfolio selection into a difficult mathematical problem because it reproduces the internal structure of classic subset-sum questions.1 Davit Gondauri established this connection by constructing a mathematical reduction from the Exact-K Subset Sum problem, a recognized NP-complete task where an algorithm must decide whether exactly K numbers from a given set add up to an exact target value.1 In the portfolio reduction, each candidate asset receives a positive integer loading corresponding to a number from the subset puzzle, alongside an asset-specific idiosyncratic variance designed to penalize any deviation from the target sum.1 The proof revealed that total portfolio variance achieves its lowest possible threshold precisely when the sum of the chosen market loadings matches the subset target exactly.1

Davit explained that the crucial shift occurs because asset contributions cease to be independent. In response to questions from Primary, Davit said that “the structural assumption that matters is that the idiosyncratic contribution is constant across all feasible portfolios.” When that condition holds across K assets, the private risk sum is merely K times the shared constant variance, allowing an optimizer to sort solely by loading. But once private variances differ, Davit noted, “replacing one asset with another changes both the residual-risk sum and the squared aggregate factor exposure. An asset’s contribution can no longer be assessed solely from its loading.” He added that “the result concerns the worst-case complexity of the enlarged family; it does not mean that every portfolio with unequal residual variances is difficult.”

Uneven asset-specific risk can make sparse portfolio selection computationally hard.
Source: Bodossaki

The mathematical mechanism forcing this exact alignment relies on quadratic algebra. In response to questions from Primary, Davit said that “the construction works by completing the square.” By defining each residual variance as a large constant offset M minus two times the target value times the asset loading, the expanded variance formula folds cleanly into the squared difference between the actual loading sum and the target value, plus a fixed constant term. Davit observed that “the common offset M keeps the covariance matrix strictly positive definite without changing this equivalence.” He emphasized that “this is a deliberately constructed mathematical family establishing worst-case hardness, rather than an assertion that observed market variances ordinarily follow this relationship.”

Earlier research in quantitative finance had recognized that imposing cardinality constraints, meaning strict limits on the number of assets held, makes portfolio management challenging. In a 2009 study published in Computational Optimization and Applications, researchers Dimitris Bertsimas and Romy Shioda developed branch-and-bound optimization algorithms to tackle cardinality-constrained quadratic optimization problems across financial markets.41 Their work addressed general covariance matrices, where every pair of assets has an individual covariance value that must be accounted for during optimization.41 In August 2017, researcher Juan Francisco Monge posted a preprint on arXiv exploring cardinality-constrained portfolio selection using factor models, later published in Optimization Letters in 2020.1 Monge introduced linear models and heuristics to lower computation times and explicitly asked in the 2017 manuscript whether the equally weighted cardinality-constrained minimum-variance single-factor model could be solved in exact polynomial time.12 Gondauri answered that open question by showing that even within the restricted framework of a single factor and strictly positive integers, finding an exact optimum is NP-hard.1

The mathematical difficulty appears even when the market sensitivity data are kept simple. Gondauri proved that the decision problem remains NP-complete when all factor loadings and private variances are strictly positive integers, and when the underlying covariance matrix remains strictly positive definite, ensuring that every non-zero portfolio carries strictly positive variance.1 Furthermore, the paper showed that if idiosyncratic variance is held constant across all assets using an identity matrix, permitting even a single negative market loading among otherwise positive assets is sufficient to drive the decision problem back into NP-completeness.1 In that scenario, an algorithm can use the single negative loading as an anchor to balance against a subset of positive loadings, recreating the exact zero-sum dilemma that defines hard combinatorial search.1

This single negative loading introduces an interior cancellation target that frustrates simple ranking. Davit told Primary that “a sufficient restriction is to prevent the negative loading from creating a cancellation target inside the range of feasible positive sums.” If the negative asset has an absolute value smaller than the sum of the smallest positive items, no cancellation occurs, and candidate baskets can once again be compared by sorting. As Davit observed, “the essential distinction is whether the negative asset creates an interior cancellation target that requires solving a subset-selection problem.”

How can investors calculate exact solutions when markets require small baskets?

Dynamic programming provides a way to calculate exact optimal portfolios whenever the asset loadings are represented by bounded integers rather than arbitrary real numbers.1 Davit Gondauri designed an exact dynamic programming algorithm that systematically computes the minimum idiosyncratic variance for every possible combination of portfolio size and total loading sum.1 The algorithm steps through available assets one by one, deciding whether to include or exclude each candidate while recording intermediate outcomes in a state table.1 Because each step checks back only against the layer of calculations from the immediately preceding asset, the algorithm prevents any accidental double counting of the same security.1

The running time of this dynamic program scales with the total magnitude of the loadings rather than strictly with the number of digits needed to write them down.1 Specifically, for a universe of n assets, a target size of K assets, and a maximum possible loading sum B, the algorithm requires on the order of n times K times B computational transitions.1 In computational complexity theory, this behavior designates the algorithm as pseudo-polynomial. When numbers remain small, the algorithm executes swiftly, demonstrating that the positive-integer single-factor problem is weakly NP-complete rather than strongly NP-hard.1 If the loading magnitudes were required to scale up into massive exponential ranges, the table size would expand dramatically, causing the algorithm to slow down.

Davit cautioned against seeking a universal practical ceiling for loading values. In comments to Primary, Davit said that “there is no universal empirical cutoff for B, and the paper does not establish one through market-data benchmarks.” Explaining the computational footprint, he noted that “for illustration, n = 1,000, K = 20 and B = 100,000 give a transition-count scale of two billion and a storage scale of two million entries.” Davit emphasized that those metrics are structural bounds rather than measured execution times, noting that real-world performance depends heavily on reachable states and precision constraints.

Uneven asset-specific risk can make sparse portfolio selection computationally hard.
Source: Elheraldo

Gondauri also analyzed the problem through parameterized complexity, which measures how computational hardness scales when a specific feature of the problem, such as the portfolio cardinality K, is held fixed. By adapting an established mathematical reduction from bounded zero-sum problems, the author proved that the single-factor decision language is W[1]-hard when parameterized by K.1 This result implies that an analyst cannot hope to find an algorithm whose exponential scaling is confined entirely to K while remaining a fixed-degree polynomial with respect to total input length.1 Holding the portfolio size to a small number of assets does not magically eliminate the exponential computational wall as the universe of candidate stocks grows.

The investigation expanded beyond a single factor by analyzing a multi-factor setting with a fixed number of market dimensions, denoted by r.1 In this extension, each asset carries a vector of integer loadings across r distinct economic factors, alongside a symmetric positive-semidefinite matrix governing factor interactions. Gondauri showed that when r is fixed and loadings are polynomially bounded integers, an exact solution can still be found in polynomial time using a multi-dimensional dynamic program.1 Davit told Primary that “the deterioration is multiplicative across factor dimensions.” He pointed out that “if each coordinate has approximately m possible loading sums, the loading-state space grows as m^r.” While fixed-dimensional setups remain solvable in polynomial time, each additional factor compounds the coordinate combinations that the algorithm must track.

What are the limits of the new computational boundaries?

The findings presented by Davit Gondauri describe worst-case mathematical classifications rather than universal obstacles for everyday investment management. The proofs establish that specific constructed families of single-factor portfolio instances are NP-complete, which means that no general algorithm can guarantee a quick, exact optimum for every conceivable configuration of numbers.1 In practical financial operations, portfolio managers frequently deploy heuristic routines, local search methods, and continuous approximations that produce highly effective portfolios without proving absolute mathematical optimality. A financial model encountering weak NP-completeness can often run quickly on realistic market datasets if the numerical sensitivities do not mimic the adversarial patterns required to encode subset-sum puzzles.

The results apply specifically to factor-encoded inputs, where the covariance structure is stored concisely as factor loadings and diagonal residual values rather than as an explicit grid of numbers.1 Because an explicit matrix encoding writes out all cross-asset relationships in full, it represents a different formal computational language.1 Gondauri also examined circuit complexity, constructing a bit projection from modular k-SUM into the portfolio decision language.1 The author demonstrated that the language cannot be recognized by nonuniform constant-depth circuits with unbounded fan-in, known as AC0 circuits, even under polynomially bounded coefficients.1 However, Gondauri explicitly emphasized that these circuit results are restricted in scope, noting that the paper makes no claim of an unrestricted circuit lower bound and does not purport to separate P from NP.1

Supplying a full covariance matrix does not dissolve the underlying hardness. Davit told Primary that “providing the full covariance matrix does not remove the underlying worst-case NP-hardness,” since matrix entries can be computed from factor data in polynomial time. Instead, Davit explained that “the encoding distinction matters more specifically for the restricted-circuit argument.” When discussing why the circuit bounds do not rule out threshold circuits, Davit added that “the missing ingredient is a lower bound against threshold circuits for an appropriate source problem, not an additional encoding trick.” He noted that while “the independent AC0 argument uses parity,” threshold circuits can compute parity easily, meaning that “the paper establishes neither membership nor nonmembership in TC0 for the full language.”

These mathematical conclusions represent theoretical classifications of a formal decision language rather than empirical performance tests on historical market returns. The paper assumes an idealized environment where assets are strictly equally weighted and risk factors follow exact integer representations. Real institutional portfolios incorporate flexible fractional weights, transaction costs, and turnover constraints. Furthermore, the findings are posted as a preprint on arXiv and have not yet undergone formal peer review. Like any structural complexity proof, these results establish the outer computational limits of an idealized model rather than predicting the day-to-day behavior of trading algorithms on liquid assets.

What changes for algorithmic finance going forward?

For theoretical computer science and quantitative finance, these structural findings trace a clear boundary between effortless portfolio sorting and intractable mathematical search. For single-factor portfolio models, the research establishes precise computational complexity boundaries for several mathematically defined regimes, identifying conditions under which efficient sorting is possible and others in which the corresponding problem families are NP-hard in the worst case. The results establish NP-completeness for specified families of portfolio instances in the worst case, rather than implying that every portfolio with unequal residual variances or negative factor loadings is computationally intractable. If corporate private risks are identical and market sensitivities are nonnegative, selecting the lowest-loading assets remains provably optimal in fast sorting time. But as soon as asset-specific idiosyncratic risks vary across the universe, or a single negative market loading enters an otherwise homoskedastic basket, the selection becomes computationally formidable.

This formal division offers guidance for software engineers and quantitative researchers designing commercial portfolio optimization software. Rather than hunting for elusive exact polynomial-time solvers for single-factor models, developers can focus their engineering efforts on refined dynamic programming when numbers are modest, or on robust heuristic approximations when managing thousands of securities. By answering Monge's open question from 2017, the work highlights how even the leanest, most stripped-down risk models in finance conceal profound combinatorial challenges beneath their simple formulas.

The record

57 sentences trace to 3 sources and 1 contributor.

  1. 1 DG Davit Gondauri Paper · arxiv.org · 17 Sep 2026 Structural Complexity of One-Factor Sparse Portfolio Selection: Exact Algorithms, Parameterized Hardness, and Restricted Circuit Lower Bounds Preprint · may not have been peer reviewed See the source
  2. 2 A arxiv.org Paper · arxiv.org Cardinality constrained portfolio selection via factor models Preprint · may not have been peer reviewed See the source
  3. 3 DG Davit Gondauri Contributor · interview 21 Sep 2026 · in the article since 2 Dec 2026 Contribution — Davit Gondauri 31 statements added to this article
  4. 4 S Springer Third-party reporting · ideas.repec.org · 1 Jan 2009 Algorithm for cardinality-constrained quadratic optimization See the source

Article history

  1. Published 2 Dec 2026, 22:25
    Assembled by the Primary desk from 3 sources · 1 contributor · 57 cited sentences
  2. Davit Gondauri, a professor at the Business and Technology University in Tbilisi 31 statements added 73 days before publication
    1. Go to the sentence: An investor lists all available stocks, measures how strongly each one reacts to the broader market, and selects the quietest candidates at the top of the list.
    2. Go to the sentence: When private risk is identical across all assets, the second term is completely fixed by the chosen number of stocks, meaning that minimizing total variance requires only minimizing the sum of market sensitivities.
    3. Go to the sentence: The paper proved that while the problem is solvable in fast polynomial time when private variances are equal and sensitivities are nonnegative, introducing strictly positive, asset-specific private variances causes the decision problem to become NP-complete.
    4. Go to the sentence: Varying private risk transforms portfolio selection into a difficult mathematical problem because it reproduces the internal structure of classic subset-sum questions.
    5. Go to the sentence: In the portfolio reduction, each candidate asset receives a positive integer loading corresponding to a number from the subset puzzle, alongside an asset-specific idiosyncratic variance designed to penalize any deviation from the target sum.
    6. Go to the sentence: The proof revealed that total portfolio variance achieves its lowest possible threshold precisely when the sum of the chosen market loadings matches the subset target exactly.
    7. Go to the sentence: In response to questions from Primary, Davit said that “the structural assumption that matters is that the idiosyncratic contribution is constant across all feasible portfolios.”
    8. Go to the sentence: But once private variances differ, Davit noted, “replacing one asset with another changes both the residual-risk sum and the squared aggregate factor exposure. An asset’s contribution can no longer be assessed solely from its loading.”
    9. Go to the sentence: He added that “the result concerns the worst-case complexity of the enlarged family; it does not mean that every portfolio with unequal residual variances is difficult.”
    10. Go to the sentence: In response to questions from Primary, Davit said that “the construction works by completing the square.”
    11. Go to the sentence: Davit observed that “the common offset M keeps the covariance matrix strictly positive definite without changing this equivalence.”
    12. Go to the sentence: He emphasized that “this is a deliberately constructed mathematical family establishing worst-case hardness, rather than an assertion that observed market variances ordinarily follow this relationship.”
    13. Go to the sentence: Furthermore, the paper showed that if idiosyncratic variance is held constant across all assets using an identity matrix, permitting even a single negative market loading among otherwise positive assets is sufficient to drive the decision problem back into NP-completeness.
    14. Go to the sentence: Davit told Primary that “a sufficient restriction is to prevent the negative loading from creating a cancellation target inside the range of feasible positive sums.”
    15. Go to the sentence: As Davit observed, “the essential distinction is whether the negative asset creates an interior cancellation target that requires solving a subset-selection problem.”
    16. Go to the sentence: The running time of this dynamic program scales with the total magnitude of the loadings rather than strictly with the number of digits needed to write them down.
    17. Go to the sentence: Specifically, for a universe of n assets, a target size of K assets, and a maximum possible loading sum B, the algorithm requires on the order of n times K times B computational transitions.
    18. Go to the sentence: In comments to Primary, Davit said that “there is no universal empirical cutoff for B, and the paper does not establish one through market-data benchmarks.”
    19. Go to the sentence: Explaining the computational footprint, he noted that “for illustration, n = 1,000, K = 20 and B = 100,000 give a transition-count scale of two billion and a storage scale of two million entries.”
    20. Go to the sentence: Gondauri showed that when r is fixed and loadings are polynomially bounded integers, an exact solution can still be found in polynomial time using a multi-dimensional dynamic program.
    21. Go to the sentence: Davit told Primary that “the deterioration is multiplicative across factor dimensions.”
    22. Go to the sentence: He pointed out that “if each coordinate has approximately m possible loading sums, the loading-state space grows as m^r.”
    23. Go to the sentence: The proofs establish that specific constructed families of single-factor portfolio instances are NP-complete, which means that no general algorithm can guarantee a quick, exact optimum for every conceivable configuration of numbers.
    24. Go to the sentence: The results apply specifically to factor-encoded inputs, where the covariance structure is stored concisely as factor loadings and diagonal residual values rather than as an explicit grid of numbers.
    25. Go to the sentence: Because an explicit matrix encoding writes out all cross-asset relationships in full, it represents a different formal computational language.
    26. Go to the sentence: Gondauri also examined circuit complexity, constructing a bit projection from modular k-SUM into the portfolio decision language.
    27. Go to the sentence: The author demonstrated that the language cannot be recognized by nonuniform constant-depth circuits with unbounded fan-in, known as AC0 circuits, even under polynomially bounded coefficients.
    28. Go to the sentence: Davit told Primary that “providing the full covariance matrix does not remove the underlying worst-case NP-hardness,” since matrix entries can be computed from factor data in polynomial time.
    29. Go to the sentence: Instead, Davit explained that “the encoding distinction matters more specifically for the restricted-circuit argument.”
    30. Go to the sentence: When discussing why the circuit bounds do not rule out threshold circuits, Davit added that “the missing ingredient is a lower bound against threshold circuits for an appropriate source problem, not an additional encoding trick.”
    31. Go to the sentence: He noted that while “the independent AC0 argument uses parity,” threshold circuits can compute parity easily, meaning that “the paper establishes neither membership nor nonmembership in TC0 for the full language.”