Smart classify and optimize for portfolio construction - a differentiable quadratic programming approach
Preprint
- 16 September 2025
- preprint
- Published by Springer Nature in Research Square
Abstract
Portfolio construction requires not only allocating capital but also selecting which assets to include. In practice, these two steps are typically separated: a clas-sifier such as a support vector machine (SVM) screens assets, after which a mean–variance optimizer (MVO) allocates capital on the retained set. This two-stage design enforces a fixed screening boundary, ignoring the fact that investors with different return targets may prefer different sets of assets. We propose an end-to-end framework that integrates screening and allocation into a single dif-ferentiable optimization pipeline. Both the SVM and the MVO are represented as quadratic programming (QP) layers, connected through a differentiable gat-ing mechanism that enables gradient-based training. This formulation adapts the screening hyperplane to the investor’s return goal, effectively coupling asset selection with allocation. Empirical results on sector-diversified U.S. equities demonstrate that the integrated model delivers improved risk–return trade-offs over the two-stage baseline, with pronounced gains in volatile market regimes, representing the first differentiable integration of SVM and MVO.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Integration of support vector machines and mean-variance optimization for capital allocationEuropean Journal of Operational Research, 2024
- Integrating prediction in mean-variance portfolio optimizationQuantitative Finance, 2023
- Feature selection for Support Vector Machines via Mixed Integer Linear ProgrammingInformation Sciences, 2014
- Financial time series forecasting using support vector machinesNeurocomputing, 2003
- On Portfolio Optimization: Forecasting Covariances and Choosing the Risk ModelThe Review of Financial Studies, 1999
- Support-vector networksMachine Learning, 1995
- Portfolio SelectionThe Journal of Finance, 1952