Paper: arXiv 2512.12727
Authors: Dinggao Liu, Robert Ślepaczuk, Zhenpeng Tang
Abstract
Accurately forecasting daily exchange rate returns represents a longstanding challenge in international finance, as the exchange rate returns are driven by a multitude of correlated market factors and exhibit high-frequency fluctuations. This paper proposes EXFormer, a novel Transformer-based architecture specifically designed for forecasting the daily exchange rate returns. We introduce a multi-scale trend-aware self-attention mechanism that employs parallel convolutional branches with differing receptive fields to align observations on the basis of local slopes, preserving long-range dependencies while remaining sensitive to regime shifts. A dynamic variable selector assigns time-varying importance weights to 28 exogenous covariates related to exchange rate returns, providing pre-hoc interpretability. An embedded squeeze-and-excitation block recalibrates channel responses to emphasize informative features and depress noise in the forecasting. Using the daily data for EUR/USD, USD/JPY, and GBP/USD, we conduct out-of-sample evaluations across five different sliding windows. EXFormer consistently outperforms the random walk and other baselines, improving directional accuracy by a statistically significant margin of up to 8.5–22.8%. In nearly one year of trading backtests, the model converts these gains into cumulative returns of 18%, 25%, and 18% for the three pairs, with Sharpe ratios exceeding 1.8. When conservative transaction costs and slippage are accounted for, EXFormer retains cumulative returns of 7%, 19%, and 9%, while other baselines achieve negative. The robustness checks further confirm the model’s superiority under high-volatility and bear-market regimes. EXFormer furnishes both economically valuable forecasts and transparent, time-varying insights into the drivers of exchange rate dynamics for international investors, corporations, and central bank practitioners.
Complexity vs Empirical Score
- Math Complexity: 8.0/10
- Empirical Rigor: 8.5/10
- Quadrant: Holy Grail — high math complexity, high empirical rigor
Why this score: The paper employs advanced deep learning concepts like Transformers, multi-scale trend-aware attention, and squeeze-and-excitation blocks, requiring dense mathematical formulation, while providing rigorous empirical validation with multiple currency pairs, sliding-window backtests, transaction cost adjustments, and statistical significance testing.
Research Flowchart
flowchart TD Start["Research Goal<br>Daily FX Returns Forecasting<br>EUR/USD, USD/JPY, GBP/USD"] --> Inputs["Data & Inputs<br>28 Exogenous Covariates<br>Daily Historical Prices"] Inputs --> Method["Core Methodology<br>EXFormer Architecture"] Method --> A["Multi-Scale Trend-Aware<br>Self-Attention (Parallel Convs)"] Method --> B["Dynamic Variable Selector<br>Time-Varying Weights"] Method --> C["Squeeze-and-Excitation Block<br>Feature Recalibration"] A & B & C --> Process["Learning & Out-of-Sample Forecasting<br>Sliding Windows & Backtesting"] Process --> Results["Key Findings & Outcomes"] Results --> R1["Outperforms Baselines & Random Walk<br>Dir. Acc. Gain: 8.5–22.8%"] Results --> R2["Backtest Returns (No Costs):<br>18%, 25%, 18%"] Results --> R3["Returns w/ Costs (>0):<br>7%, 19%, 9% vs Baseline Negative"] Results --> R4["Robust in High Volatility<br>Transparent Driver Insights"]
Cited References (83)
- Exchange rate forecasting, order flow and macroeconomic information (2010) — link
- Exchange rate forecasting: the errors we’ve really made (2003) — link
- Exchange rate predictability (2013) — link
- Deep learning-based exchange rate prediction during the COVID-19 pandemic (2025) — link
- 30 years of exchange rate analysis and forecasting: A bibliometric review (2024) — link
- Empirical exchange rate models of the seventies: Do they fit out of sample? (1983) — link
- Deep learning with long short-term memory networks for financial market predictions (2018) — link
- Empirical asset pricing via machine learning (2020) — link
and 75 more
- Approximately normal tests for equal predictive accuracy in nested models (2007) — link
- Testing the value of directional forecasts in the presence of serial correlation (2014) — link
- Exchange rates and monetary policy uncertainty (2017) — link
- Structural breaks and GARCH models of exchange rate volatility: Re-examination and extension (2024) — link
- Unveiling the potential: Exploring the predictability of complex exchange rate trends (2024) — link
- A fundamental connection: Exchange rates and macroeconomic expectations (2024) — link
- Forecasting USD/RMB exchange rate using the ICEEMDAN-CNN-LSTM model (2025) — link
- Forecasting the daily exchange rate of the UK pound sterling against the US dollar (2025) — link
- Understanding exchange rate shocks during COVID-19 (2022) — link
- Imperfect exchange rate expectations (2025) — link
- Exchange rate return predictability in times of geopolitical risk (2022) — link
- A bi-level ensemble learning approach to complex time series forecasting: taking exchange rates as an example (2023) — link
- Forecasting daily and monthly exchange rates with machine learning techniques (2015) — link
- A new ensemble deep learning approach for exchange rates forecasting and trading (2020) — link
- Explaining exchange rate forecasts with macroeconomic fundamentals using interpretive machine learning — → 2303.16149
- Combined ensemble multi-class SVM and fuzzy NSGA-II for trend forecasting and trading in Forex markets (2021) — link
- Long-Term Exchange Rate Probability Density Forecasting Using Gaussian Kernel and Quantile Random Forest (2020) — link
- A deep coupled LSTM approach for USD/CNY exchange rate forecasting (2020) — link
- Forecasting Currency Exchange Rate through a Hybrid Time Series Analysis (2025) — link
- Neural networks performance in exchange rate prediction (2016) — link
- Forex market forecasting using machine learning: Systematic Literature Review and meta-analysis (2023) — link
- Forecasting of exchange rate time series based on event-aware transformer mode (2025) — link
- Fx-spot predictions with state-of-the-art transformer and time embeddings (2024) — link
- Improving exchange rate forecasting via a new deep multimodal fusion model (2022) — link
- Forecasting gold price with the XGBoost algorithm and SHAP interaction values (2024) — link
- LEST: Large language models and spatio-temporal data analysis for enhanced Sino-US exchange rate forecasting (2024) — link
- Narrative asset pricing: Interpretable systematic risk factors from news text (2023) — link
- From Econometrics to Machine Learning: Transforming Empirical Asset Pricing (2025) — link
- Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecasting (2021) — link
- Timexer: Empowering transformers for time series forecasting with exogenous variables (2024) — link
- Volatility forecasting and assessing risk of financial markets using multi-transformer neural network based architecture (2024) — link
- A combined Independent Component Analysis–Neural Network model for forecasting exchange rate variation (2019) — link
- A new multiscale decomposition ensemble approach for forecasting exchange rates (2019) — link
- A clustering-based nonlinear ensemble approach for exchange rates forecasting (2018) — link
- On the sources of uncertainty in exchange rate predictability (2018) — link
- Return and volatility linkages among International crude oil price, gold price, exchange rate and stock markets: Evidence from Mexico (2019) — link
- Fintech advancements for financial resilience: Analysing exchange rates and digital currencies during oil and financial risk (2024) — link
- Shorting the dollar when global stock markets roar: The equity hedging channel of exchange rate determination (2024) — link
- Nominal exchange rates and monetary fundamentals: evidence from a small post-Bretton Woods panel (2001) — link
- A Twofold Model for Exchange Rate Forecasting: Combining Fundamentals and Market Dynamics (2024) — link
- Forecasting directional movement of Forex data using LSTM with technical and macroeconomic indicators (2021) — link
- The uncovered interest parity puzzle, exchange rate forecasting, and Taylor rules (2019) — link
- Empirical exchange rate models of the nineties: Are any fit to survive? (2005) — link
- Exchange rate reconnect (2022) — link
- Exchange rate prediction redux: New models, new data, new currencies (2019) — link
- The shocks matter: improving our estimates of exchange rate pass-through (2018) — link
- Global portfolio rebalancing and exchange rates (2022) — link
- Attention is all you need (2017) — link
- Predicting the direction, maximum, minimum and closing prices of daily Bitcoin exchange rate using machine learning techniques (2019) — link
- A GARCH-temporal fusion transformer model for the volatility prediction of exchange traded funds (2025)
- Evolutionary support vector machine for RMB exchange rate forecasting (2019) — link
- Google Trends and the forecasting performance of exchange rate models (2018) — link
- Wavelet Transformer : An Effective Method on Multiple Periodic Decomposition for Time Series Forecasting (2025) — link
- A Kalman filter-based hybridization model of statistical and intelligent approaches for exchange rate forecasting (2021) — link
- A hybrid approach for studying the lead-lag relationships between China’s onshore and offshore exchange rates considering the impact of extreme events (2018) — link
- The relationship between oil prices and exchange rates: Revisiting theory and evidence (2020) — link
- A new LASSO-BiLSTM-based ensemble learning approach for exchange rate forecasting (2024) — link
- Interpretable EU ETS Phase 4 prices forecasting based on deep generative data augmentation approach (2024) — link
- Enhancing the locality and breaking the memory bottleneck of transformer on time series forecasting (2019) — link
- Learning dynamics and heterogeneity of spatial-temporal graph data for traffic forecasting (2021) — link
- DeformTime : Capturing Variable Dependencies with Deformable Attention for Time Series Forecasting (2025) — link
- A Simple, Positive Semi-Definite, Heteroskedasticity and Autocorrelation Consistent Covariance Matrix (1987) — link
- Mean absolute directional loss as a new loss function for machine learning problems in algorithmic investment strategies — → 2309.10546
- Alternative Loss Function in Evaluation of Transformer Models — → 2507.16548
- Liquidity and exchange rates: An empirical investigation (2023) — link
- Recession prediction using yield curve and stock market liquidity deviation measures (2015) — link
- International liquidity and exchange rate dynamics (2015) — link
- Deviations from covered interest rate parity (2018) — link
- The share of systematic variation in bilateral exchange rates (2018) — link
- LSTM-ARIMA as a hybrid approach in algorithmic investment strategies — → 2406.18206
- Chronos: Learning the language of time series (2024) — link
- AirFormer: Predicting Nationwide Air Quality in China with Transformers (2023) — link
- DSTAGNN : Dynamic Spatial-Temporal Aware Graph Neural Network for Traffic Flow Forecasting (2022) — link
- Enhancing forex market forecasting with feature-augmented multivariate LSTM models using real-time data (2025) — link
- Forecasting the exchange rate with multiple linear regression and heavy ordered weighted average operators (2022) — link
4 of 83 cited works are in the corpus; resolved via arXiv source bundles, Semantic Scholar and OpenAlex. Corpus-wide: 2518 linked papers.