PyTorchKR Papers

최신 논문

총 428편
태그·기간 등 상세 필터

카테고리 탐색

로그인 후 이 태그 구독

arXiv:2412.18563공식 코드 · Papers with Code

A Deep Reinforcement Learning Framework for Dynamic Portfolio Optimization: Evidence from China's Stock Market

Artificial intelligence is transforming financial investment decision-making frameworks, with deep reinforcement learning demonstrating substantial potential in robo-advisory applications. This paper addresses the limitations of traditional portfolio optimization methods in dynamic asset weight adjustment through the development of a deep reinforcement learning-based dynamic optimization model grounded in practical trading processes. The research advances two key innovations: first, the introduction of a novel Sharpe ratio reward function engineered for Actor-Critic deep reinforcement learning algorithms, which ensures stable convergence during training while consistently achieving positive average Sharpe ratios; second, the development of an innovative comprehensive approach to portfolio optimization utilizing deep reinforcement learning, which significantly enhances model optimization capability through the integration of random sampling strategies during training with image-based deep neural network architectures for multi-dimensional financial time series data processing, average Sharpe ratio reward functions, and deep reinforcement learning algorithms. The empirical analysis validates the model using randomly selected constituent stocks from the CSI 300 Index, benchmarking against established financial econometric optimization models. Backtesting results demonstrate the model's efficacy in optimizing portfolio allocation and mitigating investment risk, yielding superior comprehensive performance metrics.

arXiv:2412.17293

Multimodal Deep Reinforcement Learning for Portfolio Optimization

We propose a reinforcement learning (RL) framework that leverages multimodal data including historical stock prices, sentiment analysis, and topic embeddings from news articles, to optimize trading strategies for SP100 stocks. Building upon recent advancements in financial reinforcement learning, we aim to enhance the state space representation by integrating financial sentiment data from SEC filings and news headlines and refining the reward function to better align with portfolio performance metrics. Our methodology includes deep reinforcement learning with state tensors comprising price data, sentiment scores, and news embeddings, processed through advanced feature extraction models like CNNs and RNNs. By benchmarking against traditional portfolio optimization techniques and advanced strategies, we demonstrate the efficacy of our approach in delivering superior portfolio performance. Empirical results showcase the potential of our agent to outperform standard benchmarks, especially when utilizing combined data sources under profit-based reward functions.

arXiv:2412.12576

Market-Neutral Strategies in Mid-Cap Portfolio Management: A Data-Driven Approach to Long-Short Equity

Mid-cap companies, generally valued between \$2 billion and \$10 billion, provide investors with a well-rounded opportunity between the fluctuation of small-cap stocks and the stability of large-cap stocks. This research builds upon the long-short equity approach (e.g., Michaud, 2018; Dimitriu, Alexander, 2002) customized for mid-cap equities, providing steady risk-adjusted returns yielding a significant Sharpe ratio of 2.132 in test data. Using data from 2013 to 2023, obtained from WRDS and following point-in-time (PIT) compliance, the approach guarantees clarity and reproducibility. Elements of essential financial indicators, such as profitability, valuation, and liquidity, were designed to improve portfolio optimization. Testing historical data across various markets conditions illustrates the stability and resilience of the tactic. This study highlights mid-cap stocks as an attractive investment route, overlooked by most analysts, which combine transparency with superior performance in managing portfolios.

arXiv:2412.11019

PolyModel for Hedge Funds' Portfolio Construction Using Machine Learning

The domain of hedge fund investments is undergoing significant transformation, influenced by the rapid expansion of data availability and the advancement of analytical technologies. This study explores the enhancement of hedge fund investment performance through the integration of machine learning techniques, the application of PolyModel feature selection, and the analysis of fund size. We address three critical questions: (1) the effect of machine learning on trading performance, (2) the role of PolyModel feature selection in fund selection and performance, and (3) the comparative reliability of larger versus smaller funds. Our findings offer compelling insights. We observe that while machine learning techniques enhance cumulative returns, they also increase annual volatility, indicating variability in performance. PolyModel feature selection proves to be a robust strategy, with approaches that utilize a comprehensive set of features for fund selection outperforming more selective methodologies. Notably, Long-Term Stability (LTS) effectively manages portfolio volatility while delivering favorable returns. Contrary to popular belief, our results suggest that larger funds do not consistently yield better investment outcomes, challenging the assumption of their inherent reliability. This research highlights the transformative impact of data-driven approaches in the hedge fund investment arena and provides valuable implications for investors and asset managers. By leveraging machine learning and PolyModel feature selection, investors can enhance portfolio optimization and reassess the dependability of larger funds, leading to more informed investment strategies.

