NanoForecast v0.5:通过训练流程优化实现竞争性时间序列预测

·

研究论文 · 2026/09/29

我们提出 NanoForecast v0.5,一个 6.5M 参数的预测模型,在训练流程修复且未改变架构的情况下,与 31 倍于其规模的模型(TimesFM,200M 参数)竞争。在相同数据和计算预算下,用修正的损失范围处理、张量形状对齐和更广泛的增强覆盖重新训练 v0.3 架构,在固定协议下将整体平均绝对缩放误差降低 43.8%(MASE 从 3.030 降至 1.704)。NanoForecast v0.5 在所有三个 ETT 数据集上击败 TimesFM(MASE 0.676/1.110/0.287 对 0.705/1.360/0.545),并在汇率上击败 TimesFM(4.317 对 4.383);TimesFM 在高基数电力和交通数据集上保持明显领先。与 PatchTST(15M+ 参数,官方配置)相比,v0.5 在所有三个 ETT 数据集上获胜。训练在单个云 GPU(NVIDIA T4,Google Colab)上约需 12 小时,推理无需 GPU(本文测量在 Apple M4 CPU 上进行)。我们在 Apache 2.0 许可下于 https://github.com/eulogik/NanoForecast 发布所有代码、预训练检查点和评估框架。

该工作表明,通过训练流程优化而非架构改动,小模型也能在时间序列预测中与大规模模型竞争,为资源有限的研究者提供了实用且开源的解决方案。

We present NanoForecast v0.5, a 6.5M-parameter forecaster that competes with models 31x its size (TimesFM, 200M parameters) after training pipeline fixes and no architecture change. Retraining the v0.3 architecture with corrected loss-scope handling, tensor shape alignment, and wider augmentation coverage cuts overall Mean Absolute Scaled Error by 43.8% under one fixed protocol (MASE 3.030 to 1.704) on the same data and compute budget. NanoForecast v0.5 beats TimesFM on all three ETT datasets (MASE 0.676/1.110/0.287 vs. 0.705/1.360/0.545) and on exchange rate (4.317 vs. 4.383); TimesFM keeps a clear lead on the high-cardinality electricity and traffic sets. Against PatchTST (15M+ parameters, official configuration), v0.5 wins all three ETT sets. Training takes about 12 hours on a single cloud GPU (NVIDIA T4, Google Colab) and inference needs no GPU (measurements in this paper are on an Apple M4 CPU). We release all code, pretrained checkpoints, and evaluation framework under Apache 2.0 at https://github.com/eulogik/NanoForecast

阅读原文

参与讨论