﻿# Toto 2 block decoding: median feedback and causal scaling change the continuation path

Trace Toto 2 block decoding through patch alignment, cached execution, generated median feedback and repeated causal scaling before treating block size as scheduling alone.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-toto2-block-decode-median-feedback-causal-scaling/
Language: en

## Separate one-pass and block continuation

The [Toto 2 guide](https://raw.githubusercontent.com/DataDog/toto/main/toto2/README.md) exposes both a single-pass forecast and block decoding, with different recommendations for horizon length. Preserve the chosen mode when comparing systems. A block-size parameter can influence the forecasting procedure rather than simply redistribute identical arithmetic. The application's output length alone does not explain how later predictions were conditioned or which generated values entered their context.

## Follow the next-patch alignment

The [forecast implementation](https://raw.githubusercontent.com/DataDog/toto/main/toto2/toto2/model.py) describes a next-patch predictor whose context anchor produces the first future patch in each block. Its indexing deliberately aligns those outputs with the requested horizon. An exporter that reads the last output positions without reproducing this alignment can shift forecasts by a patch while still returning the expected dimensions. Verify temporal coordinates at this boundary before interpreting a quality regression as a model limitation.

## Preserve median feedback and scaling state

For multiple blocks, the implementation uses cached execution and feeds predicted medians into subsequent context. It reruns causal scaling as that context changes. These operations define the continuation's numerical assumptions; they are not equivalent to supplying newly observed future targets. The [model configuration](https://raw.githubusercontent.com/DataDog/toto/main/toto2/toto2/configuration.py) establishes patch structure, while the forecasting code determines how the procedure updates state between blocks. Record both with the release.

## Keep auxiliary controls explicit

The same inference path exposes additional controls affecting scale fallback or real-space quantile limits. Their effects should not be hidden inside a generic block-decoding label. The [Chronos long-horizon guide](/journal/fg2-chronos2-long-horizon-quantile-unrolling-heuristic/) offers a contrasting generated-context procedure. Compare resolved settings and the actual range of lead times rather than transferring a short-horizon benchmark or an unrelated model's rollout assumptions to this configuration.

## Validate the seam between blocks

Use a horizon spanning several blocks and inspect the first prediction after a boundary, retained context and returned coordinates. Compare with the pinned reference procedure and measure errors by lead time. The [Toto 1 sampling guide](/journal/fg2-toto1-mean-path-sampled-trajectory-statistics/) supplies another generation comparison. A useful result distinguishes correct temporal alignment, faithful state updates and acceptable forecasting quality. Cache use or a faster runtime alone does not prove those properties or make median feedback equivalent to uncertainty propagation through independent sampled trajectories.
