The Efficient Frontier from a LASSO Solver

arXiv:2609.37108 · q-fin.CP, stat.ME · Submitted 2026-09-29 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Quantitative Finance. The day in quantitative finance: models of markets, risk and prices.

Ruth: I'm Ruth.

Warren: And I'm Warren, here with Iris.

Ruth: We're looking at the paper: "The Efficient Frontier from a LASSO Solver".

Title and authors: Ruth: So we're looking at this paper today, "The Efficient Frontier from a LASSO Solver." It’s by Thomas Schmelzer and Hastie. The title tells you right away that they are connecting a specific mathematical tool, the LASSO solver, to something very practical in finance—the efficient frontier.

Warren: It sounds like they are bridging the gap between theoretical optimization methods and finding actual investment portfolios. I wonder what kind of results we can expect from linking a regularization technique like LASSO to Markowitz's classical problem.

Iris: Exactly, Warren. The core idea seems to be that they prove these two different approaches, Markowitz’s Critical Line Algorithm and this LASSO path trace the exact same curve when you look at the right conditions.

Ruth: That sounds significant because it suggests a unified way to find those optimal portfolios across different modeling setups. It’s not just about finding one frontier; it's about showing that two seemingly different mathematical paths lead to the identical result.

Warren: If that’s true, it means we don't have to choose between using a traditional quadratic programming approach or this iterative path-tracing method when we want to map out where the best risk versus return trade-offs are located.

Iris: That’s the practical implication I see immediately: consistency. If they can show that every corner returned by this LASSO solver meets those optimality conditions, that gives us a lot of confidence in the resulting portfolio points.

Ruth: Right, so it’s about establishing mathematical equivalence between two distinct optimization frameworks for charting investment strategy. It’s a fundamental piece of connecting those dots on the frontier.

Warren: So we can stop worrying about which solver is inherently better and just use this path-tracing method to generate those frontier points consistently across various scenarios like long-short or long-only setups.

The paper's summary: Ruth: Now let’s look at what the paper actually boils down to. They show that Markowitz’s mean variance problem can be transformed into a least squares problem under certain conditions. That transformation involves setting up variables so that one part of the portfolio equation becomes related to the squared error of fitting some data points, which simplifies things significantly.

Warren: A least squares problem is much more computationally tractable than solving a full quadratic program directly, especially as the number of assets grows. So they’re essentially translating the complex variance minimization into a simpler regression task.

Iris: And they show that this transformation leads to solving normal equations, which gives you a sum of weights equal to some target return, and that's what drives the solution for those optimal portfolios >

Ruth: But it’s not just about getting an answer; it’s about tracing the path. They describe how the LASSO path itself is piecewise linear in terms of a variable, let's call it t, and how its moves behave similarly to its penalty steps as you increase that penalty parameter.

Warren: So instead of solving a massive grid of penalties one by one, you can follow this single path trace and find those optimal points directly. That seems much more efficient for high-dimensional problems.

Iris: The paper details an algorithm to recover all those corners by shifting the penalty using some computed value, let's call it nu zero. This shift helps ensure that the end of the path doesn't just merge into the last corner you found >

Ruth: It sounds like they’ve developed a systematic way to find every single corner on the frontier without having to search in a brute-force manner across many different penalty settings. That’s a big step for generating comprehensive market maps.

Warren: If this works as described, it means we can generate the entire efficient frontier much faster than those older methods that required solving a grid of quadratic programs >

The paper's improvements: Ruth: The paper points out several ways this method is better than what was done before. For instance, they show how the long-only path is traced by using the nonnegative LASSO, which naturally handles the constraint that you can only have positive weights in a long-only portfolio >

Warren: That’s useful because it directly addresses constraints without needing to add separate penalty terms for those constraints, which keeps the optimization cleaner and more robust.

Iris: And they mention using an algorithm to recover all corners by shifting the penalty, which I think is key because it ensures that you capture every possible corner on that frontier >

Ruth: They also show this method works in complex settings like long-short portfolios under a leverage cap, or even fixed leverage with varying risk appetite. This shows the flexibility of the method beyond just simple long-only setups >

Warren: So the paper suggests this isn't just a niche tool for one type of portfolio; it’s robust enough to handle many different constraints and market regimes, which is what we need when things get complicated >

Iris: The numerical checks they performed were pretty thorough. They verified their results against independent quadratic programming solvers and even on factor models involving up to five hundred assets, which gives a good sense of the method's stability >

Ruth: So the authors are suggesting that this path algorithm is not just theoretically sound but has been numerically validated across a wide range of real-world scenarios, proving it works where they need it to.

Conclusion: Ruth: To wrap up on "The Efficient Frontier from a LASSO Solver," the main implication is that we have established a reliable way to generate the frontier by showing its identity with the LASSO path, which is much more computationally accessible than traditional methods. It gives us a direct, systematic algorithm for finding those optimal points.

Warren: It means that for quantitative trading systems or even complex investment strategies, we can rely on this path-tracing approach to quickly map out where the best risk versus return trade-offs are located without getting bogged down in grid searches >

Iris: And from an econometric perspective, the confirmation that every corner meets those optimality conditions to about ten minus thirteen gives us a strong mathematical grounding for trusting these derived portfolio points >

Ruth: So, we’ve seen how they connected the mean variance problem to a least squares setup and shown how this path tracing method systematically recovers all the corners on the frontier. It’s a powerful tool for generating those maps >

Warren: It’s about making sure that when you generate a portfolio, you are hitting one of those true optimal points, not just an approximation from a quick grid search >

Iris: Exactly. The paper gives us confidence in the accuracy of the derived frontier when applied to things like long-short portfolios under specific constraints >

q-fin.CP, stat.ME

Submitted: 2026-09-29

Updated: 2026-10-14

Comments: 9 pages, 2 figures, 1 table. Companion note to arXiv:2609.25704. Code and data: https://github.com/Jebel-Quant/lasso

Journal ref: Journal of Reproducible Statistics 1, 7 (2026)

DOI: 10.68365/jrepstat.2026.7

Code: https://github.com/Jebel-Quant/lasso

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 83/100

The gist: Schmelzer and Hastie prove that Markowitz’s Critical Line Algorithm and the LASSO path trace the same curve.<ref:2609.37108#pg1,The Efficient Frontier from a LASSO Solver>.

Key concepts

Critical Line Algorithm (CLA)
A method used in Markowitz's theory to find the optimal portfolio frontier. It defines a specific curve representing the best possible risk-return trade-off achievable under certain constraints, which is equivalent to solving complex optimization problems.
LASSO Path
The path traced by applying the LASSO regularization technique as a parameter changes. This path serves as an alternative method to find the efficient frontier, showing it follows the same curve as the CLA in many scenarios.
Mean-Variance Problem Equivalence
The paper shows that finding an optimal mean-variance portfolio is mathematically equivalent to solving a least-squares problem under specific conditions. This transformation allows researchers to use simpler linear algebra techniques to solve the complex portfolio optimization task.

Terminology

Summary

Schmelzer and Hastie prove that Markowitz’s Critical Line Algorithm and the LASSO path trace the same curve. p. 0

Where the paper says it

The Efficient Frontier from a LASSO Solver A numerical check of the CLA–LASSO identity Thomas Schmelzer 26 September 2026 Abstract Schmelzer and Hastie prove that Markowitz’s Critical Line Algorithm and the LASSO path trace the same curve. This companion note checks that result numerically with a stock LASSO solver, lars_path from scikit-learn, and no portfolio software.

<ref:2609.37108#pg1,The Efficient Frontier from a LASSO Solver>. p. 0
Where the paper says it

The Efficient Frontier from a LASSO Solver A numerical check of the CLA–LASSO identity Thomas Schmelzer 26 September 2026 Abstract Schmelzer and Hastie prove that Markowitz’s Critical Line Algorithm and the LASSO path trace the same curve. This companion note checks that result numerically with a stock LASSO solver, lars_path from scikit-learn, and no portfolio software.

This companion note checks that result numerically with a stock LASSO solver, lars path from scikit-learn, and no portfolio software. p. 0
Where the paper says it

The Efficient Frontier from a LASSO Solver A numerical check of the CLA–LASSO identity Thomas Schmelzer 26 September 2026 Abstract Schmelzer and Hastie prove that Markowitz’s Critical Line Algorithm and the LASSO path trace the same curve. This companion note checks that result numerically with a stock LASSO solver, lars_path from scikit-learn, and no portfolio software.

<ref:2609.37108#pg1,A numerical check of the CLA–LASSO identity>. p. 0
Where the paper says it

