Interpreting Time Series Forecasts with LIME and SHAP: A Case Study on the Air Passengers Dataset

Manish Shukla
8/17/2025
cs.LGcs.AIstat.ME

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Time-series forecasting underpins critical decisions across aviation, energy, retail and health. Classical autoregressive integrated moving average (ARIMA) models offer interpretability via coefficients but struggle with nonlinearities, whereas tree-based machine-learning models such as XGBoost deliver high accuracy but are often opaque. This paper presents a unified framework for interpreting time-series forecasts using local interpretable model-agnostic explanations (LIME) and SHapley additive exPlanations (SHAP). We convert a univariate series into a leakage-free supervised learning problem, train a gradient-boosted tree alongside an ARIMA baseline and apply post-hoc explainability. Using the Air Passengers dataset as a case study, we show that a small set of lagged features -- particularly the twelve-month lag -- and seasonal encodings explain most forecast variance. We contribute: (i) a methodology for applying LIME and SHAP to time series without violating chronology; (ii) theoretical exposition of the underlying algorithms; (iii) empirical evaluation with extensive analysis; and (iv) guidelines for practitioners.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shukla2025interpreting,
  title  = {Interpreting Time Series Forecasts with LIME and SHAP: A Case Study on the Air Passengers Dataset},
  author = {Manish Shukla},
  year   = {2025},
  eprint = {2508.12253},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.12253v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.12253.svg)](https://codeofpaper.com/paper/2508.12253)

Discussion