Exploring high-level patterns for portfolio selection through pre-training
- 27 April 2026
- journal article
- Published by SAGE Publications in Intelligent Data Analysis: An International Journal
Abstract
Transformer-based policy networks have shown promising prospects in Portfolio Selection (PS). However, constrained by high computational complexity, they primarily focus on short-term price series (e.g., the past 12 h), while overlooking valuable long-term features. Furthermore, the inherent volatility and noise tend to lead the model to overfit on low-level information. To tackle these challenges, we propose an innovative approach. This approach leverages a pre-training model to extract high-level patterns from extended price series (e.g., the past two weeks) and then enhances decision-making in policy networks. The pre-training model is designed based on discrete representations to achieve better generalization and interpretability. Specifically, we tokenize the price series into discrete tokens through Vector-Quantization Variational AutoEncoder (VQ-VAE) and encourage the pre-training model to reconstruct these tokens according to the masked price series. Then we introduce a compact encoder-only policy network named Portfolio Transformer Encoder (PTE). Finally, PTE is provided with high-level patterns from the pre-training model to make more comprehensive decisions. We term the whole approach as Vector-Quantization Portfolio Transformer Encoder (VQ-PTE). VQ-PTE demonstrates superior performance on real-world currency and S&P500 datasets, achieving a minimum improvement of 35% in returns. Additionally, visualization results highlight superior interpretability.Keywords
This publication has 22 references indexed in Scilit:
- A Hybrid LSTM-GRU Model for Stock Price PredictionIEEE Access, 2025
- A Multimodal and Sentiment-Based Trading System for Financial Portfolio Optimisation2025
- GPT understands, tooAI Open, 2024
- FinBERT–MRC: Financial Named Entity Recognition Using BERT Under the Machine Reading Comprehension ParadigmNeural Processing Letters, 2023
- A Survey on BERT and Its Applications2023
- Portfolio Transformer for Attention-Based Asset Allocation2023
- Cardinality-constrained portfolio selection based on collaborative neurodynamic optimizationNeural Networks, 2022
- A Literature Survey on Project Portfolio Selection Problem2021
- Empirical evaluation of multi-task learning in deep neural networks for natural language processingNeural Computing and Applications, 2020
- Learning to trade via direct reinforcementIEEE Transactions on Neural Networks, 2001