arXiv:2412.06417

Systematic comparison of deep generative models applied to multivariate financial time series

Financial time series (FTS) generation models are a core pillar to applications in finance. Risk management and portfolio optimization rely on realistic multivariate price generation models. Accordingly, there is a strong modelling literature dating back to Bachelier's Theory of Speculation in 1901. Generating FTS using deep generative models (DGMs) is still in its infancy. In this work, we systematically compare DGMs against state-of-the-art parametric alternatives for multivariate FTS generation. We initially compare both DGMs and parametric models over increasingly complex synthetic datasets. The models are evaluated through distance measures for varying distribution moments of both the full and rolling FTS. We then apply the best performing DGM models to empirical data, demonstrating the benefit of DGMs through a implied volatility trading task.

arXiv:2412.03981

Epoch-based Application of Problem-Aware Operators in a Multiobjective Memetic Algorithm for Portfolio Optimization

We consider the issue of intensification/diversification balance in the context of a memetic algorithm for the multiobjective optimization of investment portfolios with cardinality constraints. We approach this issue in this work by considering the selective application of knowledge-augmented operators (local search and a memory of elite solutions) based on the search epoch in which the algorithm finds itself, hence alternating between unbiased search (guided uniquely by the built-in search mechanics of the algorithm) and focused search (intensified by the use of the problem-aware operators). These operators exploit Sharpe index (a measure of the relationship between return and risk) as a source of problem knowledge. We have conducted a sensibility analysis to determine in which phases of the search the application of these operators leads to better results. Our findings indicate that the resulting algorithm is quite robust in terms of parameterization from the point of view of this problem-specific indicator. Furthermore, it is shown that not only can other non-memetic counterparts be outperformed, but that there is a range of parameters in which the MA is also competitive when not better in terms of standard multiobjective performance indicators.

arXiv:2412.03038

MILLION: A General Multi-Objective Framework with Controllable Risk for Portfolio Management

Portfolio management is an important yet challenging task in AI for FinTech, which aims to allocate investors' budgets among different assets to balance the risk and return of an investment. In this study, we propose a general Multi-objectIve framework with controLLable rIsk for pOrtfolio maNagement (MILLION), which consists of two main phases, i.e., return-related maximization and risk control. Specifically, in the return-related maximization phase, we introduce two auxiliary objectives, i.e., return rate prediction, and return rate ranking, combined with portfolio optimization to remit the overfitting problem and improve the generalization of the trained model to future markets. Subsequently, in the risk control phase, we propose two methods, i.e., portfolio interpolation and portfolio improvement, to achieve fine-grained risk control and fast risk adaption to a user-specified risk level. For the portfolio interpolation method, we theoretically prove that the risk can be perfectly controlled if the to-be-set risk level is in a proper interval. In addition, we also show that the return rate of the adjusted portfolio after portfolio interpolation is no less than that of the min-variance optimization, as long as the model in the reward maximization phase is effective. Furthermore, the portfolio improvement method can achieve greater return rates while keeping the same risk level compared to portfolio interpolation. Extensive experiments are conducted on three real-world datasets. The results demonstrate the effectiveness and efficiency of the proposed framework.

arXiv:2411.19649

Dynamic ETF Portfolio Optimization Using enhanced Transformer-Based Models for Covariance and Semi-Covariance Prediction(Work in Progress)

This study explores the use of Transformer-based models to predict both covariance and semi-covariance matrices for ETF portfolio optimization. Traditional portfolio optimization techniques often rely on static covariance estimates or impose strict model assumptions, which may fail to capture the dynamic and non-linear nature of market fluctuations. Our approach leverages the power of Transformer models to generate adaptive, real-time predictions of asset covariances, with a focus on the semi-covariance matrix to account for downside risk. The semi-covariance matrix emphasizes negative correlations between assets, offering a more nuanced approach to risk management compared to traditional methods that treat all volatility equally. Through a series of experiments, we demonstrate that Transformer-based predictions of both covariance and semi-covariance significantly enhance portfolio performance. Our results show that portfolios optimized using the semi-covariance matrix outperform those optimized with the standard covariance matrix, particularly in volatile market conditions. Moreover, the use of the Sortino ratio, a risk-adjusted performance metric that focuses on downside risk, further validates the effectiveness of our approach in managing risk while maximizing returns. These findings have important implications for asset managers and investors, offering a dynamic, data-driven framework for portfolio construction that adapts more effectively to shifting market conditions. By integrating Transformer-based models with the semi-covariance matrix for improved risk management, this research contributes to the growing field of machine learning in finance and provides valuable insights for optimizing ETF portfolios.

arXiv:2411.18830

Double Descent in Portfolio Optimization: Dance between Theoretical Sharpe Ratio and Estimation Accuracy

We study the relationship between model complexity and out-of-sample performance in the context of mean-variance portfolio optimization. Representing model complexity by the number of assets, we find that the performance of low-dimensional models initially improves with complexity but then declines due to overfitting. As model complexity becomes sufficiently high, the performance improves with complexity again, resulting in a double ascent Sharpe ratio curve similar to the double descent phenomenon observed in artificial intelligence. The underlying mechanisms involve an intricate interaction between the theoretical Sharpe ratio and estimation accuracy. In high-dimensional models, the theoretical Sharpe ratio approaches its upper limit, and the overfitting problem is reduced because there are more parameters than data restrictions, which allows us to choose well-behaved parameters based on inductive bias.

arXiv:2411.16972

Clustering Time Series Data with Gaussian Mixture Embeddings in a Graph Autoencoder Framework

Time series data analysis is prevalent across various domains, including finance, healthcare, and environmental monitoring. Traditional time series clustering methods often struggle to capture the complex temporal dependencies inherent in such data. In this paper, we propose the Variational Mixture Graph Autoencoder (VMGAE), a graph-based approach for time series clustering that leverages the structural advantages of graphs to capture enriched data relationships and produces Gaussian mixture embeddings for improved separability. Comparisons with baseline methods are included with experimental results, demonstrating that our method significantly outperforms state-of-the-art time-series clustering techniques. We further validate our method on real-world financial data, highlighting its practical applications in finance. By uncovering community structures in stock markets, our method provides deeper insights into stock relationships, benefiting market prediction, portfolio optimization, and risk management.

arXiv:2411.13792

Multiscale Markowitz

Traditional Markowitz portfolio optimization constrains daily portfolio variance to a target value, optimising returns, Sharpe or variance within this constraint. However, this approach overlooks the relationship between variance at different time scales, typically described by $\sigma(\Delta t) \propto (\Delta t)^{H}$ where $H$ is the Hurst exponent, most of the time assumed to be \(\frac{1}{2}\). This paper introduces a multifrequency optimization framework that allows investors to specify target portfolio variance across a range of frequencies, characterized by a target Hurst exponent $H_{target}$, or optimize the portfolio at multiple time scales. By incorporating this scaling behavior, we enable a more nuanced and comprehensive risk management strategy that aligns with investor preferences at various time scales. This approach effectively manages portfolio risk across multiple frequencies and adapts to different market conditions, providing a robust tool for dynamic asset allocation. This overcomes some of the traditional limitations of Markowitz, when it comes to dealing with crashes, regime changes, volatility clustering or multifractality in markets. We illustrate this concept with a toy example and discuss the practical implementation for assets with varying scaling behaviors.

arXiv:2411.12747공식 코드 · Papers with Code

A Survey of Financial AI: Architectures, Advances and Open Challenges

Financial AI empowers sophisticated approaches to financial market forecasting, portfolio optimization, and automated trading. This survey provides a systematic analysis of these developments across three primary dimensions: predictive models that capture complex market dynamics, decision-making frameworks that optimize trading and investment strategies, and knowledge augmentation systems that leverage unstructured financial information. We examine significant innovations including foundation models for financial time series, graph-based architectures for market relationship modeling, and hierarchical frameworks for portfolio optimization. Analysis reveals crucial trade-offs between model sophistication and practical constraints, particularly in high-frequency trading applications. We identify critical gaps and open challenges between theoretical advances and industrial implementation, outlining open challenges and opportunities for improving both model performance and practical applicability.

arXiv:2411.10496

Guided Learning: Lubricating End-to-End Modeling for Multi-stage Decision-making

Multi-stage decision-making is crucial in various real-world artificial intelligence applications, including recommendation systems, autonomous driving, and quantitative investment systems. In quantitative investment, for example, the process typically involves several sequential stages such as factor mining, alpha prediction, portfolio optimization, and sometimes order execution. While state-of-the-art end-to-end modeling aims to unify these stages into a single global framework, it faces significant challenges: (1) training such a unified neural network consisting of multiple stages between initial inputs and final outputs often leads to suboptimal solutions, or even collapse, and (2) many decision-making scenarios are not easily reducible to standard prediction problems. To overcome these challenges, we propose Guided Learning, a novel methodological framework designed to enhance end-to-end learning in multi-stage decision-making. We introduce the concept of a ``guide'', a function that induces the training of intermediate neural network layers towards some phased goals, directing gradients away from suboptimal collapse. For decision scenarios lacking explicit supervisory labels, we incorporate a utility function that quantifies the ``reward'' of the throughout decision. Additionally, we explore the connections between Guided Learning and classic machine learning paradigms such as supervised, unsupervised, semi-supervised, multi-task, and reinforcement learning. Experiments on quantitative investment strategy building demonstrate that guided learning significantly outperforms both traditional stage-wise approaches and existing end-to-end methods.

arXiv:2411.09899공식 코드 · Papers with Code

Portfolio Optimization with Feedback Strategies Based on Artificial Neural Networks

With the recent advancements in machine learning (ML), artificial neural networks (ANN) are starting to play an increasingly important role in quantitative finance. Dynamic portfolio optimization is among many problems that have significantly benefited from a wider adoption of deep learning (DL). While most existing research has primarily focused on how DL can alleviate the curse of dimensionality when solving the Hamilton-Jacobi-Bellman (HJB) equation, some very recent developments propose to forego derivation and solution of HJB in favor of empirical utility maximization over dynamic allocation strategies expressed through ANN. In addition to being simple and transparent, this approach is universally applicable, as it is essentially agnostic about market dynamics. To showcase the method, we apply it to optimal portfolio allocation between a cash account and the S&P 500 index modeled using geometric Brownian motion or the Heston model. In both cases, the results are demonstrated to be on par with those under the theoretical optimal weights assuming isoelastic utility and real-time rebalancing. A set of R codes for a broad class of stochastic volatility models are provided as a supplement.

arXiv:2411.06566

A Fully Analog Pipeline for Portfolio Optimization

Portfolio optimization is a ubiquitous problem in financial mathematics that relies on accurate estimates of covariance matrices for asset returns. However, estimates of pairwise covariance could be better and calculating time-sensitive optimal portfolios is energy-intensive for digital computers. We present an energy-efficient, fast, and fully analog pipeline for solving portfolio optimization problems that overcomes these limitations. The analog paradigm leverages the fundamental principles of physics to recover accurate optimal portfolios in a two-step process. Firstly, we utilize equilibrium propagation, an analog alternative to backpropagation, to train linear autoencoder neural networks to calculate low-rank covariance matrices. Then, analog continuous Hopfield networks output the minimum variance portfolio for a given desired expected return. The entire efficient frontier may then be recovered, and an optimal portfolio selected based on risk appetite.

arXiv:2410.20060

Constrained portfolio optimization in a life-cycle model

This paper considers the constrained portfolio optimization in a generalized life-cycle model. The individual with a stochastic income manages a portfolio consisting of stocks, a bond, and life insurance to maximize his or her consumption level, death benefit, and terminal wealth. Meanwhile, the individual faces a convex-set trading constraint, of which the non-tradeable asset constraint, no short-selling constraint, and no borrowing constraint are special cases. Following Cuoco (1997), we build the artificial markets to derive the dual problem and prove the existence of the original problem. With additional discussions, we extend his uniformly bounded assumption on the interest rate to an almost surely finite expectation condition and enlarge his uniformly bounded assumption on the income process to a bounded expectation condition. Moreover, we propose a dual control neural network approach to compute tight lower and upper bounds for the original problem, which can be utilized in more general cases than the simulation of artificial markets strategies (SAMS) approach in Bick et al. (2013). Finally, we conclude that when considering the trading constraints, the individual will reduce his or her demand for life insurance.

arXiv:2410.16563

Inferring Option Movements Through Residual Transactions: A Quantitative Model

