arXiv:2604.02917math.OCcs.CE2026-04被引 1

用随机嵌入和加速梯度法,10秒内解决上万只股票的最优投资组合问题。

Scalable Mean-Variance Portfolio Optimization via Subspace Embeddings and GPU-Friendly Nesterov-Accelerated Projected Gradient

  • 通过随机子空间嵌入与谱截断压缩协方差矩阵,大幅降低计算规模。
  • 在5440只股票数据上,比Gurobi快23倍,仅需2.8秒完成求解。
  • 适合需要实时优化大规模金融资产组合的研究者与量化团队。

我们提出一种基于压缩的因子降维与Nesterov加速投影梯度算法(NPGA),实现大规模约束均值-方差投资组合优化的双重加速。从样本协方差因子 $L$ 出发,方法结合随机子空间嵌入、谱截断与岭正则化,构造有效因子 $L_{eff}$。随后通过标量对偶搜索计算结构化投影,并利用GPU友好的矩阵-向量核求解,形成统一计算流程,覆盖基准、压缩及Sketch-Truncate-Ridge(STR)正则化模型。理论方面,建立了压缩与STR模型的近似、条件与稳定性保证,包括在 $(\varepsilon,δ)$-子空间嵌入下协方差逼近、最优值误差与解扰动的显式 $O(\varepsilon)$ 上界。在合成与真实股票收益数据上的实验表明,该方法在保持目标精度的同时显著降低运行时间。在包含5440只股票、48374个训练期的真实数据基准上,NPGA-GPU在2.80秒内求解全量模型,相比Gurobi的64.84秒提速23倍;优化后的压缩GPU变体仍维持在个位数秒级别。结果表明,现代GPU上全密度模型已具备实用性,压缩后瓶颈转为投影而非矩阵-向量乘法。

原文摘要 · Abstract (English)

We develop a sketch-based factor reduction and a Nesterov-accelerated projected gradient algorithm (NPGA) with GPU acceleration, yielding a doubly accelerated solver for large-scale constrained mean-variance portfolio optimization. Starting from the sample covariance factor $L$, the method combines randomized subspace embedding, spectral truncation, and ridge stabilization to construct an effective factor $L_{eff}$. It then solves the resulting constrained problem with a structured projection computed by scalar dual search and GPU-friendly matrix-vector kernels, yielding one computational pipeline for the baseline, sketched, and Sketch-Truncate-Ridge (STR)-regularized models. We also establish approximation, conditioning, and stability guarantees for the sketching and STR models, including explicit $O(\varepsilon)$ bounds for the covariance approximation, the optimal value error, and the solution perturbation under $(\varepsilon,δ)$-subspace embeddings. Experiments on synthetic and real equity-return data show that the method preserves objective accuracy while reducing runtime substantially. On a 5440-asset real-data benchmark with 48374 training periods, NPGA-GPU solves the unreduced full model in 2.80 seconds versus 64.84 seconds for Gurobi, while the optimized compressed GPU variants remain in the low-single-digit-second regime. These results show that the full dense model is already practical on modern GPUs and that, after compression, the remaining bottleneck is projection rather than matrix-vector multiplication.

投资组合优化随机嵌入GPU加速金融算法

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。