Since Meese and Rogoff (1983), the hardest benchmark in exchange-rate forecasting has been the simplest one: assume the rate will not change. Deep learning is now pitched as the tool that finally finds the structure economists missed. For an FX desk, a corporate treasury choosing a forecast vendor, or a model-risk team approving one, the question is whether a modern neural network actually beats "no change" out of sample.

I tested it on weekly moves of 12 floating currencies against the US dollar, out of sample from January 2014 to October 2026, with the design fixed before any result was seen.

−0.60%
Out-of-sample R² of the LSTM against the random walk (Diebold-Mariano p = 0.15)
−3.98%
Out-of-sample R² of the MLP: significantly worse than 'no change' (p < 0.001)
50.4%
LSTM direction hit rate over 7,921 weekly forecasts (p = 0.24)
0.30
Sharpe of an LSTM sign rule after costs: 1.6% a year, t = 1.07, not reliable

Executive summary

The question. Can a deep-learning model forecast next week's currency moves better than assuming no change?

The approach. Weekly log changes of 12 currencies against the dollar from 2006. Each year from 2014 to 2026, every model is retrained on all earlier weeks and forecasts the following year, using only information known at each Friday close. A PyTorch LSTM and MLP, pooled across currencies and averaged over five random seeds, are compared with the random walk, an AR(1) and a ridge regression on the same inputs. Forecasts are judged on out-of-sample R² against the random walk, Diebold-Mariano tests, direction hit rate and a simple trading rule after costs.

The answer. No model beat the random walk. The LSTM came within 0.6% of it, the ridge regression did slightly worse, and the more flexible MLP was significantly worse. Direction calls were a coin flip. Trading the LSTM's direction made 1.6% a year after costs, but with a t-statistic near 1, positive in 8 of 13 years, and almost all of it before late 2022.

The decision. Keep the random walk as the benchmark any FX forecast must beat, and do not hedge or trade on a price-only neural forecast. Require vendors and in-house models to show walk-forward results against "no change", with seed stability and costs, before they enter a hedging or trading process.

Business outcomes

DecisionWhat the data showedWhat it means
Replace 'no change' with a neural forecastLSTM R² −0.60% vs random walk (p = 0.15); ridge −0.67% (p = 0.02)Not better; keep the random walk
Use a bigger, more flexible networkMLP R² −3.98% (p < 0.001); forecasts 19% as volatile as returnsFlexibility added noise, not signal
Trust the direction call50.4% of 7,921 forecasts (p = 0.24)A coin flip
Trade the forecast1.6% a year after costs, Sharpe 0.30, t = 1.07Too weak to fund
Rely on one training runYearly LSTM R² ranged −8.9% to +3.0% across seedsResults depend on the random seed

Weekly forecasts, 12 currencies, January 2014 to October 2026; walk-forward retraining each year; 3 bp a side for the trading rule.

End to end in five steps

StepWhat happensOutput
1. SourceDaily closes of 12 currencies against the dollar from a public mirror, checksum-pinnedEUR, JPY, GBP, CHF, CAD, AUD, NZD, SEK, NOK, MXN, ZAR, BRL
2. Weekly dataFriday-close log changes from June 2006; three bad prints removedAbout 1,060 weeks per currency
3. FeaturesLast 12 weekly moves, the broad dollar move, momentum and volatility, all known at the closeOne row per currency per week
4. ForecastWalk-forward: retrain each January, forecast the year; five model families7,921 out-of-sample forecasts, 2014–2026
5. JudgeR² against the random walk, Diebold-Mariano, hit rate, trading after costs, seed stabilityForecasting decision

The data

The source is the public defeatbeta mirror of Yahoo Finance data on Hugging Face (ODC-BY), which includes daily closes of major and emerging-market currencies against the US dollar. I used twelve currencies that floated for the whole period and are widely traded, built Friday-close weekly log changes from June 2006, and removed three weekly moves larger than 20% as bad prints. The test period runs from the first week of 2014 to October 2026: 669 weeks and 7,921 currency-week forecasts.

How the models work

ModelWhat it doesWhy it is here
Random walkForecasts zero changeThe benchmark since Meese and Rogoff (1983)
AR(1)Next week's move on this week's, one regression per currencyThe simplest time-series model
RidgeLinear regression on all features, penalty chosen on held-out recent dataA disciplined linear model on the same information
MLPA small feed-forward network (32 and 16 units) on the same featuresNon-linear version of the ridge
LSTMA recurrent network (16 units) reading the last 26 weeks of movesBuilt for sequences; the deep-learning claim

The method

Each year from 2014 to 2026, every model is trained on all weeks whose target was known before 1 January and then forecasts every week of that year; features are standardised with training data only, and a unit test confirms that changing future data does not change today's features. The networks are trained with PyTorch, Adam and early stopping on the most recent 20% of each training window, pooled across currencies so they see as much data as possible (3,850 rows in 2014, 11,258 by 2026), and averaged over five random seeds. Forecasts are judged by the out-of-sample R² against the random walk (Campbell and Thompson, 2008), Diebold-Mariano tests of equal accuracy (Diebold and Mariano, 1995), the share of correct direction calls, and a trading rule that is long or short each currency, equally weighted, by the sign of the forecast, after 3 basis points a side. Four hypotheses were written down in advance: the LSTM beats the random walk (H1), beats the ridge regression (H2), calls direction better than 50% (H3), and earns a positive Sharpe ratio after costs (H4).

The results

Bar chart of out-of-sample R squared against the random walk for AR(1), ridge, MLP and LSTM, all close to or below zero
Out-of-sample R² against the random walk, weekly, 12 currencies, 2014–2026.

No model beat the random walk in a statistically meaningful way. The AR(1) came closest, with an R² of +0.24% (p = 0.46). The LSTM was at −0.60% (p = 0.15), the ridge regression at −0.67%, significantly worse than no change (p = 0.02), and the MLP at −3.98%, much worse (p < 0.001). The LSTM was no better than the ridge regression (z = 0.15).

Line chart of the cumulative squared-error gain of ridge, MLP and LSTM forecasts over the random walk from 2014 to 2026, with the MLP falling steadily and the others hovering below zero
Cumulative squared-error gain over the random walk. Above zero means beating 'no change'.

The pattern is the classic one: the more freedom a model has, the more noise it fits. The MLP's forecasts were 19% as volatile as the actual moves, the LSTM's 12%, the ridge's 8%, and accuracy fell in the same order. The LSTM was also unstable: across the five seeds its yearly R² ranged from −8.9% to +3.0%, so a single training run could look far better, or far worse, than the average. By currency, it beat the random walk only for the two most volatile, the Brazilian real (+2.2%) and the South African rand (+1.6%), and lost to it in the other ten.

Line chart of cumulative return after costs of the LSTM sign rule and a 26-week momentum rule from 2014 to 2026
Trading the direction of the forecast, equal weights, 3 bp a side.

The direction calls were right 50.4% of the time. Trading them made 1.6% a year after costs with 5.4% volatility, a Sharpe ratio of 0.30 and a t-statistic of 1.07; it was positive in 8 of 13 years, and almost all of the gain came before late 2022. The same rule on the AR(1) earned 0.8% a year, and a 26-week momentum rule lost 0.8%. Of the four hypotheses, H1, H2 and H3 are rejected; H4 holds only in the narrow sense that the Sharpe ratio was positive.

The commercial case

The buyers are FX desks and corporate treasuries choosing forecast vendors, macro and currency-overlay managers, and model-risk teams at banks that must approve machine-learning models. The live postings behind this topic, from FX quantitative strategist and machine-learning researcher roles to model validation roles, share one need: knowing whether a forecast beats the naive benchmark out of sample.

The problem in dollars: a treasury that hedges $500m of exposure on a vendor forecast that is worse than "no change" pays for noise, in both fees and mistimed hedges. The product is an FX forecast validation harness: walk-forward retraining, the random-walk benchmark, Diebold-Mariano tests, seed stability and cost-aware P&L, run on any vendor or in-house model.

ElementWhat it is
Who paysFX desks, corporate treasuries choosing forecast vendors, currency-overlay managers, bank model-risk teams
The problemNeural forecasts sold on in-sample fit; out of sample none beat 'no change' and the most flexible did worst
The productFX forecast validation harness: walk-forward, random-walk benchmark, Diebold-Mariano, seed stability, P&L after costs
Proof12 currencies, 669 test weeks, design fixed in advance, five seeds, five model families
Build vs buy2–3 weeks on the client's own rate history; most teams compare models on in-sample error
Pricing logic$30–60k a year per desk or per validation (illustrative)
Adoption risksThe usual verdict, keep the random walk, is valuable but unexciting
KPIOut-of-sample R² and Diebold-Mariano against the random walk, per currency and per year

Commercial case at a glance. Prices are illustrative.

Recommendations

  • Decision: keep "no change" as the benchmark for every FX forecast; do not hedge or trade on a price-only neural forecast.
  • Controls: require walk-forward results against the random walk, Diebold-Mariano tests, results across several random seeds, and P&L after costs before any forecast model is used.
  • Governance: report each model's out-of-sample R² against the random walk per currency and per year; retire models that fall below it for a full year.
  • What to monitor: whether added information, such as interest-rate differentials or positioning, changes the result; that is where the literature finds most of the predictability (Rossi, 2013).

Limits

  • Price changes only: no interest-rate differentials, positioning or macro data.
  • Weekly horizon; daily or monthly forecasts may behave differently.
  • Small networks on up to 11,258 training rows; larger models and more data could differ, although the MLP's results point the other way.
  • Independent research on public data. Not deployed; not investment advice.

How it was built

Pipeline flowchart from the public FX closes through weekly changes, features and walk-forward training of five model families to the forecast tests
The full pipeline, from public data to the forecasting decision.

Sources

Data

Methods referenced

  • Meese, R. A. and Rogoff, K. (1983). "Empirical Exchange Rate Models of the Seventies: Do They Fit Out of Sample?" Journal of International Economics 14(1–2), 3–24.
  • Rossi, B. (2013). "Exchange Rate Predictability." Journal of Economic Literature 51(4), 1063–1119.
  • Hochreiter, S. and Schmidhuber, J. (1997). "Long Short-Term Memory." Neural Computation 9(8), 1735–1780.
  • Diebold, F. X. and Mariano, R. S. (1995). "Comparing Predictive Accuracy." Journal of Business and Economic Statistics 13(3), 253–263.
  • Campbell, J. Y. and Thompson, S. B. (2008). "Predicting Excess Stock Returns Out of Sample: Can Anything Beat the Historical Average?" Review of Financial Studies 21(4), 1509–1531.

Independent research on public data, not investment advice; dollar figures are illustrative. Analysis, code, charts and text were produced with AI assistance and reviewed by the author.