This research presents a novel approach to predicting option movements by analyzing residual transactions, which are trades that deviate from standard hedging activities. Unlike traditional methods that primarily focus on open interest and trading volume, this study argues that residuals can reveal nuanced insights into institutional sentiment and strategic positioning. By examining these deviations, the model identifies early indicators of market trends, providing a refined framework for forecasting option prices. The proposed model integrates classical machine learning and regression techniques to analyze patterns in high frequency trading data, capturing complex, non linear relationships. This predictive framework allows traders to anticipate shifts in option values, enhancing strategies for better market timing, risk management, and portfolio optimization. The model's adaptability, driven by real time data processing, makes it particularly effective in fast paced trading environments, where early detection of institutional behavior is crucial for gaining a competitive edge. Overall, this research contributes to the field of options trading by offering a strategic tool that detects early market signals, optimizing trading decisions based on predictive insights derived from residual trading patterns. This approach bridges the gap between conventional metrics and the subtle behaviors of institutional players, marking a significant advancement in options market analysis.

arXiv:2410.17366

Kendall Correlation Coefficients for Portfolio Optimization

Markowitz's optimal portfolio relies on the accurate estimation of correlations between asset returns, a difficult problem when the number of observations is not much larger than the number of assets. Using powerful results from random matrix theory, several schemes have been developed to "clean" the eigenvalues of empirical correlation matrices. By contrast, the (in practice equally important) problem of correctly estimating the eigenvectors of the correlation matrix has received comparatively little attention. Here we discuss a class of correlation estimators generalizing Kendall's rank correlation coefficient which improve the estimation of both eigenvalues and eigenvectors in data-poor regimes. Using both synthetic and real financial data, we show that these generalized correlation coefficients yield Markowitz portfolios with lower out-of-sample risk than those obtained with rotationally invariant estimators. Central to these results is a property shared by all Kendall-like estimators but not with classical correlation coefficients: zero eigenvalues only appear when the number of assets becomes proportional to the square of the number of data points.

arXiv:2410.16010

Time evaluation of portfolio for asymmetrically informed traders

We study the anticipating version of the classical portfolio optimization problem in a financial market with the presence of a trader who possesses privileged information about the future (insider information), but who is also subjected to a delay in the information flow about the market conditions; hence this trader possesses an asymmetric information with respect to the traditional one. We analyze it via the Russo-Vallois forward stochastic integral, i. e. using anticipating stochastic calculus, along with a white noise approach. We explicitly compute the optimal portfolios that maximize the expected logarithmic utility assuming different classical financial models: Black-Scholes-Merton, Heston, Vasicek. Similar results hold for other well-known models, such as the Hull-White and the Cox-Ingersoll-Ross ones. Our comparison between the performance of the traditional trader and the insider, although only asymmetrically informed, reveals that the privileged information overcompensates the delay in all cases, provided only one information flow is delayed. However, when two information flows are delayed, a competition between future information and delay magnitude enters into play, implying that the best performance depends on the parameter values. This, in turn, allows us to value future information in terms of time, and not only utility.

arXiv:2410.11070

Aproximación práctica a los métodos de selección de portafolios de inversión

This paper explores the practical approach to portfolio selection methods for investments. The study delves into portfolio theory, discussing concepts such as expected return, variance, asset correlation, and opportunity sets. It also presents the efficient frontier and its application in the Markowitz model, which employs mean-variance optimization techniques. An alternative approach based on the mean-semivariance model is introduced. This model accounts for the skewness and kurtosis of the asset return distribution, providing a more comprehensive view of risk and return. The study also addresses the practical implementation of these models, including the use of genetic algorithms to optimize portfolio selection. Additionally, transaction costs and integer constraints in portfolio optimization are considered, demonstrating the applicability of the Markowitz model. -- Este documento explorar la aproximaci\'on pr\'actica a los m\'etodos de selecci\'on de portafolios para inversiones. El estudio profundiza en la teor\'ia de los portafolios, discutiendo conceptos como el rendimiento esperado, la varianza, la correlaci\'on entre activos y los conjuntos de oportunidades. Tambi\'en presenta la frontera eficiente y su aplicaci\'on en el modelo de Markowitz, que utiliza t\'ecnicas de optimizaci\'on media-varianza. Se introduce un enfoque alternativo basado en el modelo media-semivarianza. Este modelo tiene en cuenta la asimetr\'ia y la curtosis de la distribuci\'on de retornos de los activos, proporcionando una visi\'on m\'as completa de riesgo y rendimiento. El estudio tambi\'en aborda la implementaci\'on pr\'actica de estos modelos, incluyendo el uso de algoritmos gen\'eticos para optimizar la selecci\'on de portafolios. Adem\'as, se consideran los costos de transacci\'on y las restricciones enteras en la optimizaci\'on del portafolio.