Leakage-aware sentiment and multimodal stock-index analysis

dc.contributor.advisorYassine, Abdulsalam
dc.contributor.authorHu, Junjun
dc.contributor.committeememberAlkhateeb, Abedalrhman
dc.contributor.committeememberDeng, Yong
dc.date.accessioned2026-09-15T13:49:20Z
dc.date.created2026
dc.date.issued2026
dc.descriptionThesis is embargoed until Sept 15 2027.
dc.description.abstractShort-horizon stock-index forecasting remains difficult because returns are noisy, non-stationary, and only partly explained by historical prices and public news. This thesis investigates whether financial-news sentiment and multimodal market representations improve three-class direction classification, while asking when high accuracy reflects genuine forecasting rather than target construction. To address these questions, it develops a staged, leakage-aware experimental framework. A finance-domain language model first transforms dated headlines into lagged daily sentiment features. The primary forecasting experiment combines these features with historical market variables to classify the genuine three-trading-day log return from 𝑡 to 𝑡 + 3, using fixed ±0.5% thresholds. Candidate look-back windows of 5, 10, 15, and 20 trading days are compared using validation macro-F1 only; the 10-day window is then evaluated once on the locked test. The study also evaluates a smoother EMA-50 trend-state task and reconstructs a published ViT–TFT–HOG design that fuses numerical sequences, candlestick images, visual descriptors, and candle geometry across multiple stock indices. Chronological splits, simple baselines, feature ablations, per-market diagnostics, and matched target controls are used throughout. On 232 locked test examples, the Temporal Transformer reaches 37.93% accuracy, 0.3788 macro-F1, and 0.0393 MCC. The majority baseline has higher accuracy at 41.38% because of class imbalance, but its macro-F1 is only 0.1951. A matched ablation reaches 0.3808 macro-F1 without sentiment, so prior-day sentiment does not provide measurable incremental forecasting value in this experiment. Trading outcomes are mixed across markets and do not establish consistent economic value. The EMA-50 task is substantially easier because its labels are smoother and more persistent. The reconstructed multimodal model achieves stable accuracy above 93% for the reported market-state task and transfers well to additional indices. However, a deterministic audit reveals that the prices defining this target are already available in the input window; when the endpoint is moved into the genuine future, performance falls close to chance. These findings show that high classification accuracy can measure state reconstruction rather than forecasting skill. The main contribution is a reproducible, target-explicit evaluation that preserves strong reconstruction results without overstating future-return predictability.
dc.identifier.urihttps://knowledgecommons.lakeheadu.ca/handle/2453/5646
dc.language.isoen
dc.subjectStock price forecasting
dc.subjectStock price indexes
dc.titleLeakage-aware sentiment and multimodal stock-index analysis
dc.typeThesis
etd.degree.disciplineComputer Science
etd.degree.grantorLakehead University
etd.degree.levelMaster
etd.degree.nameMaster of Computer Science

Files

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
2.23 KB
Format:
Item-specific license agreed upon to submission
Description: