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.…
- arXiv
- 2612.05476
- Authors
- Lining Hu, Ting Liu, Yuzhuo Fu
- Categories
- cs.LG