Scientific Reports

A modular deep learning framework with exact Shapley attribution for explainable stock market forecasting and risk-aware decision support

Vaishali Gupta, Garima Rathi, Ravi Sharma, Rashmi Rathi Upadhyay

Computational

Key points

From the paper's conclusion
  • Exact attribution is inexpensive, but exactness belongs to the computation, not to the stability of the explanation: baseline and conditional games agree on the dominant signal in only 66–81% of decisions.

Abstract

Explaining a fused trading decision usually requires an approximation. Agentic-Forecast is a modular architecture in which the explanation is exact: forecasting, technical, fundamental, sentiment and risk components each compute a bounded signal, a decision layer fuses these signals into a discrete call, and the small coalition lattice is enumerated in full, so that every Shapley attribution is exact for an explicitly stated cooperative game. The architecture specifies five modules, but the sentiment module produced no usable signal, so the system evaluated empirically fuses four signals. The second contribution is an integrated validation protocol for financial machine learning, comprising a purged walk-forward of the complete pipeline, dependence-aware inference, a leakage audit, a multi-seed study and an analysis of Shapley reference sensitivity. On two years of S&P 500 and DJIA data, and in an extended nested walk-forward over ten years and three indices (about 1,800 out-of-sample decisions per index), the protocol gives a largely negative predictive verdict. Across four purged folds the fused layer averages 38.70% accuracy against a 44.92% majority-class rate. In the extended evaluation its balanced accuracy exceeds chance for two of three indices (0.378 and 0.392), but no fusion model beats a no-skill prior after multiplicity correction and no strategy beats buy-and-hold. Exact attribution is inexpensive, but exactness belongs to the computation, not to the stability of the explanation: baseline and conditional games agree on the dominant signal in only 66–81% of decisions. Neither ablating the components of the forecaster nor replacing the four signals with raw, technical or distance-based inputs changes the verdict, which places the bottleneck in signal construction for these indices rather than in the fusion model.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers