mlsanityData to 14 Oct 2026

Few-Shot Learning Patterns in Financial Time-Series for Trend-Following Strategies

arXiv 2310.10500 ↗First posted 16 Oct 2023q-fin.TR cs.LG q-fin.PMcited by 4

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  4. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  5. 2016Matching Networks for One Shot Learningcited by 2,255
  6. 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
  7. 2015Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs)cited by 1,070
  8. 2019Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecastingcited by 761
  9. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
  10. 2019A Closer Look at Few-shot Classificationcited by 684
  11. 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 503
  12. 2020Time Series Forecasting With Deep Learning: A Surveycited by 459
23 more
  1. 2020Rethinking Few-Shot Image Classification: a Good Embedding Is All You Need?cited by 437
  2. 2018Conditional Neural Processescited by 426
  3. 2016Learning to reinforcement learncited by 377
  4. 2018Neural Processescited by 311
  5. 2019A Baseline for Few-Shot Image Classificationcited by 298
  6. 2019Attentive Neural Processescited by 283
  7. 2017A Multi-Horizon Quantile Recurrent Forecastercited by 211
  8. 2018Bayesian Model-Agnostic Meta-Learningcited by 194
  9. 2020CrossTransformers: spatially-aware few-shot transfercited by 174
  10. 2019Quant GANs: Deep Generation of Financial Time Seriescited by 108
  11. 2016Entity Embeddings of Categorical Variablescited by 87
  12. 2018Universal features of price formation in financial markets: perspectives from Deep Learningcited by 60
  13. 2019Sequential Neural Processescited by 55
  14. 2019Continuous Meta-Learning without Taskscited by 50
  15. 2020On Episodes, Prototypical Networks, and Few-shot Learningcited by 46
  16. 2019Enhancing Time Series Momentum Strategies Using Deep Neural Networkscited by 31
  17. 2021Trading with the Momentum Transformer: An Intelligent and Interpretable Architecturecited by 16
  18. 2019Recurrent Attentive Neural Process for Sequential Datacited by 15
  19. 2021Slow Momentum with Fast Reversion: A Trading Strategy Using Deep Learning and Changepoint Detectioncited by 13
  20. 2019Recurrent Neural Processescited by 10
  21. 2023Spatio-Temporal Momentum: Jointly Learning Time-Series and Cross-Sectional Strategiescited by 6
  22. 2023Robust Detection of Lead-Lag Relationships in Lagged Multi-Factor Modelscited by 1
  23. 2023Network Momentum across Asset Classescited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 2.

4 papers.