论文

论文提出时间序列词表大小的有限样本理论:B* 与 n^(1/(d+2)) 成正比

The Price of a Vocabulary: Finite-Sample Laws for Time-Series Tokenization

精选理由

做时间序列模型的人值得收藏这篇:它把'词表该开多大'从拍脑袋变成了有缩放律可依,粗词表还能白拿最高 21% 的 CRPS 提升。9 个预训练模型只需 512-1024 个 bin 就能吃下离散化输入,调参时可以直接参考这个区间。

arXiv 论文(编号 2612.05476)针对时间序列基础模型如何选词表大小给出有限样本理论,将输入分辨率(读历史多细)与输出分辨率(预测多细)分开分析。作者推导出基于 Wasserstein 风险的泛化上界,按每个离散上下文的实际占用率计费,并对固定范围标量网格给出词表缩放律 B* ≍ n^(1/(d+2)),其中 d 为上下文流的占用维度。输出侧定理表明,对每个输出单元保留固定先验质量的估计器,其最优输出词表按标签数的平方根增长。

正文

实验部分验证了理论:基于占用率的词表选择在 30 次合成实验中全部恢复出 oracle 词表,而按名义上下文计数的中位遗憾高达 72%。在 8 个数据集、2 种从头训练架构上,粗粒度输入词表在 7 个数据集上持平或改善 CRPS(最高提升 21%);9 个预训练预测器可容忍输入被离散化为 512-1024 个 bin。逐位置监督而非只监督最后一位,在 8 个数据集中的 6 个上降低了细输出词表的惩罚点估计。作者明确指出 softmax 输出头是否遵循输出侧缩放律只是待检验假设,并非定理推论。

原文 · arXiv cs.LG

The Price of a Vocabulary: Finite-Sample Laws for Time-Series Tokenization

Tokenized time-series foundation models quantize continuous values into a finite vocabulary before sequence modeling. We develop a finite-sample theory of how large that vocabulary should be, separating input resolution (how finely history is read) from output resolution (how finely forecasts are stated). The central difficulty is that the vocabulary also partitions the training sample across discrete contexts: a worst-case analysis charges for every representable context, yet real series occupy only a small, nonuniform fraction. Our Wasserstein risk bound charges instead for occupancy -- how often each context actually occurs -- with rate-matching lower bounds, and balancing estimation against distortion yields, for fixed-range scalar grids, the vocabulary scaling law $B^* \asymp n^{1/(d+2)}$, where $d$ is the occupancy dimension of the context stream. A second theorem prices the output side: estimators that reserve a fixed prior mass on every output cell regardless of the data admit a finite optimal output vocabulary growing as the square root of the label count. Whether trained softmax heads obey the output-side law is a hypothesis we test, not a consequence of the theorems. Occupancy-based selection recovers the oracle vocabulary in 30 of 30 synthetic runs where nominal context counting incurs up to 72% median regret. Across eight datasets and two architectures trained from scratch, coarse input vocabularies match or improve CRPS on seven of eight datasets (by up to 21%), the finest output vocabulary is best on only one, and nine pretrained forecasters tolerate inputs discretized to 512-1024 bins. Supervising every position rather than only the last lowers the fine-output penalty on six of eight datasets by point estimate (three nominally significant, one significantly reversed) and moves the best tested output vocabulary up on three datasets and down on none.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。涉及核心实体与技术议题包括:时间序列、词表缩放律、Wasserstein 风险界、基础模型,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Lining Hu, Ting Liu, Yuzhuo Fu),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们