Skip to content

Clarification on Loss Calculation at Delay Point in Exp_Informer #13

Description

Hi, thank you for the great work on this project!

I have a question about the loss calculation in the train function of the Exp_Informer class:

loss = criterion(pred[:,delay,:], true[:,delay,:])

From what I understand, the model outputs a tensor of shape [batch_size, -pred_len:, :]. However, it seems that the loss is only being computed at a single delay point rather than across the entire pred_len sequence. Could you please clarify the reasoning behind this choice?

Intuitively, I would expect the loss to be computed over the full prediction window to better capture sequence-level accuracy. Is there a specific rationale—perhaps related to the task definition or evaluation criteria—that explains why loss is only calculated at one point?

Thanks in advance for your clarification!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions