Paper: arXiv 2402.06656

Abstract

Machine learning models have demonstrated remarkable efficacy and efficiency in a wide range of stock forecasting tasks. However, the inherent challenges of data scarcity, including low signal-to-noise ratio (SNR) and data homogeneity, pose significant obstacles to accurate forecasting. To address this issue, we propose a novel approach that utilizes artificial intelligence-generated samples (AIGS) to enhance the training procedures. In our work, we introduce the Diffusion Model to generate stock factors with Transformer architecture (DiffsFormer). DiffsFormer is initially trained on a large-scale source domain, incorporating conditional guidance so as to capture global joint distribution. When presented with a specific downstream task, we employ DiffsFormer to augment the training procedure by editing existing samples. This editing step allows us to control the strength of the editing process, determining the extent to which the generated data deviates from the target domain. To evaluate the effectiveness of DiffsFormer augmented training, we conduct experiments on the CSI300 and CSI800 datasets, employing eight commonly used machine learning models. The proposed method achieves relative improvements of 7.2% and 27.8% in annualized return ratio for the respective datasets. Furthermore, we perform extensive experiments to gain insights into the functionality of DiffsFormer and its constituent components, elucidating how they address the challenges of data scarcity and enhance the overall model performance. Our research demonstrates the efficacy of leveraging AIGS and the DiffsFormer architecture to mitigate data scarcity in stock forecasting tasks.

Complexity vs Empirical Score

  • Math Complexity: 8.0/10
  • Empirical Rigor: 6.0/10 (capped from 7.0: transaction costs not modelled; see penalty flags)
  • Quadrant: Holy Grail — high math complexity, high empirical rigor

Why this score: The paper employs advanced mathematical concepts from diffusion models and transformer architectures, involving concepts like Markov chains, noise prediction, and conditional guidance, alongside detailed algorithmic descriptions. It demonstrates high empirical rigor with extensive experiments on real-world datasets (CSI300/CSI800), quantitative performance metrics (7.2% and 27.8% improvements in annualized return), and ablation studies on model components.

Research Flowchart

  flowchart TD
  A["Research Goal<br>Address Data Scarcity in Stock Forecasting<br>Low SNR & Data Homogeneity"] --> B{"Key Methodology<br>Diffusion Model on Stock Factors<br>DiffsFormer Architecture"}
  
  B --> C["Inputs: Source Domain<br>CSI300 & CSI800 Datasets"]
  C --> D["Training Phase<br>Conditional Guidance<br>Captures Global Joint Distribution"]
  D --> E["Augmentation Phase<br>Conditional Editing of Samples<br>Controls Deviation Strength"]
  E --> F["Computational Process<br>8 ML Models + AIGS<br>Augmented Training"]
  
  F --> G["Outcomes & Findings<br>CSI300: +7.2% Annualized Return<br>CSI800: +27.8% Annualized Return<br>Data Scarcity Mitigated"]

Cited References (54)

  1. Challenges of Developing AI Applications in the Evolving Digital World and Recommendations to Mitigate Such Challenges: A Conceptual View (2021)
  2. Stock Market Prediction via Deep Learning Techniques: A Survey — → 2212.12717
  3. The efficient market hypothesis and its critics (2003)
  4. MTMD: Multi-Scale Temporal Memory Learning and Efficient Debiasing Framework for Stock Trend Forecasting (2022) — link
  5. Anomalies across the globe: Once public, no longer existent? (2020)
  6. Denoising diffusion probabilistic models (2020)
  7. Glide: Towards photorealistic image generation and editing with text-guided diffusion models (2021) — link
  8. Hierarchical text-conditional image generation with clip latents (2022) — link
and 46 more
  1. CSDI: Conditional score-based diffusion models for probabilistic time series imputation (2021)
  2. Wavegrad: Estimating gradients for waveform generation (2020) — link
  3. High-resolution image synthesis with latent diffusion models (2022)
  4. Classifier-free diffusion guidance (2022) — link
  5. Scalable Diffusion Models with Transformers (2022) — link
  6. Diffusion Recommender Model (2023) — link
  7. Denoising diffusion implicit models (2020) — link
  8. Diffusion models beat gans on image synthesis (2021)
  9. Score-based generative modeling through stochastic differential equations (2020) — link
  10. U-Net: Convolutional Networks for Biomedical Image Segmentation (2015)
  11. FiLM: Visual Reasoning with a General Conditioning Layer (2018)
  12. Diffusion Models for Time Series Applications: A Survey (2023)
  13. Stock Market Prediction via Deep Learning Techniques: A Survey (2023)
  14. Shake-Shake regularization (2017)
  15. Large Scale GAN Training for High Fidelity Natural Image Synthesis (2019)
  16. Accurate, Large Minibatch SGD: Training ImageNet in 1 Hour (2017)
  17. Qlib: An AI-oriented Quantitative Investment Platform (2020)
  18. HIST: A Graph-based Framework for Stock Trend Forecasting via Mining Concept-Oriented Shared Information (2021)
  19. MTMD: Multi-Scale Temporal Memory Learning and Efficient Debiasing Framework for Stock Trend Forecasting (2022)
  20. Long Short-Term Memory (1997)
  21. Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling (2014)
  22. Stock Price Prediction via Discovering Multi-Frequency Trading Patterns (2017)
  23. Graph Attention Networks (2018)
  24. Enhancing Stock Movement Prediction with Adversarial Training (2019)
  25. Hierarchical Multi-Scale Gaussian Transformer for Stock Movement Prediction (2020)
  26. Attention is All you Need (2017)
  27. Learning Multiple Stock Trading Patterns with Temporal Routing Adaptor and Optimal Transport (2021)
  28. Individualized Indicator for All: Stock-wise Technical Indicator Optimization with Stock Embedding (2019)
  29. Is synthetic data from generative models ready for image recognition? (2023)
  30. Stock Price Prediction Using Attention-based Multi-Input LSTM (2018)
  31. Study on the prediction of stock price based on the associated network model of LSTM (2020)
  32. Framewise phoneme classification with bidirectional LSTM and other neural network architectures (2005)
  33. Recurrent neural network and a hybrid model for prediction of stock returns (2015)
  34. Incorporating Fine-grained Events in Stock Movement Prediction (2019)
  35. Knowledge-Driven Stock Trend Prediction and Explanation via Temporal Convolutional Network (2019)
  36. A CNN-BiLSTM-AM method for stock price prediction (2021)
  37. Convolutional neural network for stock trading using technical indicators (2022)
  38. HGNN: Hierarchical graph neural network for predicting the classification of price-limit-hitting stocks (2022)
  39. Modeling the Stock Relation with Graph Network for Overnight Stock Movement Prediction (2020)
  40. Accurate Multivariate Stock Movement Prediction via Data-Axis Transformer with Multi-Level Contexts (2021)
  41. HTML: Hierarchical Transformer-based Multi-task Learning for Volatility Prediction (2020)
  42. Autoregressive Denoising Diffusion Models for Multivariate Probabilistic Time Series Forecasting (2021)
  43. ScoreGrad: Multivariate Probabilistic Time Series Forecasting with Continuous Energy-based Generative Models (2021)
  44. Diversity is Definitely Needed: Improving Model-Agnostic Zero-shot Classification via Stable Diffusion (2023)
  45. Generative Time Series Forecasting with Diffusion, Denoise, and Disentanglement (2022)
  46. DiffSTG: Probabilistic Spatio-Temporal Graph Forecasting with Denoising Diffusion Models (2023)

1 of 54 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.