TL;DR
Chronos treats a time series as a sentence in a small alphabet. Each real value is divided by the typical size of the recent past and rounded to one of 4096 tokens, two of them special. An existing encoder-decoder language model (T5) is then trained to predict the next token with the usual cross-entropy loss. Trained once on many public series plus synthetic ones, it outperforms specialised forecasters on series from its training corpus, and on new series it performs on par with the best task-specific models.
Builds on: Exploring the Limits of Transfer Learning (T5), Quantization, Gaussian Process Regression · Leads to: later pretrained forecasters built on the same idea; none has a lesson in this graph yet
Why it mattered
Forecasting is a daily job in many firms. A retailer needs next week's demand for thousands of products, a grid operator needs tomorrow's load for many regions, and a transport network needs passenger counts for many routes. The usual approach trains one model per series or per task, and each one needs its own history, tuning and retraining. The paper's own framing is that a single model trained once across many series "could streamline production forecasting systems" by removing the need for a separate model per task.
Chronos showed that this does not require a new architecture. The authors kept the T5 architecture and its standard cross-entropy training, and changed the input side: each value becomes a token from a fixed vocabulary. The models and code were released publicly, which made the approach easy to test. Other pretrained forecasters of the same period, including Lag-Llama and Moirai, which the paper compares against, follow the same general plan of one large pretrained network for many series.
The problem
Before Chronos, forecasting had two families of methods, and neither gave a general-purpose model. Local statistical methods such as ETS, ARIMA and Theta fit a separate model to each series, so they learn nothing from the other series in the dataset. Deep forecasters such as DeepAR and PatchTST learn across series, but they are usually trained on one dataset for one task, so a new dataset means a new training run.
Language models offered a different route. A large pretrained model can often continue a pattern it has never been trained on. Two ways of using them for numbers were already in use: prompting an LLM with the numbers written as text, which needs careful prompt design and large models, and fine-tuning an LLM for each task. Both are expensive or task-specific.
The paper's obstacle is data. Public time series collections are small compared with text corpora such as WikiText-103, C4 or The Pile. So the authors also needed a way to make the training data more varied, which Section 4 of the paper handles with augmentation and synthetic data.
How it works
Chronos has four steps: scale, quantize, train a language model on the tokens, then sample forecasts and map them back to numbers. To see them, use a toy setup. The paper uses 4096 tokens with bin centres from minus 15 to plus 15. Here we use 7 bins with centres at minus 3, minus 2, and so on up to plus 3, numbered tokens 1 to 7. The arithmetic is the same.
-
Start with the history. The context is four past values, 2, 4, 6, 8. Here C = 4. Check: there are four values, and each is a plain number we can divide.
-
Scale the context. Divide every value by the mean of the absolute values in the context. That mean is (2 + 4 + 6 + 8) / 4 = 5. The scaled values are 0.4, 0.8, 1.2 and 1.6. Check: the largest scaled value, 8 / 5 = 1.6, is in the range the bins cover.
-
Quantize. Each scaled value goes into the bin whose range contains it. The edges sit halfway between centres, at minus 2.5, minus 1.5, and so on up to 2.5. The value 0.4 falls between minus 0.5 and 0.5, so it goes to the centre 0, which is token 4. The values 0.8 and 1.2 both fall between 0.5 and 1.5, so they go to the centre 1, token 5. The value 1.6 goes to the centre 2, token 6. The context becomes the token sequence 4, 5, 5, 6. Check: every scaled value is within half a bin width, 0.5, of the centre it was assigned to.
-
Train the language model on the sequences. The model reads a prefix of tokens and must give a probability to each of the 7 tokens as the next one. Suppose the next true value, 9, scales to 1.8 and falls in the bin for token 6. If the model gives token 6 a probability of 0.6, the cross-entropy loss for that step is minus the natural log of 0.6, about 0.51. A probability of 1 would give loss 0, and a smaller probability gives a larger loss. Training pushes probability toward the token that actually came next. Check: the loss is zero only when the model is certain of the right token.
-
Forecast by sampling. Give the trained model the context tokens 4, 5, 5, 6. It gives a distribution over the next token, say 0.2 for token 5, 0.6 for token 6 and 0.2 for token 7. Sample one token, say 6, append it, and repeat for the next step. Doing this many times gives many sample paths, and their spread is the forecast uncertainty. Check: the probabilities 0.2, 0.6 and 0.2 add to 1.
-
Map back to numbers. Token 6 is the centre 2. Multiply by the scale 5 to get 10. The true next value was 9. The reconstruction is 10, off by 1. Bin width in the original units is 5 here, so the rounding error can be at most 2.5. The same mapping applied to the context gives 0, 5, 5, 10 against the true 2, 4, 6, 8. The round trip is lossy, and the paper returns to this in its limitations. Check: 10 minus 9 is 1, which is below the 2.5 bound.
flowchart LR A["Context values"] --> B["Scale by mean absolute value"] B --> C["Quantize into bins, tokens"] C --> D["T5 encoder-decoder, cross-entropy"] D --> E["Sample tokens one step at a time"] E --> F["Map tokens to centres and unscale"] F --> G["Many sample paths give a forecast distribution"]
One design choice in this walkthrough matters later. The output is a categorical distribution over bins, not a parametric Gaussian or Student-t distribution as in typical probabilistic forecasters, so the shape of the predicted distribution is not forced into one family.
The math
A context of C observations x_1 to x_C and a horizon of H future values are mapped to tokens by scaling and uniform binning. The model is trained by minimising the negative log-probability of each next token. Sampling from the learned distribution, then mapping back, gives forecasts.
Step 1 in symbols: mean scaling
The scale is the mean of the absolute context values, and each value is divided by it:
Here s is the scale, C is the context length, and x-tilde is the scaled value. This is the affine rule with the offset m set to zero. Zero stays zero after scaling, which matters for series such as product sales with many zero days. In the toy example, s = 5 and the scaled context is 0.4, 0.8, 1.2, 1.6.
Step 2 in symbols: uniform binning
Choose bin centres c_1 less than c_2 and so on up to c_B. Under uniform binning the centres are evenly spaced, and each edge lies halfway between two neighbouring centres:
The quantizer q sends a scaled value to a token index, and the dequantizer d sends a token index back to its centre:
with b_0 minus infinity and b_B plus infinity. In the toy example, B = 7, c_j = j minus 4, and b_i = i minus 3.5. The scaled value 0.4 satisfies , so q(0.4) = 4. The paper uses the same rule with B = 4096 and centres between minus 15 and plus 15. Mean scaling is paired with uniform rather than quantile binning, because the authors expect unseen datasets to have different value distributions from the training data.
Step 3 in symbols: the training loss
Write z_t for the token at position t of the tokenized series, and let p_theta(z_t = i given earlier tokens) be the probability the model gives to token i at that position. The cross-entropy for one series is:
The indicator selects only the true token at each position, so the inner sum has one non-zero term and the loss is minus the sum of the log-probabilities of the true tokens. The paper's version sums over the H horizon steps plus one end-of-sequence token, and averages over a batch. Toy check: if the true token has probability 0.6, its term is minus log 0.6, which is about 0.51.
The paper points out that this loss does not know that token 5 is closer to token 6 than to token 7. The model has to learn that closeness from the data, which it does because nearby bins tend to be used together. Chronos thus does regression by classification.
Step 4 in symbols: sampling and inverse mapping
To forecast, draw z_t from the model's distribution given the earlier tokens, one step at a time, and then map each token back:
Repeating the draw for each horizon step gives one sample path. The paper uses 20 sample paths to estimate quantiles when it scores probabilistic forecasts. In the toy example, the sampled token 6 gives d(6) = 2 and so x-hat = 5 times 2 = 10.
Results
The paper uses 55 public datasets. Of these, 13 are used only for pretraining, 15 (Benchmark I) are used for training and in-domain testing, and 27 (Benchmark II) are held out for zero-shot testing. The training set is 28 datasets with about 890K univariate series and about 84B observations. The released models are T5 variants with 20M (Mini), 46M (Small), 200M (Base) and 710M (Large) parameters, plus a 90M GPT-2 variant. Training used 10M TSMixup augmentations and 1M synthetic Gaussian-process series at a 9 to 1 sampling ratio, batch size 256, 200K steps, a context of 512, a prediction length of 64, and a vocabulary of 4096. The main experiments used 8 A100 GPUs with 40GB each.
Scores are weighted quantile loss (WQL) over nine quantile levels for probabilistic forecasts, and mean absolute scaled error (MASE) for point forecasts. For each dataset, each model's score is divided by the score of Seasonal Naive, and the ratios are combined with a geometric mean. The authors chose the geometric mean because an arithmetic mean can mislead when the scores are ratios.
- In-domain (Benchmark I). The Base and Large Chronos models obtain the best aggregated scores and beat AutoETS, AutoARIMA, PatchTST and DeepAR, as well as the pretrained Lag-Llama and Moirai-1.0-R. The paper notes that the smallest Chronos model (Mini, 20M) beats the best Moirai-1.0-R model (Large, 311M).
- Zero-shot (Benchmark II). On probabilistic forecasting, Chronos models take the 2nd to 4th places, ahead of most task-specific models that were trained on these datasets. On point forecasting, Chronos-T5 Large places second, ahead of most baselines including the SCUM ensemble. The paper says Moirai-1.0-R is the best non-Chronos model here, and that its evaluation may have been favourable because many Benchmark II datasets are in its pretraining corpus.
- Fine-tuning. Fine-tuning Chronos-T5 Small on each Benchmark II dataset for 1000 steps at a learning rate of 0.001 gives the top aggregate score on that benchmark.
- Limits. The paper finds that the model forecasts linear trends well but struggles with exponential trends, and that it underestimates trends when the context is short. Representable values lie within 15 times the scale in either direction, so when the scale is small relative to the values, as in a sparse series with spikes, some values fall outside the range. A scale that is large relative to the spread of the values, such as a sine wave shifted far from zero, reduces precision, because tokens are spaced apart in original units.
Read the results with the limits in mind. The benchmark covers many domains. The authors say the held-out datasets overlap with the training data only in high-level categories, and they treat the leakage risk as minimal. The gains are reported as aggregate ratios, so a single dataset can differ from the average.
Reading guide
- Section 1, Introduction. The question of whether a next-token language model can be reused for time series. Needs Language Model and Autoregressive Model.
- Section 2, Background. Forecasting methods (local against global), and the transformer family used by T5 and GPT-2. Needs Transformer and Exploring the Limits of Transfer Learning (T5).
- Section 3.1, Tokenization. Mean scaling and uniform binning. Needs this lesson's How it works, and the contrast with Min-Max Normalization, which the paper does not use. Note that quantization here means binning values, not the low-precision weights covered in Quantization.
- Section 3.2, Objective. Categorical output and cross-entropy. Needs Softmax and Cross-Entropy Loss.
- Section 3.3, Forecasting. Sampling paths and mapping back. Needs Autoregressive Model.
- Section 4, Data augmentation. TSMixup needs Data Augmentation and a Dirichlet Distribution for the mixing weights. KernelSynth needs Gaussian Process Regression, Kernel Function and Stochastic Process.
- Section 5, Experiments. The metrics need Quantile Regression for the quantile loss. The baselines are described in the papers they cite, such as DeepAR: Probabilistic Forecasting with Autoregressive Recurrent Networks.
- Section 5.7 and 6, Limits and discussion. The trend, precision and overflow limits above, and the discussion of inference cost and the scarcity of public time series data in Section 6.
Check yourself
QuestionMean scaling divides each value by the mean of the absolute values in the context. Why does a zero stay zero, and why would a different scale fail for series with many zeros?Show answer
Dividing zero by any positive scale gives zero, so a zero in the series stays a zero token. That matters when zeros have a real meaning, such as no sales or no solar output at night. A scheme that subtracts a mean or uses a minimum would move the zeros to a different value, and the model would have to learn an arbitrary offset to recover them.
QuestionA context is 2, 0, 4, 6. Compute the scale s and the four scaled values.Show answer
The mean of the absolute values is (2 + 0 + 4 + 6) / 4, which is 12 / 4 = 3. The scaled values are 2 / 3, which is about 0.667, then 0 / 3 = 0, then 4 / 3, which is about 1.333, then 6 / 3 = 2. The zero stays zero, as the paper's design requires.
QuestionWhy does Chronos not need the loss to know that token 6 is nearer token 7 than token 1, and what is the cost of ignoring that?Show answer
Cross-entropy only scores the probability given to the true token. It gives the same penalty for a wrong guess of token 7 as for a guess of token 1. The model still learns that nearby bins belong together, because training data places neighbouring values next to each other. The cost is that the model has to learn closeness from the data, instead of receiving it from the loss.
QuestionA team has six weeks of daily history for a new product line and wants a forecast without training a model. Which part of Chronos makes this possible, and which limitation from Section 5.7 should they check first?Show answer
The zero-shot setting: a pretrained model is applied to a series it was not trained on, with no training run for that series. The team should check whether the series has a strong exponential trend, which the paper reports Chronos forecasts poorly, and whether six weeks is enough context, since short contexts tend to underestimate trends. If the series is very sparse with rare spikes, the scale may push values outside the representable range.