[Paper Review] Modeling Financial Time Series using LSTM with Trainable Initial Hidden States
This paper proposes an LSTM-based model with trainable initial hidden states for financial time series modeling, enabling end-to-end learning of temporal patterns and latent representations. Experiments on Korean stock data show the model captures inter-stock similarity in latent space and predicts future trends effectively, offering potential for portfolio optimization.
Extracting previously unknown patterns and information in time series is central to many real-world applications. In this study, we introduce a novel approach to modeling financial time series using a deep learning model. We use a Long Short-Term Memory (LSTM) network equipped with the trainable initial hidden states. By learning to reconstruct time series, the proposed model can represent high-dimensional time series data with its parameters. An experiment with the Korean stock market data showed that the model was able to capture the relative similarity between a large number of stock prices in its latent space. Besides, the model was also able to predict the future stock trends from the latent space. The proposed method can help to identify relationships among many time series, and it could be applied to financial applications, such as optimizing the investment portfolios.
Motivation & Objective
- To improve financial time series modeling by learning initial hidden states end-to-end in an LSTM architecture.
- To enable the model to represent high-dimensional stock price data in a low-dimensional latent space.
- To capture relative similarities among multiple time series in the latent space for financial analysis.
- To predict future stock trends from learned latent representations.
- To support practical applications such as portfolio management through improved time series representation.
Proposed method
- The model uses a Long Short-Term Memory (LSTM) network with trainable initial hidden states instead of fixed zero initialization.
- The initial hidden states are optimized during training to better represent the starting dynamics of financial time series.
- The network is trained to reconstruct the input time series, enabling it to learn meaningful temporal patterns and dependencies.
- Latent representations are extracted from the final hidden state of the LSTM after processing each time series.
- The model learns a shared, low-dimensional representation space where similar stock price movements are embedded close together.
- The approach enables both reconstruction and downstream prediction tasks using the same learned latent space.
Experimental results
Research questions
- RQ1Can trainable initial hidden states improve the representation quality of financial time series in an LSTM autoencoder framework?
- RQ2How well can the learned latent space capture relative similarities among multiple stock price time series?
- RQ3Can the latent representations derived from the model be used to predict future stock price trends?
- RQ4Does the model outperform standard LSTM with fixed zero initialization in capturing complex temporal dependencies in financial data?
- RQ5Can the learned representations support practical financial applications such as portfolio optimization?
Key findings
- The model successfully learned to reconstruct financial time series, indicating effective capture of underlying temporal patterns.
- The latent space encoded in the final hidden state effectively represented relative similarities among a large number of stock prices.
- The model demonstrated predictive capability for future stock trends using only the latent representations.
- The use of trainable initial hidden states improved the model's ability to represent complex, high-dimensional time series data.
- The results suggest that the learned latent space can be leveraged for financial applications such as portfolio optimization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.