← Latest papers
🤖 machine learning

Machine Learning and the Random Walk Puzzle: Forecasting the CAD/USD Exchange Rate with Expanding Window Evaluation and SHAP Interpretability

This study evaluates five machine learning models against a naive random walk benchmark for forecasting the monthly USD/CAD exchange rate from 2017 to 2026, finding that while linear regression statistically outperforms the random walk, most ML models offer only marginal improvements and rely heavily on recent lags, confirming the inherent difficulty of predicting exchange rates.

Original authors: Louis Agyekum, Edmund Fosu Agyemang, Obu-Amoah Ampomah, Kofi Acheampong, Emmanuel Boadi, Priscilla Yaa Amakye, Fafa Shalom Tchorly, Enock Adu Bonsu, Eric Nyarko

Published 2026-06-16
📖 5 min read🧠 Deep dive

Original authors: Louis Agyekum, Edmund Fosu Agyemang, Obu-Amoah Ampomah, Kofi Acheampong, Emmanuel Boadi, Priscilla Yaa Amakye, Fafa Shalom Tchorly, Enock Adu Bonsu, Eric Nyarko

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to guess the price of a cup of coffee tomorrow. You could look at complex weather patterns, global coffee bean supply chains, and the mood of baristas worldwide. Or, you could just assume tomorrow's price will be exactly the same as today's.

This paper is essentially a high-stakes competition between those two approaches, but instead of coffee, the "price" is the exchange rate between the Canadian Dollar (CAD) and the US Dollar (USD). The researchers asked a simple question: Can fancy, modern computer programs (Machine Learning) predict currency prices better than the simple assumption that "tomorrow will look like today"?

Here is the breakdown of their findings using everyday analogies:

1. The Contenders: The "Smart" vs. The "Simple"

The researchers set up a race with two teams:

  • The "Smart" Team (Machine Learning): These are complex computer models like Random Forest, XGBoost, and AdaBoost. Think of them as a team of super-intelligent detectives who can spot tiny, hidden patterns in a massive pile of clues. They are designed to find non-linear, complicated relationships that humans might miss.
  • The "Simple" Team (The Benchmarks):
    • The Random Walk: This is the "Naïve" guess. It assumes the best prediction for tomorrow is simply today's value. It's like guessing the weather tomorrow will be exactly the same as today.
    • The Traditional Statistician (ETS): A classic, old-school math model that tries to find seasonal patterns (like "it's always hotter in July").

2. The Rules of the Game

To make sure the "Smart" team didn't cheat by peeking at the future, the researchers used a strict "Expanding Window" rule.

  • The Analogy: Imagine taking a test where you are only allowed to study the history books up to yesterday. You make a guess for today, then you are allowed to read today's newspaper, and then you guess for tomorrow. You can never look at next week's paper to help you guess today. This ensures the models are tested on how they would work in the real world, not just on a computer simulation.

3. The Results: The "Simple" Team Wins (Mostly)

After running the race over 18 months of data, here is what happened:

  • The "Simple" Guess (Random Walk) is a Beast: The most surprising result is that the simple guess ("tomorrow looks like today") was incredibly hard to beat. It was the most accurate predictor for the majority of the time. This confirms a famous economic mystery called the Meese-Rogoff Puzzle, which suggests that currency markets are so efficient that complex patterns are hard to find.
  • The "Smart" Team Stumbles: The fancy Machine Learning models (the super-detectives) did not beat the simple guess. In fact, they were slightly worse than the simple guess, though not by a huge margin. They got so caught up in trying to find complex patterns that they started "overthinking" the data.
  • The One Exception: There was one model that did beat the simple guess: Linear Regression. Think of this as a "Smart Simple" model. It's not a complex detective; it's just a straight line connecting the dots. It won because, in this specific case, the best way to predict the future really is just looking at the very recent past. The complex models were too complicated for a job that required simplicity.
  • The Old School Model Lost: The traditional statistical model (ETS) performed the worst of all, failing to beat even the simple guess.

4. Why Did the "Smart" Team Fail? (The "Black Box" Explained)

The researchers used a tool called SHAP to open up the "black box" of the best-performing Machine Learning model (Random Forest) and see what it was actually thinking.

  • The Analogy: Imagine asking a super-computer, "Why did you guess the price would be $1.36?"
  • The Answer: The computer said, "Well, yesterday it was $1.36, and the day before it was $1.36."
  • The Takeaway: The "Smart" models realized that the most important clue was just the most recent price. They ignored the complex, long-term patterns they were built to find because the data didn't have them. The currency was behaving like a "Random Walk"—it was just drifting randomly, and the only thing that mattered was the last step taken.

5. The Structural Breaks (The "Plot Twists")

The researchers also looked at the timeline and found four major "plot twists" where the rules of the game changed:

  1. 2018: The US-China trade war started.
  2. 2020: The pandemic hit and the world panicked.
  3. 2022: The Bank of Canada raised interest rates to fight inflation.
  4. 2024: The Bank of Canada started cutting rates.

Even with these big events, the simple "Random Walk" model remained the toughest opponent to beat.

Summary

If you want to predict the USD/CAD exchange rate for the next month:

  • Don't rely on a super-complex AI that tries to find hidden secrets in the data; it will likely overcomplicate things.
  • Do look at what happened yesterday.
  • Maybe use a very simple linear math model, which is the only thing that managed to slightly edge out the "guess it's the same as yesterday" strategy in this specific study.

The paper concludes that for this specific currency pair, the market is so efficient that the "simple" approach is still the king, and the fancy Machine Learning models haven't found a magic bullet to predict the future better than just looking at the present.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →