<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">

Three Essays on Deep Learning in Finance

Loading...
Thumbnail Image

Date

2026-08-13

Authors

Paluszkiewicz, Niklas

Journal Title

Journal ISSN

Volume Title

Publication type

Document version

Distributor

Universität Ulm

Published in

Abstract

Recent advances in deep learning have substantially expanded the empirical toolkit in economics and finance over recent years. Neural networks can approximate complex nonlinear relationships, integrate heterogeneous information, and scale to high-dimensional predictor sets. At the same time, financial applications remain challenging as effective sample size is often limited, the data-generating process is non-stationary, and signals are weak relative to noise. These features make it difficult for flexible models to deliver robust out-of-sample improvements without careful design. These advances, from convolutional networks to attention-based sequence models (Vaswani et al. (2017)), suggest that improved performance rarely comes from complexity alone. Instead, results tend to improve when model design reflects the structure of the data (e.g., temporal dependence, cross-sectional interactions, or spatial patterns) and when the training objective is aligned with the relevant outcome. Accordingly, this dissertation examines different architectural choices that capture key features of financial data in different ways and assigns learning objectives that correspond directly to the economic goals of the underlying optimization task. The Capital Asset Pricing Model (CAPM) has long served as a cornerstone of modern financial theory, yet its empirical validity has been challenged. Fama and French (1992) famously demonstrated that, with a shot straight at the heart of the SLB model, it fails to hold under real-world conditions. This critique underscores, among other things, the limitations of traditional linear models in capturing the complex, state-dependent relationships observed in modern financial markets. In contrast, deep learning provides an opportunity to model non-linear relationships and interactions that may offer more robust predictive capabilities not only in asset pricing but also in financial economics as a whole. This thesis explores the diverse applications of deep learning in finance. The inherent flexibility of neural networks makes them well-suited for a wide range of tasks within financial economics. In recent years, there has been a noticeable shift in the literature, with machine learning and deep learning models extending beyond traditional linear approaches in areas such as factor model estimation (Chen et al. (2024), Gu et al. (2021), Bryzgalova et al. (2023)), risk premia forecasting (Bianchi et al. (2021), Cong et al. (2021)), and expected return prediction (Gu et al. (2020), Chen et al. (2022), Obaid and Pukthuanthong (2022)). These advances demonstrate the growing relevance of deep learning algorithms in enhancing not only predictive accuracy, but also our general understanding of principles in financial economics. In this thesis, I demonstrate across three chapters how neural networks can be tailored for specific applications in statistical arbitrage, portfolio management, and realized volatility forecasting. While deep learning has achieved remarkable success in fields such as generative artificial intelligence, its application to financial data presents distinct challenges. As mentioned earlier, financial data often exhibit unique characteristics such as non-stationarity due to changing market environments, heavy tails, a low signal-to-noise ratio and data sets that are often severely constrained along the time-series dimension. Imposing structure on the learning problem guided by economic theory might therefore lead to more robust models which may improve on the use of information available in a relatively data scarce finance world (Kelly and Xiu (2023)). To effectively leverage neural networks in this context, the architecture must be carefully adapted to align with the specific economic objectives of each task. Furthermore, these economic goals can be explicitly incorporated into the optimization process, ensuring that the model’s training not only focuses on predictive accuracy but also accounts for domain-specific constraints or financial performance measures. By integrating these considerations, deep learning models can be better suited to address the unique challenges inherent in financial applications. The first chapter of this thesis employs a network architecture that has made significant advancements in computer vision: Convolutional Neural Networks (CNNs). CNNs have become the dominant tool for various types of image analysis, such as pattern recognition and object identification. The ability to accurately identify patterns has clear parallels in financial markets, where investors and researchers have long sought to discover reliable price patterns that can be leveraged for profit. In technical analysis, stock chart patterns are often derived through an iterative process of hypothesis testing and falsification. This has resulted in a wide range of price patterns believed to predict future market movements. However, the interpretation and belief in these patterns can vary depending on the analyst's personal perspective and underlying assumptions. Instead of relying on the subjective interpretation of stock charts by analysts, the CNN is able to learn predictive patterns depicted in the images. The patterns learned by CNNs depend on both the visual representation of the price series and the labels used to supervise the training process. CNN architectures are specifically designed to handle high-dimensional input spaces, and they typically consist of three main components: a convolutional window function, a nonlinear activation function, and a pooling operation. Additional improvements, such as residual connections, can further enhance this basic architecture. The window function slides over the image, which is represented as an array of pixel values. During training, the parameters of this window function are optimized to detect similar patterns across different regions of the input image. These learned patterns are then combined in later layers to form more complex and abstract features. A notable example of CNN application in finance comes from Jiang et al. (2023), who use grayscale images of candlestick charts for US stocks to predict future price movements. I apply CNNs in the context of statistical arbitrage. Arbitrage portfolios are constructed by hedging individual stocks’ factor exposures and combining these hedged portfolios into long-short decile portfolios. The CNNs are trained on RGB image representations of the joint dynamics of a stock, its hedge portfolio, and the residual spread, and they produce a probability ranking for next-month arbitrage returns. Empirically, subsequent realized excess returns increase almost monotonically across predicted-probability deciles. In the strongest specification, the high-minus-low portfolio achieves an average monthly excess return spread of 0.83% and an annualized Sharpe ratio up to 0.97. These profits are not fully explained by standard risk-factor models considered in this study and exhibit only weak correlation with common benchmark signals such as reversal. The results are robust across image-design choices and remain present under execution lags, with three-months images displaying the greatest robustness. The second chapter addresses the notoriously difficult task of managing a portfolio of assets to ensure efficient allocation of an investor's resources. In a mean-variance framework proposed by Markowitz (1952), this problem involves optimizing the investor’s utility function, which requires estimating both the expected returns and the variances of the assets included in the portfolio. Ultimately, portfolio selection comes down to distributional assumptions of asset returns and the estimation of the moments of this distribution. If the return distribution is accurately known, the utility function can be optimized accordingly. However, treating the estimation and allocation steps independently can lead to suboptimal outcomes. It may be advantageous to bypass the step of estimating the distributional properties of individual assets and instead focus directly on optimizing the portfolio weights. As noted by Kelly and Xiu (2023), estimation noise can degrade the accuracy of return forecasts and should therefore be integrated directly into the portfolio choice process. Brandt (1999) describes the estimation of the first moment of the return distribution as in many two-step machine learning approaches as the Achilles’ heel of the portfolio choice problem. Early examples of directly optimizing portfolio weights by focusing on the utility function and employing a linear combination of covariates include work by Brandt et al. (2009) or DeMiguel et al. (2014). In my research, I extend this approach by integrating a neural network in the estimation process to capture nonlinearities and interdependencies between assets. The portfolio weight optimization problem can be expressed in simplified general terms as: w ̂= f(X) where w ̂ is the vector of estimated portfolio weights conditioned on the input matrix X. The core focus here is on the function f, which maps the covariates to the portfolio weights. When a neural network is employed as f, the network's architecture, along with an appropriate utility function, determines how the inputs are connected to the portfolio weights. The flexibility and robustness of this method are thus closely tied to the underlying network structure. The network design in this thesis enables the optimization of long-short portfolios for any number of assets and any differentiable utility function. By sharing parameters across the network, the model becomes robust to noise in individual asset return time series. Furthermore, by extending the architecture to incorporate previous portfolio weights as inputs, the network can account for portfolio turnover and thereby reduce transaction costs when such considerations are embedded directly in the optimization objective. Empirically, I evaluate the networks in the context of cross-sectional factor-timing portfolios based on anomaly signals. The resulting portfolios generate economically meaningful and persistent out-of-sample gains over the period from January 1980 to December 2024. Profitability is weaker in the post-2000 subsample, reflecting both lower average factor returns and a decline in the predictive content of the signals. Over most of the sample, the nonlinear networks outperform linear benchmarks, forecast-then-rank approaches, and random allocations in terms of both average return and Sharpe ratio. Moreover, these economic gains remain robust to transaction costs when these costs are incorporated directly into the objective function used to update the portfolio weights. The third and final chapter studies the classic tension between parsimony and flexibility in realized variance forecasting. While the literature on realized variance forecasting is extensive, with numerous econometric models proposed to capture the key characteristics of stock return volatility, one particularly simple and intuitive but highly successful model is the Heterogeneous Autoregressive (HAR) model introduced by Corsi (2009). The HAR model employs a simple structure with three autoregressive predictors namely, the realized variance from the previous day, the previous week, and the previous month to forecast the day-ahead realized variance. Compared to the notoriously challenging task of predicting expected returns, realized variance forecasting benefits from a much higher signal-to-noise ratio, which has contributed to the success of econometric models in this domain. This raises the question of whether more sophisticated nonlinear models can leverage the predictive information in realized variance more effectively, potentially outperforming their linear counterparts. However, recent studies by Branco et al. (2024) and Audrino and Chassot (2026) cast doubt on this assumption, as their findings suggest that simple HAR models perform comparably to nonlinear alternatives. To forecast the one-step ahead log daily realized variance of the S&P 500, I construct nested predictor sets that range from the standard log-HAR inputs to richer sets that incorporate international spillovers and additional realized measures. Within these modelling setups of varying complexity, I compare the log-HAR benchmark to scalable nonlinear alternatives – deep neural networks that explicitly nest a linear solution. The results indicate that additional model flexibility provides little incremental value when market conditions are calm. Performance gains are concentrated in high-volatility regimes, where nonlinearities and tail behaviour become most relevant. These statistical findings also translate into economic outcomes. In volatility-targeting trading strategies that keep trading-rule parameters fixed across models, appropriately trained complex networks achieve higher certainty-equivalent gains and Sharpe ratios, while benefits flatten or even deteriorate at very high complexity, especially in compact or noisy feature environments.

Description

Faculties

Fakultät für Mathematik und Wirtschaftswissenschaften

DFG Project uulm

EU Project uulm

Other projects uulm

Citation

Is version of

Has version

Supplement to

Supplemented by

Has erratum

Erratum to

Has Part

Part of

DOI external

DOI external

Institutions

Periodical

Degree Program

DFG Project THU

EU Project THU

Other projects THU

Series

Collections

Endorsement

Review

Supplemented By

Referenced By

Zeitraum:

Creative Commons license

Except where otherwised noted, this item's license is described as CC BY 4.0 International