How Faithful Is Attribution for Sales Forecasting? A Counterfactual Study
Abstract
Deep models for sales forecasting, such as WaveNet-style dilated convolutional networks, are accurate but opaque: when a single model predicts sales for one of many series, it offers no account of why. We add a post-hoc, architecture-agnostic counterfactual interpretability layer to a multi-series WaveNet forecaster trained on the full Corporacion Favorita grocery dataset (174,685 series over 1,688 days). The method decomposes each forecast into contributions that sum exactly to the predicted value, avoiding the allocation artifacts we observed with additive SHAP-style attribution. We evaluate faithfulness with a deletion/insertion protocol and find a statistically significant effect on both tests (deletion gap 0.22, p<0.001; insertion gap 0.27, p<0.01; robust across five background-sampling seeds), establishing that the attributions reflect genuine model behavior rather than plausible-looking artifacts. We then characterize, honestly, where attribution is and is not informative: reliance on the promotion signal is heterogeneous across series (median ratio approximately 1.0, with roughly 20% of series showing a strong effect), and the model captures the shape of the weekly sales cycle (day-of-week r=0.78) while systematically under-predicting its amplitude. Our contribution is not improved accuracy but an interpretability layer with a rigorous faithfulness evaluation and a candid account of its limits.
Create a lesson
Metadata
- Comments
- Code: https://github.com/kesjien/wavexplain
Related papers
Short-Term Forecasting of Subsurface Drainage Flow and Water-Table Depth Using Deep Learning
Shared title terminologycs.LGAshkan Tehrani, Ramin Akbari, Ehsan Ghane et al.
Axolotl: Generation of Area Forecast Discussions From AI Weather Models
Shared title terminologycs.LGAristeidis Panos, John Bronskill, Rupert Menneer et al.
Cross-Activity Transfer Learning for Wearable Heart Rate Forecasting During Loaded Marching
Shared title terminologycs.LGMuntaqim Ahmed Raju, Ruizhe Ma, John W Ramsay et al.
TC-GNN-Flow: Relational Coupling Flows with Calibrated Intervals for Traffic Forecasting
Shared title terminologycs.LGYongKyung Oh
L-TSF: A Time Series Forecasting Model Designed via Logical Reasoning
Shared title terminologycs.LGJianqi Zhang, Xingyu Zhang, Zeen Song et al.
Augmenting LSTM performance on financial time series forecasting via architecture search
Shared title terminologycs.LGGianluca Peri, Francesco D'Angelo, Andrea Nocentini et al.