每天早上一封邮件,把昨天的 AI 梳理好订阅邮件

METAL LAB

Rethinking Patch Based Multivariate Time Series Forecasting with Semantic Structured Partitioning

arXiv:2608.199662026-08-21

别再机械切分时间序列,按语义把它切成有意义的块

在预测涉及多个相互关联变量的时间序列时,现有做法通常先把序列切成一段段的补丁,但固定长度切分、多尺度切分、可伸缩切分这三类方法都存在各自的问题,难以贴合数据里真正的趋势、周期或突变边界。这篇论文提出SCPaT框架,让模型根据数据局部变化程度自动决定切分长度,再用一种可微分的传递熵方法构建这些片段之间的有向依赖图,并按重要性把不同语义块分配给不同的专家网络处理。在12个真实数据集上的实验中,SCPaT的预测误差低于多个代表性方法。

他们做了什么

  1. 论文系统分析了固定长度、多尺度、可伸缩三类切分策略,指出它们都缺乏显式建模语义结构的机制
  2. SCPaT通过测量局部方差自适应生成语义单元:变化平稳的区域切得长,变化剧烈的区域切得短
  3. 用可微分的传递熵近似方法估计语义单元之间的有向依赖关系,构建动态语义图,再聚类形成更高层次的语义块
  4. 引入重要性感知的路由机制,把不同特性的语义块分配给不同专家网络处理,并采用Top-P路由让实际激活的专家数量根据置信度自动调整,而非固定数量
  5. 在长期和短期预测基准上,SCPaT在四个ETT数据集上相较PatchTST、TimesNet、HDMixer平均误差分别降低4.6%、7.1%、4.1%,在存在缺失值和噪声干扰的情况下也表现出相对更稳定的性能
