Machine Learning and the Random Walk Puzzle: Forecasting the CAD/USD Exchange Rate with Expanding Window Evaluation and SHAP Interpretability
Summary
This paper examines whether ML models can beat the random walk benchmark in forecasting USD/CAD exchange rates, finding that only linear regression statistically outperforms the naive model, with SHAP analysis showing short-term lags dominate predictions.
View Cached Full Text
Cached at: 06/16/26, 11:37 AM
# Machine Learning and the Random Walk Puzzle: Forecasting the CAD/USD Exchange Rate with Expanding Window Evaluation and SHAP Interpretability Source: [https://arxiv.org/abs/2606.15058](https://arxiv.org/abs/2606.15058) [View PDF](https://arxiv.org/pdf/2606.15058) > Abstract:This study examines whether machine learning \(ML\) models can outperform the naive random walk benchmark in forecasting the monthly USD/CAD exchange rate\. Using daily data from the Bank of Canada spanning January 2017 to May 2026, resampled into 113 monthly observations, five ML models are evaluated: linear regression, random forest, gradient boosting, XGBoost, and AdaBoost\. These models are benchmarked against the naive random walk model and exponential smoothing with Holt\-Winters seasonality \(ETS\)\. All models are evaluated using an expanding\-window framework to maintain strict out\-of\-sample integrity, and forecast\-accuracy differences are assessed using the Diebold\-Mariano \(DM\) test\. Structural break detection identifies four significant breakpoints in the series, corresponding to the escalation of the US\-China trade war in 2018, the COVID\-19 economic recovery in 2020, the peak of the Bank of Canada rate\-hiking cycle in 2022, and the start of the Bank of Canada rate\-cutting cycle in 2024\. SHAP, or Shapley Additive Explanations, analysis is applied to interpret the drivers of the best\-performing ML model\. The results show that the naive random walk model remains a formidable benchmark\. Linear regression is the only model that statistically outperforms the naive random walk model, with a DM statistic of 3\.0585 and a p value of 0\.0071, whereas the ML ensemble models show only marginal differences\. Random Forest with an expanding\-window framework achieves the lowest MAPE of 1\.17 percent among all models except the random walk\. SHAP analysis confirms that short\-term lags, particularly lag1 and lag2, and recent rolling means dominate predictions, consistent with the near\-random\-walk behavior of exchange rates\. ## Submission history From: Edmund Agyemang \[[view email](https://arxiv.org/show-email/e13c952d/2606.15058)\] **\[v1\]**Sat, 13 Jun 2026 02:13:18 UTC \(1,675 KB\)
Similar Articles
Trading Confidence: Comprehensive Uncertainty Estimation in Algorithmic Trading
Proposes an uncertainty-aware reinforcement learning framework for algorithmic trading that integrates distributional, epistemic, and aleatoric uncertainty using SHAP-weighted reconstruction, MC Dropout, and LSTM consensus. Outperforms traditional models on five major US stock indices.
Model-agnostic predictability quantification of multivariable time series
A UCL paper proposes MAPS, a model-agnostic metric for quantifying the intrinsic predictability of multivariable time series forecasting tasks, evaluated against 66 baseline measures on synthetic and real-world datasets with strong correlation to reference predictability (r=0.963).
Using LLMs for Explainable, Data-Driven Insight Generation from Time Series
Proposes a domain-agnostic framework for generating grounded natural language explanations for time series forecasts using large language models, reducing hallucination by constraining to verifiable evidence. Evaluated on financial and freight pricing case studies.
Can Reinforcement Learning Efficiently Discover Price Manipulation?
This paper investigates whether reinforcement learning can discover price manipulation strategies more effectively than traditional model-based approaches in an Almgren–Chriss framework, finding that RL outperforms model-based methods under parameter uncertainty for intermediate volatility.
SciML in the Wild: A Diagnostic Study of When Structural Priors Help and When They Hurt
This paper evaluates five model families for macroeconomic forecasting, finding that less-constrained models like ARIMA and Neural ODE outperform structurally-prioritized models like PINNs, highlighting that structural priors can act as misregularizers when mismatched.