- Introduced by
- Abdul Fatir Ansari et al. (Amazon)
- Year
- 2024
- Type
- Pre-trained language-model-based time-series forecaster
- Family
- Time-series forecasting
What does it do?
Chronos is a family of pre-trained probabilistic forecasting models introduced by Ansari et al. at Amazon in 2024.
It adapts the language-model paradigm to time series by mapping scaled numerical values onto a discrete token vocabulary, so that a transformer can be trained on a heterogeneous corpus of real and synthetic series. The pretrained model is intended to forecast new series in a zero-shot setting, without retraining on the target dataset.
The intuition behind the method
Think of Chronos as treating a time series the way a language model treats a sentence. Values are first rescaled using a statistic of the context window and then assigned to one of a fixed set of discrete bins, which play the role of words in a vocabulary. A transformer reads the resulting token sequence and predicts which tokens are likely to follow. Sampling several continuations produces a set of plausible future paths, and the spread of that set is what gives the forecast its probabilistic form.
History
Chronos was developed at Amazon by Ansari et al. and presented in 2024 in Transactions on Machine Learning Research. It belongs to the wider effort to apply transformer architectures from natural language processing to numerical sequences. Its central step is to recast forecasting as token prediction, so that one pretrained model can be applied across series.
When to use it
Choose Chronos when you must forecast a new series with little or no history of that series, when one model is needed for many heterogeneous series, and when a predictive distribution rather than a single value is required. The context you supply must be long enough to show the pattern you expect to continue, and it must fit within the model's maximum sequence length. Chronos forecasts one univariate series at a time from its context. It does not take exogenous covariates as inputs, so when external drivers matter, use a method that accepts them. Avoid Chronos when the forecast depends on fine-grained domain physics, or when very low-latency inference is required. For simpler or faster needs, TimesFM, Moirai, or classical statistical models are reasonable alternatives.
Limitations and considerations
- The context is bounded by the transformer's maximum sequence length, so dependencies older than that window cannot be used.
- Quantization into B bins adds discretization error bounded by the bin width, so very fine-grained or high-frequency signals may lose resolution.
- Sampling is sequential over the forecast horizon, so inference is slower than lightweight statistical models such as ETS and ARIMA.
- The pretraining corpus determines which patterns the model has learned; series that differ substantially from that corpus may be forecast poorly.
- Chronos is univariate. It does not model cross-channel dependencies or use exogenous covariates, so multivariate or covariate-driven problems need separate treatment or a different method.
- Prediction intervals come from sampled paths and are not calibrated guarantees. Their coverage should be checked on your own data, especially when the context lacks stable patterns such as regular seasonality or trend, or when a regime change is expected.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Zero-shot use: a new series can be forecast from its context window alone, without fitting a model to that series, which helps when its history is short.
- Probabilistic output comes from sampling the autoregressive decoder, so uncertainty is expressed through the spread of sampled trajectories rather than through a separately specified error model.
- Because the model is a transformer over tokens, it can be fine-tuned on target data using standard transformer training loops, which are compatible with the Hugging Face Transformers library.
- A single pretrained model can be applied across many series, which avoids the per-series fitting step that classical models require.
Applications
- Retail demand forecasting across many products, where fitting a separate model per series is impractical
- Energy and load forecasting for utility or sensor data
- Financial indicator and web-traffic forecasting
- Forecasting a short new series for which there is too little history to fit a per-series model
How it works
How it works
Each context window is rescaled using a location and a scale statistic computed from that window alone, which reduces differences in level and magnitude between series. The rescaled values are then assigned to one of B discrete bins by the quantization map Q. The result is an integer token sequence that an embedding layer can read in the same way a language model reads word indices.
Formula
\hat{x}_t = \frac{x_t - \mu}{\sigma}, \quad z_t = \mathcal{Q}(\hat{x}_t) \in \{0, 1, \ldots, B\}The token indices are mapped to d-dimensional embeddings and processed by a transformer. Self-attention lets each position in the context relate to every other position, so the model can represent dependencies across the window, including trend and seasonal structure, without hand-built features.
Formula
\mathbf{H} = \mathrm{Transformer}(\mathbf{E}_{z_1}, \mathbf{E}_{z_2}, \ldots, \mathbf{E}_{z_T}), \quad \mathbf{E}_{z_t} \in \mathbb{R}^dFuture tokens are generated one step at a time, each conditioned on the context and on the tokens already produced, as the product factorization in the formula describes. Drawing several independent sample paths from this process gives an ensemble of token trajectories, and the spread of that ensemble is the source of the forecast's probabilistic character.
Formula
p(z_{T+1}, \ldots, z_{T+H} \mid z_1, \ldots, z_T) = \prod_{h=1}^{H} p(z_{T+h} \mid z_1, \ldots, z_{T+h-1})Each sampled token is mapped back to a representative value of its bin through the inverse quantization map, and the resulting sequence is rescaled with the same statistics that were used for the context window. This returns the values to the units of the original series. Summary statistics computed across the samples, such as quantiles, provide point forecasts and prediction intervals.
Formula
\hat{x}_{T+h} = \sigma \cdot \mathcal{Q}^{-1}(z_{T+h}) + \mu, \quad h = 1, \ldots, HCommon pitfalls
- Using a context shorter than one full seasonal cycle of the series can leave the model without the pattern it needs to continue.
- Reporting only the central value of the sampled paths as a deterministic forecast discards the spread that makes the output probabilistic.
- Fine-tuning on a very small target dataset without early stopping can overfit and erode the benefit of pretraining.
- Comparing benchmark results across papers without matching context length, forecast horizon, and metric definitions produces figures that are not comparable.
Frequently asked questions
Does Chronos require any training data from my target time series?
No. In its zero-shot mode, Chronos uses only the context window you provide at inference time and relies on patterns learned during pretraining. Optional fine-tuning on target data is supported and can improve accuracy, but it is not required for the model to produce forecasts.
How does tokenization affect forecast accuracy for continuous values?
Quantization introduces a discretization error on the order of the bin width. For many macroscopic forecasting tasks this error may be small relative to the uncertainty in the data, but for high-precision or high-frequency signals it can matter. The number of bins B is fixed when a checkpoint is trained, because it sets the size of the token vocabulary the model learns. A larger B narrows the bins and reduces this error, but only in a model trained with that vocabulary. B cannot be changed at inference time on a released checkpoint.
When should I prefer Chronos over a classical statistical model like ARIMA or ETS?
Chronos is preferable when you have many heterogeneous series to forecast, when labeled history is short, or when probabilistic forecasts are needed. Classical models are preferable when series are few, data are abundant, interpretability is critical, or inference speed and memory are tightly constrained.
Related methods
Sources
Ansari, A. F., Stella, L., Turkmen, C., Zhang, X., Mercado, P., Shen, H., et al. (2024). Chronos: Learning the language of time series. Transactions on Machine Learning Research.
Open publication reference