Comments (4)
Using a CDE to compute the integral of its input path is straightforward. This is Example 3.2 in On Neural Differential Equations.
from torchcde.
Hey Deniz, thanks for your interest. The answer is that the control should include time as a channel. That is, assume we're given some data x_i
observed at times t_i
and let x
be such that x(t_i) = x_i
. Then you should drive the CDE by the path (t, x(t))
, not just x(t)
.
If you check the technical statement of the theoretical result it should be including time as a channel. And it is for similar reasons that the paper also emphasises that time should be included as a channel when training models in practice. (As this really does affect expressivity of the model.)
Your example is a good one, though! This is actually the canonical example for demonstrating why time should be included as a channel: it's Example 3.8 in On Neural Differential Equations. And conversely there exist results on universal approximation, comparison-to-alternative-ODEs, etc. stating that you can approximate anything as long as you do include time as a channel.
from torchcde.
I appreciate the prompt reply 😊 I think now I understand why we must include also the time into the control path. However, I'm still wondering what exactly would be the form of such a neural CDE to calculate the integral of its "input path" 🤔 Do you think it is something trivial or would it be some complicated set of functions, one for the input network, one for the neural vector field, and one for the output network (borrowing terminology from this paper)?
from torchcde.
That example is the perfect answer, brilliant! Thank you.
from torchcde.
Related Issues (20)
- setup.py and torchsde HOT 1
- Breaking install HOT 4
- publish `torchcde` on PyPI HOT 1
- Consider opening a GH discussions HOT 13
- Online prediction tasks needs examples HOT 4
- About how to use on seq2seq works HOT 5
- Sequence outputs from Neural ODE (similar to 'many to many' RNN)? HOT 3
- CDEs with Image Data HOT 1
- About how to use CDE in Variational Autoencoders? HOT 1
- Integration to pytorch lighting pipeline HOT 1
- piping in & predicting arbitrary streams of values
- Very slow training with market data, normal? HOT 1
- much slower when using torchsde as backend. HOT 2
- Integrate the ODE function of the CDE system to infinity HOT 2
- Please consider create conda distribution (maybe conda-forge?) HOT 1
- Prediction of irregular time series HOT 1
- Masking Coefficients? HOT 2
- Seq2seq forecasting: adding temporal information and extrapolation
- Overfitting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torchcde.