Explainable Stock Price Movement Prediction using Contrastive Learning
Predicting stock price movements is a high-stakes task that demands explainability for human decision-makers. A key shortcoming in current methods is treating sub-predictions independently, without learning from accumulated experiences. We propose a novel triplet network for contrastive learning to enhance the explainability of stock movement prediction by considering instances of "integrated textual information and quantitative indicators". We refer to the target past-l-day tweet-price time series as the "anchor instance". Each anchor instance is paired with a "positive instance" characterized by highly correlated return trends yet significant differences across the entire feature space, and a "negative instance" that exhibits similar return trends along with high proximity in the feature space. The model is designed with the objective of (1) minimizing the cross entropy loss between input logits and target, (2) minimizing the distance between the anchor instances and positive instances, and (3) maximizing the distance between the anchor instances and negative instances. Our framework's effectiveness is demonstrated through extensive testing, showing superior performance on stock prediction benchmarks.
Authors
- Frank Xing (ORCID: https://orcid.org/0000-0002-5751-3937)
- Rui Mao (ORCID: https://orcid.org/0000-0002-1082-8755)
- Erik Cambria (ORCID: https://orcid.org/0000-0002-3030-1280)
- Kelvin Du (ORCID: https://orcid.org/0000-0002-7856-3140)
Institutions
- National University of Singapore (SG)
- Nanyang Technological University (SG)
Publication Details
- Published
- 2024-10-20
- DOI
- https://doi.org/10.1145/3627673.3679544
- Citations
- 11
- Primary Topic
- Stock Market Forecasting Methods
- Type
- article
- Field-Weighted Citation Impact
- 5.40