torchcde icon indicating copy to clipboard operation
torchcde copied to clipboard

About how to use on seq2seq works

Open caisikai opened this issue 2 years ago • 5 comments

Hi, patrick! First, thank you very much for share your work for us! It is very useful! And I have a question. Is it work on the regression tasks, such as seq2seq. I found all examples are classification and specifically cdeint only return terminal value( initial value also but not used ) to linear map to category. So if I want to use it to seq2seq, such as fill nan, it is somehow diffcult. How or where can I make some modifications to adapte it on seq2seq task. Thank you very much!

caisikai avatar Dec 13 '21 15:12 caisikai

Seq2seq is possible, e.g. just use the final value of a CDE as the initial condition of an ODE. You can return multiple values from cdeint by passing a vector of integration times.

patrick-kidger avatar Dec 13 '21 20:12 patrick-kidger

Hi @patrick-kidger , First of all, thank you so much for sharing your work with us. I have a doubt regarding the CDE and ODE blocks. Could you please give an example of how exactly the architecture of the CDE and ODE blocks will look like in the Seq2Seq regression task if possible? Thank you very much!

pruthamodak avatar Feb 10 '22 13:02 pruthamodak

Hi @patrick-kidger , First of all, thank you so much for sharing your work with us. I have a doubt regarding the CDE and ODE blocks. Could you please give an example of how exactly the architecture of the CDE and ODE blocks will look like in the Seq2Seq regression task if possible? Thank you very much!

@pruthamodak I have created a repo TANODE for studying how to use ODE-based models in timeseries forecasting. It shows ODE-RNN (see paper) models in Recurrent Arch, Seq2Seq Arch and Variational AutoEncoders. CDEs are in TODO list.

You can change Args["arch"] in run_models.py to "Recurrent", "Seq2Seq" or "VAE", and Args["using"] should be "ODE_RNN". Please forgive me for not writing README until I finish my research!

Saltsmart avatar Mar 27 '22 02:03 Saltsmart

Hi @patrick-kidger , First of all, thank you so much for sharing your work with us. I have a doubt regarding the CDE and ODE blocks. Could you please give an example of how exactly the architecture of the CDE and ODE blocks will look like in the Seq2Seq regression task if possible? Thank you very much!

@pruthamodak I have created a repo TANODE for studying how to use ODE-based models in timeseries forecasting. It shows ODE-RNN (see paper) models in Recurrent Arch, Seq2Seq Arch and Variational AutoEncoders. CDEs are in TODO list.

You can change Args["arch"] in run_models.py to "Recurrent", "Seq2Seq" or "VAE", and Args["using"] should be "ODE_RNN". Please forgive me for not writing README until I finish my research!

Hello! The repo TANODE is not found in the github.

chooron avatar Apr 08 '22 13:04 chooron

Hi @patrick-kidger , First of all, thank you so much for sharing your work with us. I have a doubt regarding the CDE and ODE blocks. Could you please give an example of how exactly the architecture of the CDE and ODE blocks will look like in the Seq2Seq regression task if possible? Thank you very much!

@pruthamodak I have created a repo TANODE for studying how to use ODE-based models in timeseries forecasting. It shows ODE-RNN (see paper) models in Recurrent Arch, Seq2Seq Arch and Variational AutoEncoders. CDEs are in TODO list. You can change Args["arch"] in run_models.py to "Recurrent", "Seq2Seq" or "VAE", and Args["using"] should be "ODE_RNN". Please forgive me for not writing README until I finish my research!

Hello! The repo TANODE is not found in the github.

Sorry for changing this repo private (our research team is testing some unstable features)

Here is a public branch: Forecasting with Neural ODEs. I add a README file.

Saltsmart avatar Apr 11 '22 04:04 Saltsmart