Incremental Learning of Stock Trends via Meta-Learning with Dynamic Adaptation
Shiluo Huang, Zheng Liu, Ye Deng, Qing Li
TL;DR
The paper addresses stock trend forecasting under concept drift by proposing MetaDA, a meta-learning framework with dynamic adaptation that simultaneously leverages emerging patterns in the latest data and recurring patterns in historical data. It introduces a task inference module and task embeddings to selectively incorporate informative historical data during model adaptation, while updating the forecaster with a single gradient step and performing online updates for subsequent tasks. Empirical results on CSI-300 and CSI-500 demonstrate state-of-the-art performance across multiple forecasters and metrics, with ablation studies validating the contributions of dynamic data selection and the task inference mechanism. The approach offers practical benefits for real-time stock prediction by balancing accuracy and adaptation efficiency, and future work may integrate additional side information such as news sources.
Abstract
Forecasting the trend of stock prices is an enduring topic at the intersection of finance and computer science. Periodical updates to forecasters have proven effective in handling concept drifts arising from non-stationary markets. However, the existing methods neglect either emerging patterns in recent data or recurring patterns in historical data, both of which are empirically advantageous for future forecasting. To address this issue, we propose meta-learning with dynamic adaptation (MetaDA) for the incremental learning of stock trends, which periodically performs dynamic model adaptation utilizing the emerging and recurring patterns simultaneously. We initially organize the stock trend forecasting into meta-learning tasks and train a forecasting model following meta-learning protocols. During model adaptation, MetaDA efficiently adapts the forecasting model with the latest data and a selected portion of historical data, which is dynamically identified by a task inference module. The task inference module first extracts task-level embeddings from the historical tasks, and then identifies the informative data with a task inference network. MetaDA has been evaluated on real-world stock datasets, achieving state-of-the-art performance with satisfactory efficiency.
