Bounding forecasts in Timestral

Nov 2026

BLUF: Clamping sparse context forecasts reduces Timestral's benchmark MSE by 35%

Timestral by Mistral AI is a family of open-weight time-series foundation models.

In my Physiome-ODE evaluation, Timestral-5M scored 0.766 MSE. A constant-zero baseline scores 0.750.

Example: One fold below scores 46.9 while the other four score 0.71 to 1.41. A small fraction of forecasts blow up like this, and in MSE they swamp everything else.

shorten_ocallaghan_2007, validationfold 1fold 2fold 3fold 4fold 5
default46.90.730.710.891.41

The Problem

Timestral rescales each series before forecasting and converts the prediction back:

z=asinh⁡ ⁣(x−μσ)⟶x^=μ+σ⋅sinh⁡(z^)z = \operatorname{asinh}\!\left(\frac{x - \mu}{\sigma}\right) \quad\longrightarrow\quad \hat{x} = \mu + \sigma \cdot \sinh(\hat{z})

The conversion back is exponential, so a large prediction becomes a very large forecast.

For a series of 5 and 10, a prediction of ẑ = 1 gives a forecast of 11.66 (reasonable). ẑ = 10 gives 38,950 (unreasonable).

Two points carry little information. After rescaling, they only say whether the series went up or down. A slow climb and the start of a spike look the same, so the model guesses.

A third point shows shape. Below we add that to the series of 5 and 10.

seriesgapsshape
5, 6, 10+1, +4speeds up
5, 9, 10+4, +1levels off

Inference-Time Fix

If a series has only one or two observations, keep its forecast, including the uncertainty range, between the lowest and highest values it has seen. Timestral already nearly does this with one observation, but not with two.

@@ -326,7 +326,8 @@ class TimestralForecaster:
ctx_min = torch.nan_to_num(inputs.masked_fill(not_obs, float("inf")).amin(-1, keepdim=True), posinf=0.0)
c = self.config
_, scale = causal_patch_loc_scale(inputs, observation_mask, c.patch_size, c.minimum_scale, c.stabilize_with_global)
-anchor_scale = scale[..., -1:] * self.quantile_real_cap_k
+# counts how many real points each series has
+n_obs = observation_mask.sum(-1, keepdim=True)
+# if 1 or 2 points, clamp forecast to the observed range
+anchor_scale = scale[..., -1:] * torch.where((n_obs >= 1) & (n_obs < 3), 0.0, self.quantile_real_cap_k)
return quantiles.clamp((ctx_min - anchor_scale).unsqueeze(-1), (ctx_max + anchor_scale).unsqueeze(-1))

The cutoff is 3 because a third point is the first that shows shape.

Results

In this Timestral-5M evaluation, clipping reduced aggregate MSE from 0.766 to 0.500, a 34.7% relative reduction. MSE improved on 47 of 50 datasets.

Raising the cutoff to 4 gives 0.499, essentially no difference.

Relative MSE reduction by dataset; negative values are regressions. Signed log scale.

The TIME rerun matched the baseline, as expected based on the content of the benchmark.