🤖 AI Summary
To address the poor generalization and overfitting of offline reinforcement learning (RL) policies to historical data in non-stationary financial markets, this paper proposes MetaTrader, a two-level meta-RL framework. At the upper level, it jointly optimizes in-domain cumulative returns and out-of-domain robustness across multiple data transformations. At the lower level, it introduces Worst-case Temporal Difference (Worst-case TD), a robust TD algorithm based on worst-case value estimation, to mitigate value overestimation inherent in small-batch offline financial data. Furthermore, domain-specific data augmentation techniques tailored to financial time series are integrated to enhance adaptability to market dynamics. Experiments on two public stock datasets demonstrate that MetaTrader significantly outperforms existing offline RL methods and conventional forecasting models: it improves return stability by 23.6% and cross-market transfer performance by 19.4%.
📝 Abstract
Reinforcement learning (RL) has shown significant promise for sequential portfolio optimization tasks, such as stock trading, where the objective is to maximize cumulative returns while minimizing risks using historical data. However, traditional RL approaches often produce policies that merely memorize the optimal yet impractical buying and selling behaviors within the fixed dataset. These offline policies are less generalizable as they fail to account for the non-stationary nature of the market. Our approach, MetaTrader, frames portfolio optimization as a new type of partial-offline RL problem and makes two technical contributions. First, MetaTrader employs a bilevel learning framework that explicitly trains the RL agent to improve both in-domain profits on the original dataset and out-of-domain performance across diverse transformations of the raw financial data. Second, our approach incorporates a new temporal difference (TD) method that approximates worst-case TD estimates from a batch of transformed TD targets, addressing the value overestimation issue that is particularly challenging in scenarios with limited offline data. Our empirical results on two public stock datasets show that MetaTrader outperforms existing methods, including both RL-based approaches and traditional stock prediction models.