arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.06932cs.LGcs.AI
收藏

时间序列预测中的隐藏泄漏:数据泄漏如何影响LSTM在不同配置和验证策略下的评估

Hidden Leaks in Time Series Forecasting: How Data Leakage Affects LSTM Evaluation Across Configurations and Validation Strategies

King Fahd University of Petroleum \& Minerals, Department of Information;Computer Science, Dhahran, Saudi Arabia Imam Abdulrahman Bin Faisal University, Department of Computer Science, Dammam, Saudi Arabia SDAIA-KFUPM Joint Research Center for Artificial Intelligence, Dhahran, Saudi Arabia

Salma Albelali, Moataz Ahmed

AI总结:

本研究探讨了数据泄漏对LSTM时间序列预测评估的影响,发现10折交叉验证在延长滞后步长时RMSE Gain高达20.5%,而其他验证策略更稳健,需配置感知的抗泄漏评估流程。

摘要:

深度学习模型,特别是长短期记忆网络(LSTM)网络,由于其能够捕捉复杂的时序依赖性,在时间序列预测中被广泛应用。然而,评估的完整性常常受到数据泄漏的影响,这是一种方法学上的缺陷,即在数据集划分之前构造输入-输出序列,允许未来信息无意中影响训练。本研究探讨了数据泄漏对性能的影响,重点研究验证设计如何调解泄漏敏感性。三种广泛使用的验证技术(2-way split、3-way split和10-fold交叉验证)在泄漏(预分割序列生成)和清洁条件下进行评估,后者通过在序列构建之前强制时间分离来降低泄漏风险。通过RMSE Gain(衡量泄漏导致的RMSE相对增加的百分比差异)来评估泄漏的影响。实证结果表明,10折交叉验证在延长滞后步长时,RMSE Gain值可达20.5%。相比之下,2-way和3-way分割表现出更大的鲁棒性,通常在不同配置下保持RMSE Gain低于5%。此外,输入窗口大小和滞后步长显著影响泄漏敏感性:较小的窗口和较长的滞后步长会增加泄漏风险,而较大的窗口有助于减少这种风险。这些发现强调了需要配置感知、抗泄漏的评估流程,以确保可靠的性能估计。

英文摘要:

Deep learning models, particularly Long Short-Term Memory (LSTM) networks, are widely used in time series forecasting due to their ability to capture complex temporal dependencies. However, evaluation integrity is often compromised by data leakage, a methodological flaw in which input-output sequences are constructed before dataset partitioning, allowing future information to unintentionally influence training. This study investigates the impact of data leakage on performance, focusing on how validation design mediates leakage sensitivity. Three widely used validation techniques (2-way split, 3-way split, and 10-fold cross-validation) are evaluated under both leaky (pre-split sequence generation) and clean conditions, with the latter mitigating leakage risk by enforcing temporal separation during data splitting prior to sequence construction. The effect of leakage is assessed using RMSE Gain, which measures the relative increase in RMSE caused by leakage, computed as the percentage difference between leaky and clean setups. Empirical results show that 10-fold cross-validation exhibits RMSE Gain values of up to 20.5% at extended lag steps. In contrast, 2-way and 3-way splits demonstrate greater robustness, typically maintaining RMSE Gain below 5% across diverse configurations. Moreover, input window size and lag step significantly influence leakage sensitivity: smaller windows and longer lags increase the risk of leakage, whereas larger windows help reduce it. These findings underscore the need for configuration-aware, leakage-resistant evaluation pipelines to ensure reliable performance estimation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