研究揭示 Tokenization 与架构如何分配时序 Transformer 组件角色
Tokenization and Architecture Jointly Allocate Component Roles in Time Series Transformers
这篇论文用 15 个诊断任务把 PatchTST 的 FFN 和注意力层拆开看,发现 FFN 增益是注意力的 3.2 倍,没注意力预测也只差几个点。做时序预测模型选型或想省算力砍组件的工程师,结论很实用。
arXiv 论文 2611.31730 提出一个 temporal probing 框架,用 15 个 token 级诊断任务测量注意力层和 FFN 在时间特征构建上的线性可解码性增益。框架应用于 5 个监督模型、8 个长期预测基准(如 PatchTST、iTransformer、CATS),量化每个子层对时间属性的贡献。
结果显示组件分工并非固定,而是由 tokenization 与架构交互决定:在 patch tokenization 下(PatchTST),FFN 的增益在全部 8 个数据集上超过注意力层,8 数据集平均达注意力的 3.2 倍;去掉注意力后 FFN 单独的增益几乎不变,重训练后的模型预测精度与完整模型相差几个百分点。而在 variate tokenization(iTransformer)下注意力占主导;CATS 中 cross-attention 是唯一输入路径。控制实验还发现 token 长度是关键变量:P=1(单标量 token)几乎消除 FFN 的构建作用,P=2 即可恢复。
该研究为 patching 收益、TSMixer 和 PatchMLP 等无自注意力模型的竞争力、以及 CATS 中 cross-attention 的独特角色提供了表征层面的解释,对设计更精简的时序预测架构有直接参考价值。
Tokenization and Architecture Jointly Allocate Component Roles in Time Series Transformers
Time series transformers have achieved strong forecasting performance, yet it remains unclear which of their components, attention or the feed-forward network (FFN), constructs temporal features, and how tokenization such as patching changes this. We propose a temporal probing framework that uses 15 token-level diagnostic tasks to measure feature construction as the gain in linear decodability of temporal properties from one sub-layer to the next (a matched MLP probe already saturates at the embedding). It targets models whose probed representations are read by a linear forecasting head. Applied to 5 supervised models trained on 8 long-term forecasting benchmarks, it finds that the constructing component is not fixed but allocated by the interaction of tokenization and architecture. Under patch tokenization (PatchTST), the FFN's gain exceeds attention's in probing on all 8 datasets, and its 8-dataset mean is 3.2x attention's. Without attention, the FFN alone reaches nearly the same total gain, both when attention is removed from a trained model and when PatchTST is trained without it, and the retrained model forecasts within a few percent of the full model. In probing, attention dominates under variate tokenization (iTransformer); in CATS, cross-attention is the only input path. In a controlled manipulation of PatchTST, single-scalar tokens (P=1) nearly eliminate the FFN's construction, while one more point per token (P=2) restores it. Our forecasting-side interventions (activation patching, knockout, and training without attention) establish component-level reliance and sufficiency. These results offer a representational reading of prior findings on the gains from patching, the competitiveness of self-attention-free models (TSMixer, PatchMLP), and the distinct role of cross-attention in CATS.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include PatchTST, iTransformer, time series forecasting, Transformer.
Source attribution: curated from arXiv cs.LG (@Mingyu Kim, Doguk Kim).