Skip to content

multi_models = True and output_chunk_length > 1 : index future covariates relatively to the forecasted step #2968

@swertz

Description

@swertz

Is your feature request related to a current problem? Please describe.
When using a regression model with multi_models = True, output_chunk_length > 1, and future covariates, each model sees all future covariates specified as the future covariates are index with respect to the "absolute" first point of the forecasted output chunk, rather than relative to the point being forecasted by a specific model.

For long output chunks, this can result in the models being fed a large number of highly correlated features, decreasing their performance. For instance with output_chunk_length=96 anbd lags_future_covariates=[0], each model sees every feature 96 times, while I think it would make more sense, in general, for each model to only see the covariates at the moment it is trying to forecast.

Describe proposed solution
Providing the possibility to specify the future covariate lags with respect to the forecasted points in the output chunk, rather than with respect to the first point in the chunk.

Describe potential alternatives
Alternatives were discussed in the issues linked below (such as the "macking" approach, or using the forecasting horizon as a feature).

Additional context

This was already discussed in those two issues: #2650 , #2234 , but they were closed without a feature request being kept open for tracking.

I would also like to clarify something mentioned in #2234: @madtoinou wrote

When multi_models=False and the underlying model does not support multi-output prediction, ...

Does that mean that a model that supports multi-output regression, using multi_models=False in conjunction with output_chunk_length > 1 will result in a multi-output regression over the output chunk length, rather than a single model being used auto-regressively?

Metadata

Metadata

Assignees

No one assigned

    Labels

    core improvementSignificant change, refactor or improvementfeature requestUse this label to request a new feature

    Type

    No type

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions