Skip to content

SamFormer multivariate Estimator#3196

Open
kashif wants to merge 14 commits intoawslabs:devfrom
kashif:sam
Open

SamFormer multivariate Estimator#3196
kashif wants to merge 14 commits intoawslabs:devfrom
kashif:sam

Conversation

@kashif
Copy link
Copy Markdown
Contributor

@kashif kashif commented Jun 15, 2024

@kashif
Copy link
Copy Markdown
Contributor Author

kashif commented Jun 17, 2024

@romilbert this implementation differs, I believe, from yours in that I am using the mu and sigma from the instance normalization as inputs to the model as well. This serves the purpose of RevIN + non-stationary transformer and was first done in the DeepAR paper, which as far as I remember the RevIN or the SAMFromer paper does not mention....

Apart from that the output head is an independent distribution head instead of a point forecasting head...

@romilbert
Copy link
Copy Markdown

Hi @kashif, thanks for your interest in SAMformer. I appreciate your feedback. Incorporating mu and sigma from RevIN as additional inputs to the model is an interesting idea (similar to the DeepAR paper as you said, which we did reference in SAMformer paper). However, I have tried incorporating them into the transformer in different ways, and it did not improve our current results.

@kashif
Copy link
Copy Markdown
Contributor Author

kashif commented Jun 17, 2024

@romilbert that is because, I think, you are using globally standardized data while here the data continues to be in the original magnitude, and thus in your setup the use of the summary statistics do not help as they are more or less 0 and 1...

@kashif kashif changed the title SamFormer model SamFormer multivariate Estimator Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants