Few-Shot Learning Patterns in Financial Time-Series for Trend-Following Strategies
Not on the map. Why?
Abstract (arXiv)
Forecasting models for systematic trading strategies do not adapt quickly when financial market conditions rapidly change, as was seen in the advent of the COVID-19 pandemic in 2020, causing many forecasting models to take loss-making positions. To deal with such situations, we propose a novel time-series trend-following forecaster that can quickly adapt to new market conditions, referred to as regimes. We leverage recent developments from the deep learning community and use few-shot learning. We propose the Cross Attentive Time-Series Trend Network -- X-Trend -- which takes positions attending over a context set of financial time-series regimes. X-Trend transfers trends from similar patterns in the context set to make forecasts, then subsequently takes positions for a new distinct target regime. By quickly adapting to new financial regimes, X-Trend increases Sharpe ratio by 18.9% over a neural forecaster and 10-fold over a conventional Time-series Momentum strategy during the turbulent market period from 2018 to 2023. Our strategy recovers twice as quickly from the COVID-19 drawdown compared to the neural-forecaster. X-Trend can also take zero-shot positions on novel unseen financial assets obtaining a 5-fold Sharpe ratio increase versus a neural time-series trend forecaster over the same period. Furthermore, the cross-attention mechanism allows us to interpret the relationship between forecasts and patterns in the context set.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 35 of its 66 references that are in the map. First posted on arXiv 16 Oct 2023.
Builds on
35 of 66 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
- 2015Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)cited by 1,070
- 2019Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecastingcited by 761
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
- 2019A Closer Look at Few-shot Classificationcited by 684
- 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 503
- 2020Time Series Forecasting With Deep Learning: A Surveycited by 459
23 more
- 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 437
- 2018Conditional Neural Processescited by 426
- 2016Learning to reinforcement learncited by 377
- 2018Neural Processescited by 311
- 2019A Baseline for Few-Shot Image Classificationcited by 298
- 2019Attentive Neural Processescited by 283
- 2017A Multi-Horizon Quantile Recurrent Forecastercited by 211
- 2018Bayesian Model-Agnostic Meta-Learningcited by 194
- 2020CrossTransformers: spatially-aware few-shot transfercited by 174
- 2019Quant GANs: Deep Generation of Financial Time Seriescited by 108
- 2016Entity Embeddings of Categorical Variablescited by 87
- 2018Universal features of price formation in financial markets: perspectives from Deep Learningcited by 60
- 2019Sequential Neural Processescited by 55
- 2019Continuous Meta-Learning without Taskscited by 50
- 2020On Episodes, Prototypical Networks, and Few-shot Learningcited by 46
- 2019Enhancing Time Series Momentum Strategies Using Deep Neural Networkscited by 31
- 2021Trading with the Momentum Transformer: An Intelligent and Interpretable Architecturecited by 16
- 2019Recurrent Attentive Neural Process for Sequential Datacited by 15
- 2021Slow Momentum with Fast Reversion: A Trading Strategy Using Deep Learning and Changepoint Detectioncited by 13
- 2019Recurrent Neural Processescited by 10
- 2023Spatio-Temporal Momentum: Jointly Learning Time-Series and Cross-Sectional Strategiescited by 6
- 2023Robust Detection of Lead-Lag Relationships in Lagged Multi-Factor Modelscited by 1
- 2023Network Momentum across Asset Classescited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 2.
4 papers.
- 2024Temporal Representation Learning for Stock Similarities and Its Applications in Investment Managementcited by 1
- 2025Adapting to the Unknown: Robust Meta-Learning for Zero-Shot Financial Time Series Forecastingcited by 0
- 2026DeePM: Regime-Robust Deep Learning for Systematic Macro Portfolio Managementcited by 0
- 2026Deep Learning for Financial Time Series: A Large-Scale Benchmark of Risk-Adjusted Performancecited by 0
- 2026Deep Learning for Financial Time Series: A Large-Scale Benchmark of Risk-Adjusted Performance2 Mar 2026
- 2026DeePM: Regime-Robust Deep Learning for Systematic Macro Portfolio Management9 Jan 2026
- 2025Adapting to the Unknown: Robust Meta-Learning for Zero-Shot Financial Time Series Forecasting13 Apr 2025
- 2024Temporal Representation Learning for Stock Similarities and Its Applications in Investment Management18 Jul 2024