Dual Interpretation of Machine Learning Forecasts

Philippe Goulet Coulombe, Maximilian Goebel, Karin Klieber
12/17/2024
econ.EMcs.LGstat.ML

No official code found. Best implementation: maxi-tb22/DualML (5 stars, last commit 2025-03-30).

Abstract

Machine learning predictions are typically interpreted as the sum of contributions of predictors. Yet, each out-of-sample prediction can also be expressed as a linear combination of in-sample values of the predicted variable, with weights corresponding to pairwise proximity scores between current and past economic events. While this dual route leads nowhere in some contexts (e.g., large cross-sectional datasets), it provides sparser interpretations in settings with many regressors and little training data-like macroeconomic forecasting. In this case, the sequence of contributions can be visualized as a time series, allowing analysts to explain predictions as quantifiable combinations of historical analogies. Moreover, the weights can be viewed as those of a data portfolio, inspiring new diagnostic measures such as forecast concentration, short position, and turnover. We show how weights can be retrieved seamlessly for (kernel) ridge regression, random forest, boosted trees, and neural networks. Then, we apply these tools to analyze post-pandemic forecasts of inflation, GDP growth, and recession probabilities. In all cases, the approach opens the black box from a new angle and demonstrates how machine learning models leverage history partly repeating itself.

View on arXivView PDF

Code Implementations(1)

maxi-tb22/DualMLCommunity63%

"Dual Interpretation of Machine Learning Forecasts" - Goulet Coulombe, Göbel, Klieber (2024)

56RNov 21, 20241 years ago

Similar Papers

Cite this paper

@article{coulombe2024dual,
  title  = {Dual Interpretation of Machine Learning Forecasts},
  author = {Philippe Goulet Coulombe and Maximilian Goebel and Karin Klieber},
  year   = {2024},
  eprint = {2412.13076},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.13076v1}
}

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/2412.13076.svg)](https://codeofpaper.com/paper/2412.13076)

Discussion