The Efficient Frontier from a LASSO Solver A numerical check of the CLA–LASSO identity Thomas Schmelzer 26 September 2026 Abstract Schmelzer and Hastie prove that Markowitz’s Critical Line Algorithm and the LASSO path trace the same curve. This companion note checks that result numerically with a stock LASSO solver, lars_path from scikit-learn, and no portfolio software.

The Core Identity

The paper establishes that Markowitz’s Critical Line Algorithm and the LASSO path trace the same curve.<ref:2609.37108#pg1,Schmelzer and Hastie prove that Markowitz’s Critical Line Algorithm and the LASSO path trace the same curve>. p. 0

Where the paper says it

The Efficient Frontier from a LASSO Solver A numerical check of the CLA–LASSO identity Thomas Schmelzer 26 September 2026 Abstract Schmelzer and Hastie prove that Markowitz’s Critical Line Algorithm and the LASSO path trace the same curve. This companion note checks that result numerically with a stock LASSO solver, lars_path from scikit-learn, and no portfolio software.

This result is numerically verified across several settings including long–short portfolios under a leverage cap, fixed leverage with varying risk appetite, and the classical long-only frontier. p. 0
Where the paper says it

This companion note checks that result numerically with a stock LASSO solver, lars_path from scikit-learn, and no portfolio software. It covers long–short portfolios under a leverage cap, fixed leverage with varying risk appetite, and the classical long-only, fully invested frontier.

<ref:2609.37108#pg1,It covers long–short portfolios under a gross-exposure cap, where the plain LASSO path is the frontier (Section 5);2609. p. 0
Where the paper says it

This note checks that result numerically, by computing frontiers with a LASSO solver and testing them against independent solvers, in three settings: 1. long–short under a gross-exposure cap, where the plain LASSO path is the frontier (Section 5); 2.

37108#pg1>. Every corner the path returns meets its own optimality conditions to about 10−13 and agrees with independent quadratic-programming solvers. p. 0
Where the paper says it

It covers long–short portfolios under a leverage cap, fixed leverage with varying risk appetite, and the classical long-only, fully invested frontier. Every corner the path returns meets its own optimality conditions to about 10−13 and agrees with independent quadratic-programming solvers, on factor models of up to 500 assets, on the Fama–French size and book-to-market portfolios, and on daily returns of 494 S&P 500 stocks.

<ref:2609.37108#pg4>.

Mathematical Transformation

The mean–variance problem is shown to be equivalent to a least-squares problem under certain conditions.<ref:2609.37108#pg4>. The transformation involves setting up variables such that for every portfolio w 1/2 w⊤Σw − µ⊤w = 1/2 y − Xw squared / 2 - 1/2 y squared / 2. p. 3

Where the paper says it

The stopping point v0 = arg minv≥0 1 2 v ⊤Σv − µ ⊤v is the end of Section 5 with long-only weights. Writing v = sw with 1 ⊤w = 1 and maximising over the scale s ≥ 0 first leaves 1 2 (µ ⊤w) 2/w⊤Σw, half the squared Sharpe ratio, so v0/1 ⊤v0 is the long-only maximum-Sharpe portfolio, at tilt 0.

<ref:2609.37108#pg4>. The last line solves the normal equations X⊤Xw = X⊤y, which are Σw = µ <ref:2609. p. 1
Where the paper says it

T @ y == mu w = np. lstsq(X, y)[0] # unconstrained optimum Sigma^{-1} mu The last line solves the normal equations X⊤Xw = X⊤y, which are Σw = µ.

37108#pg4>.

Path Tracing Mechanisms

The LASSO path is piecewise linear in t and behaves similarly to its penalty moves.<ref:2609.37108#pg2,The LASSO fits least squares under ||β||1 ≤ t and so shrinks and selects at once. p. 1

Where the paper says it

Tobin [21] and Sharpe [18] moved the picture to the (σ, E) plane, where Sharpe located the dominant portfolio, the one with the highest Sharpe ratio, at the tangent from the riskless rate. The LASSO fits least squares under ∥β∥1 ≤ t and so shrinks and selects at once.

Its path is piecewise linear in t>. p. 1
Where the paper says it

The LASSO fits least squares under ∥β∥1 ≤ t and so shrinks and selects at once. Its path is piecewise linear in t.

The long-only path is traced by the nonnegative LASSO. p. 0
Where the paper says it

fixed leverage with varying risk appetite, where the same path is rescaled (Section 6); 3. long only and fully invested, where the nonnegative LASSO path, shifted once, covers the whole frontier in one call (Section 7, Algorithm 1).

