﻿# Original iTransformer covariates: encoder marker tokens and decoder arguments are different paths

Trace original iTransformer encoder-side marker tokens and unused decoder arguments before claiming that a wrapper conditions forecasts on supplied future covariates.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-itransformer-encoder-marker-tokens-unused-decoder-inputs/
Language: en

## Inspect the selected implementation's information path

Time-series repositories often expose a shared model signature across architectures. Original iTransformer accepts encoder and decoder arguments, but the [base implementation](https://raw.githubusercontent.com/thuml/iTransformer/main/model/iTransformer.py) uses a specific encoder-side forecasting path. A wrapper should inspect that executed path before claiming support for future conditioning. Merely supplying an array to an accepted argument does not show that the network reads it or incorporates its information into predictions.

## Follow historical marker tokens

The [inverted embedding](https://raw.githubusercontent.com/thuml/iTransformer/main/layers/Embed.py) can concatenate encoder-side marker channels with variate histories and project them as additional tokens. These features need the historical width expected by the embedding. Their role is distinct from passing a future schedule to a decoder. Document the marker schema and temporal availability rather than assuming that any object called a covariate is used through the same interface or at the same forecast times.

## Trace the original decoder arguments literally

In the referenced base forecast method, decoder input and decoder marker arguments appear in the signature without contributing to the numerical forecasting operations. Other architectures or later variants can differ. The [project overview](https://raw.githubusercontent.com/thuml/iTransformer/main/README.md) identifies the research implementation. Preserve the concrete class and revision, and avoid transferring a neighboring model's shared-interface behavior to this one merely because its function accepts the same parameter names.

## Keep extra encoder tokens out of target labels

After encoding and forecast projection, the implementation filters output back to the original variate count. Extra marker tokens can influence representations without becoming additional predicted target channels. The [iTransformer axis guide](/journal/fg2-itransformer-variate-token-attention-axis-fixed-history/) explains the token layout. Preserve the order and identity of targets when exporting results so marker channels are neither mislabeled as forecasted quantities nor accidentally used to determine the wrong target count.

## Test whether a claimed input is consumed

With fixed model state and deterministic evaluation settings, vary only the candidate future-input argument and inspect the implementation's actual dependency graph or reference output. Then separately test a consumed encoder marker. The [Chronos covariate guide](/journal/fg2-chronos2-covariate-schema-future-timestamp-alignment/) provides a different explicit contract. Report supported conditioning based on real computation, distinguishing an accepted parameter, a numerically consumed input and evidence that the consumed information improves forecasting quality on the intended task.
