The application of deep learning algorithms to temporal panel datasets is difficult due to heavy non-stationarities which can lead to over-fitted models that under-perform under regime changes. In this work we propose a new machine learning pipeline for ranking predictions on temporal panel datasets which is robust under regime changes of data. Different machine-learning models, including Gradient Boosting Decision Trees (GBDTs) and Neural Networks with and without simple feature engineering are evaluated in the pipeline with different settings. We find that GBDT models with dropout display high performance, robustness and generalisability with relatively low complexity and reduced computational cost. We then show that online learning techniques can be used in post-prediction processing to enhance the results. In particular, dynamic feature neutralisation, an efficient procedure that requires no retraining of models and can be applied post-prediction to any machine learning model, improves robustness by reducing drawdown in regime changes. Furthermore, we demonstrate that the creation of model ensembles through dynamic model selection based on recent model performance leads to improved performance over baseline by improving the Sharpe and Calmar ratios of out-of-sample prediction performances. We also evaluate the robustness of our pipeline across different data splits and random seeds with good reproducibility of results.
翻译:将深度学习算法应用于时间面板数据集时,由于严重的非平稳性可能导致模型过拟合且在机制变化时性能下降,因此极具挑战性。本研究提出了一种新的机器学习流程,用于对时间面板数据集进行稳健的排序预测,该流程对数据的机制变化具有鲁棒性。我们评估了不同设置下的多种机器学习模型,包括梯度提升决策树(GBDTs)以及带/不带简单特征工程的神经网络。研究发现,采用dropout的GBDT模型在复杂度较低且计算成本降低的情况下,表现出高性能、鲁棒性和泛化能力。进一步表明,在线学习技术可用于后预测处理以增强结果。特别地,动态特征中性化作为一种无需重新训练模型且可应用于任何机器学习模型后预测的高效方法,通过减少机制变化中的回撤提高了鲁棒性。此外,我们证明基于近期模型性能的动态模型选择构建模型集成,通过提高样本外预测性能的夏普比率和卡玛比率,优于基准方法。我们还通过不同数据划分和随机种子评估了流程的鲁棒性,结果具有良好的可重复性。