Figure 1: Comparison of four patch based schemes: fixed partitioning, multi-scale partitioning, extendable partitioning, and the proposed semantic structured partitioning.
Figure 1: Comparison of four patch based schemes: fixed partitioning, multi-scale partitioning, extendable partitioning, and the proposed semantic structured partitioning.
Table 1: Summary of the 12 datasets used in our forecasting experiments, including the prediction horizons, data dimensionality, sampling frequency, and total number of time points.
Task TypeDatasetPrediction HorizonsTime PointDimensionFrequency
Long-term ForecastingETTh1{96,192,336,720}174207Hourly
ETTh2{96,192,336,720}174207Hourly
ETTm1{96,192,336,720}69680715 min
ETTm2{96,192,336,720}69680715 min
Weather{96,192,336,720}526032110 min
Traffic{96,192,336,720}17451862Hourly
Electricity{96,192,336,720}26211321Hourly
Solar{96,192,336,720}5217913710 min
Short-term ForecastingPEMS03{12,24,48}262083585 min
PEMS04{12,24,48}169923075 min
PEMS07{12,24,48}282248835 min
PEMS08{12,24,48}178561705 min
Figure 2: SCPaT architecture consists of: (a) Semantic Vector Encoder, which encodes time series into semantic units; (b) Transfer Entropy Graph Constructor, quantifies directed dependencies and constructs a dynamic semantic graph; and (c) Importance aware Routing, allocates customized processing strategies to different semantic blocks for effective modeling.
Figure 2: SCPaT architecture consists of: (a) Semantic Vector Encoder, which encodes time series into semantic units; (b) Transfer Entropy Graph Constructor, quantifies directed dependencies and constructs a dynamic semantic graph; and (c) Importance aware Routing, allocates customized processing strategies to different semantic blocks for effective modeling.
Table 2: Multivariate long-term forecasting results over four prediction horizons, H∈{96,192,336,720}, with the input length fixed at L=96. The best and second-best results are marked in bold red and blue underline, respectively.
ModelsSCPaTMSPatchDUETiTransformerMSGNetHDMixerPatchTSTTimesNetCrossFormerLSTM
(Ours)(2025)(2025)(2024)(2024)(2024)(2023)(2023)(2023)(1997)
MetricMSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSE
ETTh1960.3700.3920.3720.3950.3840.4020.3860.4050.3900.4110.3860.4010.4140.4190.3840.4020.4230.448
1920.4180.4220.4280.4260.4370.4290.4410.4360.4420.4420.4410.4300.4600.4450.4460.4390.4710.4741.217
3360.4520.4400.4840.4520.4770.4530.4650.4450.4870.4580.4580.4430.5010.4660.4910.4690.5700.5461.259
7200.4490.4580.4800.4730.4860.4750.5030.4910.4940.4880.5120.4840.5000.4880.5210.5000.6530.6211.271
ETTh2960.2880.3380.2920.3440.2980.3510.2970.3490.3280.3710.2930.3380.3020.3480.3400.3740.7450.584
1920.3730.3960.3830.4020.3740.3940.3800.4000.4020.4140.3790.3960.3880.4000.4020.4140.8770.6563.312
3360.4080.4270.4170.4310.4170.4310.4280.4320.4350.4430.4260.4440.4260.4330.4520.4521.0430.7313.291
7200.4300.4440.4220.4460.4270.4420.4300.4450.4410.4440.4290.4470.4310.4460.4620.4681.1040.7633.257
ETTm1960.3200.3600.3240.3630.3290.3610.3340.3680.3230.3660.3400.3680.3290.3670.3380.3750.4040.426
1920.3620.3830.3670.3850.3640.3850.3770.3910.3760.3970.3820.3860.3670.3850.3740.3870.4500.4511.113
3360.3890.4020.3900.4040.3960.4080.4260.4200.4170.4220.4030.4110.3990.4100.4100.4110.5320.5151.267
7200.4560.4360.4540.4370.4690.4370.4910.4590.4810.4580.4730.4390.4540.4390.4780.4500.6660.5891.324
ETTm2960.1730.2580.1750.2600.1790.2620.1800.2640.1810.2620.1830.2660.1810.2590.1870.2670.2870.366
1920.2380.3000.2390.3020.2400.3000.2500.3090.2470.3070.2470.3070.2410.3020.2490.3090.4140.4922.249
3360.2970.3390.2970.3400.3020.3410.3110.3480.3120.3460.3050.3450.3050.3430.3210.3510.5970.5432.568
7200.3940.3940.3960.3970.3990.3970.4120.4070.4140.4030.4060.4000.4020.4060.4080.4031.7301.0422.720
Weather960.1630.2080.1650.2090.1670.2090.1740.2140.1690.2120.1740.2230.1770.2180.1720.2200.1710.230
1920.2090.2500.2110.2520.2120.2540.2210.2540.2180.2550.2250.2640.2250.2590.2190.2610.2260.2770.416
3360.2660.2920.2680.2940.2690.2970.2780.2960.2720.2990.2770.3010.2780.2970.2800.3060.2720.3350.455
7200.3450.3490.3420.3450.3480.3470.3580.3490.3500.3480.3490.3470.3540.3480.3650.3590.3980.4180.535
Traffic960.3930.2470.4600.2950.3950.2560.3950.2680.6050.3440.5290.3530.5440.3590.5930.3210.5220.290
1920.4250.2590.4660.3000.4200.2660.4170.2760.6130.3590.5350.3610.5400.3540.6170.3360.5300.2930.847
3360.4540.2700.4840.3060.4580.2720.4610.2830.6420.3760.5410.3610.5510.3580.6290.3360.5580.3050.853
7200.4890.2910.5100.3230.4990.2880.4970.3020.7020.4010.5910.3890.5860.3750.6400.3500.5890.3281.500
Electricity960.1390.2330.1580.2570.1480.2360.1490.2400.1650.2740.1630.2750.1950.2850.1680.2720.2190.314
1920.1550.2480.1710.2680.1640.2490.1620.2530.1840.2920.1860.2810.1950.2850.1840.2890.2310.3220.442
3360.1680.2630.1840.2830.1780.2650.1780.2690.1950.3020.1990.2950.2150.3050.1980.3000.2460.3370.439
7200.2000.2930.2230.3080.2060.3030.2250.3170.2310.3320.2310.3210.2560.3370.2200.3200.2800.3630.980
Figure 3: Sensitivity analysis of the hyperparameters α and Top-P on ETTm1, ETTh1, ETTh2, and Weather, with both the input length and prediction horizon fixed at 96.
Figure 3: Sensitivity analysis of the hyperparameters α and Top-P on ETTm1, ETTh1, ETTh2, and Weather, with both the input length and prediction horizon fixed at 96.
Table 3: Multivariate short-term forecasting results over three prediction horizons, H∈{12,24,48}, with the input length fixed at L=96. The best and second-best results are marked in bold red and blue underline, respectively.
ModelsSCPaTMSPatchDUETiTransformerMSGNetHDMixerTimesNetPatchTSTCrossFormer
(Ours)(2025)(2025)(2024)(2024)(2024)(2023)(2023)(2023)
MetricMSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSEMAE
PEMS03120.0660.1690.0740.1790.0710.1760.0710.1740.0830.1970.0760.1840.0850.1920.0990.2160.0900.203
240.0860.1950.0970.2000.0890.1970.0930.2010.0970.2170.0950.2100.1180.2230.1420.2590.1210.240
480.1220.2350.1310.2440.1180.2290.1250.2360.1350.2410.1220.2450.1550.2600.2110.3190.2020.317
PEMS04120.0730.1760.0750.1850.0760.1790.0780.1830.0820.1870.0840.1880.0870.1950.1050.2240.0980.218
240.0910.1990.0930.2010.0970.2030.0950.2050.1280.2410.0970.2100.1030.2150.1530.2570.1310.256
480.1240.2370.1340.2440.1190.2390.1260.2400.1920.3150.1340.2530.1360.2500.2290.3390.2050.326
PEMS07120.0580.1530.0660.1620.0590.1660.0670.1650.0870.1910.0740.1820.0820.1810.0950.2070.0940.200
240.0740.1740.0830.1890.0790.1830.0880.1900.1350.2410.0890.1970.1010.2040.1500.2620.1390.247
480.1020.2070.1120.2170.1060.2110.1100.2150.2970.3510.1240.2170.1340.2380.2530.3400.3110.369
PEMS08120.0700.1730.0790.1750.0770.1770.0790.1820.1590.2080.0980.1930.1120.2120.1680.2320.1650.214
240.0850.1870.0940.2110.0980.2010.1150.2190.2100.2510.1080.2230.1410.2380.2240.2810.2150.260
480.1120.2200.1500.2320.1390.2270.1860.2350.3110.3580.1670.2470.1980.2830.3210.3540.3150.335
1st Count9110031000000000000
Figure 4: Performance degradation under different Gaussian noise levels on ETTh1 and Weather with both the input length and prediction horizon fixed at 96.
Figure 4: Performance degradation under different Gaussian noise levels on ETTh1 and Weather with both the input length and prediction horizon fixed at 96.
Table 4: Average routing probability distribution across experts, with both the input length and prediction horizon fixed at 96.
DatasetExpert 1Expert 2Expert 3
ETTh10.620.210.17
ETTm10.510.250.24
Weather0.810.110.08
Figure 5: Performance comparison under different look-back window lengths on ETTm1, ETTh1, Electricity, and Weather, with L∈{48,96,192,336,720} and the prediction horizon fixed at 96.
Figure 5: Performance comparison under different look-back window lengths on ETTm1, ETTh1, Electricity, and Weather, with L∈{48,96,192,336,720} and the prediction horizon fixed at 96.
Table 5: Robustness analysis on the ETTm2 and ETTh1 datasets under different missing rates, with the input length fixed at L=96 and the prediction horizon fixed at H=96. The best results are highlighted in bold.
Missing RateETTm2ETTh1
SCPaT (Ours)iTransformerPatchTSTSCPaT (Ours)iTransformerPatchTST
MSEMAEMSEMAEMSEMAEMSEMAEMSEMAEMSEMAE
0.000.1730.2580.1800.2640.1810.2590.3700.3920.3860.4050.4140.419
0.050.2130.2970.2490.4410.2520.3270.3790.4010.4040.4130.4360.428
0.100.2480.3260.2950.4720.3280.3760.3900.4120.4330.4240.4550.441
0.150.2870.3540.3790.5590.4110.4230.4040.4240.4620.4320.4670.460
0.200.3320.3850.4330.5670.5020.4710.4190.4380.4780.4480.4820.483
0.250.3880.4190.5060.5740.6010.5200.4370.4540.4870.4730.4980.503
0.300.4520.4560.5960.5800.7090.5690.4590.4710.5000.4980.5110.527
Figure 6: Heatmaps of the learned directed adjacency matrix Afinal on the ETTh1 and Weather datasets.
Figure 6: Heatmaps of the learned directed adjacency matrix Afinal on the ETTh1 and Weather datasets.
Table 6: Ablation results of the SCPaT components on ETTm2, Weather, and Traffic over prediction horizons H∈{96,192,336,720}, with the input length fixed at L=96. The best and second-best results are marked in bold red and blue underline, respectively.
DatasetETTm2WeatherTraffic
Prediction Length961923367209619233672096192336720
SCPaTMSE0.1730.2380.2970.3940.1630.2090.2660.3450.3930.4250.4540.489
MAE0.2580.3000.3390.3940.2080.2500.2920.3490.2470.2590.2700.291
w/o SV EncoderMSE0.1960.2590.3170.4120.2040.2480.3020.3730.4140.4480.4780.510
MAE0.2780.3180.3540.4080.2540.2870.3230.3670.2740.2810.2940.316
w/o IARMSE0.1780.2450.3020.4000.1670.2160.2730.3530.3970.4310.4590.495
MAE0.2640.3090.3470.4020.2140.2570.2990.3540.2530.2670.2740.297
w/o TE GraphMSE0.1800.2470.3090.4070.1710.2140.2770.3560.4010.4360.4660.498
MAE0.2700.3110.3430.4130.2210.2620.3010.3550.2490.2640.2770.301
Figure 8: Model efficiency comparison of different methods on ETTm2 and Weather.
Figure 8: Model efficiency comparison of different methods on ETTm2 and Weather.

