Machine Learning and Knowledge Extraction, Volume 8, Issue 11 , 01/11/2026

Deep Learning Stock Index Forecasting Against Tuned Learners and Naive Baselines Under a Leakage-Free Protocol

Arsanchai Sukkuea, Tanawat Rungwallapa, Nanda Kumar Tharu, Pensiri Akkajit

Abstract

Deep learning forecasters of stock index direction often report high accuracy, but results are rarely checked under leakage-free protocols, against naive baselines, or across markets. We compared compact deep networks, classical learners, and naive rules for next-day direction over 3910 out-of-sample sessions (2022–2025), with SET100, the S&P 500, and CSI 300 as confirmatory markets and SET50, whose test years an earlier single-market version of this work had used, as exploratory. All models shared one point-in-time contract with expanding windows, purged boundaries, and train-only scaling; tuned and extended arms (GRU, TCN, DLinear, PatchTST-style, and MLP networks) selected settings on validation windows only, and the comparison was repeated with stationary features. No network showed a significant advantage over logistic regression or persistence in any confirmatory market, with original or stationary features, and equivalence within ±2 points was not established, so small advantages can be neither confirmed nor excluded. Cross-entropy networks mostly collapsed to all-up forecasts (AUC 0.43–0.55). A tuned random forest on CSI 300 (55.0% balanced accuracy) outperformed an independence benchmark in the Pesaran–Timmermann test after joint adjustment but showed no significant paired improvement over the competing baselines and lost significance with stationary features; it remains a candidate for prospective testing, not evidence of dependable skill. The study evaluates directional forecasting, not trading profitability. Single protocol errors raised the raw accuracy to 80%, and reporting 100 minus the mean absolute percentage error gave 99%. Code and predictions are openly available.

Document Type

Article

Source Type

Journal

Keywords

balanced accuracybenchmarkingdata leakagedeep learningdeep learning stock index forecastingemerging marketsequivalence testingforecast evaluationhyperparameter tuning

ASJC Subject Area

Computer Science : Artificial IntelligenceEngineering : Engineering (miscellaneous)



0
Citations (Scopus)

Bibliography


Sukkuea, A., Rungwallapa, T., Tharu, N., & Akkajit, P. (2026). Deep Learning Stock Index Forecasting Against Tuned Learners and Naive Baselines Under a Leakage-Free Protocol. Machine Learning and Knowledge Extraction, 8(11) doi:10.3390/make8110366

Copy | Save