﻿# TimesFM 3 future covariates: distinguish requested horizon from patch-rounded padding

Trace TimesFM 3 future-covariate alignment when execution rounds horizons to output patches, trims history and optionally extends the future edge.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-timesfm3-future-covariate-patch-padding-alignment/
Language: en

## Separate application time from execution shape

An application asks for a future horizon in observation steps, while a patch-based forecasting implementation can round internal work to a larger output window. The [TimesFM project examples](https://raw.githubusercontent.com/google-research/timesfm/master/README.md) distinguish historical targets, past-only covariates and past-and-future covariates. Preserve the application's actual future coordinates before adapting these arrays for execution. A longer internal window does not mean that more real future information was supplied or available.

## Follow the rounded horizon explicitly

The [TimesFM 3 forecaster implementation](https://raw.githubusercontent.com/google-research/timesfm/master/src/timesfm3/torch/timesfm3_forecaster.py) rounds the requested horizon to output-patch boundaries. Its padding_mode separates leaving the future covariate edge unextended from extending that edge. These are modeling assumptions at an input boundary, not equivalent physical measurements. Record the chosen mode with the inference result so an evaluation can reproduce how the unfinished internal patch was represented.

## Keep history trimming aligned across channels

The same implementation trims long target histories and their associated covariates. For past-and-future arrays, it preserves the actual future portion while selecting the historical tail. Blindly slicing every channel to an identical total length can shift the future relative to the target. The [model card](https://huggingface.co/google/timesfm-3.0-pytorch/raw/main/README.md) establishes the relevant generation and patch-based architecture; the pinned runtime supplies the concrete array-handling contract that a port must preserve.

## Label an extended edge as an assumption

Repeating the last supplied future covariate value is not evidence that the corresponding schedule, weather input or other driver stays constant beyond its available horizon. Keep the real availability boundary in the request record. The [Chronos covariate-alignment guide](/journal/fg2-chronos2-covariate-schema-future-timestamp-alignment/) offers related identity checks without implying a shared API. An adapter should never silently present padded future values as if they were additional observations from the source system.

## Test an unfinished patch deliberately

Use a horizon that leaves an internal patch partially filled, with a recognizable future covariate pattern and a history exceeding the configured context. Inspect retained historical and future coordinates under each supported padding policy. The [TimesFM missing-data guide](/journal/fg2-timesfm25-nan-interpolation-context-padding-contract/) provides an older-generation comparison. Accept the implementation when target time, covariate time and output time remain aligned, then evaluate forecast quality separately from the fact that the runtime produced a correctly shaped array.