为什么重要

电力、天气、交通流量等多变量时间序列预测直接关系到能源调度和基础设施运营等实际工作,一种能更好贴合数据真实结构、并在缺失和噪声环境下保持稳定的切分与建模方法,对实际部署有参考价值。论文专门做了缺失值和高斯噪声下的鲁棒性测试,让这些改进的意义超出了干净基准数据的范畴。

本文术语

  • 补丁(patch) · 从长时间序列中切出的一小段,作为模型的输入单元
  • 传递熵(transfer entropy) · 衡量一个变量的历史信息在多大程度上有助于预测另一个变量未来值的指标,用于捕捉有方向性的影响关系
  • 路由(routing) · 把不同输入分配给不同的专门子模型(专家)进行处理的机制
  • Top-P路由 · 不固定选择专家的数量,而是选到累积概率达到某个阈值为止
  • 模块度(modularity) · 衡量一个图被划分成若干簇之后,这种划分是否合理的指标

论文原文摘要(英文)

Multivariate time series forecasting (MTSF) is a fundamental task in many real world applications. Existing patch based forecasting methods generally fall into three categories: fixed partitioning, multi-scale partitioning, and extendable partitioning. Fixed partitioning often breaks meaningful temporal boundaries, multi-scale partitioning may introduce redundant representations across scales, and extendable partitioning improves flexibility but still lacks an explicit mechanism for organizing semantic structure and modeling interactions among heterogeneous temporal patterns. To address these limitations, we propose SCPaT, a Transformer based framework built on semantic structured partitioning. SCPaT first decomposes input sequences into semantically consistent units through adaptive semantic unit generation, then constructs a dynamic semantic graph to model directed dependencies among these units and organize them into higher order semantic blocks. Based on these structured representations, an importance aware routing mechanism adaptively dispatches different semantic blocks to different experts for customized modeling. Extensive experiments on 12 real world datasets demonstrate the effectiveness of SCPaT.

作者 · Jiazhe Wang, Zhiquan Huang, Linjing Xue, Ming Liu, Meiwen Li, Ruijuan Zheng

在 arXiv 阅读

最新论文

全部论文 →

METAL LAB 最新报道

图片来源: Jiazhe Wang et al., arXiv:2608.19966, arxiv-nonexclusive