线性回归、RNN 与 LSTM 的标普500预测方法学严谨基准:识别金融深度学习中的性能虚高来源
摘要
该研究使用 2006—2025 年的数据集(含基本面价格数据、宏观经济指标与工程化技术特征),对标普500收盘点位做提前一日预测,并在统一的预处理与按时间顺序评估的流程下对比线性回归、vanilla RNN 与 LSTM 三类模型。研究的核心贡献是对股票预测深度学习文献中的常见做法做方法学审计,指出三种常导致结果虚高的来源:使用小波去噪后的评估目标、缺少朴素持续预测基线、按 best-of-N 重复择优报告;随后在逐一控制这三点的修正协议下重新评估所有模型。每个配置做 N=30 次独立重复,用 RMSE、MAPE 与 Pearson 相关系数报告,并以“以今日收盘价预测明日收盘价”的朴素持续预测作为主要基线。
查看原始标题和摘要
A Methodologically Rigorous Benchmark of Linear Regression,RNN, and LSTM for S&P 500 Forecasting:Identifying Sources of Performance Inflation in Financial DeepLearning
This study examines one-day-ahead forecasting of the S&P 500 closing level using a 2006-2025 dataset that includes fundamental price data, macroeconomic indicators, and engineered technical features. We benchmark three model families, namely linear regression, vanilla recurrent neural networks (RNN), and long short-term memory networks (LSTM), within a unified preprocessing and chronological evaluation pipeline. A central contribution of this work is a methodological audit of common practices in the deep-learning-for-stock-prediction literature. We identify three sources of result inflation that frequently appear in published methodologies: wavelet-denoised evaluation targets, the absence of a naive persistence baseline, and best-of-N replicate reporting. We then re-evaluate all model families under a corrected protocol that controls for each. Performance is reported using root mean squared error, mean absolute percentage error, and the Pearson correlation coefficient, averaged across N = 30 independent replicates per configuration. We compare models on accuracy, stability across replicates, and architectural depth sensitivity, using the naive persistence forecast (predicting today
核心要点
- 在统一预处理与按时间顺序评估的流程下,对比线性回归、vanilla RNN、LSTM 三类模型族
- 识别三类性能虚高来源:小波去噪的评估目标、缺少朴素持续基线、best-of-N 择优报告
- 每个配置进行 N=30 次独立重复,并报告 RMSE、MAPE 与 Pearson 相关系数的均值
- 以朴素持续预测(今日收盘价即明日收盘价)为主要基线,候选模型必须相对该基线有提升
- 比较维度包括准确率、跨重复稳定性与架构深度敏感性
为什么值得后端工程师关注
这项工作的价值主要在评估方法学,而非模型本身:它提示后端与 ML 工程师在做时间序列预测服务时,必须设置朴素基线、严格按时间切分以避免泄漏、用多次重复的统计量(而非单次最优结果)报告指标,并警惕对评估目标做去噪等预处理造成的指标虚高;这些做法可直接迁移到风控、容量预测等线上预测系统的离线评估规范中。