Conditional Mutual information-based Contrastive Loss for Financial Time Series Forecasting
arXiv:2002.07638
Abstract
We present a representation learning framework for financial time series forecasting. One challenge of using deep learning models for finance forecasting is the shortage of available training data when using small datasets. Direct trend classification using deep neural networks trained on small datasets is susceptible to the overfitting problem. In this paper, we propose to first learn compact representations from time series data, then use the learned representations to train a simpler model for predicting time series movements. We consider a class-conditioned latent variable model. We train an encoder network to maximize the mutual information between the latent variables and the trend information conditioned on the encoded observed variables. We show that conditional mutual information maximization can be approximated by a contrastive loss. Then, the problem is transformed into a classification task of determining whether two encoded representations are sampled from the same class or not. This is equivalent to performing pairwise comparisons of the training datapoints, and thus, improves the generalization ability of the encoder network. We use deep autoregressive models as our encoder to capture long-term dependencies of the sequence data. Empirical experiments indicate that our proposed method has the potential to advance state-of-the-art performance.
arXiv commentPublished in ICAIF 2020 : ACM International Conference on AI in Finance
References in corpus (10)
- Representation Learning with Contrastive Predictive Coding
- WaveNet: A Generative Model for Raw Audio
- Learning deep representations by mutual information estimation and maximization
- Data-Efficient Image Recognition with Contrastive Predictive Coding
- Contrastive Multiview Coding
- Conditional Time Series Forecasting with Convolutional Neural Networks
- A Dual-Stage Attention-Based Recurrent Neural Network for Time Series Prediction
- On Mutual Information Maximization for Representation Learning
- On Variational Bounds of Mutual Information
- Understanding the Limitations of Variational Mutual Information Estimators