用语言模型的结构规律提升时间序列预测效果
Enhancing LLMs for Time Series Forecasting via Structure-Guided Cross-Modal Alignment
- 通过隐马尔可夫模型提取文本结构,引导时序数据建模
- 在多个基准上达到当前最佳性能,超越现有方法
- 适合需要强泛化能力的时间序列预测任务
将预训练大语言模型(LLM)用于时间序列预测的新范式,普遍采用基于词元或层级别的特征映射进行语言-时序对齐。然而,这类方法忽视了一个关键洞察:LLM的核心优势不仅在于局部词元处理,更在于其对整体序列结构的建模能力。本文提出结构引导的跨模态对齐框架(SGCMA),通过挖掘时序与语言数据共享的状态转移图结构,使时间序列具备类语言序列特性,从而增强对齐后的泛化能力。SGCMA包含结构对齐与语义对齐两部分:结构对齐中,利用隐藏马尔可夫模型(HMM)从文本中学习状态转移矩阵,并通过浅层Transformer-based MEMM将其作为热启动,为每个时间片段分配状态概率;语义对齐中,通过跨注意力机制将时间片段与各状态下前k个关键词元关联,最终嵌入表示由状态概率加权平均得到。在多个基准上的实验表明,SGCMA达到当前最优性能,为时间序列预测中的跨模态对齐提供了新思路。
原文摘要 · Abstract (English)
The emerging paradigm of leveraging pretrained large language models (LLMs) for time series forecasting has predominantly employed linguistic-temporal modality alignment strategies through token-level or layer-wise feature mapping. However, these approaches fundamentally neglect a critical insight: the core competency of LLMs resides not merely in processing localized token features but in their inherent capacity to model holistic sequence structures. This paper posits that effective cross-modal alignment necessitates structural consistency at the sequence level. We propose the Structure-Guided Cross-Modal Alignment (SGCMA), a framework that fully exploits and aligns the state-transition graph structures shared by time-series and linguistic data as sequential modalities, thereby endowing time series with language-like properties and delivering stronger generalization after modality alignment. SGCMA consists of two key components, namely Structure Alignment and Semantic Alignment. In Structure Alignment, a state transition matrix is learned from text data through Hidden Markov Models (HMMs), and a shallow transformer-based Maximum Entropy Markov Model (MEMM) receives the hot-start transition matrix and annotates each temporal patch into state probability, ensuring that the temporal representation sequence inherits language-like sequential dynamics. In Semantic Alignment, cross-attention is applied between temporal patches and the top-k tokens within each state, and the ultimate temporal embeddings are derived by the expected value of these embeddings using a weighted average based on state probabilities. Experiments on multiple benchmarks demonstrate that SGCMA achieves state-of-the-art performance, offering a novel approach to cross-modal alignment in time series forecasting.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。