Continual Learning Augmented Investment Decisions

Daniel Philps, Tillman Weyde, Artur S. d'Avila Garcez, Roy BatchelorarXiv 2018 · arXiv

Introduction

Financial forecasting is notoriously difficult due to the non-stationary nature of markets. Traditional Artificial Neural Networks (ANNs) often suffer from "catastrophic forgetting," where learning new patterns overwrites previously acquired knowledge. This is particularly problematic in finance, where market regimes (e.g., bull vs. bear markets) shift over time, and a model that has forgotten how to navigate a previous crisis is ill-equipped for its return. Furthermore, the "black box" nature of deep learning models hinders their adoption in regulated financial environments. This paper introduces Continual Learning Augmentation (CLA), a framework designed to provide neural networks with an explicit memory to handle regime changes and improve explainability.

Methodology: Continual Learning Augmentation (CLA)

The CLA system functions as an architectural "add-on" to a standard Feed-Forward Neural Network (FFNN). It operates through a cycle of prediction, error monitoring, and memory management.

  1. Base Model Prediction: A standard FFNN generates daily forecasts based on current market data.
  2. Memory Formation (The "Remember" Trigger): The system monitors its own prediction error. When the absolute error exceeds a learned threshold ($J_{Crit}$), it signals a potential regime change. At this point, CLA takes a "snapshot" of the model's current parameters and the data context, storing them as a new "memory column."
  3. Memory Retrieval (The "Recall" Mechanism): For subsequent predictions, the system compares the current market context against its library of stored memories. It employs Dynamic Time Warping (DTW) to identify the most similar past regimes, even if the timing or speed of the patterns differ.
  4. Output Balancing: The final prediction is a weighted combination of the base model's output and the outputs from the most relevant recalled memories.
The CLA architecture evolves from a base model (a) to a mature state (d) where multiple memory columns are balanced to produce the final forecast.

Experimental Setup

The CLA framework was evaluated using a large-scale simulation:

  • Universe: Over 4,500 stocks across more than 30 countries.
  • Benchmark: All Countries World Ex-USA Equities Index.
  • Timeframe: 2001 to 2017, with the simulation running from 2003 to 2017 after an initial 24-month training period.
  • Inputs: Stock-level factor loadings, including market excess returns and value indices.

Results and Discussion

The CLA-augmented models demonstrated significant performance improvements over the base FFNN. The similarity-weighted CLA approach achieved an annualized relative return of 4.06% and an Information Ratio of 0.83. Statistical testing confirmed the robustness of these results, with a positive augmentation benefit in 94.1% of simulations.

Crucially, CLA provides a "paper trail" for its decisions. By visualizing which memories are recalled at any given time, practitioners can understand which historical periods the model is drawing upon. For instance, the model was observed recalling lessons from the 2006 "Quant Quake" to navigate the 2008 Financial Crisis.

Top: Trading simulation showing the compound growth of $1 invested using CLA vs. the base model. Bottom: Visualization of external memory recall, showing which historical "memory creation dates" were used at different "recall dates."

Conclusion

Continual Learning Augmentation addresses the dual challenges of non-stationarity and interpretability in financial machine learning. By using prediction error as a signal to store knowledge and DTW for context-aware retrieval, CLA outperforms standard models while offering transparent insights into its reasoning. Future work will focus on reducing the computational cost of DTW and moving toward a fully differentiable architecture to allow end-to-end learning of the memory-recall relationship.

Summary updated

Abstract

Investment decisions can benefit from incorporating an accumulated knowledge of the past to drive future decision making. We introduce Continual Learning Augmentation (CLA) which is based on an explicit memory structure and a feed forward neural network (FFNN) base model and used to drive long term financial investment decisions. We demonstrate that our approach improves accuracy in investment decision making while memory is addressed in an explainable way. Our approach introduces novel remember cues, consisting of empirically learned change points in the absolute error series of the FFNN. Memory recall is also novel, with contextual similarity assessed over time by sampling distances using dynamic time warping (DTW). We demonstrate the benefits of our approach by using it in an expected return forecasting task to drive investment decisions. In an investment simulation in a broad international equity universe between 2003-2017, our approach significantly outperforms FFNN base models. We also illustrate how CLA's memory addressing works in practice, using a worked example to demonstrate the explainability of our approach.
BibTeX
@misc{philps2018continual,
  author = {Daniel Philps and Tillman Weyde and Artur S. d'Avila Garcez and Roy Batchelor},
  title = {{Continual Learning Augmented Investment Decisions}},
  year = {2018},
  eprint = {1812.02340},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.02340},
}
Figure