REVIEW 4 major objections 6 minor 2 references
This paper claims that the best model for Canadian inflation depends on the forecast horizon: ARIMA wins at one month, while Random Forest and XGBoost cut errors by 30-75 percent at six and twelve months.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · deepseek-v4-flash
2026-08-01 04:40 UTC pith:C7433MWD
load-bearing objection The horizon-dependent crossover is likely a direct-versus-iterated forecasting artifact, not evidence about ARIMA vs. tree ensembles. the 4 major comments →
Forecasting and Explaining the Phillips Curve: A SHAP-Based Comparison of Machine Learning and Traditional Time-Series Models for Canadian Unemployment and Inflation
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central empirical discovery is a statistically significant reversal of forecasting superiority. In a walk-forward expanding-window evaluation on monthly Canadian data, ARIMA beats every machine-learning and deep-learning contestant at the one-month horizon, a result confirmed by a formal test of equal predictive accuracy. At six and twelve months, Random Forest and XGBoost beat ARIMA and VAR by large margins, while LSTM and GRU deteriorate badly. On the interpretation side, the paper uses SHAP on the best XGBoost model to recover an implied Phillips curve: recent inflation lags dominate the forecast, lagged unemployment contributes a smaller but meaningful channel, and the marginal effec
What carries the argument
The central mechanism is a horizon-conditional walk-forward comparison: six model classes are re-estimated on an expanding window and scored on the same out-of-sample period, with each pairwise gap tested by a formal equal-predictive-accuracy statistic. On top of that, SHAP, a game-theoretic attribution method that decomposes each prediction into additive feature contributions, is applied to the final XGBoost model, and the smoothed dependence between lagged unemployment and its SHAP contribution is read as a data-driven Phillips curve.
Load-bearing premise
The entire evaluation window starts after the COVID shock, so the claimed horizon crossover is measured only in pandemic and post-pandemic conditions; if the pre-2020 tranquil period had been included, the ranking might look different.
What would settle it
Re-run the walk-forward with an out-of-sample period that includes 2015-2019 calm months, or split the evaluation into pre-pandemic and post-pandemic blocks; if ARIMA also matches or beats the tree ensembles at six and twelve months in the calm block, the claimed crossover does not generalize beyond the volatile period.
If this is right
- At one-month horizons, forecasters can reasonably keep parsimonious linear ARIMA models; the machine-learning overhead is not paying off in this sample.
- At six- and twelve-month horizons, tree ensembles offer large, statistically significant error reductions, so longer-range inflation forecasts should not default to linear benchmarks.
- Recurrent neural networks are not a reliable choice on short macroeconomic samples: they were competitive only at one month and deteriorated fastest at longer horizons.
- No single model dominates across all macroeconomic regimes, so reported 'best model' rankings should be accompanied by the horizon and regime in which they were produced.
- The implied Phillips curve from the winning model is flat over most of the observed unemployment range, which is consistent with a fairly flat curve; the steep negative tail is a pandemic-driven feature.
Where Pith is reading between the lines
- Because the out-of-sample window begins only in September 2020, the crossover is measured under post-pandemic volatility; the natural next test is whether the same crossover appears when evaluating on tranquil pre-2020 periods.
- If the horizon dependence is real, a forecast-combination scheme that switches between ARIMA at short horizons and tree ensembles at long horizons could beat any single model; the paper does not test this, but it follows directly.
- The reverse-direction result hints that inflation lags predict unemployment more strongly than unemployment predicts inflation; this editorial inference suggests the economic 'Phillips curve channel' in forecasting may run more from inflation to unemployment than the reverse.
- The extreme-tail steepening rests on very few observations, so the paper's own transparency suggests treating it as an episode-specific pattern; a cross-country replication with more high-unemployment episodes would show whether it is a real economic regularity.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper compares six forecasting models (ARIMA, VAR, Random Forest, XGBoost, LSTM, GRU) for monthly Canadian CPI inflation over January 2012–April 2026, using expanding-window walk-forward validation at horizons 1, 3, 6, and 12 months. It reports a horizon-dependent crossover: ARIMA is statistically most accurate at h=1, while Random Forest and XGBoost are more accurate at h=6 and h=12, with Diebold–Mariano tests for most cells. It then uses SHAP on a full-sample XGBoost model to describe an implied unemployment–inflation relationship, finding a relatively flat relationship over most of the unemployment range and a steep negative slope at very high (pandemic-era) unemployment. The paper emphasizes the horizon- and regime-conditional nature of model rankings rather than a single global winner.
Significance. If the forecasting crossover is valid, the paper contributes to the ongoing debate about when machine learning methods add value in macroeconomic forecasting, complementing recent US-focused studies with Canadian evidence. The walk-forward design, transparent reporting of the undefined DM statistic at h=12, and explicit robustness checks (e.g., RF-based SHAP, reversed prediction direction) are strengths. The SHAP side illustrates both the potential and the fragility of using post hoc interpretability to recover economic relationships. However, the central crossover claim is clouded by a forecasting-mechanism confound and by an out-of-sample window that is entirely post-COVID, so the empirical regularity as stated is not yet firmly established.
major comments (4)
- [Sections 4.5–4.6] The paper never specifies whether forecasts are direct or iterated. The ML models are defined with features dated at t and targets at t+h (direct multi-step), while ARIMA and VAR are conventional one-step models whose h-step forecasts are normally iterated. Thus the headline comparison is direct-ML versus iterated-linear, and the h=6/h=12 gains of tree ensembles may be a direct-forecasting artifact rather than evidence about model class. This confound is load-bearing for the central claim. The authors should either estimate direct versions of ARIMA/VAR (single-equation projections on t-dated lags) or iterated versions of RF/XGBoost, and report both; at minimum, the discussion must acknowledge the confound and temper the attribution of the crossover to nonlinearity/ML flexibility.
- [Section 4.6; Table 4] The out-of-sample evaluation window begins in September 2020, with no pre-2020 evaluation points; Section 5.6 explicitly states that no OOS points fall in the pre-COVID regime. Consequently, all reported RMSE rankings and DM tests are estimated only under post-pandemic and disinflation conditions. The abstract and conclusion present ARIMA-best-at-h=1 and trees-best-at-h=6/12 as a general statement about model classes, but the design cannot support that generalization. The authors should reframe the claim as specific to the 2020–2026 turbulent period, or extend the sample/backtest to include tranquil pre-2020 OOS observations.
- [Table 6; Abstract] At h=12, the DM statistic for XGBoost versus ARIMA is undefined (NaN), yet the abstract states that 'Random Forest and XGBoost become notably superior at six and twelve months, reducing RMSE by approximately 30–75 percent.' Only Random Forest has a significant DM test at h=12; XGBoost's advantage is descriptive only. This overstates the statistical support. The paper should either compute a valid test (e.g., using a different long-run variance estimator or fixed-smoothing inference) or explicitly state that the XGBoost 12-month result is not formally tested.
- [Sections 5.8 and 7] The SHAP analysis is presented as recovering an 'implied, nonlinear Phillips curve,' but SHAP values are computed from a predictive model fit to the full sample and are not identified as structural causal parameters. The paper itself acknowledges this in Section 7, yet the title and contribution claim 'Explaining the Phillips Curve' and the abstract describes the SHAP result in relatively unhedged language. Additionally, the extreme-tail steepening rests on a small number of pandemic-era observations, as disclosed in Section 5.8. The interpretive language should be consistently hedged so that readers do not mistake a post hoc description of a predictive model for a structural economic finding.
minor comments (6)
- [Section 4.6] Please specify explicitly for each model whether forecasts at h>1 are produced directly or iteratively; this is essential for interpreting Table 4.
- [Table 4] Bold the lowest RMSE in each horizon or add a footnote to make the 'winner' immediately visible, given the discussion references it.
- [Section 5.4] The selected ARIMA(4,1,4) has fairly high orders for n=172; please comment on parameter redundancy and perhaps compare with a more parsimonious model (e.g., ARIMA(1,1,1)) as a robustness check.
- [Equation (10)] MAPE with y_t in the denominator can be unstable when inflation is near or below zero (the sample minimum is -0.37); consider reporting symmetric MAPE or another scale-free measure.
- [Data Availability] The link 'https://www.statscan.ca' appears to be a typo; the correct domain is 'statcan.gc.ca'.
- [Author Contributions] The text says 'All authors declare to have contributed equally' but the paper lists a single author; please correct this template artifact.
Circularity Check
No significant circularity: the forecasting comparison is genuinely out-of-sample and the SHAP interpretation is explicitly descriptive.
full rationale
The central claim (a horizon-dependent crossover in forecast accuracy) is produced by the expanding-window walk-forward design in Section 4.6, where each model is re-estimated using only data available through t and evaluated on t+h; the RMSE and Diebold-Mariano results in Tables 4 and 6 are empirical outputs of that design, not identities. The SHAP analysis in Sections 4.8 and 5.8 is explicitly post hoc: the paper states that the SHAP-based interpretation 'is not a structural causal estimate' and that the in-sample R^2 'should be interpreted only as a check ... not as evidence of genuine forecasting accuracy.' The extreme-tail steepening of the implied Phillips curve is also disclosed as resting on a small number of pandemic-era observations. The only author-overlapping citation (Nortey et al. 2025) appears as related work and as a point of comparison, not as evidence for any load-bearing empirical claim; under the hard rules it is therefore not circularity. Concerns about direct-versus-iterated forecasting and the entirely post-COVID evaluation window are validity threats, not instances of a result being equivalent to its inputs by construction.
Axiom & Free-Parameter Ledger
free parameters (6)
- ARIMA order (p,d,q) for inflation =
(4,1,4)
- VAR lag order =
11 (AIC; BIC/HQ choose 1)
- Random Forest hyperparameters =
300 trees, max_depth=6, min_samples_leaf=3
- XGBoost hyperparameters =
300 rounds, depth=4, learning_rate=0.03, row/col subsample=0.8
- LSTM/GRU architecture =
32 units, dropout=0.2, window=12
- Regime boundaries =
pre-COVID: 2012-01 to 2020-02; COVID: 2020-03 to 2020-12; surge: 2021-01 to 2023-06; disinflation: 2023-07 onward
axioms (6)
- domain assumption The Phillips curve relationship is a meaningful bivariate object; unemployment and inflation are jointly determined and cointegrated.
- domain assumption Forecast loss is symmetric quadratic (RMSE) and DM test with squared-error loss is the relevant metric.
- ad hoc to paper SHAP dependence plots from a predictive model can be interpreted as an implied structural Phillips curve.
- ad hoc to paper The sample's regime boundaries are correct and the Jan 2024 break is ignored.
- domain assumption The expanding-window walk-forward forecasts mimic real-time forecasting.
- standard math Standard regularity conditions for DM test and unit root tests hold.
read the original abstract
This study evaluates the out-of-sample forecasting ability of six model types: ARIMA, VAR, Random Forest, XGBoost, LSTM, and GRU, for monthly Canadian inflation from January 2012 to April 2026 (n = 172). The evaluation employs expanding-window walk-forward validation across 1-, 3-, 6-, and 12-month horizons. Results reveal a horizon-dependent shift: ARIMA significantly outperforms all machine learning and deep learning models at the one-month horizon (Diebold-Mariano p < 0.05). However, Random Forest and XGBoost become notably superior at six and twelve months, reducing RMSE by approximately 30-75 percent compared to ARIMA and VAR. LSTM and GRU perform well only at the shortest horizon, likely due to overfitting given the limited data. Analyzing four macroeconomic sub-periods shows that no single model consistently dominates. SHAP analysis of the top-performing XGBoost model indicates that lagged inflation is more influential than unemployment, which only becomes significantly impactful during the pandemic tail. The findings clarify when machine learning methods can surpass traditional benchmarks.
Figures
Reference graph
Works this paper leans on
-
[1]
Bai, J., & Perron, P. (2003). Computation and analysis of multiple structural change models. Journal of Applied Econometrics, 18(1), 1–22. https://doi.org/10.1002/jae.659 Coulombe, P. G., Leroux, M., Stevanovic, D., & Surprenant, S. (2022). How is machine learning useful for macroeconomic forecasting? Journal of Applied Econometrics, 37(5), 920–964. Diebo...
arXiv 2003
-
[155]
C., Timmermann, A., & Wright, J
https://doi.org/10.3934/DSFE.2025007 Smith, S. C., Timmermann, A., & Wright, J. H. (2023). Breaks in the Phillips curve: Evidence from panel data (NBER Working Paper No. 31773). National Bureau of Economic Research. Statistics Canada. (2026). Labour force characteristics by province, monthly, seasonally unadjusted (Table 14-10-0374-01). https://www150.sta...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.