We evaluate benchmark deep reinforcement learning (DRL) algorithms on the task of portfolio optimisation under a simulator. The simulator is based on correlated geometric Brownian motion (GBM) with the Bertsimas-Lo (BL) market impact model. Using the Kelly criterion (log utility) as the objective, we can analytically derive the optimal policy without market impact and use it as an upper bound to measure performance when including market impact. We found that the off-policy algorithms DDPG, TD3 and SAC were unable to learn the right Q function due to the noisy rewards and therefore perform poorly. The on-policy algorithms PPO and A2C, with the use of generalised advantage estimation (GAE), were able to deal with the noise and derive a close to optimal policy. The clipping variant of PPO was found to be important in preventing the policy from deviating from the optimal once converged. In a more challenging environment where we have regime changes in the GBM parameters, we found that PPO, combined with a hidden Markov model (HMM) to learn and predict the regime context, is able to learn different policies adapted to each regime. Overall, we find that the sample complexity of these algorithms is too high, requiring more than 2m steps to learn a good policy in the simplest setting, which is equivalent to almost 8,000 years of daily prices.
翻译:我们在模拟器环境下评估了基准深度强化学习(DRL)算法在投资组合优化任务中的表现。该模拟器基于带Bertsimas-Lo(BL)市场冲击模型的相关几何布朗运动(GBM)。以凯利准则(对数效用)为目标函数,我们能够解析推导出无市场冲击时的最优策略,并将其作为包含市场冲击情境下性能衡量的上界。研究发现,由于噪声奖励的影响,离策略算法DDPG、TD3和SAC无法学习正确的Q函数,因此表现较差。采用广义优势估计(GAE)的在线策略算法PPO和A2C能够处理噪声并推导出接近最优的策略。PPO的剪枝变体在策略收敛后防止其偏离最优策略方面至关重要。在更具挑战性的环境中,当GBM参数存在机制转换时,我们发现PPO结合隐马尔可夫模型(HMM)学习并预测机制背景,能够学习适应不同机制的差异化策略。总体而言,这些算法的样本复杂度过高,即使在最简单设定下也需要超过200万步才能学到良好策略,相当于近8000年的每日价格数据。