---
title: Sequential Portfolio Optimizer (SPO-CPU and SPO-GPU): C++ Interior-Point Solvers and Differentiable Layers for Quadratic Cone Programs
url: https://www.ml-quant.com/papers/arxiv/2611.34590/
site: ML-Quant (https://www.ml-quant.com)
updated: 2026-11-30
license: Summaries CC BY 4.0; links go to the original sources
index: https://www.ml-quant.com/llms.txt
identifier: arXiv:2611.34590
source_url: https://arxiv.org/abs/2611.34590
featured: 2026-11-27
citations: unknown
topic: Portfolio & Allocation
---


# Sequential Portfolio Optimizer (SPO-CPU and SPO-GPU): C++ Interior-Point Solvers and Differentiable Layers for Quadratic Cone Programs

SPO presents C++ and CUDA interior-point solvers for quadratic cone programs with differentiable layers, achieving 24 ms per solve on a 5000-asset problem.

- Source: https://arxiv.org/abs/2611.34590
- Identifier: arXiv:2611.34590
- Released: 2026-11-26
- First featured: Quant Letter No. 141 (2026-11-27): https://www.ml-quant.com/issues/2026-11-27/
- Citations (Semantic Scholar): not tracked
- Published in: not yet
- Topic: Portfolio & Allocation
- Authors: Fan Zhao, Yan Zaretskiy, Yuwen Chen, Jerry Shi

## Abstract (arXiv, CC0)

Quadratic cone programs (QCPs) are a practical canonical form for convex optimization, including parametric portfolio problems that must be re-solved to high accuracy as market data change. We present Sequential Portfolio Optimizer (SPO), with SPO-CPU and SPO-GPU the C++ and CUDA realizations of the Clarabel homogeneous-embedding interior-point method. Clarabel is a registered trademark; SPO is our name for these implementations. Each exposes a forward optimizer and an in-solver differentiable layer. The Mehrotra algorithm is unchanged. The contribution is an implementation stack: a reduced two-block vector-Jacobian product with gradients in the original coordinates; a documented variant of the Chen--Goulart--Jones smoothing warm start, applied in equilibrated coordinates; and a GIL-free GPU batch architecture whose isolated throughput is at parity with a warm solver loop up to $B{=}16$. On an RTX A6000, subsequent solves of a $5000$-asset factor-model QP average $24$ ms on SPO-GPU, compared with $98$ ms on Clarabel.rs and $122$ ms on single-thread Gurobi; at $10{,}000$ assets the corresponding GPU time is $59$ ms against $439$ ms for one-thread Mosek. Clarabel.rs, SPO-CPU, and SPO-GPU agree pairwise to $2.2{\times}10^{-7}$ in relative objective on this family. Against a CVXPYLayers baseline driven by Clarabel, the GPU layer reproduces the solution and the return-gradient on a $5000$-asset factor QP/SOCP, while a subsequent forward-plus-backward step is $101$--$137\times$ faster at $5000$ assets (and $17$--$30\times$ at $1000$ assets). The smoothing warm start reduces QP rebalance iterations but can increase them on a large GPU second-order cone. Wall-clock rankings apply to the factor-model family only; an $18$-problem Maros--Mészáros subset is reported as a cross-check. We do not claim a speedup over CuClarabel, and the batch architecture is not a measured throughput improvement.

## Related

- [Market Regime-Based Multi-Asset Portfolio Optimization Using Nested Clustered Optimization for Tactical Asset Allocation](https://www.ml-quant.com/papers/arxiv/2610.27751/): The study integrates market regime detection with Nested Clustered Optimization to build multi-asset portfolios, showing improved risk-adjusted returns and reduced downside risk versus regime-agnostic approaches.
- [Conditional value-at-risk under reward-penalty mechanism with applications to robust portfolio management](https://www.ml-quant.com/papers/arxiv/2610.09246/): Derives a closed-form expression for worst-case conditional value-at-risk under reward-penalty mechanisms and distribution uncertainty, enabling optimal portfolio allocations that balance losses with downside risk.
- [The Critical Line Algorithm and the Constrained LASSO: One Curve, Two Literatures](https://www.ml-quant.com/papers/arxiv/2609.25704/): Shows that mean-variance portfolio selection and the constrained LASSO trace identical piecewise-linear solution paths, mapping their parametrizations exactly.
- [Optimal Investment and Consumption in Financial Markets with Integrated Variance Clocks](https://www.ml-quant.com/papers/arxiv/2609.26349/): Characterizes optimal consumption and investment strategies in markets with stochastic volatility clocks using infinite-horizon backward SDEs, extending to rough and hyper-rough regimes.
- [DeePM: Regime-Robust Deep Learning for Systematic Macro Portfolio Management](https://www.ml-quant.com/papers/arxiv/2601.05975/): Deep Learning for Portfolio Management: DeePM uses deep learning to improve macro portfolio management, delivering better risk-adjusted returns than traditional methods across various economic conditions.
- [Regulating Cash Holdings: Assessing Lost Returns in Mutual Funds](https://www.ml-quant.com/papers/ssrn/4478272/): Israeli mutual funds hold excessive cash, indicating a need for better liquidity management to reduce redemption risks.