<ref:2609.37108#pg7>. The paper details an algorithm to recover all corners by shifting the penalty using a computed value ν0. p. 5
Where the paper says it

Solve X⊤d = 1, compute νlast and set ν0 as above. Run the positive LASSO on y − ν0d with max_iter well above n, and recover ν = ν0 + nrowsα.

<ref:2609.37108#pg7>

Numerical Validation and Findings

Numerical evidence confirms the theoretical results, with KKT residuals below specified tolerances.<ref:2609.37108#pg8>2609. p. 0

Where the paper says it

2 Background Markowitz [13] called a portfolio efficient if no other has a higher expected return E without a higher variance V , or a lower V without a lower E. Traced by minimising 1 2 V − λE over fully invested portfolios for λ ≥ 0, they form the efficient frontier, with the minimum-variance 1 arXiv:2609.

37108/pg8,The long only path of Section 7 is traced by the positive LASSO traces it, and each column divided by its sum is a corner portfolio at tilt 1/1⊤v. p. 3
Where the paper says it

, positive=True) traces it, and each column divided by its sum is a corner portfolio at tilt 1/1 ⊤v. Called on (X, y) the path runs from ν = maxj µj down to ν = 0 and stops there, because a LASSO solver takes no negative penalty.

Practical Application

The path algorithm is superior to solving a grid of quadratic programs because it returns the corners themselves.<ref:2609.37108#pg4>. The method requires no specialized portfolio software for corner portfolios. p. 6

Where the paper says it

9 When to use it The path beats a grid of QP solves, cold- or warm-started, on both speed and accuracy. LARS is in R and scikit-learn, the positive LASSO only in scikit-learn, so corner portfolios need no portfolio software, and one call shows that the knots of a LASSO path and the turning points of a frontier are the same points.

<ref:2609.37108#pg9>. The authors recommend using a shift ν0 computed in advance to ensure the end of the path does not merge with the last corner. p. 4
Where the paper says it

0118 on the portfolio data of Section 8, where µ is small. The margin δ in ν0 = νlast − δ max(|νlast|, ∥µ∥∞) has to be large enough that the end of the path does not merge with the last corner, and small enough not to cost accuracy, which falls roughly in proportion to |ν0|.

<ref:2609.37108#pg7>. The code and data are available in a locked environment for reproducibility. p. 0
Where the paper says it

One shift of the response, by an amount computed in advance, lets a single call reach the minimum-variance portfolio. The script, its checks, the Fama–French returns and an R cross-check are published, with a locked environment, so that anyone can repeat them.

<ref:2609.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Support for real-world portfolio optimization using LASSO solvers allows AI systems to find optimal portfolios in long-short settings under leverage caps or fixed leverage scenarios by tracing the same curve as Markowitz’s Critical Line Algorithm and LARS path.

  2. AI systems can utilize the shift technique, where One shift of the response, by an amount computed in advance, lets a single call reach the minimum-variance portfolio, enabling the calculation of portfolios that meet their own optimality conditions to about 10-13.

  3. The system can replace computationally expensive grid-based quadratic programming solves with path algorithms that return the corners themselves, which are the points where an asset enters or leaves a portfolio, leading to faster and more accurate frontier tracing.

  4. AI models can be trained to use the minimum-variance support S, defined as the support of arg minu≥0 ∥Xu − d∥2, to find optimal long-only portfolios by using the last corner nu last and interpolating between known points on the path.

  5. The system can perform rapid numerical checks against independent quadratic programming solvers and factor models of up to 500 assets, ensuring that the derived frontier is robust across different modeling approaches.

Abstract

Schmelzer and Hastie prove that Markowitz's Critical Line Algorithm and the LASSO path trace the same curve. This companion note checks that result numerically with a stock LASSO solver, lars_path from scikit-learn, and no portfolio software. It covers long--short portfolios under a leverage cap, fixed leverage with varying risk appetite, and the classical long-only, fully invested frontier. Every corner the path returns meets its own optimality conditions to about 10-13 and agrees with independent quadratic-programming solvers, on factor models of up to 500 assets, on the Fama--French size and book-to-market portfolios, and on daily returns of 494 S&P 500 stocks. Called naively, the long-only path stops at the maximum-Sharpe portfolio. One shift of the response, by an amount computed in advance, lets a single call reach the minimum-variance portfolio. The script, its checks, the Fama--French returns and an R cross-check are published, with a locked environment, so that anyone can repeat them.

Sources

Related papers