小而强大:利用轻量级大语言模型增强时间序列预测
Small but Mighty: Enhancing Time Series Forecasting with Lightweight LLMs
AI总结:
本文提出SMETimes,首次系统研究3B以下小型语言模型用于时间序列预测,通过统计增强提示、自适应融合嵌入和动态混合专家框架,在多个基准上以更低资源消耗超越7B LLM基线。
摘要:
尽管大语言模型(LLMs)在时间序列预测中展现出显著潜力,但其实际部署仍受限于过高的计算需求和内存占用。现有基于LLM的方法通常存在三个关键局限:处理数值型时间序列模式时参数利用效率低下;连续时间信号与离散文本嵌入之间存在模态错位;以及难以灵活整合实时专家知识。我们提出SMETimes,这是首个对参数量低于3B的小型语言模型(SLMs)进行系统研究的工作,旨在实现高效且准确的时间序列预测。我们的方法围绕三项关键创新展开:一种统计增强的提示机制,通过描述性统计特征将数值型时间序列与文本语义连接起来;一种自适应融合嵌入架构,通过可学习参数将时间模式与语言模型的token空间对齐;以及一个借助SLMs计算效率实现的动态混合专家框架,自适应地将基础预测与领域特定模型相结合。在七个基准数据集上的广泛评估表明,我们的3B参数SLM在五个主要数据集上取得了最先进的性能,同时与7B参数LLM基线相比,训练速度提升3.8倍,内存消耗降低5.2倍。值得注意的是,所提出的模型展现出更好的学习能力,其MSE比传统LLM低12.3%。消融研究验证了我们的统计提示模块和跨模态融合模块在长时域预测任务中分别贡献了15.7%和18.2%的误差降低。通过重新定义效率与准确率的权衡格局,本工作确立了SLMs作为资源密集型LLMs的可行替代方案,用于实际时间序列预测。代码和模型可在https://github.com/xiyan1234567/SMETimes获取。
英文摘要:
While LLMs have demonstrated remarkable potential in time series forecasting, their practical deployment remains constrained by excessive computational demands and memory footprints. Existing LLM-based approaches typically suffer from three critical limitations: Inefficient parameter utilization in handling numerical time series patterns; Modality misalignment between continuous temporal signals and discrete text embeddings; and Inflexibility for real-time expert knowledge integration. We present SMETimes, the first systematic investigation of sub-3B parameter SLMs for efficient and accurate time series forecasting. Our approach centers on three key innovations: A statistically-enhanced prompting mechanism that bridges numerical time series with textual semantics through descriptive statistical features; A adaptive fusion embedding architecture that aligns temporal patterns with language model token spaces through learnable parameters; And a dynamic mixture-of-experts framework enabled by SLMs' computational efficiency, adaptively combining base predictions with domain-specific models. Extensive evaluations across seven benchmark datasets demonstrate that our 3B-parameter SLM achieves state-of-the-art performance on five primary datasets while maintaining 3.8x faster training and 5.2x lower memory consumption compared to 7B-parameter LLM baselines. Notably, the proposed model exhibits better learning capabilities, achieving 12.3% lower MSE than conventional LLM. Ablation studies validate that our statistical prompting and cross-modal fusion modules respectively contribute 15.7% and 18.2% error reduction in long-horizon forecasting tasks. By redefining the efficiency-accuracy trade-off landscape, this work establishes SLMs as viable alternatives to resource-intensive LLMs for practical time series forecasting. Code and models are available at https://github.com/xiyan1234567/SMETimes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。