首页 > AI前沿 > The Price of a Vocabulary: Finite-Sample Laws for Time-Series Tokenization

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

arXiv机器学习 2026-12-03 19:02 6 阅读 查看原文
用户现在需要把给定的纯文本新闻正文排版成语义化HTML片段,首先要遵守规则。首先,这段是学术类的内容,没有小节划分的话就都用p?不对,先看内容,首先整个是一段?不对,原文是一整段?不对,看原文内容,有没有需要分的?不对,规则说长文用h2/h3划分小节,但是原文这里有没有自然的小节?哦,原文是一段连贯的内容?不对,等下,先看内容:首先开头讲Tokenized的模型,然后讲核心难点,然后讲Wasserstein的界,然后第二个定理,然后实验结果。哦,是不是可以分几个小节?不对,不对,规则说不要增删内容,哦不对,划分小节是结构,但是内容不能改。等下,先看,首先,有没有合适的小节?比如第一个讲背景和核心问题?第二个讲核心理论结果?第三个讲实验验证?不对,但是要注意不能增删内容,哦不对,h2/h3是标题,但是标题的内容是不是要来自原文?不对,不对,用户说“保留原文所有信息,不得增删改内容”,那如果我加h2的标题,是不是属于添加内容?哦不对,等下看规则2:“长文用

/

划分小节”,那如果原文有逻辑分段的话?不对,原文是一整段?等下再看原文的原文,是一整段吗?用户给的正文是一整段?不对,看用户给的正文:“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.”哦,这是一整段?那要不要划分小节?不对,规则说“长文用

/

划分小节”,但如果原文逻辑上可以分的话?不对,不能添加内容,哦,不对,h2的标题是不是需要是原文里的?不对,等下,会不会我理解错了,划分小节是把原文的逻辑块用h标签标出,但是标题内容必须是原文的?不对,不对,用户说“不得增删改内容”,所以如果我加h2的标题文字,就属于添加内容了,哦,对哦!那是不是如果原文没有现成的小节标题,就都用p?不对,等下再看规则,规则2是“长文用

/

划分小节”,那如果没有小节的话,就不用?不对,等下,再看,哦,不对,会不会原文的逻辑可以分,但是不用加标题?不对,h2是标题啊,要有内容的。哦,等下,可能这段是连贯的,没有明确的小节,那所有自然段落用p,哦,不对,原文是一个自然段落?不对,看原文的标点,都是连贯的,那是不是就一个p?不对,不对,等下,有没有需要加strong的地方?比如重要的结论,比如那个scaling law的句子,还有实验结果的?还有,公式部分要不要用code?不对,规则里代码用pre code,那个公式是$B^* \asymp n^{1/(d+2)}$,是不是属于公式,但是用户的规则里没有公式的标签,哦,规则里的代码是
,那这个公式是不是可以放在strong里?不对,等下,规则4是保留所有信息,不得增删改。哦,对了,首先,整段是内容,那有没有需要划分小节的?哦,等下,我再理清楚原文的逻辑:1. 开篇介绍研究背景和研究内容:Tokenized时序基础模型的量化,提出有限样本理论,区分输入和输出分辨率。2. 核心难点,以及提出的Wasserstein风险界,得到输入词汇表的缩放律。3. 第二个定理,输出侧的最优词汇表结果,以及相关假设。4. 实验结果:合成实验、真实数据集实验、位置监督的实验结果。哦,但是这四个部分的内容都是连贯的,如果我加h2的话,需要标题,但是标题不能是我编的,不然就增了内容。哦!哦对,规则是不得增删改内容,所以我不能自己加标题文字,那是不是就不用h2/h3?因为原文没有现成的小节标题。那这样的话,所有内容用p?不对,等下,原文是一个自然段吗?用户给的正文是一整段,那是不是就一个p?不对,不对,等下再看用户给的正文,是不是用户打的时候是一整段?对,是的。那然后,重要的句子用strong,比如核心结论,比如那个vocabulary scaling law的部分,还有实验结果的部分?等下,还要注意,不要改内容。哦,对了,还有,那个公式$B^* \asymp n^{1/(d+2)}$,要不要处理?规则里代码用pre code,但是这个是行内的公式,是不是可以用strong包裹?或者就按原文放?不对,规则说重要句子可用strong,那比如“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.”这个部分是重要结论,可以用strong?还有实验结果的部分?不对,不要过度用,合理的。等下,再仔细想:首先,输出的HTML片段,没有文档级标签。首先,原文是一个自然段落?不对,等下,会不会我拆分自然段?不对,自然段落是原文里的分段,用户给的原文是一整段,所以就是一个

?不对,不对,等下再看,哦,不对,用户的正文是不是本来就是一段?对,是的。那然后,有没有需要列表或者引用或者代码?原文里没有列表,没有引用,没有代码,所以不需要那些。然后,重要的句子用strong,比如核心的理论结果,还有实验的重要发现。等下,比如:

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-1