q-fin.GNAug 4, 2021

Machine Learning Classification and Portfolio Construction: Does the Loss Function Matter?

Authors: Yang BaiKuntara Pukthuanthong

Organizations: College of Business and Economics, California State University, Fullerton · Trulaske Sr. College of Business, University of Missouri

Abstract

Classification outperforms regression across matched machine learning models in portfolio construction. A stacking ensemble of gradient boosted tree, random forest, and neural network yields a value-weighted annualized Sharpe ratio of 1.83 for classification and 1.11 for regression. This outperformance persists in multiclass settings, across subsamples, and after transaction costs. Spanning tests show that classification retains economically large alphas after we control for regression, whereas regression alphas shrink substantially once we control for classification. These results indicate that classification extracts more return information than matched regression. Our diagnostics trace classification's advantage to sharper and more precise separation of return deciles.

Explore similar work

CardsList
  1. Ratio-based Loss Functions

    May 7, 2026Lena Helgerth, Andreas ChristmannLoss FunctionLipschitz Constant